Port-ofppc archive

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

Re: SmartFirmware /memory




Frank Wille wrote:
Nice idea, but which claim() are we talking about?

1. The OF_claim() call.
2. The claim()-method of /cpus/PowerPC.../.
3. The claim()-method of /memory@0.

Unfortunately none of them really helps us.

I made a test with OF_claim(), passing the address-argument as 0, but it
only returns memory from the lowest 256MB. Same with the claim() method of
/memory, which only returns the memory listed under "available". The claim()
method of /cpus/PowerPC happily returns all memory from 0 to 0x10000000,
ignoring /memory's "available", but nothing more.

Another crazy experiment was to use the release() method of /memory, to add
the region 0x10000000-0x20000000 to the "available" property. But again
the kernel crashes when accessing it.

*sigh* ... so what do we have to do to access more than 256MB?

I have no idea.

Someone should probably contact someone at bplan. I guess that's my job.

In the end, though, I don't think we are really very interested in a NetBSD
port to Pegasos or fixing errors in the 4 year old firmware..

--
Matt Sealey <matt%genesi-usa.com@localhost>
Genesi, Manager, Developer Relations


Home | Main Index | Thread Index | Old Index