On 06/25/2013 09:48 PM, Sascha Hauer wrote:
On Tue, Jun 25, 2013 at 11:20:46AM +0200, Sebastian Hesselbarth wrote:
Convert of_add_memory parsing to make use of of_address_to_resource
instead of parsing memory ranges itself. This makes some functions
dead code which are also removed.
Signed-off-by: Sebastian Hesselbarth<sebastian.hesselbarth@xxxxxxxxx>
Haven't investigated further yet, but this one breaks my loco board
with:
mmu: Error: Can't request SDRAM region for ttb
prefetch abort
pc : [<00000004>] lr : [<7ff20563>]
sp : 8fffff30 ip : 7ff20563 fp : 8fff4000
r10: 8fff4000 r9 : 00000000 r8 : 000298ec
r7 : 20000000 r6 : 7ff43e74 r5 : 7ff37824 r4 : 7ff37824
r3 : 7ff205a1 r2 : 00000000 r1 : ffffffff r0 : 00000000
Flags: nzCv IRQs off FIQs off Mode SVC_32
[<7ff20563>] (__mmu_cache_on+0xb/0x10) from [<7ff202d3>] (mmu_init+0x7b/0x1f4)
[<7ff202d3>] (mmu_init+0x7b/0x1f4) from [<7ff049f3>] (start_barebox+0x17/0xc4)
[<7ff049f3>] (start_barebox+0x17/0xc4) from [<7ff1ff09>] (__start+0x51/0x5c)
[<7ff1ff09>] (__start+0x51/0x5c) from [<7ff00005>] (__bare_init_start+0x1/0xc)
It looks like the memory cannot be found anymore.
Ok, I just reworked Marvell Dove to boot from DT. I will have a look at
loco code to get an impression of how of_add_memory should be called
and add that to Dove. Maybe I can reproduce it there too.
Sebastian
_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox