-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The kernel is crashing on PSX DESR after printing that info #78
Comments
I checked |
I don't have the irx errors on my machine but it does hang at the same place for me until I press return then it drops me to shell. |
@immolo, the kernel typically continues to initialise various subsystems in the background, after the shell prompt appears, and it happily prints its log messages about these on top of the shell prompt. The astute observer will notice the following line on @AKuHAK’s screen:
The shell prompt is displayed to the left with Pressing enter makes the prompt ‘reappear’, but it’s not necessary because the shell was waiting for input all along. A quick way to clear a garbled screen is to press |
@AKuHAK, what would
These lines have been scrolled off your screen, but |
In addition to
to confirm that this ROM file exists and is recognised. Moreover, a script
can be combined with another script
On a SCPH-50004 it’ll print something like this:
So
to confirm ROM files and library exports. For this I built the
Then I copied the scripts and the tool to the SCPH-50004 hardware
which is running Dropbear, but they can be put on a USB storage device as well, of course. The files and scripts used here are described in the wiki article on the PlayStation 2 read only memory (ROM). |
@frno7 you can check rom0 content offline for all ps2 variations: #!/bin/sh
for d in rom/*
do
echo "$d"
./iopmod-info --identify $d &&
./iopmod-info $d | grep "export library"
done 0180j - is the bootrom of PSX DESR v1 intrman is completely the same as in retail models, it is failing BEFORE intrman load (I think), but I don't know where exactly:
also full output of ./romlib.sh
|
@AKuHAK, how much, or little, of the ROM does the kernel recognise on the actual hardware? The suggested scripts should be able to say some things about that. |
@frno7 You are correct and this highlights I badly need a new capture card as I couldn't even see that line on my screen :) |
A possible reason why the |
I’ve got the same line, and a bunch of others with my development kit:
Here it comes:
And then follows even more:
There’s a USB wifi device (RT chipset 3070 with the |
@immolo, I’m currently using the Open Source Scan Converter (OSSC) attached to a PlayStation 2 component cable. There are cheap HDMI adapters for the PlayStation 2. Some are better/worse than others regarding flickering, colours, contrast, and so on, as I’ve noticed. The ones I tested handled up to 1920×1080p, but I recall some of the VESA modes fail: linux/drivers/video/fbdev/ps2fb.c Lines 234 to 255 in 59a11ab
|
@immolo, you might provisionally consider a bigger font, maybe 8x16 or even 16x32 rather than 8x8, if video quality is poor. :-) There’s a selection of them in the kernel (and it’s relatively simple to tailor a new font to taste):
|
@frno7 That's a great idea however for whatever reason my cross compiler ends up building a 74MB kernel no matter what I do so I need to fix that issue first, strangely though anything else I can build and run on the PS2. |
Are you looking the |
I owe you a beer as you just made me understand the mistake I'm making with building kernels. |
I tried to add this command into init - it seems there is no effect. Since I don't have a Linux machine at the moment - I added this line into GitHub workflow. INSTALL_MOD_STRIP: 1
run: |
sed '29 i dmesg | grep rom' $INSTALL_MOD_PATH/sbin/init however, it seems that this has no effect - I cannot see any additional messages on the screen.
|
The effect from
would modify the
The name is determined, in part, by the ROM version, so if the ROM isn’t working there will be troubles obtaining the name too: linux/arch/mips/ps2/identify.c Lines 58 to 77 in 59a11ab
Finally, I’d suggest adding Lines 5 to 9 in 59a11ab
That’ll active some extra |
If initialization is hanging on HDD, it might be due to usage of unimplemented commands on DVRP HDD emulation which will cause it to hang. I collected a list of HDD commands supported by DVRP HDD emulation. See: https://gist.github.com/uyjulian/6f44dc4e32a2a88c1bdf454ca5359fb4 |
Oh, thanks, @uyjulian! |
The kernel is crashing on PSX DESR after printing that info. After that, it just freezes.
Originally posted by @AKuHAK in #73 (comment)
The text was updated successfully, but these errors were encountered: