OK, I'm guessing in lv1 you can get around even triggering the decryption functionality inside sb_iso_spu_module? That would be even better.
Yes it introduces a bootstrapping problem, but one could think of a CFW line that works only on top of a fully decrypted HDD.
I'm just thinking about how...
I'm naively thinking of pre-decrypting the internal hard drive on Linux and NOPing out the encrypting/decrypting instructions of sb_iso_spu_module.self.
Would probably brick if I tried, would other stuff like lv0, lv1 have built in decryption dealing with the encrypted drive in the early stages...
There is no ppu-g++ in my ps3toolchain and there never will, so not sure what you're asking for here.
BTW, updated ppu-gcc to 13.2.0 and ppu-binutils to 2.42 in the meantime, contained in the ISO as well.
Could the source be made available? It's GPL code, so it should be a given...
I'd like to look into optimizing the decoding of lossless FFV1 SD content, it's not decoding fast enough for real-time playback on the PPU as of now. With some Altivec magic and updated toolchain it may be a thing.
The newlib patch is 400kB vs. 25kB of GCC, also a huge version jump from 1.20.0 to e.g. 4.3.0. Could be structured completely differently now, I don't know.
How I did the GCC update was to split the 7.2.0 patch into patches for each file and tried to apply them where possible, manually where...
Yeah I experienced this as well and worked it around:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ps3-psl1ght#n31
Seems stable building huge libraries like FFmpeg with hundreds of C files but fails there somehow with specific optimization levels, no idea.
About the crtend.o...
Updated ISO (the previous link works as well as it now points to this):
https://disc-kuraudo.eu/releases/archiso-dk-2023.05.06-x86_64.iso
Edit: fresh rebuild using GCC 13.1.1 and has disc-kuraudo-home 0.3.4 hotfix.
Turns out it didn't even touch the prerequisite tarballs that are manually...
Oh I should have maybe actually tested it past printing its version, it's missing ISL and MPC.
Run
# pacman -Sy isl libmpc
I'll update the ISO today along with 0.3.3 disc-kuraudo release.
Theoretically, but quite the effort. Here's the commit that removed it:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=7ee1594e0ebf75195f6eb5e23516ae12618c9f82&utm_source=anzwix
273 files changed, around half of that deleted, the other half was interweaved with the code that probably changed over...
PPU is essentially PowerPC64 with Power ISA Version 2.03 which is the same as built in the PowerMac G5 CPUs.
Don't think that's going anywhere for now.
Can also look into the code:
https://github.com/gcc-mirror/gcc/blob/525713ed9db904ed2504decc5bde9d58bd5d98b4/gcc/config/rs6000/rs6000.h#L123
Didn't get as far as I liked regarding adding the libraries.
However, I prepared an Arch Linux Live ISO image that contains the ps3toolchain and (incomplete) ps3libraries for trying out in a VM, 2nd rig, laptop, etc.:
https://disc-kuraudo.eu/releases/archiso-dk-current-x86_64.iso
Notes...
I added a GitHub repository with each package as a submodule:
http://github.com/disc-kuraudo/ps3toolchain-arch
To download all the PKGBUILDs and patches, issue
$ git submodule update --init
Planning to add all the libraries, probably some extra ones like FFmpeg, through Easter.
Hey there.
I updated the ps3toolchain (w/o gdb and ps3libraries yet) to gcc 9.5.0 (PPU/SPU), binutils to 2.40 (PPU).
Chose 9.5.0 as this marks the last gcc release with (deprecated) SPU support. Will check out bumping the PPU gcc to version 13 once that's out.
Skipped on C++ and bumping SPU...
Hey there, people call me Daren and I work in HPC.
Been lurking quite a bit in this forum and have been doing some local PS3 homebrew work with an FFmpeg Movian build (libav in $current_year lmao) and a customized slaunch/ps3netsrv that I'll release in the upcoming days. Will give my best to...