PSP Linux Kernel
PSP Linux Kernel
I'm wondering... anyone have any docs on setting up a crosscompiling linux environment for the R4000 processor?
I'd like to compile a kernel and everything else as modules and see if I can't get the thing to boot from the memory stick. . Something along the lines of a milo bootloader for normal mips processors.
Cheers
Pikoro
http://www.psphacks.net
I'd like to compile a kernel and everything else as modules and see if I can't get the thing to boot from the memory stick. . Something along the lines of a milo bootloader for normal mips processors.
Cheers
Pikoro
http://www.psphacks.net
www.linux-mips.org.
Go for it. However, since the I/O devices and their memory mappings, DMA channels, and registers are completely unknown, with no known parallel already with an existing Linux kernel, you will get absolutely no where.
But please keep us up to date on your progress, or better yet, post it at your website. ;)
Go for it. However, since the I/O devices and their memory mappings, DMA channels, and registers are completely unknown, with no known parallel already with an existing Linux kernel, you will get absolutely no where.
But please keep us up to date on your progress, or better yet, post it at your website. ;)
Yes, but the point was, this is perhaps one of the least recommended places to start. However, note that I did provide some encourage anyhow - "go for it".zigzag wrote:Well, you gotta start somewhere!gorim wrote:you will get absolutely no where.
Bear in mind, you can't even compile a linux kernel for the PS2, unless you use the Sony Linux kit that already has the I/O device drivers and PS2 custom modifications built in. It is learning the PSP equivalent devices that is the necessary step at this moment.
I was trying to be helpful by suggesting someone not waste energy simply by trying to compile an arbitrary linux kernel for a R4000, but neither was I going to stand in the way if someone was hell bent on it. :)
Sounds frustrated.gorim wrote:zigzag wrote:Well, you gotta start somewhere!gorim wrote:you will get absolutely no where.
Bear in mind, you can't even compile a linux kernel for the PS2, unless you use the Sony Linux kit that already has the I/O device drivers and PS2 custom modifications built in.
It has been almost 5 years since PS2's release. Is it true that PS2's detailed IO hardware specification(IO and graphics hardware registers and how PS2 uses these registers to control graphics output and other IO devices) still remains unknown for us?
If yes, how does those software simulators such as NES, SNES simulator works? Do they work by completely using CPU resource and ignore PS2's GPU?
Excellent questions!!! In the context of Linux, the answers are less technical than one of interest.konfig wrote:
Sounds frustrated.
It has been almost 5 years since PS2's release. Is it true that PS2's detailed IO hardware specification(IO and graphics hardware registers and how PS2 uses these registers to control graphics output and other IO devices) still remains unknown for us?
A great deal of the IO hardware specification IS known, mostly from examining the PS2Linux kernel, and before that, the hard efforts of the first intrepid PS2 Dev'ers who scraped together bits and pieces of info and hacked away to discover those fruitful first morsels of data.
However, while there has been interest in making a standalone Linux kernel for the PS2 that doesn't require an "RTE", or relies on an open version of the "RTE", the interest hasn't been strong enough nor widespread enough. Mrbrown can probably speak more to this, no doubt he will add a "So when is so-and-so going to work on TGE ?" :) :) :)
Most PS2 hardware hacking has centered around remaining as close to the hardware as possible in programming efforts, and at best, relying on the native OS facilities of the PS2.
At least, this is what I have come to believe from my standpoint. Certainly the nature of this question will have a wide variety of responses, since its really not so much a technical question.
I was mostly kidding :) But hey, at least he is going to try something and that will get people interested and posting here and we might actually get somewhere someday :Dgorim wrote:Yes, but the point was, this is perhaps one of the least recommended places to start. However, note that I did provide some encourage anyhow - "go for it".
Bear in mind, you can't even compile a linux kernel for the PS2, unless you use the Sony Linux kit that already has the I/O device drivers and PS2 custom modifications built in. It is learning the PSP equivalent devices that is the necessary step at this moment.
I was trying to be helpful by suggesting someone not waste energy simply by trying to compile an arbitrary linux kernel for a R4000, but neither was I going to stand in the way if someone was hell bent on it. :)
I am guessing what he wants to try is placing it on the memorystick similar to as you would do for a PC to boot off of it. Chances are slim, but you never know. Of course it still won't work, but any indication of an attempt to boot would be a good thing. Not that I believe its going to boot the same way as a PC... but why not try?mrbrown wrote:Compile it? What the heck is he going to do with it once it's built?
It truly is a hard work to hack the PS2. Probably this is the decisive reasongorim wrote:
A great deal of the IO hardware specification IS known, mostly from examining the PS2Linux kernel, and before that, the hard efforts of the first intrepid PS2 Dev'ers who scraped together bits and pieces of info and hacked away to discover those fruitful first morsels of data.
However, while there has been interest in making a standalone Linux kernel for the PS2 that doesn't require an "RTE", or relies on an open version of the "RTE", the interest hasn't been strong enough nor widespread enough. Mrbrown can probably speak more to this, no doubt he will add a "So when is so-and-so going to work on TGE ?" :) :) :)
Most PS2 hardware hacking has centered around remaining as close to the hardware as possible in programming efforts, and at best, relying on the native OS facilities of the PS2.
At least, this is what I have come to believe from my standpoint. Certainly the nature of this question will have a wide variety of responses, since its really not so much a technical question.
for why there is not a real functional PS2 simulator on PC now.
If it is now possible to get the decrypted game code, to hack the rest part of PS2's hardware, is it a possilbe way to search in the game code for the use of them?
It may be a navie suggest above.
Earlier game console as PS、N64、SNES、GBA etc all have full functional simulator on other hardwares. This indicates their detailed specification is completely known. I think some of them may be hacked mainly by hardware means. Of course, PS2 and PSP is much more complicated, maybe more secured as well. I heard NDS hacking advanced a big step by concentrating on its wareless communication. Maybe PSP hacking can use the similar way?
I think hacking by hardware means may be more efficient than software means, though I don't know much about them.
Once PSP's hacking is done, everything is only a matter of time. I see many homebrewed sofewares on Nintendo's GBA game console. I hope PSP can be the same someday. It will be much more attractive.
Can't say the probability is zero for nobody has tried it.zigzag wrote:I am guessing what he wants to try is placing it on the memorystick similar to as you would do for a PC to boot off of it. Chances are slim, but you never know. Of course it still won't work, but any indication of an attempt to boot would be a good thing. Not that I believe its going to boot the same way as a PC... but why not try?mrbrown wrote:Compile it? What the heck is he going to do with it once it's built?
If it really works, things is gonna to be interesting.
You can boot off of a memory stick on PC?zigzag wrote:I am guessing what he wants to try is placing it on the memorystick similar to as you would do for a PC to boot off of it. Chances are slim, but you never know. Of course it still won't work, but any indication of an attempt to boot would be a good thing. Not that I believe its going to boot the same way as a PC... but why not try?
"He was warned..."
Yes, if you have a sony vaio, this acts as a plain usb mass storage; only have to switch some options in the bios to be able to boot on it.mrbrown wrote:You can boot off of a memory stick on PC?
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.