Skip to content
Snippets Groups Projects

sony-ps4: new device

Closed Imported Administrator requested to merge sony-ps4 into master
All threads resolved!

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

Checking pipeline status.

Approval is optional

Closed by AdministratorAdministrator 5 months ago (Oct 6, 2024 7:31pm UTC)

Merge details

  • The changes were not merged into master.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Administrator marked this merge request as draft · Imported

    marked this merge request as draft

    By Niels Westphal on 2024-06-02T22:10:16

  • Author Owner

    (Cc: @sleirsgoevy)

    By ungeskriptet on 2024-06-03T17:13:52

  • Administrator
  • Administrator changed title from Draft: WIP: sony-ps4: new device to Draft: sony-ps4: new device · Imported

    changed title from Draft: WIP: sony-ps4: new device to Draft: sony-ps4: new device

    By jenneron on 2024-06-03T18:42:57

  • Administrator added 1 commit · Imported

    added 1 commit

    Compare with previous version

    By Niels Westphal on 2024-06-05T20:11:20

    • Author Owner
      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
  • Administrator added 1 commit · Imported

    added 1 commit

    Compare with previous version

    By Niels Westphal on 2024-06-27T21:32:37

    • Author Owner
      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
    • Author Owner
      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
  • Administrator resolved all threads · Imported

    resolved all threads

    By Newbyte on 2024-10-02T18:55:29

  • Administrator added 684 commits · Imported

    added 684 commits

    Compare with previous version

    By Newbyte on 2024-10-02T18:57:18

  • Administrator marked this merge request as ready · Imported

    marked this merge request as ready

    By Newbyte on 2024-10-02T18:57:26

  • Author Owner

    I'll mark this as ready based on the discussion in !5194 (comment 2094328667)

    By Newbyte on 2024-10-02T18:57:39

  • Author Owner

    Looks like the kernel configuration is missing a lot of options (see the CI output). Do you feel like looking into it @crashniels?

    By Newbyte on 2024-10-02T18:58:59

  • Please register or sign in to reply
    Loading