[U-Boot] Support for both NAND and NOR flashes in one u-boot image

Wolfgang Denk wd at denx.de
Mon Feb 2 15:24:37 CET 2009


Dear Deven Balani,

In message <BD9D98B4D828E1499D717DBA564A1F270B7BF92F56 at eu1rdcrdc1wx031.exi.nxp.com> you wrote:
>
> I have a reference board design which allows user to select one of the NOR =
> or NAND flash as onboard boot devices via a jumper setting. I have a regist=
> er setting in the hardware which can be used to identify the boot device ty=
> pe (NAND or NOR) during execution of bootloader.

Please use shorter lines - accepted line length is some 70 characters
or so.

> I'm interested in using u-boot to automatically check the boot device type =
> (NAND or NOR) during startup, load/store environment from the detected (NAN=
> D or NOR) flash device and enable supported u-boot commands for that flash =
> device.

That's not needed.

> I need some advice on, how this mechanism is supported in u-boot?
> 
> In other words, Is it possible to support both NAND and NOR flash as boot d=
> evices in one binary image of u-boot?

No, this doesn't work. You need two different images.

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
Es gibt immer genug fuer die Beduerfnisse aller, aber  niemals  genug
fuer die Gier einzelner.                                    -- Ghandi


More information about the U-Boot mailing list