This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Ubifs mtd update problem

Hi

I'm using AM335x with linux PSP04.06.00.07sdk, i boot from NAND flash using ubifs file system, and my ubifs file system also mount on NAND flash. Now i facing a file system update problem.

i use the following command to update my NAND flash, (http://processors.wiki.ti.com/index.php/UBIFS_Support), but my system crash after i erase my file system.

flash_eraseall /dev/mtd7 

ubiformat /dev/mtd7 -f ubi.img -s 512 -O 2048 

ubiattach /dev/ubi_ctrl -m 7 -O 2048 

mount -t ubifs ubi0:rootfs /media/card

How i update my ubifs file system while i booting from the file system itself ?

Thanks and Regards

Keldy