码迷,mamicode.com
首页 > 系统相关 > 详细

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

时间:2018-01-08 01:04:05      阅读:324      评论:0      收藏:0      [点我收藏+]

标签:nbsp   rmi   mina   sys   var   image   wro   bin   chmod   

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

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

标签:nbsp   rmi   mina   sys   var   image   wro   bin   chmod   

原文地址:https://www.cnblogs.com/zhangbing12304/p/8232721.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!