1、利用busybox制作根文件目录。(需要有init 和 linuxrc)
2、makemenuconfig 在general setup 中设置 initial ram filesystem and RAM disk 后指定文件系统源文件路径.
3、makemenuconfig 在boot options 中指定 kernel command line type选择 always use......
default kernel command string "console=ttyO0,115200n8 ro initrd=0x87000000 root=/dev/ram0"
4、make uImge 生成的uImage带有文件系统的内核。
5、测试 :uboot命令行执行命令
fatload mmc 0 0x82000000 uImage
bootm 0x82000000