From: Ivan Kuten <ivan.kuten@promwad.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] 1.1.6 at91 based board dataflash copy panic.
Date: Thu, 4 Jan 2007 14:17:47 +0200 (EET) [thread overview]
Message-ID: <44237.127.0.0.1.1167913067.squirrel@localhost> (raw)
In-Reply-To: <mailman.221629.1167910946.30209.u-boot-users@lists.sourceforge.net>
Hello,
I had the same problem with u-boot with dataflash only setup
(no NOR flash) and used the following patch (see attach)
cmd_mem.c doing wrong when copy from Dataflash to SDRAM:
- if (addr_dataflash(addr) && !addr_dataflash(dest) &&
(addr2info(dest)==NULL) ){
+ if (addr_dataflash(addr) && !addr_dataflash(dest)
+#ifndef CFG_NO_FLASH
+ && (addr2info(dest)==NULL)
+#endif
+ ){
and do not forget to set CFG_NO_FLASH in your include.
------------------------------------
Best regards, Ivan
Embedded Linux Engineer
Promwad - www.promwad.com
------------------------------------
--------------------------------------------------
Hello all,
We are trying u-boot 1.1.6 on a customised at91rm9200 board. The main
features are dataflash, 32MB and networking with DM9161.
We have been using u-boot 1.1.4 quite well now, but we would like to test
1.1.6. Kernel boots ok, but we have found a problem.
When we do a cp from the dataflash to ram like this:
cp.b $(kerneladdr) 0x21600000 0x1
where kerneladdr is 0xC0040000
we have the following:
data abort
Resetting CPU ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot-1.1.6.at91.copy_from_dataflash_to_ram.chub.diff
Type: application/octet-stream
Size: 1576 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20070104/05f893af/attachment.obj
next parent reply other threads:[~2007-01-04 12:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.221629.1167910946.30209.u-boot-users@lists.sourceforge.net>
2007-01-04 12:17 ` Ivan Kuten [this message]
[not found] ` <1167921259.5828.29.camel@localhost>
2007-01-04 14:54 ` [U-Boot-Users] 1.1.6 at91 based board dataflash copy panic Ivan Kuten
2006-12-26 11:53 Raúl Sánchez Siles
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=44237.127.0.0.1.1167913067.squirrel@localhost \
--to=ivan.kuten@promwad.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