mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* NOR memory driver fail with MMU enabled
@ 2013-02-06 11:01 Alexander Shiyan
  2013-02-06 12:11 ` Sascha Hauer
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Shiyan @ 2013-02-06 11:01 UTC (permalink / raw)
  To: barebox

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-02-07 10:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-06 11:01 NOR memory driver fail with MMU enabled Alexander Shiyan
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox