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:
Hi,

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

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

1. Check out source

Done.

2. Apply my patches


Done.


3. Build toolchain

Done.


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
sys/arch/macppc/compile/obj/POWERMAC_G5_11_2_RD/netbsd*
$



5. Build distribution

Done.

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


Done.



7. Fix load-base in Openfirmware

Done.


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
wrong
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... :-/)

regards,
chris



One more thing.
On my G5 it is importnat to apply the patch ofw_machdep.c.patch else my kernel hangs just like yours.
I don't know why yet.

regards


Home | Main Index | Thread Index | Old Index