- 论坛徽章:
- 0
|
Burn system using U-Disk
1:首先通过JTAG固化U-Boot2:启动U-Boot,进入Shell命令行 usb start
setenv dev 0:1
run usbkernel
setenv bootargs "root=/dev/ram rw initrd=0x31800000,16M console=tty0 console=ttySAC0,115200" run loadrandisk
run yboot
3:这样就进入了ram盘作为根文件系统的Linux,然后挂载U盘和mtdblock1,解压文件系统,完毕后卸载4:设定YAFFS2启动的参数和自启动参数(可在U-Boot中作为默认参数) setenv bootargs root=/dev/mtdblock1 console=ttySAC0,115200 mem=64M rootfstype=yaffs2 quiet setenv bootcmd run yboot
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/51797/showart_2070524.html |
|