btw today is libreboot day. first release ever was on 12 december 2013
today is 12 december 2024. therefore, today is libreboot's 11th birthday!
it's the free/opensource bios replacement that i maintain, based on coreboot.
btw today is libreboot day. first release ever was on 12 december 2013
today is 12 december 2024. therefore, today is libreboot's 11th birthday!
it's the free/opensource bios replacement that i maintain, based on coreboot.
And the 30th anniversary of the playstation too
@gwennelsonuk well. libreboot has playstation support. now we just have to somehow do something dinosaur related?
It's also dinosaur day!
@gwennelsonuk you can literally build libreboot for the playstation and install it. works in emulators and on real hardware. it uses the pcsx-redux open bios
you can use one of these boards:
https://oshpark.com/profiles/mi213
flash libreboot to a SST39VF040 or compatible 512k nor flash. you could also flash the original bios on another, and stack them; then with each one having otherwise isolated OE/CS, switch OE/CS (output enable / chip select). could wire it to a timer on the reset switch or something
@gwennelsonuk @psyhackological Yes well, the most scientific way to describe Libreboot's nature is to link the build system documentation:
https://libreboot.org/docs/maintain/
In the same way you can think of Debian as a Linux distribution, so too is Libreboot a coreboot distribution.
As for binary blobs, Libreboot's policy on this is here:
https://libreboot.org/news/policy.html
The distro concept evolved over time, but Libreboot's primary purpose is to remove blobs when feasible, and to provide ideally free firmware.
@libreleah is anything missing in libreboot compated to coreboot? I mean in the functionality only besides proprietary blobs.
Leah tends to add in stuff on top of coreboot, only removing nonfree blobs
@gwennelsonuk @psyhackological Naturally, Libreboot does provide a lot of patching on top of the various upstreams that it supports. For example, the GRUB payload in Libreboot contains native drivers for xHCI controllers and NVMe SSDs, whereas the upstream GNU GRUB project is missing these.
Coreboot is heavily patched. In some cases, entire boards are supported in Libreboot, where they are not yet merged upstream - nowadays, some boards even appear in Libreboot first, or are stable there first.
I read that and thought "surely you mean the PS4 and PS5, maybe the PS3 cos we have the firmware signing keys".
But the PSX?
That's crazy but really cool - kinda silly if you would then use it to run only proprietary games though.
@libreleah wait what
@gwennelsonuk well there is PsNee, which is an opensource modchip firmware that runs on arduino.
i suppose you could theoretically reduce a lot of that complexity by rewriting it for rp2040 or something.
there's picostation, which is opensource firmware running on an rp2040. does optical disc emulation on the real console, letting you boot from sd card.
finally, there is https://github.com/Lameguy64/PSn00bSDK open source devkit
modchip still ideal to defeat the mechanon wobble check; can disable from bios
@gwennelsonuk Interesting, Re PS3
Regarding PS2, no there aren't any decent opensource modchips available I don't think. However, many people avoid the need for a modchip nowadays by running something like freemcboot from a pre-loaded memory card.
I installed a modchip in that PS2 I gave you, because i'm oldschool. I could have just as easily sent you a freemcboot memory card with OPL and you'd probably be happy
On the PS4 it's so similar to a normal PC that people installed Steam and the proprietary Nvidia drivers!
They're not as tightly optimised as PSGL (Sony's answer to OpenGL), but it worked for running Portal on the PS4.
PS2 has modchips that have their own firmware already, so I wonder if one could be used to support a totally libre way to run both PS2 games and the Linux bootloader.
PS5 I'm not sure about, but I'd guess it's very very similar to the PS4 because it's just another glorified custom PC. If the GPU drivers work or only need slight modification, it'd be amazing to use with libre firmware cos it's a pretty powerful machine compared to the previous playstation consoles.
Then I just reformatted the harddrive device and installed a Debian PPC base system to it, and then changed the kernel again to one without the busybox united, just normal Debian initrd.
The original hack booted the kernel but had nothing to do except possibly NFS root, nobody thought to do the obvious.
The advantage is you can mount the GameOS root too, it's just UFS.
Makes for a nicer way to run a quality ftpd, or even just compiling GameOS code using the leaked SDK on the PS3 itself, then write to the GameOS partition and reboot.
The PS3 would take a lot more work from scratch, but the hardware signing keys have been leaked so it's possible to run modded firmware.
I have some in my shed somewhere hacked to run the devkit and debug firmware on a retail console - I also fixed a couple of trivial bugs in the Linux SDK that was leaked, and thought about cheekily submitting patches to Sony.
Actually, I also remember getting Linux to boot from the harddrive after they removed OtherOS support back in the day - a lot of PS3 hackers took years to do that and then took all the credit cos I didn't announce my work.
I thought it was too obvious.
Basically you just need to set the root device when booting the kernel, you can't decrypt the OtherOS side while GameOS is booted, but you can just overwrite it.
I used a kernel with internal initrd and busybox (cont)
Perhaps look into hacking the PS3 onwards, especially the PS4 should be easy to make run a libre bootloader.
The PS3 is a more complicated platform, but the 4 and 5 are basically just weird PCs.
The devkits actually use GRUB!
I often wonder why Sony didn't use their own bootloader or the FreeBSD bootloader for the devkits.
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.