AnsweredAssumed Answered

mx28,is there a example which use the uboot to burn ubifs rootfs to nandflash by tftp or mmc??thanks!!

Question asked by Haohua QIN on Jun 5, 2014
Latest reply on Jun 6, 2014 by igorpadykov

Before,when debugging embeded linux system(like as TI's am335x),i usually  receive ubi.img through TFTP in uboot,and then burn to nand rootfs mtdpart.like is:

tftp 0x82000000 ubi.img; nand erase 0x780000 0xF880000; nandecc hw 2; nand write 0x82000000 0x780000 ${filesize}


And,when small production, i usually read ubi.img from mmc in uboot,and then burn to nand rootfs mtdpart.like is:

mmc rescan; fatload mmc 0 0x82000000 ubi.img; nand erase 0x780000 0xF880000; nandecc hw 2; nand write 0x82000000 0x780000 ${filesize}

It's so fast and convenient.


i want to know that wheather in the mx28 uboot,can do it at the same as above??

thanks!!

Outcomes