Page 1 of 1

About kernelloader and its code

Posted: Tue Mar 04, 2008 6:54 am
by methos3
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?

Posted: Thu Mar 06, 2008 10:57 am
by Mega Man
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).

Posted: Thu Mar 06, 2008 10:32 pm
by methos3
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?

Posted: Sat Mar 08, 2008 7:38 am
by Mega Man
I think it is easier when you extract blackrhino.

http://blackrhino.xrhino.com/main.php?page=download