文件系统的移植

这个内核的地址uboot 1M,内核5M,从100000到600000.

 

   导入uboot

   tftp 30000000 uboot

   nand erase 0 100000
   nand write.uboot 50008000 0 100000 //write(.uboot是参数不能改,且只在sd-boot中实现)

   导入内核

   tftp 30000000 uImage

   nand erase 100000

   nand uImage 30000000 100000 500000

   导入文件系统

   tftp 30000000 rootfs.jffs2

    nand erase 600000  1ded614a1qa

    nand write.jffs2 30000000 600000 1ded614

    setenv bootargs  'console=ttySAC0,9600 root=/dev/mtdblock3 rootfstype=jffs2'

    setenv bootcmd 'nand read.jffs2 30000000 100000 500000;bootm 30000000'

    reset

posted @ 2016-09-22 10:07  飘然离去  阅读(183)  评论(0编辑  收藏  举报