* [U-Boot-Users] U-Boot stop booting after environment change + Environment in large nand flash
@ 2006-01-27 15:19 Chun Kit Edwin Lau
0 siblings, 0 replies; only message in thread
From: Chun Kit Edwin Lau @ 2006-01-27 15:19 UTC (permalink / raw)
To: u-boot
Hi everyone,
I have tried the large nand (2k erase size, K9F2G08U0M) code from
testing-NAND. I can erase/read/write the NAND flash in U-Boot. I
didn't try any ECC code, but things seems to be working out fine. I
have modded the env_nand.c a bit to add support for environment in NAND
for this chip. And it seemed ok.
I have encountered two issues, on my custom AT91RM9200 board
First, when I changed the default U-Boot environment in
include/configs/at91rm9200dk.h. The resulting U-Boot didn't even boot.
It only have the line
"Uncompressing image"
coming from boot.bin. And this problem was reproducible. And again,
the default U-Boot environment was the only thing I changed. Is there a
limit on the size of each environment variable? Did I overwrite some
part of the program because the environment was too long?
Second, I used fw_printenv to retrieve the U-Boot environment from
Linux. (again, I modded it a little to use the large NAND) CRC didn't
pass, but in U-Boot the CRC was ok. I uncommented the CRC checking in
fw_printenv. And found out that one of the environment was corrupted.
But the U-Boot didn't show the corruption. Any idea for the two
incidents? Thanx
Edwin
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-27 15:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-27 15:19 [U-Boot-Users] U-Boot stop booting after environment change + Environment in large nand flash Chun Kit Edwin Lau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox