Port-ofppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: FirePower (was Re: TODO list for ofppc)



On 22-Jan-2008 Izumi Tsutsui wrote:
> ranges                   01000000 00000000 00000000 80000000 00010000
> 01000000 
>                          00000000 01000000 81000000 3e800000 02000000
> 00000000 
>                          00000000 c0000000 3c000000 0072616e 67657386
> 00058400 
> clock-frequency          01f78a40 
> bus-range                00 00 00 00 00 00 00 00 
>#size-cells              00000002 
>#address-cells           00000003 

OK, I see what is going on here, but I'm not immediately sure what the right
fix is.  In powerpc/oea/ofwoea_machdep.c:find_ranges() we dig out the number of
address cells, the number of size cells, and then add 1.  On your machines,
adding 1 seems to be what does it in.

One question, can you show me the .properties of your root node? (on both the 
firepower, and this Estrella) In both my pegasos, and my 7044, my root node has
an #address-cells property of "1".  Perhaps your machines are missing that, and
its something we can key off?

As a quick hack, you can pull out that +1 and see how it changes things.

---
Tim Rightnour <root%garbled.net@localhost>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/



Home | Main Index | Thread Index | Old Index