From: Destrukto <simon.bielmann@gmx.ch>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] AT91SAM9260-EK: Trying to load U-Boot env from NAND
Date: Thu, 29 Nov 2007 01:59:41 -0800 (PST) [thread overview]
Message-ID: <14022552.post@talk.nabble.com> (raw)
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.
next reply other threads:[~2007-11-29 9:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-29 9:59 Destrukto [this message]
2007-11-29 14:06 ` [U-Boot-Users] AT91SAM9260-EK: Trying to load U-Boot env from NAND 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14022552.post@talk.nabble.com \
--to=simon.bielmann@gmx.ch \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox