
Hi,
If I remember correctly, i got the same issue on AT91SAM9263ek.
you please debug the Dataflash_Select() ... there u many need to go into the if condition and do valid=1;
so, please check it once and modify the condition...
u may get the solution ..
Thanks, Seetharam
--- Destrukto simon.bielmann@gmx.ch wrote:
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-...
Sent from the Uboot - Users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
Why delete messages? Unlimited storage is just a click away. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html