Editing OtherOS++
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
[[Category:Linux]] | |||
[[Category: | |||
=OtherOS++= | =OtherOS++= | ||
This guide is roughly copypasted from Gitbrew wiki and Glevand' documentations | This guide is roughly copypasted from Gitbrew wiki and Glevand' documentations | ||
Line 10: | Line 8: | ||
*[http://gitbrew.org/~glevand/ps3/cfw/CFW341-OTHEROS++.PUP PS3 Dual Boot GameOS/Linux CFW 3.41] // (mirror:[http://www.multiupload.com/7KG9CFI5JY CFW341-OTHEROS++.PUP (167.12 MB)]) - 3.41 with SS Patches. 1/2 hdd to OtherOS++ | *[http://gitbrew.org/~glevand/ps3/cfw/CFW341-OTHEROS++.PUP PS3 Dual Boot GameOS/Linux CFW 3.41] // (mirror:[http://www.multiupload.com/7KG9CFI5JY CFW341-OTHEROS++.PUP (167.12 MB)]) - 3.41 with SS Patches. 1/2 hdd to OtherOS++ | ||
*[http://gitbrew.org/~glevand/ps3/cfw/CFW355-OTHEROS++.PUP PS3 Dual Boot GameOS/Linux CFW 3.55] // (mirror:[http://www.multiupload.com/YBKHBOM8NU CFW355-OTHEROS++.PUP (170.64 MB)]) - 3.55 with SS Patches. 1/2 hdd to OtherOS++ | *[http://gitbrew.org/~glevand/ps3/cfw/CFW355-OTHEROS++.PUP PS3 Dual Boot GameOS/Linux CFW 3.55] // (mirror:[http://www.multiupload.com/YBKHBOM8NU CFW355-OTHEROS++.PUP (170.64 MB)]) - 3.55 with SS Patches. 1/2 hdd to OtherOS++ | ||
*[http://gitbrew.org/~glevand/ps3/cfw/CFW355-OTHEROS++-EIGHTH-HDD-SIZE.PUP PS3 Dual Boot GameOS/Linux CFW 3.55 1/8th] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/cfw/CFW355-OTHEROS++-EIGHTH-HDD-SIZE.PUP PS3 Dual Boot GameOS/Linux CFW 3.55 1/8th] // (mirror:[http://www.multiupload.com/Z0ZUC2QXXX CFW355-OTHEROS++-EIGHTH-HDD-SIZE.PUP (170.64 MB)]) - 1/8th of the drive will be for GameOS, SS patches | ||
*[http://gitbrew.org/~glevand/ps3/cfw/CFW355-OTHEROS++-SPECIAL.PUP PS3 Dual Boot GameOS/Linux CFW 3.55 SPECIAL] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/cfw/CFW355-OTHEROS++-SPECIAL.PUP PS3 Dual Boot GameOS/Linux CFW 3.55 SPECIAL] // (mirror:[http://www.multiupload.com/UITB9EY84F CFW355-OTHEROS++-SPECIAL.PUP (170.64 MB)]) - QA Flag CFW with SS patches, Can be used to downgrade your ps3 from 3.55 to lower firmwares. | ||
===No SS Patches=== | ===No SS Patches=== | ||
*[http://gitbrew.org/~glevand/ps3/cfw/CFW355-OTHEROS++-22GB.PUP PS3 Dual Boot GameOS/Linux CFW 3.55 22GB] // (mirror:[http://www.multiupload.com/1DIA204CET CFW355-OTHEROS++-22GB.PUP (170.64 MB)]) - 3.55: 22GB to OtherOS++, no SS patches ([http://pastebin.com/E3YU1DqE HASHES]) | *[http://gitbrew.org/~glevand/ps3/cfw/CFW355-OTHEROS++-22GB.PUP PS3 Dual Boot GameOS/Linux CFW 3.55 22GB] // (mirror:[http://www.multiupload.com/1DIA204CET CFW355-OTHEROS++-22GB.PUP (170.64 MB)]) - 3.55: 22GB to OtherOS++, no SS patches ([http://pastebin.com/E3YU1DqE HASHES]) | ||
<!--//*[http://gitbrew.org/~glevand/ps3/cfw/test/CFW355-OTHEROS++-22GB.PUP CFW355-OTHEROS++-22GB.PUP] // (mirror:[http://www.multiupload.com/J60NH6FMRM CFW355-OTHEROS++-22GB.PUP (170.65 MB)]) - 3.55: 22GB to OtherOS++, no SS patches//--> | <!--//*[http://gitbrew.org/~glevand/ps3/cfw/test/CFW355-OTHEROS++-22GB.PUP CFW355-OTHEROS++-22GB.PUP] // (mirror:[http://www.multiupload.com/J60NH6FMRM CFW355-OTHEROS++-22GB.PUP (170.65 MB)]) - 3.55: 22GB to OtherOS++, no SS patches//--> | ||
*[http://gitbrew.org/~glevand/ps3/cfw/latest/CFW355-OTHEROS++-HALF-HDD-NO-SS-PATCH.PUP CFW355-OTHEROS++-HALF-HDD-NO-SS-PATCH.PUP] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/cfw/latest/CFW355-OTHEROS++-HALF-HDD-NO-SS-PATCH.PUP CFW355-OTHEROS++-HALF-HDD-NO-SS-PATCH.PUP] // (mirror:[http://www.multiupload.com/KD90A7VTCG CFW355-OTHEROS++-HALF-HDD-NO-SS-PATCH.PUP (170.65 MB)] - 3.55: no SS Patches. 1/2 hdd to OtherOS++ | ||
*[http://gitbrew.org/~glevand/ps3/cfw/latest/CFW355-OTHEROS++-EIGHTH-HDD-NO-SS-PATCH.PUP CFW355-OTHEROS++-EIGHTH-HDD-NO-SS-PATCH.PUP] // (mirror:[http://www.multiupload.com/UNNVFSKRQ7 CFW355-OTHEROS++-EIGHTH-HDD-NO-SS-PATCH.PUP (170.65 MB)]) - 3.55: 1/8th of the drive will be for GameOS, No SS patches | *[http://gitbrew.org/~glevand/ps3/cfw/latest/CFW355-OTHEROS++-EIGHTH-HDD-NO-SS-PATCH.PUP CFW355-OTHEROS++-EIGHTH-HDD-NO-SS-PATCH.PUP] // (mirror:[http://www.multiupload.com/UNNVFSKRQ7 CFW355-OTHEROS++-EIGHTH-HDD-NO-SS-PATCH.PUP (170.65 MB)]) - 3.55: 1/8th of the drive will be for GameOS, No SS patches | ||
Line 30: | Line 23: | ||
==Packages== | ==Packages== | ||
*boot_gameos.pkg // (mirror:[http:// | *boot_gameos.pkg // (mirror:[http://www.multiupload.com/G4JJ735N8W boot_gameos.pkg (60.05 KB)]) | ||
*[http://gitbrew.org/~glevand/ps3/pkgs/boot_otheros.pkg boot_otheros.pkg] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/pkgs/boot_otheros.pkg boot_otheros.pkg] // (mirror:[http://www.multiupload.com/02G0QL8FTI boot_otheros.pkg (69.86 KB)]) | ||
*[http://gitbrew.org/~glevand/ps3/pkgs/dump_flash.pkg dump_flash.pkg] // (mirror: [http:// | *[http://gitbrew.org/~glevand/ps3/pkgs/dump_flash.pkg dump_flash.pkg] // (mirror: [http://www.multiupload.com/PBF2JGX0NT dump_flash.pkg (70.23 KB)]) (dump NAND flash on USB0001) | ||
*[http://gitbrew.org/~glevand/ps3/pkgs/dump_flash_ptab.pkg dump_flash_ptab.pkg] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/pkgs/dump_flash_ptab.pkg dump_flash_ptab.pkg] // (mirror:[http://www.multiupload.com/BYL6TD21FW dump_flash_ptab.pkg (70.23 KB)]) (dump NAND flash on USB0001 ; ptab) | ||
*[http://gitbrew.org/~glevand/ps3/pkgs/dump_lv1.pkg dump_lv1.pkg] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/pkgs/dump_lv1.pkg dump_lv1.pkg] // (mirror:[http://www.multiupload.com/VWJH6L0LKD dump_lv1.pkg (69.61 KB)]) | ||
*[http://gitbrew.org/~glevand/ps3/pkgs/dump_lv2.pkg dump_lv2.pkg] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/pkgs/dump_lv2.pkg dump_lv2.pkg] // (mirror:[http://www.multiupload.com/3CZD9VAM6D dump_lv2.pkg (70.11 KB)]) | ||
*[http://gitbrew.org/~glevand/ps3/pkgs/dump_sysrom.pkg dump_sysrom.pkg] // (mirror:[http://www.multiupload. | *[http://gitbrew.org/~glevand/ps3/pkgs/dump_sysrom.pkg dump_sysrom.pkg] // (mirror:[http://www.multiupload.com/9CN7NGGNQH dump_sysrom.pkg (69.67 KB)]) (dump syscon eeprom on USB0001) | ||
*[http://gitbrew.org/~glevand/ps3/pkgs/get_applicable_version.pkg get_applicable_version.pkg] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/pkgs/get_applicable_version.pkg get_applicable_version.pkg] // (mirror:[http://www.multiupload.com/GXERV38F5A get_applicable_version.pkg (69.3 KB)]) (to get the low/high version lock via Debug UDP) | ||
*[http://gitbrew.org/~glevand/ps3/pkgs/get_token_seed.pkg get_token_seed.pkg] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/pkgs/get_token_seed.pkg get_token_seed.pkg] // (mirror:[http://www.multiupload.com/G8GBEIABKT get_token_seed.pkg (59.73 KB)]) | ||
*[http://gitbrew.org/~glevand/ps3/pkgs/install_otheros.pkg install_otheros.pkg] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/pkgs/install_otheros.pkg install_otheros.pkg] // (mirror:[http://www.multiupload.com/6R57OUY1SK install_otheros.pkg (61.11 KB)]) | ||
*[http://gitbrew.org/~glevand/ps3/pkgs/install_otheros_bootloader_loader.pkg install_otheros_bootloader_loader.pkg] | *[http://gitbrew.org/~glevand/ps3/pkgs/install_otheros_bootloader_loader.pkg install_otheros_bootloader_loader.pkg] | ||
*[http://gitbrew.org/~glevand/ps3/pkgs/qa_flag.pkg qa_flag.pkg] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/pkgs/qa_flag.pkg qa_flag.pkg] // (mirror:[http://www.multiupload.com/P5Q2R5R1YG qa_flag.pkg (69.92 KB)]) (to enable QA) | ||
*[http://gitbrew.org/~glevand/ps3/pkgs/qa_flag_extra.pkg qa_flag_extra.pkg] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/pkgs/qa_flag_extra.pkg qa_flag_extra.pkg] // (mirror:[http://www.multiupload.com/KAGDSQ9QG9 qa_flag_extra.pkg (69.98 KB)]) (to enable QA with downgrade) | ||
*[http://gitbrew.org/~glevand/ps3/pkgs/reboot.pkg reboot.pkg] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/pkgs/reboot.pkg reboot.pkg] // (mirror:[http://www.multiupload.com/QBAACYZNES reboot.pkg (59.36 KB)]) | ||
*[http://gitbrew.org/~glevand/ps3/pkgs/reset_qa_flag.pkg reset_qa_flag.pkg] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/pkgs/reset_qa_flag.pkg reset_qa_flag.pkg] // (mirror:[http://www.multiupload.com/VEUMEDINGU reset_qa_flag.pkg (70.05 KB)]) (to reset the QA flags back to default) | ||
*[http://gitbrew.org/~glevand/ps3/pkgs/setup_flash_for_otheros.pkg setup_flash_for_otheros.pkg] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/pkgs/setup_flash_for_otheros.pkg setup_flash_for_otheros.pkg] // (mirror:[http://www.multiupload.com/MWF5QWPBLF setup_flash_for_otheros.pkg (70.11 KB)]) | ||
==Petitboot Images== | ==Petitboot Images== | ||
*[http://gitbrew.org/~glevand/ps3/petitboot/dtbImage.ps3.bin dtbImage.ps3.bin] // [ | |||
*[http://gitbrew.org/~glevand/ps3/petitboot/dtbImage.ps3.bin.minimal dtbImage.ps3.bin.minimal] // [ | *[http://gitbrew.org/~glevand/ps3/petitboot/dtbImage.ps3.bin dtbImage.ps3.bin] // (mirror: [http://www.multiupload.com/1BDQZG7189 dtbImage.ps3.bin (9.32 MB)]) | ||
*[http://gitbrew.org/~glevand/ps3/petitboot/dtbImage.ps3.bin.minimal dtbImage.ps3.bin.minimal] // (mirror:[http://www.multiupload.com/NSKF92Y6IM dtbImage.ps3.bin.minimal (7.6 MB)]) | |||
==Scripts== | ==Scripts== | ||
*clone.sh - clones all repos from git.gitbrew.org/ps3/ <!--// for repo in $(wget -o /dev/null -O - http://git.gitbrew.org/repos/ | grep .git | grep '<td>' | cut -d '>' -f 3 | cut -d '<' -f -1 | egrep -v '^$'); do git clone git://git.gitbrew.org/${repo}; done //--> | *clone.sh - clones all repos from git.gitbrew.org/ps3/ <!--// for repo in $(wget -o /dev/null -O - http://git.gitbrew.org/repos/ | grep .git | grep '<td>' | cut -d '>' -f 3 | cut -d '<' -f -1 | egrep -v '^$'); do git clone git://git.gitbrew.org/${repo}; done //--> | ||
*[http://gitbrew.org/~glevand/ps3/scripts/create_hdd_region.sh create_hdd_region.sh] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/scripts/create_hdd_region.sh create_hdd_region.sh] // (mirror:[http://www.multiupload.com/JEUZXDU9DC create_hdd_region.sh (3.77 KB)]) | ||
**[http://pastebin.com/vBn84kYr create_hdd_region_ALTERNATIVE.sh] // (mirror:[http://www.multiupload.com/IQ12JBGZE7 create_hdd_region_ALTERNATIVE.sh (3.93 KB)]) - alternative ONLY to use when having -8 errors | **[http://pastebin.com/vBn84kYr create_hdd_region_ALTERNATIVE.sh] // (mirror:[http://www.multiupload.com/IQ12JBGZE7 create_hdd_region_ALTERNATIVE.sh (3.93 KB)]) - alternative ONLY to use when having -8 errors | ||
*[http://gitbrew.org/~glevand/ps3/scripts/dispmgr_access.sh dispmgr_access.sh] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/scripts/dispmgr_access.sh dispmgr_access.sh] // (mirror:[http://www.multiupload.com/51SSH2WGYI dispmgr_access.sh (2.14 KB)]) | ||
*[http://gitbrew.org/~glevand/ps3/scripts/enable_wlan_on_fat.sh enable_wlan_on_fat.sh] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/scripts/enable_wlan_on_fat.sh enable_wlan_on_fat.sh] // (mirror:[http://www.multiupload.com/UAGQVYBROF enable_wlan_on_fat.sh (1.6 KB)]) | ||
*[http://gitbrew.org/~glevand/ps3/scripts/hdd_access.sh hdd_access.sh] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/scripts/hdd_access.sh hdd_access.sh] // (mirror:[http://www.multiupload.com/P7X86X396C hdd_access.sh (6.22 KB)]) | ||
*initimg.sh (deprecated : was used to kexec into a special debian img and partition drives for vflash) | *initimg.sh (deprecated : was used to kexec into a special debian img and partition drives for vflash) | ||
*[http://gitbrew.org/~glevand/ps3/scripts/is_vflash_on.sh is_vflash_on.sh] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/scripts/is_vflash_on.sh is_vflash_on.sh] // (mirror:[http://www.multiupload.com/CEG2WSHL7K is_vflash_on.sh (1.09 KB)]) | ||
*kboot.conf - kboot.conf to go in your linux /etc/ | *kboot.conf - kboot.conf to go in your linux /etc/ | ||
*[http://gitbrew.org/~glevand/ps3/scripts/restore_vflash.sh restore_vflash.sh] // (mirror:[http:// | *[http://gitbrew.org/~glevand/ps3/scripts/restore_vflash.sh restore_vflash.sh] // (mirror:[http://www.multiupload.com/1OJFUN3OI7 restore_vflash.sh (1.32 KB)]) | ||
==PS3 Kernels== | ==PS3 Kernels== | ||
Line 94: | Line 88: | ||
====snaphots==== | ====snaphots==== | ||
*juli 22 2011 snapshot by aKoN-Man: | |||
http://www.multiupload.com/ULBPNLOHJ7 (143.1 MB) | http://www.multiupload.com/ULBPNLOHJ7 (143.1 MB) | ||
http://www.multiupload.com/MDNVQSFL00 (143.1 MB) | http://www.multiupload.com/MDNVQSFL00 (143.1 MB) | ||
Line 105: | Line 99: | ||
http://www.multiupload.com/RFPAKBP1BD (27.7 MB) | http://www.multiupload.com/RFPAKBP1BD (27.7 MB) | ||
*sept 15 2011 (.git's for mirror)<!--//http://gitbrew.org/~stackable/ps3//-->: | |||
[http://www.multiupload.com/5X7E7OLEAV ps3.tar.gz (793.32 MB)] | [http://www.multiupload.com/5X7E7OLEAV ps3.tar.gz (793.32 MB)] | ||
-or- | -or- | ||
Line 119: | Line 113: | ||
git clone E:\ps3\ps3linux\ps3-jupiter.git | git clone E:\ps3\ps3linux\ps3-jupiter.git | ||
*sept 15 2011 (cloned version and site mirror version): | |||
[http://www.multiupload.com/0TUS62HQY0 ps3.tar.gz (1.3 GB)] (Including wireless slim drivers for linux) | [http://www.multiupload.com/0TUS62HQY0 ps3.tar.gz (1.3 GB)] (Including wireless slim drivers for linux) | ||
==Features== | ==Features== | ||
Line 175: | Line 132: | ||
*Support for ps3-utils. You can flash new OtherOS bootloader from Linux e.g. | *Support for ps3-utils. You can flash new OtherOS bootloader from Linux e.g. | ||
==QA Flag== | ==QA Flag== | ||
Reports state if you flag your ps3 you will lose all psn .act files making any bought psn content unuseable (<span style="color:red | Reports state if you flag your ps3 you will lose all psn .act files making any bought psn content unuseable (<span style="color:red">warning: these are dev tools, remember this</span>.) | ||
==SS Patches== | ==SS Patches== | ||
Do not use these pups if you play games | Do not use these pups if you play games via backup managers of your legal games. You will get trophy errors. You need this patch to use ps3dm,sm, and other ps3 dev tools. We're currently working on a patch in petitboot so it only runs when you use linux and not mess with GameOS backup managers -> use [http://gitbrew.org/~glevand/ps3/scripts/dispmgr_access.sh dispmgr_access.sh] | ||
You need | |||
==OtherOS++ How-To== | ==OtherOS++ How-To== | ||
Line 237: | Line 187: | ||
1. Install my latest [http://gitbrew.org/~glevand/ps3/cfw/ CFW] | 1. Install my latest [http://gitbrew.org/~glevand/ps3/cfw/ CFW] | ||
2. When installation is finished, reboot in [ | 2. When installation is finished, reboot in [http://www.ps3devwiki.com/index.php?title=Talk:Playstation_Update_Package_%28PUP%29#PS3_Recovery_Menu Recovery Mode] (not the Backup/Restore in XMB) and choose "Restore PS3 System" | ||
3. Now your GameOS should use only the half of your HDD | 3. Now your GameOS should use only the half of your HDD | ||
(Currently working on a better approach) | (Currently working on a better approach) | ||
Line 249: | Line 199: | ||
9. You should be in petitboot now. | 9. You should be in petitboot now. | ||
Exit from CUI to shell or switch to another virtual console. | Exit from CUI to shell or switch to another virtual console. | ||
10. Run script [http://gitbrew.org/~glevand/ps3/scripts/create_hdd_region.sh create_hdd_region.sh] | 10. Run script [http://gitbrew.org/~glevand/ps3/scripts/create_hdd_region.sh create_hdd_region.sh] | ||
11. Reboot and boot petitboot again | 11. Reboot and boot petitboot again | ||
12. You should see now new HDD device on petitboot, /dev/ps3dd. | 12. You should see now new HDD device on petitboot, /dev/ps3dd. | ||
Line 282: | Line 232: | ||
You may now continue to [http://wiki.gitbrew.org/ | You may now continue to [http://wiki.gitbrew.org/index.php/PS3:Linux Install Linux] // ([http://webcache.googleusercontent.com/search?q=cache:TChhbdAgNzIJ:wiki.gitbrew.org/index.php/PS3:Linux+http://wiki.gitbrew.org/index.php/PS3:Linux&cd=1&hl=nl&ct=clnk&source=www.google.com google-cache]) | ||
Line 307: | Line 257: | ||
==Fedora== | ==Fedora== | ||
Installed with Fedora 9 Full DVD | |||
Tested on Slim PS3 (3.55) & Phat PS3 (3.15) | Installed with Fedora 9 Full DVD Tested on Slim PS3 (3.55) & Phat PS3 (3.15) | ||
When installing Fedora 9, when you are asked about partitioning, choose "Custom layout" and select ps3da. | When installing Fedora 9, when you are asked about partitioning, choose "Custom layout" and select ps3da. | ||
===3.55 (Custom CFW)=== | |||
umount ps3db | umount ps3db | ||
umount ps3dc | umount ps3dc | ||
Line 321: | Line 271: | ||
cp /tmp/petitboot/mnt/sr0/ppc/ppc64/* /mnt/fedora | cp /tmp/petitboot/mnt/sr0/ppc/ppc64/* /mnt/fedora | ||
kexec -l vmlinuz --initrd=ramdisk.image.gz | kexec -l vmlinuz --initrd=ramdisk.image.gz | ||
Reboot the PS3 and it will start the installer | Reboot the PS3 and it will start the installer | ||
'''NOTE | '''NOTE''': When installing Fedora 9 (possibly all versions), choose "Custom layout" and select ps3da. The hdd_access.sh script disables ps3da-c and makes it so that ps3dd reads as the "first" hard drive. After the installer finishes, '''DO NOT HIT REBOOT'''. You must unplug or hardware reset your console. | ||
After the installer finishes, '''DO NOT HIT REBOOT | |||
===3.15 PHAT (Stock OFW)=== | ===3.15 PHAT (Stock OFW)=== | ||
*Put petitboot on a memory stick | *Put petitboot on a memory stick | ||
mkdir -p /media/usbstick/PS3/otheros/ | mkdir -p /media/usbstick/PS3/otheros/ | ||
wget | wget http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-petitboot/otheros.bld | ||
cp ./otheros.bld /media/usbstick/PS3/otheros/otheros.bld | cp ./otheros.bld /media/usbstick/PS3/otheros/otheros.bld | ||
*Boot into GameOS | *Boot into GameOS | ||
**XBM>Settings>System Settings>Other OS> | **XBM>Settings>System Settings>Other OS> | ||
**Settings>System Settings>Default System>Other OS>Yes | **Settings>System Settings>Default System>Other OS>Yes | ||
*Boot into petitboot and load up a dvd with [http://mirrors.fedoraproject.org/publiclist/Fedora/9/ppc64/ Fedora Core] on it :D | |||
'''NAND 3.15 Notes before Tweaks''' | |||
*Your hdd is ps3da. Pay attention to the guide and substitude ps3dd with ps3da | |||
*Your hdd is ps3da. | |||
*Know which partitions are which and don't go mkswap'ing your root partition | *Know which partitions are which and don't go mkswap'ing your root partition | ||
*Do not use hdd_access to configure your hdds | *Do not use hdd_access to configure your hdds | ||
*You must patch your kernel with [http:// | *You must [http://wiki.gitbrew.org/index.php/PS3:Kernel patch your kernel] with [http://7track.org/~glevand/public/ glevand's patch] / obtain a patched kernel in order to do [http://wiki.gitbrew.org/index.php/PS3:Tools#Enable_RSX_RAM_as_SWAP certain things] and compile certain [http://wiki.gitbrew.org/index.php/PS3:Tools tools]. | ||
===Tweaks=== | ===Tweaks=== | ||
*umount /dev/ps3dd2 | *umount /dev/ps3dd2 | ||
*mkdir /mnt/fedora | *mkdir /mnt/fedora | ||
Line 357: | Line 309: | ||
**'''NAND 3.15 ONLY:'''change boot from /dev/sdd (or whatever) to ps3da (or whichever drive yours shows up as, not the partition) | **'''NAND 3.15 ONLY:'''change boot from /dev/sdd (or whatever) to ps3da (or whichever drive yours shows up as, not the partition) | ||
**'''NAND 3.15 ONLY:'''add root=/dev/ps3da1 | **'''NAND 3.15 ONLY:'''add root=/dev/ps3da1 | ||
**'''NAND 3.15 ONLY:'''Example | **'''NAND 3.15 ONLY:'''Example [http://pastie.org/private/6t37pem4kadjg9s1c4hpgq yboot.conf] | ||
*nano /mnt/Fedora/etc/sudoers | *nano /mnt/Fedora/etc/sudoers | ||
**append your user under root | **append your user under root | ||
Line 363: | Line 315: | ||
***chmod u+w /mnt/Fedora/etc/sudoers | ***chmod u+w /mnt/Fedora/etc/sudoers | ||
***edit | ***edit | ||
***chmod 0440 /mnt/Fedora/etc/sudoers. | ***chmod 0440 /mnt/Fedora/etc/sudoers. | ||
root ALL=(ALL) ALL | root ALL=(ALL) ALL | ||
snowy ALL=(ALL) ALL | snowy ALL=(ALL) ALL | ||
*each time you boot in petitboot, press e on "Fedora" and change ps3da2 to ps3dd2 for both | *each time you boot in petitboot, press e on "Fedora" and change ps3da2 to ps3dd2 for both vmlinux and ramdisk. (temporary) | ||
**Unless you followed the NAND 3.15 ONLY step previously. | **Unless you followed the NAND 3.15 ONLY step previously. | ||
*when you boot into fedora for the first time, make the user (same as you did in sudoers) account now. | *when you boot into fedora for the first time, make the user (same as you did in sudoers) account now. | ||
*when prompted to login hit alt + ctrl + f1 | *when prompted to login hit alt + ctrl + f1 | ||
*log in | *log in | ||
*sudo su | *sudo su | ||
*nano /etc/udev/rules.d/10-ps3da1swap.rules | *nano /etc/udev/rules.d/10-ps3da1swap.rules | ||
KERNEL=="ps3da1", ACTION=="add", RUN+="/sbin/mkswap /dev/ps3da1", RUN+="/sbin/swapon -p 1 /dev/ps3da1" | KERNEL=="ps3da1", ACTION=="add", RUN+="/sbin/mkswap /dev/ps3da1", RUN+="/sbin/swapon -p 1 /dev/ps3da1" | ||
*nano /etc/udev/rules.d/10-ps3vram.rules | *nano /etc/udev/rules.d/10-ps3vram.rules | ||
<pre> | <pre> | ||
# udev rules to automatically enable swap on /dev/ps3vram | |||
# Copy this file to /etc/udev/rules.d/10-ps3vram-swap.rules | |||
# Choose only one of the rules below | |||
# Initialize and enable swap unconditionally | |||
KERNEL=="ps3vram", ACTION=="add", RUN+="/sbin/mkswap /dev/ps3vram", RUN+="/sbin/swapon -p 10 /dev/ps3vram" | |||
# Initialize and enable swap unconditionally | |||
KERNEL=="ps3vram", ACTION=="add", RUN+="/sbin/mkswap /dev/ps3vram", RUN+="/sbin/swapon -p 10 /dev/ps3vram" | |||
# Initialize using /etc/fstab and standard init scripts | # Initialize using /etc/fstab and standard init scripts | ||
# KERNEL=="ps3vram", ACTION=="add", RUN+="/bin/bash -c '/bin/grep -q ^/dev/ps3vram[[:space:]]*swap /etc/fstab && /sbin/mkswap /dev/ps3vram'" | # KERNEL=="ps3vram", ACTION=="add", RUN+="/bin/bash -c '/bin/grep -q ^/dev/ps3vram[[:space:]]*swap /etc/fstab && /sbin/mkswap /dev/ps3vram'" | ||
</pre> | </pre> | ||
Fedora is now installed and configured. | Fedora is now installed and configured. | ||
==Debian== | ==Debian== | ||
Line 638: | Line 535: | ||
File /etc/apt/sources.list | File /etc/apt/sources.list | ||
--------------------------- | --------------------------- | ||
deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates main restricted | deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates main restricted | ||
deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-updates restricted | deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-updates restricted | ||
Line 765: | Line 661: | ||
===Wireless=== | ===Wireless=== | ||
Setting up wireless requires you to take down networking. | |||
Setting up wireless requires you to take down networking. You must have a direct connection to your PS3 to continue. More information. | |||
*git and build ps3hvc utils | *git and build ps3hvc utils | ||
** Get dependencies | **Get dependencies PS3:Tools#Dependencies | ||
** git clone git://git.gitbrew.org/ps3/ps3linux/ps3hvc-utils.git | **git clone git://git.gitbrew.org/ps3/ps3linux/ps3hvc-utils.git | ||
** cd ps3hvc-utils | **cd ps3hvc-utils | ||
**make && sudo make install | |||
** make && sudo make install | *Download glevand's wlan script for your PS3 type: FAT/NAND[4] SLIM/VFlash[5]. You want this in the same directory ps3hvc-utils is in. | ||
*Download glevand's wlan script for your PS3 type: | *Take down current driver | ||
* Take down current driver | **sudo rrmod ps3_gelic | ||
** sudo rrmod ps3_gelic | *Run enable_wlan_on_*.sh | ||
* Run enable_wlan_on_*.sh | **chmod +x enable_wlan_on*.sh | ||
** chmod +x enable_wlan_on*.sh | **./enable_wlan_on*.sh | ||
** ./enable_wlan_on*.sh | *Bring up new driver | ||
* Bring up new driver | **sudo modprobe ps3_gelic | ||
** sudo modprobe ps3_gelic | **sudo /etc/init.d/networking restart | ||
** sudo /etc/init.d/networking restart | *Test wireless card (by seeing available networks) | ||
* Test wireless card (by seeing available networks) | **sudo iwlist scan | ||
** sudo iwlist scan | |||
====Enabling Wireless with the latest Linux kernel==== | ====Enabling Wireless with the latest Linux kernel==== | ||
You don't need to use WLAN script | You don't need to use WLAN script with the latest Linux kernel anymore. Add the following boot parameter to your kboot entry: | ||
Add the following boot parameter to your kboot entry: | |||
ps3_gelic.disable_eurus_ctrl_iface=1 | ps3_gelic.disable_eurus_ctrl_iface=1 | ||
'''Attention: It will work on PS3 PHAT models only.''' | '''Attention: It will work on PS3 PHAT models only.''' | ||
===Enabling Sound=== | ===Enabling Sound=== | ||
Line 872: | Line 719: | ||
====exim4==== | ====exim4==== | ||
*'''Error''' | *'''Error:''' IPv6 socket creation failed: No such file or directory | ||
*'''Solution''' | *'''Solution:''' Edit "/etc/exim4/update-exim4.conf.conf" so that it has dc_local_interfaces='127.0.0.1' instead of dc_local_interfaces='127.0.0.1 ; ::' | ||
*'''Error''' | *'''Error:''' ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size | ||
*'''Solution''' | *'''Solution:''' rm -rf /var/log/exim4/paniclog | ||
====Kernel==== | ====Kernel==== | ||
*'''Error''' | *'''Error:''' Make error 137 while compiling vmlinux.o | ||
*'''Solution''' | *'''Solution:''' Activate/make a swap partition | ||
====plymouth==== | ====plymouth==== | ||
*'''Error''' | *'''Error:''' You are receiving this error message as the new udevd in Ubuntu Lucid no longer supports mounting its own /dev mount point. | ||
*'''Solution''' | *'''Solution:''' | ||
**Edit your fstab and add: | **Edit your fstab and add: | ||
dev /dev tmpfs rw 0 0 | |||
*Add noplymouth nosplash to your kernel options in /etc/kboot.conf. | **Add noplymouth nosplash to your kernel options in /etc/kboot.conf. Example: | ||
ubuntu=/boot/vmlinux root=/dev/ps3dd1 video=ps3fb:mode:133 noplymouth nosplash | |||
===Enabling 7th SPU with the latest Linux kernel=== | ===Enabling 7th SPU with the latest Linux kernel=== | ||
Line 942: | Line 761: | ||
that is all. | that is all. | ||
* | *https://github.com/DirtyJerz/PS3-Debian-Kernels/blob/1907a41ff3d8898175e4c9f414d12e1d345f01f0/linux-headers-2.6.39-ga81e0a7_2.6.39-ga81e0a7-10.00.Custom_powerpc.deb linux-headers-2.6.39-ga81e0a7_2.6.39-ga81e0a7-10.00.Custom_powerpc.deb] | ||
* | *https://github.com/DirtyJerz/PS3-Debian-Kernels/blob/1907a41ff3d8898175e4c9f414d12e1d345f01f0/linux-image-2.6.39-ga81e0a7_2.6.39-ga81e0a7-10.00.Custom_powerpc.deb linux-image-2.6.39-ga81e0a7_2.6.39-ga81e0a7-10.00.Custom_powerpc.deb] | ||
---- | ---- | ||
=FreeBSD OtherOS++= | =FreeBSD OtherOS++= | ||
Crossreference | Crossreference [http://portal.gitbrew.org/wikibrew/PS3:FreeBSD gitbrew.org::PS3:FreeBSD] <br /> | ||
FreeBSD can be run on PS3 Slim models from HDD with OtherOS++. | FreeBSD can be run on PS3 Slim models from HDD with OtherOS++. | ||
Line 962: | Line 783: | ||
*** [http://gitbrew.org/~glevand/ps3/freebsd/kernel-1920x1080/linker.hints linker.hints] // (backup/mirror: [http://www.multiupload.com/4YQGX6FGEJ linker.hints (5.38 KB)]) | *** [http://gitbrew.org/~glevand/ps3/freebsd/kernel-1920x1080/linker.hints linker.hints] // (backup/mirror: [http://www.multiupload.com/4YQGX6FGEJ linker.hints (5.38 KB)]) | ||
**livecd | **livecd | ||
*** [http://gitbrew.org/~glevand/ps3/freebsd/livecd/ps3_freebsd_livecd.iso ps3_freebsd_livecd.iso] // (backup/mirror: [http://www.multiupload.com/NLHVOHKS7J ps3_freebsd_livecd.iso (341.51 MB)]) | *** [http://gitbrew.org/~glevand/ps3/freebsd/livecd/ps3_freebsd_livecd.iso ps3_freebsd_livecd.iso] // (backup/mirror: [http://www.multiupload.com/NLHVOHKS7J ps3_freebsd_livecd.iso (341.51 MB)]) | ||
**loader | **loader | ||
*** [http://gitbrew.org/~glevand/ps3/freebsd/loader/loader-1920x1080.ps3 loader-1920x1080.ps3] // (backup/mirror: [http://www.multiupload.com/RMIQIJQZOE loader-1920x1080.ps3 (306.45 KB)]) | *** [http://gitbrew.org/~glevand/ps3/freebsd/loader/loader-1920x1080.ps3 loader-1920x1080.ps3] // (backup/mirror: [http://www.multiupload.com/RMIQIJQZOE loader-1920x1080.ps3 (306.45 KB)]) | ||
Line 971: | Line 792: | ||
You can skip this step and use my precompiled FreeBSD world and kernel: | You can skip this step and use my precompiled FreeBSD world and kernel: | ||
[http://gitbrew.org/~glevand/ps3/freebsd/ps3_freebsd_world.tar.gz] | |||
[http://gitbrew.org/~glevand/ps3/freebsd/kernel/] | |||
[[http://gitbrew.org/~glevand/ps3/freebsd/loader-1080x1920.ps3]] | |||
You need a running FreeBSD system to cross-compile your PS3 FreeBSD world and kernel, you don't need a PS3 for that, it may be a different architecture. Once this step is done and you have a running FreeBSD system on your PS3 | You need a running FreeBSD system to cross-compile your PS3 FreeBSD world and kernel, you don't need a PS3 for that, it may be a different architecture. Once this step is done and you have a running FreeBSD system on your PS3 | ||
Line 991: | Line 808: | ||
''''' | '''''editted note:''' "I removed my git repo because there is no need currently. All my patches are officially in HEAD FreeBSD repository. Just use the official SVN repository or GIT mirrors. Here e.g. http://gitorious.org/freebsd"'' | ||
==Rebuilding Loader== | ==Rebuilding Loader== | ||
Line 1,045: | Line 862: | ||
<pre> | <pre> | ||
# cp /root/loader- | # cp /root/loader-1080x1920.ps3 /boot | ||
# cat /etc/kboot.conf | # cat /etc/kboot.conf | ||
... | ... | ||
... | ... | ||
... | ... | ||
freebsd_loader_hdd=/boot/loader- | freebsd_loader_hdd=/boot/loader-1080x1920.ps3 | ||
... | ... | ||
... | ... | ||
# | # | ||
</pre> | </pre> | ||
Line 1,228: | Line 1,014: | ||
==Installing FreeBSD on HDD from Live CD== | ==Installing FreeBSD on HDD from Live CD== | ||
=Links= | |||
FreeBSD Handbook: [http://www.freebsd.org/doc/handbook/] | |||
FreeBSD AvgLiveCD: [http://wiki.freebsd.org/AvgLiveCD] | |||
FreeBSD LiveCD: [http://www.secure-computing.net/wiki/index.php/FreeBSD/LiveCD] | |||
Gitorious - FreeBSD Wiki: [http://wiki.freebsd.org/Gitorious] | |||
Setting Up A new FreeBSD System: [http://users.rcn.com/rneswold/fbsd-init.html] | |||
=Installation= | |||
To install a FreeBSD world on your PS3, you will need a running Linux system first currently. Once i build a LiveCD for PS3 FreeBSD you won't need that anymore. I used Debian to install my FreeBSD on PS3. | |||
First create UFS2 filesystem for your FreeBSD. I assume that there is already a free partition on the HDD of your PS3. | |||
<pre> | |||
# apt-get install ufsutils | |||
# mkfs.ufs /dev/ps3dd3 | |||
</pre> | |||
Then mount it on Debian and copy your PS3 FreeBSD world to this partition, like this: | |||
<pre> | |||
# mount -t ufs -o ufstype=ufs2 /dev/ps3dd3 /mnt | |||
# cd /mnt | |||
# tar xvzf /root/ps3_freebsd_world.tar.gz | |||
# cp /root/ps3_freebsd_kernel/kernel /mnt/boot/kernel/ | |||
# cp /root/ps3_freebsd_kernel/kernel.symbols /mnt/boot/kernel/ | |||
# cd | |||
# umount /mnt | |||
</pre> | |||
=Booting= | |||
FreeBSD on PS3 is booted by the FreeBSD loader which can be executed by petitboot with kexec. | |||
The FreeBSD loader is built during cross-compiling of the FreeBSD world and kernel or you can use my precompiled version. It supports booting of FreeBSD from HDD. My precompiled version boots a FreeBSD kernel from ps3dd3. | |||
'''The HDD partition from which it boots a FreeBSD kernel is hardcoded, if you want to use another HDD partition then you have to change it in the loader and recompile it.''' | |||
Store your FreeBSD loader on a Linux partition, i stored mine in Debian in /boot directory, and added | |||
a new kboot.conf entry on Linux, like this: | |||
boot | <pre> | ||
# cp /root/loader-1080x1920.ps3 /boot | |||
# cat /etc/kboot.conf | |||
... | |||
... | |||
... | |||
freebsd_loader_hdd=/boot/loader-1080x1920.ps3 | |||
... | |||
... | |||
# | |||
</pre> | |||
Now you can boot your PS3 FreeBSD. Boot petitboot first and choose FreeBSD loader in CUI. | |||
Once, you have a running PS3 FreeBSD system, you can build FreeBSD world and kernel or compile ports on your PS3 itself. | |||
'''One of the advantages of FreeBSD on PS3 is write access to the GameOS HDD region and the possibility to create valid GameOS HDD partitions.''' | |||
=Ports= | |||
Ports allow us to install many useful programs on your FreeBSD. | |||
Extracting ports: | |||
<pre> | |||
# cd /root | |||
# fetch ftp://ftp7.freebsd.org/pub/FreeBSD/ports/ports-stable/ports.tar.gz | |||
# cd /usr | |||
# tar xvzf /root/ports.tar.gz | |||
</pre> | |||
Useful programs you will need first: | |||
* wget | |||
* git | |||
* screen | |||
* sudo | |||
* elinks | |||
=Live CD= | |||
==Compiling World== | |||
* Change screen resolution in loader and kernel before compiling | |||
* Change frame buffer size in kernel if needed | |||
<pre> | |||
# cd /usr | |||
# git clone git://git.gitbrew.org/ps3/ps3freebsd/freebsd.git src | |||
# cd src | |||
# make buildworld buildkernel installkernel installworld distribution TARGET=powerpc TARGET_ARCH=powerpc64 \ | |||
KERNCONF=PS3 DESTDIR=/root/ps3_world | |||
</pre> | |||
==Compiling Ports== | |||
<pre> | |||
# cd /root/ps3_world/usr | |||
# fetch ftp://ftp7.freebsd.org/pub/FreeBSD/ports/ports-stable/ports.tar.gz | |||
# tar xvzf ports.tar.gz | |||
</pre> | |||
<pre> | |||
# mount -t devfs devfs /root/ps3_world/dev | |||
# cp /etc/resolv.conf /root/ps3_world/etc/ | |||
# chroot /root/ps3_world /bin/csh | |||
# cd /usr/ports | |||
# cd shells/bash | |||
# make install clean BATCH=yes | |||
</pre> | |||
==Configuring System== | |||
===/boot/loader.conf=== | |||
<pre> | |||
boot_cdrom="YES" | |||
autoboot_delay="-1" | |||
</pre> | |||
===/etc/rc.conf=== | |||
<pre> | |||
root_rw_mount="NO" | |||
hostname="freebsd-livecd" | |||
ifconfig_glc0="SYNCDHCP" | |||
keyrate="fast" | |||
keymap="us.iso" | |||
#keymap="fr.iso" | |||
#keymap="german.iso" | |||
scrnmap="NO" | |||
font8x16="iso15-8x16" | |||
font8x14="iso15-8x14" | |||
font8x8="iso15-8x8" | |||
update_motd="NO" | |||
syslogd_enable="NO" | |||
newsyslog_enable="NO" | |||
cron_enable="NO" | |||
hostid_enable="NO" | |||
sendmail_enable="NONE" | |||
sendmail_submit_enable="NO" | |||
sendmail_outbound_enable="NO" | |||
sendmail_msp_queue_enable="NO" | |||
cleanvar_enable="NO" | |||
crashinfo_enable="NO" | |||
virecover_enable="NO" | |||
</pre> | |||
===/etc/fstab=== | |||
<pre> | |||
/dev/cd0 / cd9660 ro 0 0 | |||
</pre> | |||
===Changing Login Shell=== | |||
<pre> | |||
# chroot ps3_world | |||
# chsh | |||
</pre> | |||
==Creating ISO Image== | |||
* Exit chroot | |||
<pre> | |||
# umount /root/ps3_world/dev | |||
# cd ps3_world | |||
# rm -f etc/resolv.conf | |||
# mkisofs -R -l -ldots -allow-lowercase -allow-multidot \ | |||
-V 'PS3 FreeBSD LiveCD' -volset 'PS3 FreeBSD' -hide boot.catalog \ | |||
-o ../freebsd_livecd.iso . | |||
</pre> | |||
==Booting Live CD with OtherOS++== | |||
==Installing FreeBSD on HDD from Live CD== | |||
=FreeBSD Development= | |||
=Links= | =Links= | ||
Line 1,340: | Line 1,214: | ||
Setting Up A new FreeBSD System: [http://users.rcn.com/rneswold/fbsd-init.html] | Setting Up A new FreeBSD System: [http://users.rcn.com/rneswold/fbsd-init.html] | ||
---- | ---- | ||
* Get in touch with me if you want to help with FreeBSD development because there are only 2 developers currently working on FreeBSD PS3 support :( | |||
==TODO List== | ==TODO List== | ||
* VUART support in kernel | |||
* VUART support in kernel | * System Manager and AV support in kernel | ||
* System Manager | |||
* UDF support for BD movies | * UDF support for BD movies | ||
* RSX driver | * RSX driver | ||
* Use CAM framework for HDD driver like in Blu-Ray driver | * Use CAM framework for HDD driver like in Blu-Ray driver | ||
* FLASH/VFLASH drivers | * FLASH/VFLASH drivers | ||
== | ==Links== | ||
The Design and Implementation of the FreeBSD SCSI Subsystem: [http://people.freebsd.org/~gibbs/ARTICLE-0001.html] | |||
Writing a CAM SCSI controller driver: [http://www.freenix.no/arkiv/daemonnews/200006/cam-driver.html] | |||
FreeBSD Kernel Reference: [http://fxr.watson.org/fxr/source/?v=HEAD] | |||
UDF 2.6: [http://www.osta.org/specs/pdf/udf260.pdf] | |||
The VFS/VNODE interface in the FreeBSD kernel: [http://meetbsd.org/files/1_04_rao.pdf] | |||
FreeBSD DRI: [http://www.neuro.mcw.edu/Ports/FreeBSD/freebsd_dri.html] | |||
---- | ---- | ||
Line 1,552: | Line 1,365: | ||
==Java 6 IBM== | ==Java 6 IBM== | ||
Download from: | Download from: http://goo.gl/ngV0b | ||
<pre> | <pre> | ||
Line 1,595: | Line 1,408: | ||
You should be able to run the program with '''./ps3mfw --gui "false"''' | You should be able to run the program with '''./ps3mfw --gui "false"''' | ||