Port-macppc archive

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

Re: installing on a g5

On 04/10/2014 01:18 AM, Christian Groessler wrote:

On 04/06/14 09:04, Phileas Fogg wrote:

here is the promised howto for booting NetBSD HEAD on G5.

1. Check out source


2. Apply my patches


3. Build toolchain


4. Build ramdisk kernel
ls -l sys/arch/macppc/conf/POWERMAC_G5_11_2_RD
  ./build.sh -U -j4 -m macppc kernel=POWERMAC_G5_11_2_RD
ls -l sys/arch/macppc/compile/POWERMAC_G5_11_2_RD/netbsd

Done. But the kernel is in sys/arch/macppc/compile/obj/POWERMAC_G5_11_2_RD:

$ ls -l sys/arch/macppc/compile/obj/POWERMAC_G5_11_2_RD/netbsd
-rwxr-xr-x. 1 chris chris 29313471 Apr 10 00:09

5. Build distribution


6. Build ramdisk
Copy the image into the root directory of your tftp server.


7. Fix load-base in Openfirmware


8. Boot ramdisk via tftp

Doesn't work for me. I get the TFTP transfer messages and then just
"Loading ELF".
I've taken a picture, see
ftp://ftp.groessler.org/pub/chris/tmp/bootmsgs.jpg .

I've copied my kernel binary
ftp://ftp.groessler.org/pub/chris/tmp/netbsd.rd.xz .
Can you try it on your machine? If it's working there must be something
with my machine/settings. If it doesn't work, could you give me your kernel
binary (put it to ftp.groessler.org/incoming).

I cross-compiled my netbsd image on my Linux machine.

Me too. (Because my fastest machine doesn't have NetBSD installed... :-/)



i tested your image and it boots on my G5.
But you have a different G5 than I.
I have PowerMac 11,2 but you have PowerMac7,3.
And i checked the settings, it looks also good.

How good are you at NetBSD kernel programming ?
You could try to debug it with printf, it's probably some minor issue at system initialization and could be easily fixed, maybe.

I had similar issues with my G5 at the beginning, MMU was not properly initialized and some other issues.


Home | Main Index | Thread Index | Old Index