[U-Boot] auto update from NAND flash

Hi all,
I have a MPC8572 PowerPC board , with jffs2 filesystem on the NAND falsh. I have formatted the falsh in 5 partitions for dtb, uboot.bin, uImage, rootfs.jffs2 and a spare parttion.
I want to do a auto update for the uImage and rootfs.jffs2 by using he spare aparttion in the flash. i.e. I will place the latest uImage/ root.jffs2 file in the spare parttion and while reboot the uboot should flash the latest images and boot
I know there is auto update through tftp , any idea throug h NAND falsh.
Thanks.

Dear deebul nair,
In message AANLkTikKRUBydqE3cFqUxijMrS2POgVGPXPpKOLrsybk@mail.gmail.com you wrote:
I have a MPC8572 PowerPC board , with jffs2 filesystem on the NAND falsh. I have formatted the falsh in 5 partitions for dtb, uboot.bin, uImage, rootfs.jffs2 and a spare parttion.
I want to do a auto update for the uImage and rootfs.jffs2 by using he spare aparttion in the flash. i.e. I will place the latest uImage/ root.jffs2 file in the spare parttion and while reboot the uboot should flash the latest images and boot
I know there is auto update through tftp , any idea throug h NAND falsh.
Well, replace the "tftp" command by a "nand read". Where exactly is your problem?
Best regards,
Wolfgang Denk
participants (2)
-
deebul nair
-
Wolfgang Denk