Re: new OF: how can we use it?
From: Troy Benjegerdes <hidden>
Date: 1999-05-28 04:13:24
On Thu, 27 May 1999, Tom Rini wrote:
On Thu, 27 May 1999, Joel Klecker wrote:quoted
At 15:39 -0400 1999-05-27, Tom Rini wrote:quoted
On Thu, 27 May 1999, Brad Midgley wrote:quoted
don't you think it would be a great help to the success of linux on powermac if we could make the kind of elf binary that the new open firmware loads?[neat ideas nusked]quoted
what remains to be done? is the problem well understood/documented?It might be the text segments at the start. Basically we need to see how darwin and netbsd/macppc are linked and what they do that we don't (or that we do and don't need to). This is of coruse only my understanding, from a dozen emails w/ adrian sun (I have access to an iMac, he wants/wanted to fix it).NetBSD/macppc kernels have the .note section that OF wants, Linux/powerpc kernels do not. <ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/sys/arch /powerpc/powerpc/ofwmagic.S> See also vger: linux/arch/ppc/chrpboot/{mknote.c,Makefile}.Hmm. So has anybody tried booting a CHRP-specific 2.3.x kernel on a B&W or iMac? :)
Just tried using the latest vger 'chrpboot', which makes a zImage, from a Pmac kernel, and got 'gunzipping...' 'Default Catch 0900' (which is the decrementer exception) FYI, netbooting uses standard bootp and tftp 8->
--- Tom Rini (TR1265) http://gate.crashing.org/~trini/
-------------------------------------------------------------------------- | Troy Benjegerdes | troy@microux.com | hozer@drgw.net | | Unix is user friendly... You just have to be friendly to it first. | | This message composed with 100% free software. http://www.gnu.org | -------------------------------------------------------------------------- [[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]] [[ and http://www.linuxppc.org/ for useful information before posting. ]]