一、烧写文件

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、挂载根文件系统 

 

相关文章:

  • 2021-06-21
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-07
  • 2021-10-05
  • 2021-12-21
猜你喜欢
  • 2022-12-23
  • 2021-07-28
  • 2021-04-10
  • 2021-12-18
  • 2021-08-08
  • 2021-05-16
  • 2022-01-25
相关资源
相似解决方案