sony-ps4: new device
This MR adds support for the Sony Playstation 4 Phat model. The Slim and Pro models are not yet supported. All work surrounding the Playstation 4 is currently split across different GitHub forks and are quite out of date. The distros available are from 2022 or older and can easily break when trying to update as they use a custom kernel, custom initramfs and custom mesa builds. Patches are taken from here.
Linux is loaded using a kernel exploit and the PS4 Linux Loader for said firmware. It expects a bzImage, initramfs and a tar.xz file for the distro.
Current status: Kernel boots, initramfs needs ps4 amdgpu firmware, sony-ps4.img untested
Merge request reports
Activity
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
initramfs seems to load at least. It gets stuck on "boot partition not found". The boot partition is probably in the sony-ps4.img which I have not tested yet. I am also not sure if the ps4 amdgpu firmware is required in the initramfs. It could be that it is loading the firwmare from my current popos install.
By Niels Westphal on 2024-10-02T18:55:26
Edited by Ghost User
- Resolved by Administrator
It managed to boot. Question here: How would I bundle custom mesa builds? The patches add the PCI IDs from the GPU. Might not be an ideal solution but the patches are not upstream yet.
By Niels Westphal on 2024-10-02T18:55:23
Edited by Ghost User
- Resolved by Administrator
@crashniels Sorry for the ping, but are you still interested in completing the port (and this MR)?
If not, it might be better to close this MR.
By Robert Eckelmann on 2024-10-02T18:55:24
Edited by Ghost User
added 684 commits
-
628c4b1d...e5093e14 - 683 commits from branch
postmarketOS:master
- e39f44a5 - sony-ps4: new device
By Newbyte on 2024-10-02T18:57:18
-
628c4b1d...e5093e14 - 683 commits from branch
I'll mark this as ready based on the discussion in !5194 (comment 2094328667)
By Newbyte on 2024-10-02T18:57:39