u-boot烧写Linux及系统整个启动过程

一、烧写文件

u-boot: u-boot.bin

linux kernel: uImage

Filesystem: root.bin(yaffs) 

二、烧写步骤 

1、烧写u-boot

 tftp 0x30000000 u-boot.bin;

nand erase bios;
nand write.jffs2 0x30000000 bios $(filesize)

2、烧写内核

tftp 0x30000000 uImage;  

nand erase kernel; 

nand write.jffs2 0x30000000 kernel $(filesize)

3、 烧写根文件系统

tftp 0x30000000 root.bin;  

nand erase root; 

nand write.yaffs 0x30000000 root $(filesize)

三、系统启动过程

1、u-boot启动

2、加载内核 

nand read.jffs2 0x30007FC0 kernel;

3、启动内核

bootm 0x30007FC0

4、挂载根文件系统 

原文地址:https://www.cnblogs.com/amanlikethis/p/3639025.html