| Linux cold boot on PS3 Slim [message #1827] |
Fri, 27 July 2012 21:53  |
glevand
Messages: 955 Registered: July 2011 Location: SONY
|
Gitbrew God |
|
|
Hmm, it would be really nice to cold boot Linux on SLIM.
The problem is this.
On SLIM we patch GameOS loader and add the OtherOS++ support.
The OtherOS++ loader reads petitboot from VFLASH and loads it in case the OtherOS flag is set. But at cold boot we cannot access VFLASH immediately, that doesn't work, i tried even to implement retries with sleep calls, no chance.
And today i took a look at GuestOS loader in LPAR1 process 9 (LV1 3.15) and noticed the following interesting thing.
It doesn't matter on old OtherOS if we want to cold boot OtherOS or GameOS, GameOS is loaded always at cold boot first.
Maybe it works the following way. GameOS is always loaded first and then it checks OtherOS flag, if it is set then it reboots again and OtherOS is loaded. And because it is a warm boot now, OtherOS can read VFLASH successfully on NOR FATs.
UPDATE:
The theory is not quite right. It is true that initial GuestOS loader loads GameOS at cold boot first. It creates LPAR2, loads LV2 image into memory of LPAR2 but LPAR2 ist not executed immeditely. After loading GameOS, the initial Guest OS loader waits until FLASH is ready and then checks the boot GuestOS id, and if it's NOT equal to the id of GameOS then LPAR2 is detructed. When process 9 receives the LPAR2 shutdown signal, then it loads the boot GuestOS and executes it.
[Updated on: Sat, 28 July 2012 18:27] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: Linux cold boot on PS3 Slim [message #1876 is a reply to message #1865] |
Wed, 01 August 2012 01:33  |
Medox
Messages: 1 Registered: August 2012
|
Gitbrew Noob |
|
|
First off, epic achievement!
Would there be a chance to boot GameOS from petitboot with some kind of parameters?
Like... booting GameOS right into multiMAN, Showtime or any other given homebrew.
Just imagining a petitboot menu with:
GameOS + multiMAN
GameOS
Linux
[Updated on: Wed, 01 August 2012 01:35] Report message to a moderator
|
|
|
|