public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Dharmosoth Seetharam <seetharam_21@yahoo.com>
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 14:06:25 +0000 (GMT)	[thread overview]
Message-ID: <494375.44488.qm@web94810.mail.in2.yahoo.com> (raw)
In-Reply-To: <14022552.post@talk.nabble.com>

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-tf4896117.html#a14022552
> 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 at 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

  reply	other threads:[~2007-11-29 14:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=494375.44488.qm@web94810.mail.in2.yahoo.com \
    --to=seetharam_21@yahoo.com \
    --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