固化jffs2
U-Boot$ tftp 80008000 safe.crmafs
U-boot$ nand erase clean 0x00600000 $(filesize)
 
U-Boot$ nand write.jffs2 0x80008000 0x00600000 $(filesize)
 
setenv bootargs root=/dev/mtdblock3 ro console=ttyS0,115200 mem=64M rootfstype=jffs2
 
 
使用cramfs作为备份文件系统:
[root@localhost zlg]# mkcramfs rootfs_safe safefs.cramfs
 
 
固化cramfs
U-Boot$ tftp 80008000 rootfs_safe.jffs2
U-boot$ nand erase clean 0x00600000 $(filesize)
U-Boot$ nand write.jffs2 0x80008000 0x00600000 $(filesize)
 
setenv bootargs root=/dev/mtdblock3 ro console=ttyS0,115200 mem=64M rootfstype=cramfs

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-17
  • 2021-07-10
  • 2021-10-20
  • 2021-06-25
  • 2021-04-17
  • 2021-10-09
猜你喜欢
  • 2021-12-23
  • 2021-12-03
  • 2021-12-03
  • 2021-06-04
  • 2021-09-18
  • 2021-11-08
  • 2021-10-22
相关资源
相似解决方案