linux
linux
Hi
I have been thinking about how to get linuk to boot on the PSP.
In past versions of Linux you could make a boot and a root disk. You would rawrite the disks. Also I seem to remember that with Slackware you could install on to a fat partition. So here is where I am going with this would it be possible to partition the MS and rawrite to one partition and configure the other as usual and boot from there.
This is just a thought my strength is in networking not in programming. Could this work?
Best Regards
Ocsic
(That’s cisco backwards)
I have been thinking about how to get linuk to boot on the PSP.
In past versions of Linux you could make a boot and a root disk. You would rawrite the disks. Also I seem to remember that with Slackware you could install on to a fat partition. So here is where I am going with this would it be possible to partition the MS and rawrite to one partition and configure the other as usual and boot from there.
This is just a thought my strength is in networking not in programming. Could this work?
Best Regards
Ocsic
(That’s cisco backwards)
Unlike Windows, Linux can be compiled for many different architectures. Take the iPod for example. There is no need to wait for a x86 emu. <a href="http://www.linux-mips.org/wiki/Main_Page"> Linux/MIPS </a> is one that would be worth looking at.
-Benihana
-Benihana
It should be possible, but it probably wouldn't be as simple as you make it sound. First, you're going to need to write some boot strap code that would allow you to specify any kernel arguments you needed, drop the processor into kernel mode, if it's not alredy there, layout the memory for the linux kernel, then load the kernel from the memory stick, and transfer control to it's code. To make the kernel work, you're minimally going to have to write drivers for the memory stick, as well as display drivers. Depending on how you want to lay things out on the memory stick, you might have to write some new filesystem drivers. If the USB chips are already supported, you'll be lucky, otherwise you'll have to have those so you can use your USB hub, keyboard, and mouse. Optionally, you might also want drivers for audio, and the gamepad itself.
All, in all, it's not just a matter of dropping the kernel in place, and it works, but it's not impossible, either. At this point, I think if someone was determined to do it, they already have most of, if not all of the information they need, to do it available. It'd just be a matter of writing the code.
All, in all, it's not just a matter of dropping the kernel in place, and it works, but it's not impossible, either. At this point, I think if someone was determined to do it, they already have most of, if not all of the information they need, to do it available. It'd just be a matter of writing the code.
Replacing the kernel does not seem to happen soon. But there are other ways to have a POSIX environment similar to GNU/Linux. Anyone here know Cygwin? It "translates" *NIX system calls into win32 API.
I think maybe this is the easiest way to follow. Still, I know almost nothing about PSP kernel, so someone please correct me if I am wrong.
I think maybe this is the easiest way to follow. Still, I know almost nothing about PSP kernel, so someone please correct me if I am wrong.
In case you haven't noticed, porting an OS to a console is a bit of a challenge and people like to boast that "thier" OS (Linux|FreeBSD|NetBSD|etc...) runs on soo many more machines than your OS, look it even runs on a PSP!Souls85 wrote:I still think that waiting for a x86 emu would be worth it
besides then you could play all sorts of cool dos programs.
Running an OS inside of an emulator on an embedded platform gives them nothing to brag about. Porting Linux isn't ultimately about using it, it's more about saying "Hey! look what we did!"
(And yes, having DosBox work on the PSP would be kind of cool, but would be a LOT harder than you think)