讯为开发板的最小LINUX系统烧写及U盘的挂载及卸载

时间:2021-05-20 20:05:23

fdisk -c 0

fatformat mmc 0:1
ext3format mmc 0:2
ext3format mmc 0:3
ext3format mmc 0:4

fastboot

fastboot.exe flash kernel zImage

fastboot.exe flash ramdisk ramdisk-uboot.img
fastboot.exe flash system system.img

fastboot -w

fastboot reboot

挂载U盘,在根目录下操作
mount /dev/sda1 /mnt/udisk

[root@iTOP-4412]# ls
bin etc linuxrc proc sys usr
dev lib mnt sbin tmp var
[root@iTOP-4412]# chmod 777 /mnt/udisk/helloworld
[root@iTOP-4412]# ./mnt/udisk/helloworld
Hello Wrold!

卸载U盘

umount /mnt/udisk

上述涉及软件platform-tools及超级终端软件Hyper Terminal