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 

OtherOS boot process...

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



Joined: 20 Apr 2007
Posts: 2

PostPosted: Fri Apr 20, 2007 8:14 pm    Post subject: OtherOS boot process... Reply with quote

Hi Folks,

I am doing a bit of research on what it would take to port another OS to the PS3 & Hypervisor, specifically I am looking at Haiku (http://haiku-os.org/) I am not really interested in running on the bare hardware, using the hypervisor would be fine for the time being.

Some of the topics in the forums mention that otheros is an elf file with a sce encrypted header, meaning that this can't be modified. Am I correct in assuming that this will only boot a linux kernel, and if a different OS wanted to use this for booting, the different OS would have to alter itself to be allowed to boot in the same way Linux does?

Does anyone know where I can read some detailed information on the boot process of an otheros on the PS3? Are there any documents available on the hardware that the hypervisor presents to an OS anywhere to read?

Thanks!
Back to top
View user's profile Send private message
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Fri Apr 20, 2007 8:22 pm    Post subject: Reply with quote

It is possible to make your own otheros.bld file, take a look at how petitBoot does it.
Back to top
View user's profile Send private message
McCall



Joined: 20 Apr 2007
Posts: 2

PostPosted: Fri Apr 20, 2007 8:54 pm    Post subject: Reply with quote

Warren wrote:
It is possible to make your own otheros.bld file, take a look at how petitBoot does it.


I have looked over this already, as I understand it its just an Linux initrd, so its still booting Linux, not a different OS. Does ps3-kboot have homepage?
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sat Apr 21, 2007 6:58 am    Post subject: Reply with quote

Otheros.self is the installer for the PS3 GameOS side of things. It has nothing to do specifically with Linux. In recent firmwares the functionality is already included on the PS3, so don't worry about the .self anymore.

Otheros.bld is the bootloader image which gets put into flash and loaded when you select "Other OS" as the default system. This file is a gzipped copy of the vmlinux.bin that gets built when you build Linux. So, you already have all of the source code for otheros.bld.
Back to top
View user's profile Send private message
ralferoo



Joined: 03 Mar 2007
Posts: 122

PostPosted: Tue Apr 24, 2007 5:06 pm    Post subject: Reply with quote

jimparis wrote:
Otheros.self is the installer for the PS3 GameOS side of things. It has nothing to do specifically with Linux. In recent firmwares the functionality is already included on the PS3, so don't worry about the .self anymore.
The interest is the .self is that it contains the hypervisor code and so is an interesting target for examination (albeit probably in violation of the reverse engineering clause on Sony's download page, depending on what country you live in).

Secondly, the encryption / compression looks similar to the other files in the firmware download, so analyzing that could give people more clues as to how the firmware works.

Finally, somewhere inside those .pkg files downloaded from the store, we will probably find .self files in there..

So, actually analysing otheros.self will probably help the efforts of figuring out the hypervisor and RSX details and so make it more likely that we can figure out how to make better use of the hardware we've bought.
Back to top
View user's profile Send private message Visit poster's website
urchin



Joined: 02 Jun 2005
Posts: 121

PostPosted: Tue Apr 24, 2007 5:16 pm    Post subject: Reply with quote

ralferoo wrote:
The interest is the .self is that it contains the hypervisor code

Is there anything official about that? I would have thought the hypervisor would have been initialised from the firmware during startup, reducing the possibilities for circumvention. Although I do wonder if they left something daft in like being able to boot unencrypted .selfs (which is why they removed this procedure in recent firmware)
Back to top
View user's profile Send private message
laichung



Joined: 06 May 2005
Posts: 123

PostPosted: Tue Apr 24, 2007 6:44 pm    Post subject: Reply with quote

Just a OT notes, there are different file format with filename extension PKG.
For example , F@H file from the net should be a package file (with a PKG header inside the file). And from the firmware, some files like "MULTI_CARD_FIRMWARE.pkg", header is SCE.

For those file which is encrypted, it should start with SCE header.
And for those file which is runnable, a ELF section should exist after the SCE header section.
Back to top
View user's profile Send private message
mc



Joined: 12 Jan 2005
Posts: 212
Location: Linköping

PostPosted: Mon May 14, 2007 1:36 am    Post subject: Reply with quote

You may want to check out this thread.
_________________
Flying at a high speed
Having the courage
Getting over crisis
I rescue the people
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 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