[OpenBIOS] Sparc32 boots Linux...

Segher Boessenkool segher at kernel.crashing.org
Tue May 9 01:47:33 CEST 2006

> * Blue Swirl <blueswir1 at hotmail.com> [060508 22:03]:> Jumping to  
> entry point...> halt, power off> > Looking at /tmp/qemu.log we find  
> that Linux mapped itself to 0xf0000000, > called a few Openprom  
> functions and because of the bad results decided to > halt.> > Now  
> we need to implement the Openprom functions for browsing the device  
> > tree and others in romvec.c. For example, the sequence Linux uses  
> to find > root node properties is something like: you probably need  
> to pass a pointer to of_client_interface in someregister to make  
> things work.. you might need to save the context beforedoing so,  
> check of_client_callback in arch/ppc/start.S

See http://playground.sun.com/1275/bindings/sparc/d14a/12751d1a.ps .
Also note the the Sparc binding requires that all memory cells only
have to be aligned on two-byte boundaries (i.e., not necessarily
natural aligned)!


More information about the OpenBIOS mailing list