View previous topic :: View next topic |
Author |
Message |
BenR n00b

Joined: 02 May 2020 Posts: 2
|
Posted: Sat May 02, 2020 11:14 pm Post subject: Booting latest minimal ISO on Playstation 3? |
|
|
Hi,
I pulled my Playstation 3 out of the closet yesterday. It's running the 3.15 firmware and has an older Gentoo PPC64 install on it from back when PS3 was well supported.
I downloaded the latest install-powerpc-minimal ISO, added a kboot.conf and tried to boot it from petitboot:
Code: |
default=test
test='/boot/G5 initrd=/boot/G5.igz root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot'
|
After selecting this in petitboot and hitting Enter, it just hangs.
Is there something I'm missing, or is it simply not possible to boot the newer PPC installers on PS3? |
|
Back to top |
|
 |
mattst88 Developer


Joined: 28 Oct 2004 Posts: 398
|
Posted: Sat May 02, 2020 11:29 pm Post subject: |
|
|
I build the PPC ISOs and I have zero idea about running Linux on a PS3.
Perhaps the ISOs used to support PS3. I really don't know what's even required now. |
|
Back to top |
|
 |
mallgrab n00b

Joined: 06 May 2020 Posts: 3
|
|
Back to top |
|
 |
mallgrab n00b

Joined: 06 May 2020 Posts: 3
|
Posted: Tue May 19, 2020 2:53 am Post subject: |
|
|
Alright got it working.
Basically all you need to do is compile the ps3 kernel .git with any ppc64 toolchain. Maybe the default gentoo sources / kernel archives could work too since some ps3 changes have been made upstream.
Apply the distro kernel kconfig patch and make ps3_defconfig.
Generate an initramfs with genkernel on a stage3 gentoo with chroot. You could do that on any working ps3 distro like say red ribbon.
Once you got the initramfs and kernel move them over to the gentoo installation and edit the kboot.conf / yaboot. Should boot then.
Also double check that in /lib/modules that you have your new build kernel modules in here. |
|
Back to top |
|
 |
BenR n00b

Joined: 02 May 2020 Posts: 2
|
Posted: Fri May 29, 2020 2:00 am Post subject: |
|
|
mallgrab wrote: | Alright got it working.
Basically all you need to do is compile the ps3 kernel .git with any ppc64 toolchain. Maybe the default gentoo sources / kernel archives could work too since some ps3 changes have been made upstream.
Apply the distro kernel kconfig patch and make ps3_defconfig.
Generate an initramfs with genkernel on a stage3 gentoo with chroot. You could do that on any working ps3 distro like say red ribbon.
Once you got the initramfs and kernel move them over to the gentoo installation and edit the kboot.conf / yaboot. Should boot then.
Also double check that in /lib/modules that you have your new build kernel modules in here. |
That's good news!
What kernel are you using? And are you using petitboot?
I have not been able to get mine to boot. I am using the latest gentoo-sources. |
|
Back to top |
|
 |
mallgrab n00b

Joined: 06 May 2020 Posts: 3
|
Posted: Sat May 30, 2020 7:15 pm Post subject: |
|
|
BenR wrote: |
That's good news!
What kernel are you using? And are you using petitboot?
I have not been able to get mine to boot. I am using the latest gentoo-sources. |
Git cloned the latest ps3 kernel sources https://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-linux.git
And applied the gentoo patch to it https://dev.gentoo.org/~mpagano/genpatches/trunk/5.7/4567_distro-Gentoo-Kconfig.patch
And yes using otheros++ petitboot with kboot.
You could also skip the minimal installation iso completely and just create a ext4 partition and extract the stage3 tarball into it.
Then just set it as root in yaboot / kboot.
Should probably try to get the kernel + initramfs booting first tho, before trying out the whole stage3 tarball thing. |
|
Back to top |
|
 |
|