From: "Alexander Shiyan" <shc_work@mail.ru>
To: barebox@lists.infradead.org
Subject: NOR memory driver fail with MMU enabled
Date: Wed, 06 Feb 2013 15:01:38 +0400 [thread overview]
Message-ID: <1360148498.214727698@f366.mail.ru> (raw)
Hello.
I have a problem with NOR flash when enabling MMU.
Probably this happen due NOR start address is 0x0.
Should we a remap memory addresses same as we do it for kernel?
Or can someone tell what could be the problem?
Tnanks!
...
register_device: cfi_flash0
xmalloc c0385f80 (size 592)
request_region ok: 0x00000000:0x01ffffff
xmalloc c03861d8 (size 36)
xmalloc c0386210 (size 4)
flash detect cfi
flash_write_cmd: c0385f80 0 0 => 00000000 0x00f0
flash_write_cmd: c0385f80 0 0 => 00000000 0x00ff
flash_write_cmd: c0385f80 0 55 => 00000055 0x0098
is= cmd 51(Q) addr 00000010 flash_write_cmd: c0385f80 0 555 => 00000555 0x0098
is= cmd 51(Q) addr 00000010 flash_write_cmd: c0385f80 0 0 => 00000000 0xf0f0
fw addr 00000000 val f0f0
unable to handle NULL pointer dereference at address 0x00000000
pc : [<c078932c>] lr : [<c0789324>]
sp : c07ffe98 ip : c07ff9ae fp : 00000000
r10: 00000000 r9 : 00000000 r8 : 00000000
r7 : 00000000 r6 : 00000000 r5 : 00000000 r4 : 0000f0f0
r3 : 00000000 r2 : c03804a0 r1 : 0000000a r0 : 0000001a
Flags: nZCv IRQs off FIQs off Mode SVC_32
no stack data available
---
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2013-02-06 11:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-06 11:01 Alexander Shiyan [this message]
2013-02-06 12:11 ` Sascha Hauer
2013-02-06 13:13 ` Re[2]: " Alexander Shiyan
2013-02-07 9:26 ` Alexander Shiyan
2013-02-07 10:02 ` Sascha Hauer
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=1360148498.214727698@f366.mail.ru \
--to=shc_work@mail.ru \
--cc=barebox@lists.infradead.org \
/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