Baikal kernel for CUH-7215B 9.00 with USB network dongle support

globalc

Member
Newcomer
Joined
Jun 14, 2019
Messages
21
Trophies
0
Age
49
Website
fluxcoil.net
XP
116
Country
Japan
@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.
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.
 

noscr33n

New Member
Newbie
Joined
Apr 6, 2022
Messages
3
Trophies
0
Age
36
Location
Argentina
XP
28
Country
Argentina
This files are inside firmware zip, you have to put this files into /lib/firmware, i managed to compile the kernel, but doesnt boot, dont know why because release version by ps4gentoo works fine.
 

Zerg85

New Member
Newbie
Joined
Apr 6, 2022
Messages
3
Trophies
0
Age
38
Location
Almaty
XP
42
Country
Kazakhstan
на моей playstation pro cuh 7016b нет черного экрана, но произошла эта ошибка.
20220407_204551.jpg
 

noscr33n

New Member
Newbie
Joined
Apr 6, 2022
Messages
3
Trophies
0
Age
36
Location
Argentina
XP
28
Country
Argentina
на моей playstation pro cuh 7016b нет черного экрана, но произошла эта ошибка.View attachment 305235
try "fdisk -l" to see disks and partitions, find partition where you have psxitarch file then "mount /dev/sdXX /newroot" where XX is disk number and partition number, and then "resume-boot" or "exec switch_root /newroot /newroot/sbin/init"
if you dont know where is psxitarch you can try
mkdir letsee
mount /dev/sda1 letsee
ls letsee/
if file is not shown there
umount /dev/sda1
mount/dev/sda2 letsee
ls letsee/
and so on, if not sda try sdb, sdc, etc..
 
  • Like
Reactions: Zerg85

Zerg85

New Member
Newbie
Joined
Apr 6, 2022
Messages
3
Trophies
0
Age
38
Location
Almaty
XP
42
Country
Kazakhstan
попробуйте «fdisk -l», чтобы увидеть диски и разделы, найдите раздел, в котором у вас есть файл psxitarch, затем «mount /dev/sdXX/newroot», где XX — номер диска и номер раздела, а затем «resume-boot» или «exec switch_root / новый корень /новый корень/sbin/инит"
если вы не знаете, где находится psxitarch, вы можете попробовать
mkdir letsee
смонтировать /dev/sda1
давайте посмотрим /
если файл там не отображается
размонтировать /dev/sda1
mount /dev/sda2 пусть видит
давайте посмотрим /
и так далее, если не sda попробуй sdb, sdc и т.д..
спасибо за подсказку, сработало.
 

Xonder

New Member
Newbie
Joined
Jun 6, 2022
Messages
1
Trophies
0
Age
39
Location
Puerto Rico
XP
22
Country
Puerto Rico
Yeah, that's rancid(o)'s kernel, but it's 4.14. I ripped the config from that kernel to compile mine.

That one works, but being on 4.14, you don't have access to the good Mesa drivers.
Your BZ is not working on my 7215B.
I had this issue with 5.3.18 kernel from Nazky. Keeping the linux USB as the *only* usb plugged in before launching the payload gave me a proper display. Then you can plug in a keyboard or hub after startup. Hope that works for you.
Thank You!!! This works on my 7215B.
 

naxil

Well-Known Member
Member
Joined
Oct 26, 2011
Messages
850
Trophies
1
XP
672
Country
Italy
sorry if i jump on old tread but how to see what kind of wifi/bt have on my ps4? i remember i see it but i not remember the command...
i use fedora 38 with belize (but i haven't the module of the fix)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    Thanks for signing up at LinusTechTips
  • QuarterCut @ QuarterCut:
    holey shmoley!
  • BigOnYa @ BigOnYa:
    Your credit card has been charged. Thank you.
  • K3Nv2 @ K3Nv2:
    Your screwdriverPlus will arrive in three weeks
    +1
  • QuarterCut @ QuarterCut:
    K64_Waddle_Dee_Artwork_1.jpg

    my reaction to such information
    +2
  • BigOnYa @ BigOnYa:
    Press 1 for English. Press 2 for Pig Latin. Or press 3 to speak to a representative.
  • BakerMan @ BakerMan:
    guys, i need help, i got into an argument about what genre radioactive is, and i forgot who made it
  • Sicklyboy @ Sicklyboy:
    @BakerMan, Imagine Dragons
  • Sicklyboy @ Sicklyboy:
    Dragon deez nuts across yo face GOTEEM
  • Sicklyboy @ Sicklyboy:
    lmao now I realize that was probably the joke in the first place
    +1
  • BakerMan @ BakerMan:
    IMAGINE DRAGON DEEZ NUTS ACROSS YO- FUCK HE BEAT ME TO IT
  • BigOnYa @ BigOnYa:
    You have selected 4 - Death by Snu Snu, please stand by...
    +1
  • BakerMan @ BakerMan:
    lucky bastard
    +1
  • Sicklyboy @ Sicklyboy:
    hahahaha I'm half way through a bag off my Volcano and my tolerance is way down because I haven't been smoking much lately, so I was a little slow to catch that that was what your angle was 🤣🤣
    +1
  • Sicklyboy @ Sicklyboy:
    Also I was just excited to know a music reference for once (I am the LAST person in the world that you want on your trivia team)
    +2
  • K3Nv2 @ K3Nv2:
    Bummer webos 7.4 isnt working with dejavuln-autoroot
  • Sicklyboy @ Sicklyboy:
    PS4 right? I think that's what mine's on. Or 5.6, maybe.
  • K3Nv2 @ K3Nv2:
    [!] Installation failed (devmode_enabled not recognized)
  • K3Nv2 @ K3Nv2:
    0.5 seemed to work whatever lol i wont bitch
  • Alysh_Graham @ Alysh_Graham:
    Hehehe
    Alysh_Graham @ Alysh_Graham: Hehehe