[U-Boot-Users] Question about uboot environment variables and setting uboot in the parallel flash
wd at denx.de
Mon Jun 12 11:03:26 CEST 2006
in message <448B71A2.70507 at randrlabs.com> you wrote:
> I wander, if I could ask you a question Wolfgang.
Of course you can. You just did.
> I am trying to load uboot 1.1.4 directly into a parallel flash on a
> board similar to 91rm9200ek. I have written a driver, and the loading to
> flash occurs perfect without errors.
> However, I have a problem, after the board resets. Once uboot 1.1.4
> loads, it crashes. I believe that the Environment variables are being
> saved and overwritten by uboot. I am experiemnting with settings, but I
> don't know the solution yet.
U-Boot does not automatically write to flash memory, only on behalf
of user commands.
> Here is what I do:
> Load uboot into ram
> Execute uboot from ram
> Load uboot into flash
This is a different image of U-Boot, one configured correctly (i. e.
for booting from flash)? Otherwise see the FAQ:
> Uboot loads to prompt and crashes
Well, debug the code. Obviously your port / configuration is broken.
> Sorry to bug, but I don't have anywhere else to go,
Well, you *also* posted on the mailing list.
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Syntactic sugar causes cancer of the semicolon.
- Epigrams in Programming, ACM SIGPLAN Sept. 1982
More information about the U-Boot