mkdir /mnt/smbNufront ;为共享文件建立mount点
smbmount //192.168.4.238/nufront /mnt/smbNufront -o rhh ;mount共享目录,mount后就可以进入/mnt/smbtmp操作远端主机上的共享目录了。
smbumount /mnt/smbNufront ;umount共享目录
--------以下资料无关-----------------------------------------------------------------------------------------------------------------------------------------
在串口命令行启动烧写inand 或 sd 卡
fatload mmc 0:1 0x80007fc0 uImage;bootm
烧录卡烧录成自启动
set bootcmd 'fatload mmc 0:1 0x80007fc0 uImage;bootm';saveenv
set bootcmd 'ext4load mmc 0:2 0x80007fc0 uImage;bootm';saveenv
通过外部卡槽启动
ext4load mmc 0:2 0x80007fc0 uImage;bootm
set default_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/mmcblk1p2 rw rootwait mem=776M video=nusmartfb:1024x768-${dispformat} init=/init'
set bootargs 'console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait mem=776M video=nusmartfb:1024x768-16 init=/init'
mmc init 1; ext4load mmc 1:2 0x80007fc0 uImage;bootm
ext4load mmc 0:2 0x80007fc0 uImage;bootm
fatload mmc 0:1 0x80007fc0 uImage;bootm
生成 bott.img.ext4
ubuntu2@ubuntu2-desktop:/media/work/nufont/r4/linux_kernel$ sudo cp arch/arm/boot/uImage ../android/out/target/product/nusmart3_pad_nw51/root/uImage
ubuntu2@ubuntu2-desktop:/media/work/nufont/r4/android$ ./out/host/linux-x86/bin/make_ext4fs -s -l 20971520 out/target/product/nusmart3_pad_nw51/boot.img out/target/product/nusmart3_pad_nw51/root
ubuntu2@ubuntu2-desktop:/media/work/nufont/r4/android$ ./out/host/linux-x86/bin/simg2img out/target/product/nusmart3_pad_nw51/boot.img out/target/product/nusmart3_pad_nw51/boot.img.ext4