@sharkticonnz You should be able to extract the initrd, and modify the startscript which is running there.
I managed to compile an own kernel now on Fedora32, which runs on the PS4 pro I have.
These are not the sources for the kernel which this thread is for, though. When I try to compile that one, I get this:
Maybe these firmware files like gladius_ce.bin are baked into the PS4 somewhere - but I did not find them there. Anyway, the way above compiles the kernel without these files.
I managed to compile an own kernel now on Fedora32, which runs on the PS4 pro I have.
sudo dnf - install git-core flex bison elfutils-libelf-devel
git clone https://github.com/ps4boot/ps4-linux.git
cd ps4-linux
cp config .config
make -j 12 bzImage
# then copy arch/x86/boot/bzImage to partition /dev/sda1
These are not the sources for the kernel which this thread is for, though. When I try to compile that one, I get this:
git clone https://github.com/ps4gentoo/ps4-linux-5.3.7
cd ps4-linux-5.3.7
make clean
make oldconfig
make -j 12 bzImage
[..]
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
DESCEND objtool
CHK include/generated/compile.h
AS drivers/base/firmware_loader/builtin/mrvl/sd8897_uapsta.bin.gen.o
AS drivers/base/firmware_loader/builtin/mrvl/sd8797_uapsta.bin.gen.o
make[4]: *** No rule to make target '/lib/firmware/amdgpu/gladius_ce.bin', needed by 'drivers/base/firmware_loader/builtin/amdgpu/gladius_ce.bin.gen.o'. Stop.
make[3]: *** [scripts/Makefile.build:497: drivers/base/firmware_loader/builtin] Error 2
make[2]: *** [scripts/Makefile.build:497: drivers/base/firmware_loader] Error 2
make[1]: *** [scripts/Makefile.build:497: drivers/base] Error 2
make: *** [Makefile:1085: drivers] Error 2
Maybe these firmware files like gladius_ce.bin are baked into the PS4 somewhere - but I did not find them there. Anyway, the way above compiles the kernel without these files.