View previous topic :: View next topic |
Author |
Message |
methos3
Joined: 01 Feb 2008 Posts: 89
|
Posted: Tue Mar 04, 2008 6:54 am Post subject: About kernelloader and its code |
|
|
hello,
I downloaded the kernelloader 1.6 source, written by Mega Man, and was looking the part that uses the SifExecModuleBuffer() unction to load modules, and saw that the pointer to the files is: romfile->start;
And the function getTexture, thet uses the romfile->start too.
Anyone that saw Mega Man's kernelloader can explain me if this romfile->start means the start adress of the file on EE memory or it is the whole file?
Any other simple thing: kernelloader can load the kernel from a usb stick, but exist any kernel that can boot the Playstation2Linux using a usb stick? |
|
Back to top |
|
 |
Mega Man
Joined: 18 Jun 2005 Posts: 274
|
Posted: Thu Mar 06, 2008 10:57 am Post subject: |
|
|
romfile->start points to the start address of the file in EE memory and there is the whole file stored.
You can copy the PS2 Linux root file system on a USB stick then you boot an initrd using /linuxrc and set the new root file system manually (e.g. echo 0x801 >/proc/sys/kernel/real-root-dev). |
|
Back to top |
|
 |
methos3
Joined: 01 Feb 2008 Posts: 89
|
Posted: Thu Mar 06, 2008 10:32 pm Post subject: |
|
|
ok, thanks!
In this case I will need to ask for someone that already have the ps2linux installed on a hd, right?
Or the ps2linux is booted by its dvd? |
|
Back to top |
|
 |
Mega Man
Joined: 18 Jun 2005 Posts: 274
|
|
Back to top |
|
 |
|