-
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
Boot the kernel directly off the optical disk drive #37
Comments
I've created a basic tutorial that should work: https://github.com/frno7/linux/wiki/Creating-a-bootable-PS2-Slim-DVD |
@faissaloo, perhaps we should make a note about what version of the Linux kernel the basic tutorial currently covers? |
The tutorial should be version agnostic |
Sure, but
Also, the Black Rhino distribution won’t run properly with 4.x and 5.x kernels, because it uses R5900 128-bit multimedia instructions (LQ, SQ, PEXTLB, PEXTLW and so on in for instance The initial patch submission, as discussed with kernel maintainers regarding issue #1, will be limited to the o32 psABI. In this regard, the Black Rhino build is nonstandard. |
Oh sure, this tutorial isn't supposed to produce a Black Rhino iso, I've written it such that you replace/delete all the BlackRhino specific files. I've added some more detail now, let me know what you think. As long as this kernel can be booted with KernelLoader there should be no issues. |
Thanks! I added a section Notes about R5900 Linux distributions and kernel versions to the guide. Last time I tried the Kernel Loader program it crashed when attempting to boot Linux 4.x and 5.x, so I assume that this will be a problem as well? In that case the kernel ought to be launched from wLaunchELF directly (as is usually done when launching 5.x kernels from a USB drive). Eventually the kernel ought to be able to bypass even wLaunchELF and boot directly regardless of hardware state, but as noted in #4 we have a couple of initialisation issues to sort out first, starting with #9. |
When it comes to launching directly, how do you handle passing kernel parameters? That's the main thing KernelLoader is for. I've added some information about what to do if you the disk to start a different ELF. |
Oh, that’s rather easy. Simply enable Lines 33 to 67 in 59a11ab
|
Additionally, as per #33 (comment), one can pass parameters to kernel modules in the initialisation scripts, like this:
The line above would load the Graphics Synthesizer frame buffer device driver and set the default video resolution to progressive 1920×1080 at 50 Hz, and then do some minor pixel adjustments as explained in: linux/drivers/video/fbdev/ps2fb.c Lines 2352 to 2358 in 00a55c7
Video modelines are very flexible with 5.x kernels, unlike 2.x kernels that don’t handle 1920×1080. |
Some more: I think the guide should be renamed by omitting the word slim so that we have a general DVD guide (incidentally, slim has unfortunate connotations that would best to avoid). Then a step 0 ought to be to review the PlayStation 2 Linux hardware model compatibility, and make sure that one has SCPH-7xxxx or possibly SCPH-900xx. I know that 2.x kernels are fiddly getting to work with various models. 5.x kernels should be much better at this, in the sense that they shouldn’t be possible to misconfigure for any particular model (that is, if it boots on one, it should boot on all). I put the USB alternative in the header. Eventually we should to link to a USB guide there (and vice versa, have the USB guide link to the DVD dito). |
Ah, regarding spelling: all other wiki pages spell out PlayStation 2 in the titles, with no abbreviation like PS2. The DVD guide ought to follow suit. |
I didn't even realise you could hardcode the kernel config. Thanks to your suggestion regarding verifying downloads I realised the download link I was using previous had truncated the file lol, so I've switched it to another site and added the SHA. I've also linked to the hardware compatibility for this kernel and fixed the abbreviations. |
Thanks, @faissaloo! I did a few minor adjustments to the guide:
A couple of questions:
|
The filename was set by the site I uploaded to, the ISO in it is based on |
Great! Would you like to update the guide with a (small) note on these particular changes compared with |
Done, how's that? |
@faissaloo, nice, thank you very much! |
9Zbm8Tdz4DvLXUGB.7Z link no longer works. Would you be able to renew or update? |
@deba5er, see also #4 (comment). I think download issues with these Linux 2.x images ought to be a separate issue, as they’re tangential to the the topic of this one. @deba5er, could you create a new issue and ping @faissaloo about it, please? |
Explain on the wiki how to install Linux on a DVD, similar to #4 (comment) but with a 5.x kernel. A guide has now been written for creating a bootable DVD for PlayStation 2 Linux. Plan:
The text was updated successfully, but these errors were encountered: