From: Andrey P. Vasilyev <andrey_vasilyev@mail.ru>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] AT91RM9200 Dataflash op error with U-Boot1.1.4
Date: Tue, 9 May 2006 20:22:08 +0400 [thread overview]
Message-ID: <20060509162208.GB16445@vap.name> (raw)
In-Reply-To: <006f01c67377$34cf2150$b7899d0a@first>
On Tue, May 09, 2006 at 10:45:20PM +0800, KylongMu wrote:
> > On Tue, May 09, 2006 at 07:11:52PM +0800, KylongMu wrote:
> > > Dear Groups:
> > > My board contains: AT91RM9200 DataFlash:AT45DB642 (without nand
> > > flash)
> > ...
> > > U-Boot> erase c0020000 c0027fff
> > > Error: start address not on sector boundary
> > > U-Boot>
> >
> > Perhaps, this patch will help you:
...
> > If it will not solve the problem, try this:
...
>
> Dear Andrey,
> Thanks for your answer. I patched these two files one by one, or
> both of them, but all failed, and the error is still.
> Thanks a lot!
Oops... My mistake. I've replied without carefully reading your
question...
Right answer (I hope): you dont need to erase dataflash. AFAIK,
dataflash erasing is performed by driver when you write into dataflash.
So, for example, to download binary into c0042000 dataflash "virtual"
address, you can use simple "cp" command, without issuing "erase"
command first, like this:
loadb 21000000
<sending image 0x12345 bytes long by kermit>
cp.b 21000000 c0042000 12345
--
With best regards,
Andrey Vasilyev
next prev parent reply other threads:[~2006-05-09 16:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20060509125601.CBCD289174@sc8-sf-spam1.sourceforge.net>
2006-05-09 14:45 ` [U-Boot-Users] AT91RM9200 Dataflash op error with U-Boot1.1.4 KylongMu
2006-05-09 16:22 ` Andrey P. Vasilyev [this message]
[not found] <20060508171505.09348FE89@sc8-sf-spam2.sourceforge.net>
2006-05-09 11:11 ` KylongMu
2006-05-09 11:32 ` Andrey P. Vasilyev
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=20060509162208.GB16445@vap.name \
--to=andrey_vasilyev@mail.ru \
--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