public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] AT91SAM9260-EK: Trying to load U-Boot env from NAND
@ 2007-11-29  9:59 Destrukto
  2007-11-29 14:06 ` Dharmosoth Seetharam
  0 siblings, 1 reply; 12+ messages in thread
From: Destrukto @ 2007-11-29  9:59 UTC (permalink / raw)
  To: u-boot


Hello, this is my first post in this Forum and my English is not very good so
I give my best to describe my problem.

I have a AT91SAM9260 eval kit board and until now there were not very much
problem. But what stops me now is a really tough problem. I use the
Bootstraploader for NAND boot which is compiled by Atmel in the Demo. I've
compiled the U-Boot by my self and its starts without problem, but what get
on my nerves is that I can't write the U-Boot env over .tcl file. To explain
that, I load everything, just like it is done in the demo, with this batch-
and .tcl-file. So, I've checked the checksum for the env's but everytime I
uploaded it and trying to boot I get this:

U-Boot 1.1.5 (Nov  2 2006 - 10:20:33)

DRAM:  64 MB
NAND:  NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (<NULL> NAND 256MiB
3,3V 8-bit)
256 MiB
DataFlash:AT45DB642
Nb pages:   8192
Page Size:   1056
Size= 8650752 bytes
Logical address: 0xD0000000
Area 0: D0000000 to D0003FFF (RO)
Area 1: D0004000 to D0007FFF
Area 2: D0008000 to D0037FFF (RO)
Area 3: D0038000 to D083FFFF
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
DM9161A PHY Detected
End of Autonegociation
U-Boot>
U-Boot>
U-Boot> printenv
bootdelay=3
baudrate=115200
stdin=serial
stdout=serial
stderr=serial

Environment size: 69/131068 bytes
U-Boot>

I checked the env (nand read to copy them in the RAM and md to hae a look at
them) and they're still correct. Well, I could write the env every by hand
that would work but if you have to do this 20 times a day and you have
really much to write this wouldn't be very funny. 

So I hope I haven't forget anything, but if there is any question I will try
to answer.

Greets, Destrukto
-- 
View this message in context: http://www.nabble.com/AT91SAM9260-EK%3A-Trying-to-load-U-Boot-env-from-NAND-tf4896117.html#a14022552
Sent from the Uboot - Users mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-01-25 13:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-29  9:59 [U-Boot-Users] AT91SAM9260-EK: Trying to load U-Boot env from NAND Destrukto
2007-11-29 14:06 ` Dharmosoth Seetharam
2007-11-29 15:32   ` Destrukto
2007-11-30  6:17     ` Dharmosoth Seetharam
2007-12-03  7:14       ` Destrukto
2007-12-03  9:28         ` Dharmosoth Seetharam
2008-01-25 13:02           ` Destrukto
2007-12-03  9:55         ` Wolfgang Denk
2007-12-04  8:33           ` Destrukto
2007-12-04  9:42             ` Andreas Schweigstill
2008-01-25 13:04               ` Destrukto
2007-12-04 13:57             ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox