Port-ofppc archive

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

RE: radeonfb on Pegasos



On 10-Nov-2007 Frank Wille wrote:
> Then I remembered the KERNEL_SR and VM_MIN_KERNEL_ADDRESS defines, which, as
> I understand it, define the start address of kernel-memory allocations?
> KERNEL_SR is 13, so it is 0xd0000000 as well!

Crap.  I kept putting dealing with that mess off when I started looking at
ofppc months ago.  We have some serious issues there, beyond what you are
seeing.

We need 2 segments available for the USER and KERNEL segment.  However, the
pegasos maps 8,9,a,b,c,d and f.  Leaving us only e to work with.  I suspect we
could probably get away with using b and e, as likely nothing on the pegasos
primary pci maps as far out as b.  However, as a general problem, its much
worse.

I'm including a ranges map for various machines I've compiled.  The problem
becomes that we cannot pick any two values that something else doesn't stomp on.
Notice that in particular, the 7043-140 seems to stomp on E.

I have avoided thinking about how to fix this for awhile now.. I guess it's
time to start looking at it again.  In the meantime, try B and E and see if you
have any luck.


b50 pci
01000000 00000000 00000000 fe000000 00000000 00c00000 IO
02000000 00000000 80000000 80000000 00000000 7d000000 MEM
02000000 00000000 00000000 fd000000 00000000 01000000 MEM

pegasos
pci0
01000000 00000000 00000000 FE000000 00000000 00010000
02000000 00000000 80000000 80000000 00000000 40000000
pci1
01000000 00000000 00000000 F8000000 00000000 00010000
02000000 00000000 C0000000 C0000000 00000000 20000000

efika
01000000 00000000 00000000 F8000000 00000000 00010000
02000000 00000000 80000000 80000000 00000000 40000000

7043-140
01000000 00000000 00000000 80000000 00000000 00800000
01000000 00000000 00800000 81000000 00000000 3e800000
02000000 00000000 00000000 c0000000 00000000 01000000
02000000 00000000 01000000 c1000000 00000000 3e000000

7044-270
01000000 00000000 00000000 f8000000 00000000 01000000
02000000 00000000 c0000000 c0000000 00000000 0f000000
02000000 00000000 00000000 cf000000 00000000 01000000
02000000 00000000 000a0000 000a0000 00000000 00000000

(Some of the other maps, like the 7025, are far far worse)

---
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