Question about uboot environment variables and setting uboot in the parallel flash
Hello,
Quoted 2 lines · in message <[email protected]> you wrote:
I wander, if I could ask you a question Wolfgang.
Of course you can. You just did.
Quoted 7 lines
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.
Quoted 5 lines
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:
http://www.denx.de/wiki/view/DULG/CanUBootBeConfiguredSuchThatItCanBeStartedInRAM
Quoted 2 lines
Reboot
Uboot loads to prompt and crashes
Well, debug the code. Obviously your port / configuration is broken.
Quoted 1 line
Sorry to bug, but I don't have anywhere else to go,
Well, you *also* posted on the mailing list.
Best regards,
Wolfgang Denk
Signature · 4 lines
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