[U-Boot-Users] How to use u-boot to load kernel and file system to one partition in NAND

Wolfgang Denk wd at denx.de
Thu Nov 2 23:47:18 CET 2006


In message <9BB2AECBBDD3E6499663C42C1DFD40AAE49768 at PETWM02.calix.local> you wrote:
> 
> The problem I have is not really how to put the kernel in NAND, but how
> to upgrade it.  I don't really want to overwrite what I have, instead I
> want to load another image and have u-boot be able to pick up one or the
> other.  This way, I can have two copies and in case the new version is
> bad, I can always have one to fall back on.  This is why, I was thinking
> that either having a soft link to a file in a single partition nand or
> have three separate partitions (two of them for kernel, one for file
> system).

Why not simply using different names for both images,  and  switching
the  boot  filename in U-Boot? Remember that U-Boot is scriptable, so
this is a trivial thing to do.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It would be illogical to assume that all conditions remain stable
	-- Spock, "The Enterprise" Incident", stardate 5027.3




More information about the U-Boot mailing list