CosmicScale
Developer
I mentioned that I've been working on the "PSBBN Definitive English Patch" in another thread and now I'm looking into the feasibility of getting it to support drives that containing more than 130GB of data. Here's my findings.
PSBBN is basically PS2 Linux with a flashy interface. When you turn on the console it auto-boots osdboot.elf but the console freezes if the HDD contains more than 130GB of data. The job of osdboot.elf is to launch the Linux kernel and set up the runtime environment. It's basically a modified version of the PS2 Linux Runtime Environment disc that comes with the official Sony Linux kit. PSBBN versions 0.30 and below can been booted up with the actual disc that comes with the official Linux kit.
More interestingly there's the homebrew app called Kernelloader. Kernelloader is a bootloader for PS2 Linux designed to be an open source replacement for Sony's Runtime Environment. Kernelloader can also boot PSBBN 0.30.
The official Runtime Environment and Kernelloader both boot to a (mostly) functional PSBBN and are able to boot games and homebrew from the Game Channel.
The RTE and Kernelloader still boot PSBBN with a drive containing data over that 130GB limit, problem number one solved! When PSBBN has successfully booted you can browse the first 130GB of "PP" partitions in the Game Channel. The fact it only displays the first 130GB is not really an issue because the drive could (in theory) be front loaded with hundreds of PP partitions containing OPL Launcher that would in turn load the PS2 games installed past the 130GB mark. Problem number two arises when you try to launch something, everything now fail to launch. On the plus side, it doesn't corrupt anything on the HDD.
Remember I said that the PSBBN is basically PS2 Linux with a flashy interface? Well, the PSBBN Linux kernel is also open source and could potentially be modified for better APA support.
Ideally the solution to larger drive support would be a hacked osdboot.elf that could boot with larger drives and a Linux kernel with full 48-bit LBA support. Failing that, a modified version of Kernelloader and a modified Linux kernel that isn't bothered by data past the 130GB point and just works with data below that. This could actually be possible with Kernelloader and the kernel being open source.
Kernelloader hasn't been updated in 10 years but I've been able to set up an environment that can compile it. I've also been able to compile the kernel. Making the necessary modifications is unfortunately pushing my limits.
If anybody wants to help with this endeavour, want's more detailed info or want's to give it a shot then that would be great.
If anybody want's to check out my "PSBBN Definitive English Patch" then it can be found on the Internet Archive.
PSBBN is basically PS2 Linux with a flashy interface. When you turn on the console it auto-boots osdboot.elf but the console freezes if the HDD contains more than 130GB of data. The job of osdboot.elf is to launch the Linux kernel and set up the runtime environment. It's basically a modified version of the PS2 Linux Runtime Environment disc that comes with the official Sony Linux kit. PSBBN versions 0.30 and below can been booted up with the actual disc that comes with the official Linux kit.
More interestingly there's the homebrew app called Kernelloader. Kernelloader is a bootloader for PS2 Linux designed to be an open source replacement for Sony's Runtime Environment. Kernelloader can also boot PSBBN 0.30.
The official Runtime Environment and Kernelloader both boot to a (mostly) functional PSBBN and are able to boot games and homebrew from the Game Channel.
The RTE and Kernelloader still boot PSBBN with a drive containing data over that 130GB limit, problem number one solved! When PSBBN has successfully booted you can browse the first 130GB of "PP" partitions in the Game Channel. The fact it only displays the first 130GB is not really an issue because the drive could (in theory) be front loaded with hundreds of PP partitions containing OPL Launcher that would in turn load the PS2 games installed past the 130GB mark. Problem number two arises when you try to launch something, everything now fail to launch. On the plus side, it doesn't corrupt anything on the HDD.
Remember I said that the PSBBN is basically PS2 Linux with a flashy interface? Well, the PSBBN Linux kernel is also open source and could potentially be modified for better APA support.
Ideally the solution to larger drive support would be a hacked osdboot.elf that could boot with larger drives and a Linux kernel with full 48-bit LBA support. Failing that, a modified version of Kernelloader and a modified Linux kernel that isn't bothered by data past the 130GB point and just works with data below that. This could actually be possible with Kernelloader and the kernel being open source.
Kernelloader hasn't been updated in 10 years but I've been able to set up an environment that can compile it. I've also been able to compile the kernel. Making the necessary modifications is unfortunately pushing my limits.
If anybody wants to help with this endeavour, want's more detailed info or want's to give it a shot then that would be great.
If anybody want's to check out my "PSBBN Definitive English Patch" then it can be found on the Internet Archive.