diff options
author | Leah Rowe <leah@libreboot.org> | 2024-09-25 23:59:52 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-09-26 00:35:18 +0100 |
commit | ff9c250a3ec05c9afa3faf84e2e5d793f68361b4 (patch) | |
tree | 054b727b67c266691caf47ccf1fe8ef5a79f354b /include | |
parent | 2b0fe39acb4d911edd9d7631e8aa6b97778e68fa (diff) |
Add Sony PlayStation support to Libreboot
I also added a "cleanargs" argument, similar to the makeargs
argument, to work around a build error.
This builds the PCSX-Redux PS1 BIOS. They reverse engineered
the Sony PS1 BIOS and wrote a free one under MIT license.
Run this:
./mk -b pcsx-redux
The file will appear: bin/playstation/openbios.bin
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/rom.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/rom.sh b/include/rom.sh index 80643c48..cfd00a86 100644 --- a/include/rom.sh +++ b/include/rom.sh @@ -24,6 +24,13 @@ mkserprog() [ "$XBMK_RELEASE" = "y" ] && mkrom_tarball "bin/serprog_$1"; return 0 } +copyps1bios() +{ + x_ rm -Rf bin/playstation + x_ mkdir -p bin/playstation + x_ cp src/pcsx-redux/src/mips/openbios/openbios.bin bin/playstation +} + mkpayload_grub() { eval `setvars "" grub_modules grub_install_modules` |