You are seeing a copy of a topic from forum.ps2dev.org.  Only the page numbers works, the other links point to the original forum.

Click HERE to go back to index of psq2dev mirror.
Click HERE to go back to PlayStation®2 Linux website.

Link to original post: http://forums.ps2dev.org/viewtopic.php?t=9897
forums.ps2dev.org :: View topic - About kernelloader and its code
forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

About kernelloader and its code

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
methos3



Joined: 01 Feb 2008
Posts: 89

PostPosted: Tue Mar 04, 2008 6:54 am    Post subject: About kernelloader and its code Reply with quote

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
View user's profile Send private message
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Thu Mar 06, 2008 10:57 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
methos3



Joined: 01 Feb 2008
Posts: 89

PostPosted: Thu Mar 06, 2008 10:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Sat Mar 08, 2008 7:38 am    Post subject: Reply with quote

I think it is easier when you extract blackrhino.

http://blackrhino.xrhino.com/main.php?page=download
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group