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

Nancy Isaac nancy.isaac at calix.com
Fri Nov 3 00:05:32 CET 2006



-----Original Message-----
From: wd at denx.de [mailto:wd at denx.de] 
Sent: Thursday, November 02, 2006 2:47 PM
To: Nancy Isaac
Cc: Charles Krinke; u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] How to use u-boot to load kernel and file
system to one partition in NAND 

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.

> Thanks.  I will try this out.

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