From: Wolfgang Denk Date: Mon, 06 Dec 2010 06:39:44 +0100 Subject: [U-Boot] auto update from NAND flash In-Reply-To: References: Message-ID: <20101206053944.A1EF9659@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear deebul nair, In message 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 -- 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 <10502@jpl-devvax.JPL.NASA.GOV>