Skip to contentSkip to conversation

auto update from NAND flash

U-Boot deebul nair 2 participants 2 messages Dec 6, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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.

Signature · 12 lines
Cheeers

Deebul !!!!!!





-- 
Cheeers

Deebul !!!!!!
#2 lore raw

Dear deebul nair,

Quoted 11 lines · In message <[email protected]> you…

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

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I don't know if it's what you want, but it's what you get.  :-)
                      - Larry Wall in <[email protected]>