http://www.psdevwiki.com/ps3/api.php?action=feedcontributions&user=147.182.170.177&feedformat=atom PS3 Developer wiki - User contributions [en] 2024-03-29T13:27:58Z User contributions MediaWiki 1.39.6 http://www.psdevwiki.com/ps3/index.php?title=OtherOS%2B%2B&diff=63561 OtherOS++ 2021-12-02T12:34:48Z <p>147.182.170.177: /* FreeBSD OtherOS++ */</p> <hr /> <div>{{Missingfiles}}<br /> {{Missingmirrors}}<br /> [[Category:OtherOS]]<br /> =OtherOS++=<br /> This guide is roughly copypasted from Gitbrew wiki and Glevand' documentations<br /> <br /> ==Firmwares==<br /> <br /> ===With SS Patches===<br /> *[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++<br /> *[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++<br /> *[http://gitbrew.org/~glevand/ps3/cfw/CFW355-OTHEROS++-EIGHTH-HDD-SIZE.PUP PS3 Dual Boot GameOS/Linux CFW 3.55 1/8th] // (mirror:[http://depositfiles.com/files/vdowbtl7b CFW355-OTHEROS++-EIGHTH-HDD-SIZE.PUP (170.64 MB)]) - 1/8th of the drive will be for GameOS, SS patches<br /> *[http://gitbrew.org/~glevand/ps3/cfw/CFW355-OTHEROS++-SPECIAL.PUP PS3 Dual Boot GameOS/Linux CFW 3.55 SPECIAL] // (mirror:[http://depositfiles.com/files/u7cmw90q7 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.<br /> *[http://depositfiles.com/files/craod4tnr PS3 Dual Boot 22GB GameOS/Linux CFW 3.55] // (mirror:[http://depositfiles.com/files/craod4tnr (170.64 MB)]) - 3.55 with SS Patches. 22GB OtherOS++<br /> *[http://depositfiles.com/files/nqxcow0e0 PS3 Dual Boot GameOS/Linux CFW 3.55] // (mirror:[http://depositfiles.com/files/nqxcow0e0 (170.64 MB)]) - 3.55 with SS Patches. OtherOS++<br /> ==== coldboot fix ====<br /> * [http://gitbrew.org/~glevand/ps3/cfw/CFW355-OTHEROS++-COLD-BOOT.PUP PS3 Dual Boot GameOS/Linux CFW 3.55 COLD-BOOT FIX] // (mirror:[http://www.mirrorcreator.com/files/1M0XNGBG/CFW355-OTHEROS__-COLD-BOOT.PUP_links])<br /> CRC16:83BF | CRC32: 595E42FC | SHA1: 1292611131BFCBD4D37FDF68603DC59D7922F5B5 | MD5: CCB69A1D02FDC42267D476076A44CBA5<br /> <br /> ===No SS Patches===<br /> *[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])<br /> &lt;!--//*[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//--&gt;<br /> *[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://depositfiles.com/files/3wsgcokjx CFW355-OTHEROS++-HALF-HDD-NO-SS-PATCH.PUP (170.65 MB)] - 3.55: no SS Patches. 1/2 hdd to OtherOS++<br /> *[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<br /> <br /> ==Documentation==<br /> *[http://gitbrew.org/~glevand/ps3/cfw/README README] // (mirror:[http://www.multiupload.com/I9WYDKHGXW README.txt (729 Bytes)])<br /> *[http://gitbrew.org/~glevand/ps3/doc/INSTALL_OTHEROS_ON_HDD INSTALL_OTHEROS_ON_HDD] // (mirror:[http://www.multiupload.com/4LHXTR8DWF INSTALL_OTHEROS_ON_HDD.txt (2.07 KB)])<br /> <br /> ==Packages==<br /> <br /> *boot_gameos.pkg // (mirror:[http://depositfiles.com/files/kyak78dgw boot_gameos.pkg (60.05 KB)])<br /> *[http://gitbrew.org/~glevand/ps3/pkgs/boot_otheros.pkg boot_otheros.pkg] // (mirror:[http://depositfiles.com/files/0pear097a boot_otheros.pkg (69.86 KB)])<br /> *[http://gitbrew.org/~glevand/ps3/pkgs/dump_flash.pkg dump_flash.pkg] // (mirror: [http://depositfiles.com/files/1b7nhdmco dump_flash.pkg (70.23 KB)]) (mirror contains pkg to dump NAND and NOR flash on USB0001)<br /> *[http://gitbrew.org/~glevand/ps3/pkgs/dump_flash_ptab.pkg dump_flash_ptab.pkg] // (mirror:[http://depositfiles.com/files/y68iclee5 dump_flash_ptab.pkg (70.23 KB)]) (dump NAND flash on USB0001 ; ptab)<br /> *[http://gitbrew.org/~glevand/ps3/pkgs/dump_lv1.pkg dump_lv1.pkg] // (mirror:[http://depositfiles.com/files/8n6igzobo dump_lv1.pkg (69.61 KB)])<br /> *[http://gitbrew.org/~glevand/ps3/pkgs/dump_lv2.pkg dump_lv2.pkg] // (mirror:[http://depositfiles.com/files/ocllsomo6 dump_lv2.pkg (70.11 KB)])<br /> *[http://gitbrew.org/~glevand/ps3/pkgs/dump_sysrom.pkg dump_sysrom.pkg] // (mirror:[http://www.multiupload.nl/9CN7NGGNQH dump_sysrom.pkg (69.67 KB)]) (dumps [[sysrom.bin]] on any plugged in usb device)<br /> *[http://gitbrew.org/~glevand/ps3/pkgs/get_applicable_version.pkg get_applicable_version.pkg] // (mirror:[http://depositfiles.com/files/59928rl79 get_applicable_version.pkg (69.3 KB)]) (to get the low/high version lock via Debug UDP)<br /> *[http://gitbrew.org/~glevand/ps3/pkgs/get_token_seed.pkg get_token_seed.pkg] // (mirror:[http://depositfiles.com/files/rbp9l2y4f get_token_seed.pkg (59.73 KB)])<br /> *[http://gitbrew.org/~glevand/ps3/pkgs/install_otheros.pkg install_otheros.pkg] // (mirror:[http://depositfiles.com/files/3wig3e5a5 install_otheros.pkg (61.11 KB)])<br /> *[http://gitbrew.org/~glevand/ps3/pkgs/install_otheros_bootloader_loader.pkg install_otheros_bootloader_loader.pkg] // (mirror:[http://depositfiles.com/files/fc19kv5a7 install_otheros_bootloader_loader.pkg])<br /> *[http://gitbrew.org/~glevand/ps3/pkgs/qa_flag.pkg qa_flag.pkg] // (mirror:[http://depositfiles.com/files/k5p4hwvu7 qa_flag.pkg (69.92 KB)]) (to enable QA)<br /> *[http://gitbrew.org/~glevand/ps3/pkgs/qa_flag_extra.pkg qa_flag_extra.pkg] // (mirror:[http://depositfiles.com/files/ck3kbobix qa_flag_extra.pkg (69.98 KB)]) (to enable QA with downgrade)<br /> *[http://gitbrew.org/~glevand/ps3/pkgs/reboot.pkg reboot.pkg] // (mirror:[http://depositfiles.com/files/00a105a9a reboot.pkg (59.36 KB)])<br /> *[http://gitbrew.org/~glevand/ps3/pkgs/reset_qa_flag.pkg reset_qa_flag.pkg] // (mirror:[http://depositfiles.com/files/u2ciz80fb reset_qa_flag.pkg (70.05 KB)]) (to reset the QA flags back to default)<br /> *[http://gitbrew.org/~glevand/ps3/pkgs/setup_flash_for_otheros.pkg setup_flash_for_otheros.pkg] // (mirror:[http://depositfiles.com/files/ltzdqzu4p setup_flash_for_otheros.pkg (70.11 KB)])<br /> <br /> ==Petitboot Images==<br /> *[http://gitbrew.org/~glevand/ps3/petitboot/dtbImage.ps3.bin dtbImage.ps3.bin] // [https://mega.co.nz/#!z4EDiCCK!ARctRcL6WQkrWrZPc0opL317OUO9UWAQIEBMnNqn_gw mirror]<br /> *[http://gitbrew.org/~glevand/ps3/petitboot/dtbImage.ps3.bin.minimal dtbImage.ps3.bin.minimal] // [https://mega.co.nz/#!mpNlBRya!FnEwXa3lZ2EaTbiAYMS6shu3E4ibxUESVtdMW9hOP0E mirror]<br /> <br /> ==Scripts==<br /> <br /> *clone.sh - clones all repos from git.gitbrew.org/ps3/ &lt;!--// for repo in $(wget -o /dev/null -O - http://git.gitbrew.org/repos/ | grep .git | grep '&lt;td&gt;' | cut -d '&gt;' -f 3 | cut -d '&lt;' -f -1 | egrep -v '^$'); do git clone git://git.gitbrew.org/${repo}; done //--&gt;<br /> *[http://gitbrew.org/~glevand/ps3/scripts/create_hdd_region.sh create_hdd_region.sh] // (mirror:[http://depositfiles.com/files/nepp9rraq create_hdd_region.sh (3.77 KB)])<br /> **[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<br /> *[http://gitbrew.org/~glevand/ps3/scripts/dispmgr_access.sh dispmgr_access.sh] // (mirror:[http://depositfiles.com/files/xezu5z9zf dispmgr_access.sh (2.14 KB)])<br /> *[http://gitbrew.org/~glevand/ps3/scripts/enable_wlan_on_fat.sh enable_wlan_on_fat.sh] // (mirror:[http://depositfiles.com/files/t625ntwc8 enable_wlan_on_fat.sh (1.6 KB)])<br /> *[http://gitbrew.org/~glevand/ps3/scripts/hdd_access.sh hdd_access.sh] // (mirror:[http://depositfiles.com/files/zpwo5hw3v hdd_access.sh (6.22 KB)])<br /> *initimg.sh (deprecated : was used to kexec into a special debian img and partition drives for vflash)<br /> *[http://gitbrew.org/~glevand/ps3/scripts/is_vflash_on.sh is_vflash_on.sh] // (mirror:[http://depositfiles.com/files/qpq1iyhjt is_vflash_on.sh (1.09 KB)])<br /> *kboot.conf - kboot.conf to go in your linux /etc/<br /> *[http://gitbrew.org/~glevand/ps3/scripts/restore_vflash.sh restore_vflash.sh] // (mirror:[http://depositfiles.com/files/fzzgl8ll3 restore_vflash.sh (1.32 KB)])<br /> <br /> ==PS3 Kernels==<br /> <br /> *[http://gitbrew.org/~glevand/ps3/linux/ps3linux_kernel_latest.tar.gz PS3 Linux Kernel 060411] // (mirror:[http://www.multiupload.com/51D5FZCUUU ps3linux_kernel_latest.tar.gz (51.17 MB)]) - June 4 2011<br /> <br /> *[http://git.kernel.org/?p=linux/kernel/git/geoff/ps3-linux.git;a=snapshot;h=61c4f2c81c61f73549928dfd9f3e8f26aa36a8cf;sf=tgz ps3-linux-61cc4f2c.tar.gz] // (mirror:[http://www.multiupload.com/ZCHPMU9RR5 ps3-linux-61c4f2c.tar.gz (92.35 MB)]) - Juli 24 2011<br /> <br /> == Git ==<br /> <br /> http://git.gitbrew.org/<br /> <br /> ===Master Servers===<br /> *[http://git.gitbrew.org/ git.gitbrew.org]<br /> *[http://storm.gitbrew.org/ storm.gitbrew.org]<br /> <br /> ===Gitweb Mirrors===<br /> *[http://git.gitbrew.org/repos git.gitbrew.org/repos/]<br /> *[http://storm.gitbrew.org/repos storm.gitbrew.org/repos/]<br /> *[http://foxbrew.org/git foxbrew.org/git/]<br /> <br /> ===Git Mirrors===<br /> *[http://git.gitbrew.org/ git://git.gitbrew.org]<br /> *[http://storm.gitbrew.org/ git://storm.gitbrew.org]<br /> *[http://scottfertig.net/ git://scottfertig.net]<br /> *[http://sub.gitbrew.org/ git://sub.gitbrew.org]<br /> *[http://foxbrew.org/ git://foxbrew.org]<br /> <br /> ====partial backup====<br /> [http://www.multiupload.com/TJI6MNQVR8 gitbrew-backup.zip (1.59 MB)]<br /> <br /> ====snaphots====<br /> =====juli 22 2011 snapshot by aKoN-Man=====<br /> http://www.multiupload.com/ULBPNLOHJ7 (143.1 MB)<br /> http://www.multiupload.com/MDNVQSFL00 (143.1 MB)<br /> http://www.multiupload.com/O737BH53N6 (143.1 MB)<br /> http://www.multiupload.com/EOG7ABG05F (143.1 MB)<br /> http://www.multiupload.com/CSG2IHRESD (143.1 MB)<br /> http://www.multiupload.com/AL658V0ZUU (143.1 MB)<br /> http://www.multiupload.com/W5BIRAZTUM (143.1 MB)<br /> http://www.multiupload.com/BR410045AK (143.1 MB)<br /> http://www.multiupload.com/RFPAKBP1BD (27.7 MB)<br /> <br /> =====sept 15 2011 (.git's for mirror)&lt;!--//http://gitbrew.org/~stackable/ps3//--&gt;=====<br /> [http://www.multiupload.com/5X7E7OLEAV ps3.tar.gz (793.32 MB)]<br /> -or-<br /> [http://www.multiupload.com/PI6APZODIE ps3.part01.rar (95.78 MB)]<br /> [http://www.multiupload.com/U7LH0WJ1W4 ps3.part02.rar (95.78 MB)]<br /> [http://www.multiupload.com/KRKYFXI19F ps3.part03.rar (95.78 MB)]<br /> [http://www.multiupload.com/1NL6E5DS16 ps3.part04.rar (95.78 MB)]<br /> [http://www.multiupload.com/1IHSWKG333 ps3.part05.rar (95.78 MB)]<br /> [http://www.multiupload.com/CMS2F838W8 ps3.part06.rar (95.78 MB)]<br /> [http://www.multiupload.com/XAFTIN6OIR ps3.part07.rar (95.78 MB)]<br /> [http://www.multiupload.com/IXHSJOTTYY ps3.part08.rar (68.42 MB)]<br /> note: you need to have git installed, and use it e.g.:<br /> git clone E:\ps3\ps3linux\ps3-jupiter.git<br /> <br /> =====sept 15 2011 (cloned version and site mirror version)=====<br /> [http://www.multiupload.com/0TUS62HQY0 ps3.tar.gz (1.3 GB)] (Including wireless slim drivers for linux)<br /> <br /> =====reupped mirror=====<br /> https://mega.co.nz/#!7kESiLKJ!UKITnnPbmRyT-9yhxQgrKvVChLWJccWLmI0Hg3gj4BE ps3.part01.rar 95.8 MB<br /> https://mega.co.nz/#!XpcnTabA!vnv_2dSOm3lh9YtmU3HT-y_9RFKNoE_B4u7kihuhZVE ps3.part02.rar 95.8 MB<br /> https://mega.co.nz/#!npt0SBzK!8rhpoCDtNr8DJVjPFipLpe86EoZBqtQuSui2KHIn1yc ps3.part03.rar 95.8 MB<br /> https://mega.co.nz/#!L5MBzY4K!CDu88krSULhSQJ0a1XP0x46Mjflpha5zqe9Lo2gmd00 ps3.part04.rar 95.8 MB<br /> https://mega.co.nz/#!rtME1AxA!Gau1xr7V45JT22xozq7kmEhfLtLfwMRCl5-lWsVMI6I ps3.part05.rar 95.8 MB<br /> https://mega.co.nz/#!GkMSSQbQ!GsLU6BQzko_sAWkA3o_TZ5kLiVJU8qwV6qf3VL0vD6I ps3.part06.rar 95.8 MB<br /> https://mega.co.nz/#!XkcFkZwI!Sew1EJWvl9ICloDRzDRUz0HHhQ0NgsYqyY_IgIwRngA ps3.part07.rar 95.8 MB<br /> https://mega.co.nz/#!78F3yQrY!CPY4ljpJVJ2Ldvr4nDQQ-TB-HYmJf4-dIIWRR4MT0QA ps3.part08.rar 68.4 MB<br /> <br /> =====Github Files=====<br /> https://github.com/therealfarfetchd/PS3-OtherOS/archive/master.zip 442 MB<br /> <br /> ^ File Name : PS3-OtherOS-master.zip<br /> <br /> ^ CRC32 CheckSum : 686510A7<br /> <br /> ^ CRC64 CheckSum : 65DC1E62D449607E<br /> <br /> ^ SHA1 CheckSum : 0DF8ABF418869D5B4A0D8FA1EDEC9423F2A64114<br /> <br /> ^ SHA256 CheckSum : EE97657AC18FBADD3D66FBCE4741561C0F6001C4F4F7F03B2D2FE8BC6671B0C4<br /> <br /> ^ SHA384 Checksum : A6535C5FCDCE38F5E8C4744A7173CEF2AB0C1AAB783D46404A2C698E099DB8610CC91C5A8F02AE8ADAF12C498A29F05F<br /> <br /> ^ SHA512 CheckSum : D9B9D7A14EE388BF7E5C7DB48701D5BBAE2ACECDCFAD8C77FF96B41722373CD475500874E7352F7F86EFD9EE049F521E87CA50627AD070AC8A6B170D1F15A512<br /> <br /> ^ RIPEMD-160 CheckSum : A2CF2C9999E5195D611084D40805A260F932DBCD<br /> <br /> ^ MD5 CheckSum : E298FFE47C26CF4C45AF26E40BD4B6F4<br /> <br /> ^ BLAKE2sp CheckSum : A327CF5E8B17A62906EA969E582C204CB6932022214BDBD4D85723A0D51A76E8<br /> <br /> ^ Zip Comment : 7c9266feec5a062a02d2dcc8f9c8feb48236ef4b<br /> <br /> ^ Contents : 2 Folders , 46 Files<br /> <br /> ==Features==<br /> <br /> *Into HV integrated OtherOS bootloader loader (compatible with OtherOS bootloader on 3.15)<br /> *OtherOS bootloader is booted directly from HV, no GameOS is involved.<br /> *Process of booting OtherOS bootloader loader is very similar to 3.15 method<br /> *Booting Linux from HDD/USB/BD/Network<br /> *Linux with GameOS rights<br /> *Full access to all HV SS services (Dispatcher Manager) from GameOS or Linux<br /> *Full access to all System Manager services<br /> *Ability to create/modify/remove repository nodes in LPAR 1 (e.g. with ps3dm-utils or ps3hvc-utils).<br /> *This ability gives you much power over the whole system because many layers of PS3 use repository nodes to exchange information.<br /> *Enabled QA mode in Update Manager<br /> *Downgrading without USB dongle or Service Mode<br /> *Ability to deactivate/activate HDD/VFLASH encryption (e.g. with ps3stor-utils)<br /> *Support for ps3-utils. You can flash new OtherOS bootloader from Linux e.g.<br /> <br /> == Petitboot building ==<br /> See [[Petitboot]]<br /> <br /> ==QA Flag==<br /> <br /> Reports state if you flag your ps3 you will lose all psn .act files making any bought psn content unuseable (&lt;span style=&quot;color:red&quot;&gt;warning: these are dev tools, remember this&lt;/span&gt;.)<br /> <br /> ==SS Patches==<br /> Do not use these pups if you play games (either original or via backup managers). You will get trophy errors.<br /> Registration of the trophy infomation could not be completed. The game will quit. (80010505)<br /> You need SS patches to use ps3dm,sm, and other ps3 dev tools. <br /> <br /> Alternative, you can use a firmware without SS patches and use the script below when you need to patch it on the fly:<br /> We're currently working on a patch in petitboot so it only runs when you use linux<br /> and not mess with your GameOS for normal game use -&amp;gt; use [http://gitbrew.org/~glevand/ps3/scripts/dispmgr_access.sh dispmgr_access.sh]<br /> <br /> ==OtherOS++ How-To==<br /> <br /> Referenced from http://www.gitbrew.org/otheros/<br /> <br /> ===PS3 Models===<br /> <br /> PS3 Fat (NAND):<br /> *CECHA = 256MB<br /> *CECHB = 256MB<br /> *CECHC = 256MB<br /> *CECHE = 256MB<br /> *CECHG = 256MB<br /> <br /> PS3 Fat (NOR):<br /> *CECHH = 16MB<br /> *CECHJ = 16MB<br /> *CECHK = 16MB<br /> *CECHL = 16MB<br /> *CECHM = 16MB<br /> *CECHP = 16MB<br /> *CECHQ = 16MB<br /> <br /> PS3 Slim (NOR):<br /> *CECH-20..A = 16MB<br /> *CECH-20..B = 16MB<br /> *CECH-21..A = 16MB<br /> *CECH-21..B = 16MB<br /> *CECH-250.A = 16MB<br /> *CECH-250.B = 16MB<br /> *CECH-251.A = 16MB<br /> *CECH-251.B = 16MB<br /> <br /> 256MB = NAND, 16 = NOR. Follow Accordingly<br /> <br /> <br /> ===Install OtherOS on HDD (for all PS3 models)===<br /> <br /> All tools are here: http://gitbrew.org/~glevand/ps3/<br /> <br /> NOTICE: All my tools should beep. If you don't get beep during one of the steps below<br /> then stop doing anything and contact me. I will help.<br /> OtherOS++ support: irc.gitbrew.org (ssl) #otheros<br /> <br /> ALL PS3 MODELS ARE SUPPORTED !!!<br /> <br /> 1. Install my latest [http://gitbrew.org/~glevand/ps3/cfw/ CFW]<br /> 2. When installation is finished, reboot in [[Recovery Menu|Recovery Mode]] and choose &quot;Restore PS3 System&quot; (not the Backup/Restore in XMB)<br /> 3. Now your GameOS should use only the half of your HDD<br /> (Currently working on a better approach)<br /> 4. Run [http://gitbrew.org/~glevand/ps3/pkgs/setup_flash_for_otheros.pkg setup_flash_for_otheros.pkg] (for all PS3 models)<br /> 5. Reboot (It's important to shut down and turn on your PS3)<br /> 6. Store [http://gitbrew.org/~glevand/ps3/petitboot/dtbImage.ps3.bin dtbImage.ps3.bin] on USB drive, plug it in and run [http://gitbrew.org/~glevand/ps3/pkgs/install_otheros.pkg install_otheros.pkg]<br /> (NAND owners should use [http://gitbrew.org/~glevand/ps3/petitboot/dtbImage.ps3.bin.minimal dtbImage.ps3.bin.minimal], rename it to dtbImage.ps3.bin).<br /> Try different USB ports if you don't get any beeps.<br /> 7. Run [http://gitbrew.org/~glevand/ps3/pkgs/boot_otheros.pkg boot_otheros.pkg]<br /> 8. Run [http://gitbrew.org/~glevand/ps3/pkgs/reboot.pkg reboot.pkg] (use the package, not manually reboot!)<br /> 9. You should be in petitboot now.<br /> Exit from CUI to shell or switch to another virtual console.<br /> 10. Run script [http://gitbrew.org/~glevand/ps3/scripts/create_hdd_region.sh create_hdd_region.sh] - rem to CHMOD 755<br /> 11. Reboot and boot petitboot again<br /> 12. You should see now new HDD device on petitboot, /dev/ps3dd.<br /> That's your OtherOS HDD region.<br /> Don't touch any other HDD regions if you don't know what you are doing. Use only ps3dd<br /> device for your Linux installation. Use parted to partition it and create GPT partition<br /> table on ps3dd. GPT is supported by both, Linux and FreeBSD.<br /> <br /> Be warned, if you damage your GameOS HDD region, GameOS will reformat HDD and<br /> remove your Linux HDD region in the process. You have to do the above steps again.<br /> Don't mess with GameOS HDD region and GameOS won't mess with your OtherOS HDD region.<br /> <br /> ===For users who installed OtherOS on VFLASH region 7 previously===<br /> <br /> You have to restore your VFLASH before doing the above steps.<br /> Be warned, this step is NOT for NAND owners.<br /> 1. Install my latest petitboot<br /> 2. Boot petitboot<br /> 3. Run script [http://gitbrew.org/~glevand/ps3/scripts/restore_vflash.sh restore_vflash.sh]<br /> 4. Reboot. GameOS should reformat your HDD again.<br /> <br /> ===Partition the PS3 Drive===<br /> <br /> 1. parted /dev/ps3dd<br /> 2. mklabel gpt<br /> 3. mkpart primary 0 2GB<br /> 4. print<br /> 5. mkpart primary 2GB (the rest of the hard drive here.)<br /> 6. quit.<br /> <br /> In case you need it: [http://www.gnu.org/software/parted/manual/html_chapter/parted_2.html full manual of Parted]<br /> <br /> <br /> You may now continue to [http://wiki.gitbrew.org/wikibrew/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&amp;cd=1&amp;hl=nl&amp;ct=clnk&amp;source=www.google.com google-cache])<br /> <br /> <br /> <br /> <br /> <br /> ----<br /> <br /> =PS3:Linux=<br /> <br /> *http://wiki.gitbrew.org/index.php/PS3:Distros<br /> *http://wiki.gitbrew.org/index.php/PS3:Cellminer <br /> <br /> ==Example==<br /> <br /> Generic Guide to install any PPC64 Linux Distro (vflash only)<br /> <br /> umount ps3db<br /> umount ps3dc<br /> wget http://gitbrew.org/~glevand/ps3/scripts/hdd_access.sh<br /> chmod a+x hdd_access.sh<br /> ./hdd_access.sh<br /> kexec -l vmlinuz --initrd of the distro you want to install<br /> <br /> ==Fedora==<br /> Installed with Fedora 9 Full DVD<br /> Tested on Slim PS3 (3.55) &amp; Phat PS3 (3.15)<br /> <br /> When installing Fedora 9, when you are asked about partitioning, choose &quot;Custom layout&quot; and select ps3da.<br /> <br /> <br /> <br /> ===3.55 (Custom CFW)===<br /> umount ps3db<br /> umount ps3dc<br /> ./hdd_access ''print|patch|restore?''<br /> mkdir /mnt/fedora<br /> cp /tmp/petitboot/mnt/sr0/ppc/ppc64/* /mnt/fedora<br /> kexec -l vmlinuz --initrd=ramdisk.image.gz<br /> Reboot the PS3 and it will start the installer<br /> <br /> '''NOTE:''' When installing Fedora 9 (possibly all versions), choose &quot;Custom layout&quot; and select ps3da. The hdd_access.sh script disables ps3da-c and makes it so that ps3dd reads as the &quot;first&quot; hard drive.<br /> After the installer finishes, '''DO NOT HIT REBOOT.''' You must unplug or hardware reset your console.<br /> <br /> ===3.15 PHAT (Stock OFW)===<br /> <br /> *Put petitboot on a memory stick<br /> <br /> mkdir -p /media/usbstick/PS3/otheros/<br /> wget [http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-petitboot/otheros.bld http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-petitboot/otheros.bld]<br /> cp ./otheros.bld /media/usbstick/PS3/otheros/otheros.bld<br /> <br /> *Boot into GameOS<br /> **XBM&gt;Settings&gt;System Settings&gt;Other OS&gt;<br /> **Settings&gt;System Settings&gt;Default System&gt;Other OS&gt;Yes<br /> <br /> <br /> *Boot into petitboot and load up a dvd with Fedora Core[http://mirrors.fedoraproject.org/publiclist/Fedora/9/ppc64/] on it :D<br /> <br /> <br /> '''NAND 3.15 Notes before Tweaks'''<br /> *Your hdd is ps3da. Pay attention to the guide and substitude ps3dd with ps3da<br /> *Know which partitions are which and don't go mkswap'ing your root partition<br /> *Do not use hdd_access to configure your hdds<br /> *You must patch your kernel with [http://git.gitbrew.org/~glevand/public/ glevand's patch] / obtain a patched kernel in order to do [http://www.ps3devwiki.com/index.php?title=OtherOS%2B%2B#Enable_RSX_RAM_as_SWAP certain things] and compile certain [http://www.ps3devwiki.com/index.php?title=OtherOS%2B%2B#PS3:Tools tools].<br /> <br /> ===Tweaks===<br /> *umount /dev/ps3dd2<br /> *mkdir /mnt/fedora<br /> *mount /dev/ps3dd2 /mnt/fedora<br /> *nano /mnt/fedora/etc/yaboot.conf<br /> **rename &quot;linux&quot; to &quot;Fedora&quot;<br /> **remove UUID=* from arguments and save<br /> **'''NAND 3.15 ONLY:'''change boot from /dev/sdd (or whatever) to ps3da (or whichever drive yours shows up as, not the partition)<br /> **'''NAND 3.15 ONLY:'''add root=/dev/ps3da1<br /> **'''NAND 3.15 ONLY:'''Example yboot.conf[http://pastie.org/private/6t37pem4kadjg9s1c4hpgq]<br /> *nano /mnt/Fedora/etc/sudoers<br /> **append your user under root<br /> **If you cannot write to sudoers file:<br /> ***chmod u+w /mnt/Fedora/etc/sudoers<br /> ***edit<br /> ***chmod 0440 /mnt/Fedora/etc/sudoers.<br /> &lt;pre&gt; <br /> root ALL=(ALL) ALL<br /> snowy ALL=(ALL) ALL<br /> &lt;/pre&gt;<br /> *each time you boot in petitboot, press e on &quot;Fedora&quot; and change ps3da2 to ps3dd2 for both vmlinuz and ramdisk. (temporary)<br /> **Unless you followed the NAND 3.15 ONLY step previously.<br /> *when you boot into fedora for the first time, make the user (same as you did in sudoers) account now. <br /> *when prompted to login hit alt + ctrl + f1<br /> *log in<br /> *sudo su<br /> *nano /etc/udev/rules.d/10-ps3da1swap.rules<br /> &lt;pre&gt;<br /> KERNEL==&quot;ps3da1&quot;, ACTION==&quot;add&quot;, RUN+=&quot;/sbin/mkswap /dev/ps3da1&quot;, RUN+=&quot;/sbin/swapon -p 1 /dev/ps3da1&quot;<br /> &lt;/pre&gt;<br /> *nano /etc/udev/rules.d/10-ps3vram.rules <br /> &lt;pre&gt;<br /> <br /> # udev rules to automatically enable swap on /dev/ps3vram<br /> # Copy this file to /etc/udev/rules.d/10-ps3vram-swap.rules<br /> # Choose only one of the rules below<br /> <br /> # Initialize and enable swap unconditionally<br /> KERNEL==&quot;ps3vram&quot;, ACTION==&quot;add&quot;, RUN+=&quot;/sbin/mkswap /dev/ps3vram&quot;, RUN+=&quot;/sbin/swapon -p 10 /dev/ps3vram&quot;<br /> <br /> # Initialize using /etc/fstab and standard init scripts<br /> # KERNEL==&quot;ps3vram&quot;, ACTION==&quot;add&quot;, RUN+=&quot;/bin/bash -c '/bin/grep -q ^/dev/ps3vram[[:space:]]*swap /etc/fstab &amp;&amp; /sbin/mkswap /dev/ps3vram'&quot;<br /> &lt;/pre&gt;<br /> <br /> <br /> Fedora is now installed and configured.<br /> <br /> <br /> ==Fedora 12, faster way==<br /> <br /> ### Fedora 12 clone installation howto by masterzorag ###<br /> &amp;nbsp;<br /> This is my console-only base Fedora 12 system, with:<br /> Cell SDK 3.1.0.1, OpenCL 0.3, switchable support for 7th spu under opencl or SS;<br /> eth0 static ip 192.168.1.203, ssh server running, minimal.<br /> &amp;nbsp;<br /> assuming here: /dev/ps3dd2 as target root partition, /dev/ps3dd1 as swap<br /> prerequisites: petitboot running, accessible ps3dd, anything more<br /> &amp;nbsp;<br /> 0. grab my image at http://www.filefactory.com/file/c3e8221<br /> 1. boot petitboot<br /> 2. make your root filesystem: mkfs.ext4 -m 0 /dev/ps3dd2<br /> 3. make your swap filesystem: mkswap /dev/ps3dd1<br /> 4. make your temp mountpoint: mkdir /FC12<br /> 5. mount target partition: mount /dev/ps3dd2 /FC12<br /> 6. untar my image onto: tar xjvf FC12.tar.bz2 -C /FC12 <br /> &amp;nbsp;<br /> 7. boot now Fedora via kexec:<br /> kexec -l /FC12/boot/vmlinux-2.6.39-gb9133b3-dirty --initrd=/FC12/boot/initramfs-2.6.39-gb9133b3-dirty --append=&quot;root=/dev/ps3dd2&quot;<br /> reboot<br /> &amp;nbsp; <br /> 8. Fedora will boots bringing up console login in a flash:<br /> login as root, password root<br /> &amp;nbsp;<br /> 9. Fit your needs about root login, mountpoints, hostname, ip:<br /> passwd<br /> nano /etc/fstab<br /> nano /etc/sysconfig/network<br /> nano /etc/sysconfig/network-scripts/ifcfg-eth0<br /> reboot<br /> &amp;nbsp;<br /> On petitboot reboots, /dev/ps3dd2 is mounted on /tmp/petitboot/mnt/ps3dd2, boot via kexec (or add a kboot entry for):<br /> kexec -l /tmp/petitboot/mnt/ps3dd2/boot/vmlinux-2.6.39-gb9133b3-dirty --initrd=/tmp/petitboot/mnt/ps3dd2/boot/initramfs-2.6.39-gb9133b3-dirty --append=&quot;root=/dev/ps3dd2&quot;<br /> reboot<br /> <br /> ===Fixes===<br /> *'''Problem''': You can't use network devices.<br /> *'''Reason''': There is a fixed MAC address in this release that will work only for devices with that particular MAC.<br /> *'''Solution''': Boot this system and then<br /> **Adjust your persistent net rules.<br /> **nano /etc/udev/rules.d/70-persistent-net.rules<br /> **For '''PHAT''': wlan0 and eth0 are one device, so they have same MAC.<br /> **For '''SLIM''': wlan0 and eth0 are two devices, so they have different MACs '''[NOT TESTED]'''<br /> **For '''both''': if you're not using additional network cards, it's okay to remove wlan1 and eth1 entries.<br /> **reboot<br /> <br /> *'''Problem''': You are stuck at boot, FC12 can't find root partition.<br /> *'''Reason''': The old udev version installed needs devtmpfs mounted after the kernel decompress at boot to mount root partition.<br /> *'''Solution''': Append a parameter to kexec, e.g.: kexec -l /tmp/petitboot/mnt/ps3dd2/boot/vmlinux-3.2.23 --append=&quot;root=/dev/ps3dd2 devtmpfs.mount=1&quot;<br /> <br /> ==Debian==<br /> <br /> &lt;pre&gt;<br /> Debootstrap HOWTO by glevand (geoffrey.levand@mail.ru)<br /> -------------------------------------------------------<br /> <br /> Links:<br /> <br /> * http://www.debian.org/releases/stable/i386/apds03.html.en<br /> * https://help.ubuntu.com/6.10/ubuntu/installation-guide/i386/linux-upgrade.html<br /> <br /> Installing Debian Squeeze with debootstrap on petitboot<br /> --------------------------------------------------------<br /> <br /> - Configuring the base system<br /> <br /> 1. umount /dev/ps3dd2<br /> 2. mkdir /mnt/debian<br /> 3. mkfs.ext3 /dev/ps3dd2<br /> 4. mount /dev/ps3dd2 /mnt/debian<br /> 5. rm -rf /mnt/debian/*<br /> 6. debootstrap --arch powerpc squeeze /mnt/debian http://ftp.us.debian.org/debian<br /> 7. mount -t proc none /mnt/debian/proc<br /> 8. mount --rbind /dev /mnt/debian/dev<br /> 9. LANG=C chroot /mnt/debian /bin/bash<br /> 10. export TERM=xterm-color<br /> <br /> - Mounting partitions<br /> <br /> File /etc/fstab<br /> ----------------<br /> <br /> /dev/ps3dd2 / ext3 defaults 0 1<br /> /dev/ps3vram none swap sw 0 0<br /> /dev/ps3dd1 none swap sw 0 0<br /> /dev/sr0 /mnt/cdrom auto noauto,ro 0 0<br /> proc /proc proc defaults 0 0<br /> shm /dev/shm tmpfs nodev,nosuid,noexec 0 0<br /> <br /> - Setting timezone<br /> <br /> 1. vi /etc/default/rcS<br /> 2. dpkg-reconfigure tzdata<br /> <br /> - Configuring networking<br /> <br /> 1. echo &quot;Name of your computer here&quot; &gt; /etc/hostname<br /> <br /> File /etc/network/interfaces<br /> -----------------------------<br /> <br /> auto lo<br /> iface lo inet loopback<br /> <br /> auto eth0<br /> iface eth0 inet dhcp<br /> <br /> File /etc/resolv.conf (cat /etc/resolv.conf, if you see nameservers already skip this step)<br /> ----------------------<br /> <br /> nameserver 192.168.1.1<br /> <br /> - Configuring apt<br /> <br /> File /etc/apt/sources.list<br /> ---------------------------<br /> deb http://ftp.us.debian.org/debian squeeze main<br /> deb-src http://ftp.us.debian.org/debian squeeze main<br /> <br /> deb http://security.debian.org/ squeeze/updates main<br /> deb-src http://security.debian.org/ squeeze/updates main<br /> <br /> 1. aptitude update<br /> <br /> - Configuring locales and keyboard<br /> <br /> 1. aptitude install locales<br /> 2. dpkg-reconfigure locales<br /> 3. aptitude install console-data<br /> 4. dpkg-reconfigure console-data<br /> <br /> - Finishing touches<br /> <br /> 1. tasksel install standard<br /> 2. aptitude clean<br /> 3. passwd<br /> 4. aptitude install git build-essential ncurses-dev<br /> 5. mkswap /dev/ps3dd1<br /> 6. swapon /dev/ps3dd1<br /> <br /> - Installing kernel<br /> <br /> 1. cd /usr/src<br /> 2. git clone git://git.gitbrew.org/ps3/ps3linux/linux-2.6.git<br /> 3. ln -sf linux-2.6 linux<br /> 4. cd linux<br /> 5. cp ps3_linux_config .config<br /> 6. make menuconfig<br /> 7. make<br /> 8. make install<br /> 9. make modules_install<br /> <br /> If you compile your kernel on PS3 then make sure you activate swap because<br /> compiling kernel needs much RAM. I used /dev/ps3dd1 as swap which<br /> you have to create with fdisk first of course or some other program.<br /> <br /> - Creating kboot.conf<br /> 1. ls /boot/<br /> 2. edit kboot.conf and replace what you see for &gt; vmlinux-2.6.* from below (example. vmlinux-2.6.38-gf77c53d)<br /> <br /> File /etc/kboot.conf<br /> ---------------------<br /> <br /> debian=/boot/vmlinux-2.6.* root=/dev/ps3dd2<br /> debian_Hugepages=/boot/vmlinux-2.6.* root=/dev/ps3dd2 hugepages=1<br /> <br /> - Creating /dev/ps3flash device (needed for ps3-utils)<br /> <br /> File /etc/udev/rules.d/70-persistent-ps3flash.rules<br /> ----------------------------------------------------<br /> <br /> KERNEL==&quot;ps3vflashf&quot;, SYMLINK+=&quot;ps3flash&quot;<br /> &lt;/pre&gt;<br /> <br /> <br /> ==Ubuntu==<br /> <br /> &lt;pre&gt;<br /> Debootstrap HOWTO by glevand (geoffrey.levand@mail.ru) <br /> (Redone by snowy)<br /> (Updated by thom)<br /> -------------------------------------------------------<br /> Installing Ubuntu Lucid (10.04) with debootstrap on petitboot<br /> --------------------------------------------------------<br /> For different versions of Ubuntu, just change all occurrences of lucid, to natty or whatever build you would like.<br /> <br /> You can also edit the config files in whatever text editor you would like. Nano and Vi are the preferred text editors<br /> <br /> - Configuring the base system<br /> <br /> 1. umount /dev/ps3dd2<br /> 2. mkdir /mnt/ubuntu<br /> 3. mkfs.ext3 /dev/ps3dd2<br /> 4. mount /dev/ps3dd2 /mnt/ubuntu<br /> 5. rm -rf /mnt/ubuntu/*<br /> 6. debootstrap --arch powerpc lucid /mnt/ubuntu http://ports.ubuntu.com<br /> 7. mount -t proc none /mnt/ubuntu/proc<br /> 8. mount --rbind /dev /mnt/ubuntu/dev<br /> 9. LANG=C chroot /mnt/ubuntu /bin/bash<br /> 10. export TERM=xterm-color<br /> <br /> - Mounting partitions<br /> if you want to use nano editor you will need to type &quot;apt-get install nano&quot; without quotes<br /> <br /> File /etc/fstab<br /> ----------------<br /> <br /> /dev/ps3dd2 / ext3 defaults 0 1<br /> /dev/ps3vram none swap sw 0 0<br /> /dev/ps3dd1 none swap sw 0 0<br /> /dev/sr0 /mnt/cdrom auto noauto,ro 0 0<br /> proc /proc proc defaults 0 0<br /> shm /dev/shm tmpfs nodev,nosuid,noexec 0 0<br /> <br /> - Setting timezone<br /> <br /> 1. dpkg-reconfigure tzdata<br /> <br /> - Configuring networking<br /> <br /> 1. echo &quot;Name of your computer here&quot; &gt; /etc/hostname<br /> <br /> File /etc/network/interfaces<br /> -----------------------------<br /> <br /> auto lo<br /> iface lo inet loopback<br /> <br /> auto eth0<br /> iface eth0 inet dhcp<br /> <br /> File /etc/resolv.conf (cat /etc/resolv.conf, if you see nameservers already skip this step)<br /> ----------------------<br /> <br /> nameserver 192.168.1.1<br /> <br /> - Configuring apt<br /> <br /> File /etc/apt/sources.list<br /> ---------------------------<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid main restricted<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates main restricted<br /> deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-updates restricted<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid universe<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates universe<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid multiverse<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates multiverse<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security main restricted<br /> deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security main restricted<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security universe<br /> deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security universe<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security multiverse<br /> deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security multiverse<br /> <br /> OR (Use the following if you have trouble with above sources.)<br /> <br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid main restricted<br /> deb-src http://ftp.usf.edu/pub/ubuntu/ lucid main restricted<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates main restricted<br /> deb-src http://ftp.usf.edu/pub/ubuntu/ lucid-updates main restricted<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid universe<br /> deb-src http://ftp.usf.edu/pub/ubuntu/ lucid universe<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates universe<br /> deb-src http://ftp.usf.edu/pub/ubuntu/ lucid-updates universe<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid multiverse<br /> deb-src http://ftp.usf.edu/pub/ubuntu/ lucid multiverse<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates multiverse<br /> deb-src http://ftp.usf.edu/pub/ubuntu/ lucid-updates multiverse<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid-backports main restricted universe multiverse<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security main restricted<br /> deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security main restricted<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security universe<br /> deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security universe<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security multiverse<br /> deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security multiverse<br /> deb http://ports.ubuntu.com/ubuntu-ports/ lucid-proposed restricted main multiverse universe<br /> <br /> <br /> 1. apt-get update<br /> <br /> - Configuring locales and keyboard<br /> <br /> 1. apt-get install locales<br /> 2. dpkg-reconfigure locales<br /> 3. apt-get install console-data<br /> 4. dpkg-reconfigure console-data<br /> <br /> - Finishing touches<br /> <br /> 1. tasksel install standard<br /> 2. apt-get clean<br /> 3. passwd<br /> 4. apt-get install build-essential ncurses-dev git-core gitosis<br /> 5. mkswap /dev/ps3dd1<br /> 6. swapon /dev/ps3dd1<br /> <br /> - Installing kernel<br /> <br /> 1. cd /usr/src<br /> 2. git clone git://git.gitbrew.org/ps3/ps3linux/linux-2.6.git<br /> 3. ln -sf linux-2.6 linux<br /> 4. cd linux<br /> 5. cp ps3_linux_config .config<br /> 6. make menuconfig<br /> 7. make<br /> 8. make install<br /> 9. make modules_install<br /> <br /> If you compile your kernel on PS3 then make sure you activate swap because<br /> compiling kernel needs much RAM. I used /dev/ps3dd1 as swap which<br /> you have to create with fdisk first of course or some other program.<br /> <br /> - Creating kboot.conf<br /> 1. ls /boot/<br /> (After running ls /boot/, look for vmlinux... in this directory, and user it's fiel name in the next commmand.)<br /> 2. edit kboot.conf and replace what you see for &gt; vmlinux-2.6.* from below (example. vmlinux-2.6.38-gf77c53d)<br /> <br /> File /etc/kboot.conf<br /> ---------------------<br /> <br /> Ubuntu=/boot/vmlinux-2.6.* root=/dev/ps3dd2<br /> Ubuntu_hugepages=/boot/vmlinux-2.6.* root=/dev/ps3dd2 hugepages=1<br /> <br /> - Creating /dev/ps3flash device (needed for ps3-utils)<br /> <br /> File /etc/udev/rules.d/70-persistent-ps3flash.rules<br /> ----------------------------------------------------<br /> <br /> KERNEL==&quot;ps3vflashf&quot;, SYMLINK+=&quot;ps3flash&quot;<br /> &lt;/pre&gt;<br /> <br /> &lt;pre&gt;<br /> Another Way to get Ubuntu on you PS3<br /> -----------------------------------------------<br /> ...is to use an Installer-Disk.<br /> <br /> 1. Download these ISO<br /> [http://cdimage.ubuntu.com/ports/releases/10.04/release/ubuntu-10.04-alternate-powerpc+ps3.iso Ubuntu.10.04.Alternate.PS3.iso]<br /> These is the alternate-installation for PS3. Its a rudimentary installer. He is faster than the graphical one of <br /> the normal installtaion. <br /> <br /> 2. Burn to disk <br /> it is needed, to burn these image. An installation from usb-pen is with these installation not possible.<br /> <br /> 3. Installation.<br /> Put the CD in the drive and reboot to pettitboot. Choose the first normal installation.<br /> Follow the instructions. If you get ask for the partition, my proposal is to use the whole linux-partition.<br /> The assistant should choose a port of it for swap. After the installation you cloud chance the swap to ps3vram<br /> The installation-process take a quite a while. (3-4h)<br /> <br /> 4. Post installation<br /> it could be that you have to chance the fstab. (which described which /dev ubuntu mount to what you want)<br /> From Petitboot go to Terminal. cd /tmp/petitboot/mnt/ps3dd1/etc/ and nano fstab.<br /> <br /> <br /> Ubuntu should run like a weasel (a handicapped)<br /> &lt;/pre&gt;<br /> <br /> ==Post Installation==<br /> <br /> After you've set up Linux on your PS3... http://wiki.gitbrew.org/index.php/PS3:Tools // ([http://webcache.googleusercontent.com/search?q=cache:kZhfJTqWMjEJ:wiki.gitbrew.org/index.php/PS3:Tools+http://wiki.gitbrew.org/index.php/PS3:Tools&amp;cd=1&amp;hl=nl&amp;ct=clnk&amp;source=www.google.com google-cache])<br /> <br /> ===Tools===<br /> <br /> Information about setting up PS3-specific tools found on [http://git.gitbrew.org/ git.gitbrew.org] can be found at [http://wiki.gitbrew.org/index.php/PS3:Tools PS3:Tools]<br /> <br /> ===Wireless===<br /> Setting up wireless requires you to take down networking. You must have a direct connection to your PS3 to continue. [http://wiki.gitbrew.org/wikibrew/PS3:HvReverseEngineering#Enabling_WLAN_Gelic_On_FAT More information]<br /> <br /> *git and build ps3hvc utils<br /> ** Get dependencies [http://wiki.gitbrew.org/wikibrew/PS3:Tools#Dependencies PS3:Tools#Dependencies]<br /> ** git clone git://git.gitbrew.org/ps3/ps3linux/ps3hvc-utils.git<br /> ** cd ps3hvc-utils<br /> ** sudo cp /usr/src/linux-2.6/arch/powerpc/include/asm/ps3hvc.h /usr/include/asm/<br /> ** make &amp;&amp; sudo make install<br /> *Download glevand's wlan script for your PS3 type: FAT/NAND[http://code.google.com/p/foxbrew/downloads/detail?name=enable_wlan_on_fat.sh] &lt;strike&gt;SLIM/VFlash[http://gititbit.ch/penWL]&lt;/strike&gt;. You want this in the same directory ps3hvc-utils is in.<br /> * Take down current driver<br /> ** sudo rrmod ps3_gelic<br /> * Run enable_wlan_on_*.sh<br /> ** chmod +x enable_wlan_on*.sh<br /> ** ./enable_wlan_on*.sh<br /> * Bring up new driver<br /> ** sudo modprobe ps3_gelic<br /> ** sudo /etc/init.d/networking restart<br /> * Test wireless card (by seeing available networks)<br /> ** sudo iwlist scan<br /> <br /> ====Enabling Wireless with the latest Linux kernel====<br /> <br /> You don't need to use WLAN script with the latest Linux kernel anymore.<br /> Add the following boot parameter to your kboot entry:<br /> <br /> &lt;pre&gt;<br /> ps3_gelic.disable_eurus_ctrl_iface=1<br /> &lt;/pre&gt;<br /> <br /> '''Attention: It will work on PS3 PHAT models only.'''<br /> <br /> ====WiFi with PS3 Slim Models====<br /> <br /> * PS3 SLIM models have a totally different WiFi, USB based<br /> * You have to compile your own kernel first if you haven't done it previously. Also make sure you enable wireless extensions. In my kernel config from GIT repo it's enabled by default.<br /> * Then clone my ps3-jupiter git repository and compile kernel modules: '''ps3_jupiter.ko''' and '''ps3_jupiter_sta.ko'''<br /> * Load both modules, first ps3_jupiter.ko and then ps3_jupiter_sta.ko<br /> * Install wireless-tools and wpa_supplicant<br /> * Configure wpa_supplicant<br /> * Run wpa_supplicant<br /> * '''Currently only STA mode (infrastructure) and WPA/WPA2 are supported'''<br /> <br /> '''Useful links:'''<br /> * Debian WiFi HOWTO: [http://wiki.debian.org/WiFi/HowToUse]<br /> * Using wpa_supplicant on Debian/Ubuntu: [http://blog.nelhage.com/2008/08/using-wpa_supplicant-on-debianubuntu/]<br /> <br /> '''How to load ps3_jupiter.ko and ps3_jupiter_sta.ko automatically at boot time:'''<br /> <br /> * Copy both modules to /lib/modules/`uname -r`/kernel/drivers/net<br /> * Run '''depmod -a''' as root<br /> <br /> &lt;pre&gt;<br /> Please report any bugs and problems to me because the driver is still in development and<br /> i would like feedback from you if you want me to continue. Thanks.<br /> &lt;/pre&gt;<br /> <br /> == SLES ==<br /> <br /> CURRENTLY ONLY TESTED ON 3.15OFW<br /> *Boot the SLES 11 SP 1 disc in otherOS<br /> *Highlight the install option and press 'e' to edit the entry<br /> *Edit the image= line so it says:<br /> &lt;pre&gt;<br /> /tmp/petitboot/mnt/sr0/suseboot/linux64.gz<br /> &lt;/pre&gt;<br /> *Change the append line to read the following:<br /> &lt;pre&gt;<br /> video=ps3fb:mode:3 quiet sysrq=1 insmod=sym53c8xx insmod=ipr<br /> &lt;/pre&gt;<br /> *boot this option<br /> *hit control-c when yast tries to start<br /> *select expert mode, then start shell<br /> *Enable ps3vram swap:<br /> ** mkswap /dev/ps3vram; swapon /dev/ps3vram<br /> ** if you happen to have any other swap partitions, mount them now<br /> *start the install from DVD and go through it normally.<br /> *Enjoy an actually up-to-date system that's IBM SDK compatible<br /> <br /> ===Enabling Sound===<br /> <br /> Sound HOWTO by c4pt and durandal<br /> <br /> *Check to see that the sound driver is installed<br /> **sudo lsmod | grep snd_ps3<br /> ***if your output shows snd, snd_pcm, and snd_ps3, then continue to the next step, otherwise<br /> ***sudo modprobe snd_ps3<br /> ****if it installs, you're good to go, otherwise, you neen to compile a new kernel <br /> *Connect the ps3 sound device to /dev/sound0<br /> **sudo ln -s /dev/snd/pcmC0D0p /dev/sound0 <br /> *Add yourself to the audio group<br /> **sudo usermod -G audio &lt;username&gt; <br /> *Verify that the user was added<br /> **sudo id &lt;username&gt;<br /> **If your username shows audio as a group, move on to the next step <br /> *Install either mpg123 or alsamixer to test the sound, using whatever install tools your distribution has<br /> **RHEL, SLES, OpenSUSE, YDL, fc: sudo yum install mpg123 alsamixer<br /> **Debian, Ubuntu: sudo apt-get install mpg123 alsamixer <br /> *Reboot the console<br /> **sudo reboot <br /> *Play an mp3 to test the sound with either<br /> **mpg123 &lt;some_sound_file.mp3&gt; OR<br /> **alsamixer &lt;some_sound_file.mp3&gt; <br /> <br /> <br /> ===Cleaning up Errors===<br /> ====exim4====<br /> <br /> *'''Error''': IPv6 socket creation failed: No such file or directory<br /> *'''Solution''': Edit &quot;/etc/exim4/update-exim4.conf.conf&quot; so that it has '''dc_local_interfaces='127.0.0.1'''' instead of dc_local_interfaces='127.0.0.1 ; ::'<br /> <br /> *'''Error''': ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size<br /> *'''Solution''': rm -rf /var/log/exim4/paniclog<br /> <br /> ====Kernel====<br /> <br /> *'''Error''': Make error 137 while compiling vmlinux.o<br /> *'''Solution''': Activate/make a swap partition<br /> <br /> <br /> ====plymouth====<br /> <br /> *'''Error''': You are receiving this error message as the new udevd in Ubuntu Lucid no longer supports mounting its own /dev mount point.<br /> *'''Solution''':<br /> **Edit your fstab and add:<br /> &lt;pre&gt;dev /dev tmpfs rw 0 0&lt;/pre&gt;<br /> *Add noplymouth nosplash to your kernel options in /etc/kboot.conf. Example:<br /> &lt;pre&gt;ubuntu=/boot/vmlinux root=/dev/ps3dd1 video=ps3fb:mode:133 noplymouth nosplash&lt;/pre&gt;<br /> <br /> &lt;br /&gt;Alternative (when all else fails) : &lt;pre&gt;dpkg --force-depends -P plymouth&lt;/pre&gt; See also: https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/556372<br /> <br /> &lt;pre&gt;&lt;tuxuser&gt; fixed the plymouth issue :)<br /> &lt;tuxuser&gt; dhewg, nope :P I first purged plymouth.. then just reinstalled it<br /> &lt;tuxuser&gt; made sure dev /dev mount point is in /etc/fstab, rootdev is first entry and spu is commented out<br /> &lt;tuxuser&gt; now plymouth is actually showing and not throwing errors :)<br /> &lt;/pre&gt;<br /> <br /> ====Locales====<br /> *'''Error''': perl: warning: Setting locale failed.<br /> *'''Solution''': <br /> ** Edit /etc/locale.gen and uncomment any Locales you want the OS to support.<br /> ** Example:<br /> &lt;pre&gt;en_US.UTF-8 UTF-8&lt;/pre&gt;<br /> * Re-run dpkg-reconfigure locales (Select packages to install using the spacebar.)<br /> <br /> *'''Solution 2''':<br /> ** Define it yourself<br /> ** Example:<br /> &lt;pre&gt;localedef -v -c -i en_US -f UTF-8 en_US.UTF-8 &lt;/pre&gt;<br /> <br /> ====Hostname====<br /> *'''Error''': unable to resolve host (none) or something like it.<br /> *'''Solution''': <br /> ** Make sure your hostname is set in /etc/hostname and it doesn't have any spaces or symbols.<br /> ** Edit /etc/hosts and add your hostname:<br /> &lt;pre&gt;127.0.0.1 my-ps3-hostname&lt;/pre&gt;<br /> <br /> ===Enabling 7th SPU with the latest Linux kernel===<br /> <br /> Add the following boot parameter to your kboot entry:<br /> <br /> spu_base.enumerate_shared=1<br /> <br /> To disable it at boot time again, set it to 0.<br /> <br /> '''Attention: Enabling 7th SPU on Linux will make most of SS services unusable because they use the 7th SPU !!!'''<br /> <br /> [http://1.bp.blogspot.com/-PSGW-9DJz4U/ThG5RLdBNTI/AAAAAAAAACk/LjSPDkg4mPM/s1600/7spu.jpg Screenshot of OpenCL running on 7spu]<br /> <br /> <br /> == Alternate precompiled Debian kernels==<br /> <br /> Origin: https://github.com/DirtyJerz/PS3-Debian-Kernels<br /> <br /> install: dpkg -i ./*.deb<br /> modify kboot.conf as needed<br /> that is all.<br /> <br /> *[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]<br /> *[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]<br /> <br /> <br /> ----<br /> =FreeBSD OtherOS++=<br /> Crossreference: [http://portal.gitbrew.org/wikibrew/PS3:FreeBSD gitbrew.org::PS3:FreeBSD] &lt;br /&gt;<br /> <br /> FreeBSD can be run on PS3 Slim models from HDD with OtherOS++.<br /> <br /> All the freebsd related files should be available here: http://gitbrew.org/~glevand/ps3/freebsd/<br /> <br /> *freebsd<br /> **config<br /> *** [http://gitbrew.org/~glevand/ps3/freebsd/config/PS3 PS3] // (backup/mirror: [http://www.multiupload.com/4IW63ZH688 PS3 (4.22 KB)])<br /> ** kernel-1920x1080<br /> *** [http://gitbrew.org/~glevand/ps3/freebsd/kernel-1920x1080/kernel kernel] // (backup/mirror: [http://www.multiupload.com/CJ71KU2695 kernel (8.25 MB)])<br /> *** [http://gitbrew.org/~glevand/ps3/freebsd/kernel-1920x1080/kernel.symbols kernel.symbols] // (backup/mirror: [http://www.multiupload.com/UT46XYVS35 kernel.symbols (22.56 MB)])<br /> *** [http://gitbrew.org/~glevand/ps3/freebsd/kernel-1920x1080/linker.hints linker.hints] // (backup/mirror: [http://www.multiupload.com/4YQGX6FGEJ linker.hints (5.38 KB)])<br /> **livecd<br /> *** [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)]) [Site Error]<br /> **loader<br /> *** [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)])<br /> ** [http://gitbrew.org/~glevand/ps3/freebsd/ps3_world.tar.gz ps3_world.tar.gz] // (backup/mirror: [http://www.multiupload.com/KESYPE31CG ps3_world.tar.gz (113.92 MB)])<br /> <br /> <br /> ==Cross-Compiling==<br /> <br /> You can skip this step and use my precompiled FreeBSD world and kernel:<br /> (World: [http://gitbrew.org/~glevand/ps3/freebsd/ps3_world.tar.gz]) /<br /> (Kernel: 480p[http://gitbrew.org/~glevand/ps3/freebsd/kernel-720x480/]<br /> 720p[http://gitbrew.org/~glevand/ps3/freebsd/kernel-1280x720/]<br /> 1080p[http://gitbrew.org/~glevand/ps3/freebsd/kernel-1920x1080/]) / <br /> (Loader: 480p[http://gitbrew.org/~glevand/ps3/freebsd/loader/loader-720x480.ps3]<br /> 720p[http://gitbrew.org/~glevand/ps3/freebsd/loader/loader-1280x720.ps3]<br /> 1080p[http://gitbrew.org/~glevand/ps3/freebsd/loader/loader-1920x1080.ps3])<br /> <br /> 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<br /> , you can build FreeBSD world and kernel on PS3 itself.<br /> <br /> &lt;pre&gt;<br /> # git clone git://git.gitbrew.org/ps3/ps3freebsd/freebsd.git<br /> # cd freebsd<br /> # make buildworld buildkernel installkernel installworld distribution TARGET=powerpc TARGET_ARCH=powerpc64 KERNCONF=PS3 DESTDIR=$HOME/ps3_world<br /> &lt;/pre&gt;<br /> <br /> When it's finished then you will have a complete FreeBSD world with kernel in directory $HOME/ps3_world.<br /> <br /> <br /> '''''Edited note:''' &quot;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&quot;''<br /> <br /> ==Rebuilding Loader==<br /> <br /> If you want to recompile ONLY FreeBSD loader then after you finished compiling FreeBSD world and kernel, do this:<br /> &lt;pre&gt;<br /> # cd freebsd<br /> # make buildenv TARGET=powerpc TARGET_ARCH=powerpc64<br /> # cd sys/boot<br /> # make all install DESTDIR=$HOME/ps3_world<br /> &lt;/pre&gt;<br /> <br /> ==Rebuilding Kernel==<br /> <br /> If you want to recompile ONLY FreeBSD kernel then after you finished compiling FreeBSD world and kernel, do this:<br /> &lt;pre&gt;<br /> # cd freebsd<br /> # make buildkernel TARGET=powerpc TARGET_ARCH=powerpc64 KERNCONF=PS3<br /> # make installkernel TARGET=powerpc TARGET_ARCH=powerpc64 KERNCONF=PS3 DESTDIR=$HOME/ps3_world<br /> &lt;/pre&gt;<br /> <br /> =Installation=<br /> <br /> 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.<br /> <br /> First create UFS2 filesystem for your FreeBSD. I assume that there is already a free partition on the HDD of your PS3.<br /> <br /> &lt;pre&gt;<br /> # apt-get install ufsutils<br /> # mkfs.ufs /dev/ps3dd3<br /> &lt;/pre&gt;<br /> <br /> Then mount it on Debian and copy your PS3 FreeBSD world to this partition, like this:<br /> <br /> &lt;pre&gt;<br /> # mount -t ufs -o ufstype=ufs2 /dev/ps3dd3 /mnt<br /> # cd /mnt<br /> # tar xvzf /root/ps3_freebsd_world.tar.gz<br /> # cp /root/ps3_freebsd_kernel/kernel /mnt/boot/kernel/<br /> # cp /root/ps3_freebsd_kernel/kernel.symbols /mnt/boot/kernel/<br /> # cd<br /> # umount /mnt<br /> &lt;/pre&gt;<br /> <br /> =Booting=<br /> <br /> FreeBSD on PS3 is booted by the FreeBSD loader which can be executed by petitboot with kexec.<br /> 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.<br /> '''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.'''<br /> <br /> Store your FreeBSD loader on a Linux partition, i stored mine in Debian in /boot directory, and added<br /> a new kboot.conf entry on Linux, like this:<br /> <br /> &lt;pre&gt;<br /> # cp /root/loader-1920x1080.ps3 /boot<br /> # cat /etc/kboot.conf<br /> ...<br /> ...<br /> ...<br /> freebsd_loader_hdd=/boot/loader-1920x1080.ps3<br /> ...<br /> ...<br /> #<br /> &lt;/pre&gt;<br /> <br /> * Latest FreeBSD loaders support booting from CD/DVD, so make sure you don't have any CD inserted into PS3 if you want to boot from HDD. Because the FreeBSD loader will always try to boot from CD first.<br /> <br /> ==/etc/fstab==<br /> <br /> * Make sure you set root device properly else FreeBSD kernel won't be able to mount it<br /> * You can reuse Linux swap partition on FreeBSD.<br /> <br /> &lt;pre&gt;<br /> /dev/ps3disk3p3 / ufs rw 1 1<br /> /dev/ps3disk3p1 none swap sw 0 0<br /> proc /proc procfs rw 0 0<br /> &lt;/pre&gt;<br /> <br /> ==/boot/loader.conf==<br /> <br /> * You can tell FreeBSD loader which kernel to load at boot time<br /> <br /> &lt;pre&gt;<br /> autoboot_delay=&quot;-1&quot;<br /> kernel=&quot;/boot/kernel&quot;<br /> #kernel=&quot;/boot/kernel_test&quot;<br /> &lt;/pre&gt;<br /> <br /> ==/etc/rc.conf==<br /> <br /> &lt;pre&gt;<br /> hostname=&quot;freebsd-hdd&quot;<br /> <br /> ifconfig_glc0=&quot;SYNCDHCP&quot; # for DHCP<br /> &lt;/pre&gt;<br /> <br /> Now you can boot your PS3 FreeBSD. Boot petitboot first and choose FreeBSD loader in CUI.<br /> <br /> Once, you have a running PS3 FreeBSD system, you can build FreeBSD world and kernel or compile ports on your PS3 itself.<br /> <br /> '''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.'''<br /> <br /> =Ports=<br /> <br /> Ports allow us to install many useful programs on your FreeBSD.<br /> <br /> Extracting ports:<br /> &lt;pre&gt;<br /> # cd /root<br /> # fetch ftp://ftp7.freebsd.org/pub/FreeBSD/ports/ports-stable/ports.tar.gz<br /> # cd /usr<br /> # tar xvzf /root/ports.tar.gz<br /> &lt;/pre&gt;<br /> <br /> Useful programs you will need first:<br /> * wget<br /> * git<br /> * screen<br /> * sudo<br /> * elinks<br /> <br /> =Live CD=<br /> <br /> ==Compiling World==<br /> <br /> * Change screen resolution in loader and kernel before compiling<br /> * Change frame buffer size in kernel if needed<br /> <br /> &lt;pre&gt;<br /> # cd /usr<br /> # git clone git://git.gitbrew.org/ps3/ps3freebsd/freebsd.git src<br /> # cd src<br /> # make buildworld buildkernel installkernel installworld distribution TARGET=powerpc TARGET_ARCH=powerpc64 \<br /> KERNCONF=PS3 DESTDIR=/root/ps3_world<br /> &lt;/pre&gt;<br /> <br /> ==Compiling Ports==<br /> <br /> &lt;pre&gt;<br /> # cd /root/ps3_world/usr<br /> # fetch ftp://ftp7.freebsd.org/pub/FreeBSD/ports/ports-stable/ports.tar.gz<br /> # tar xvzf ports.tar.gz<br /> &lt;/pre&gt;<br /> <br /> &lt;pre&gt;<br /> # mount -t devfs devfs /root/ps3_world/dev<br /> # cp /etc/resolv.conf /root/ps3_world/etc/<br /> # chroot /root/ps3_world /bin/csh<br /> # cd /usr/ports<br /> # cd shells/bash<br /> # make install clean BATCH=yes<br /> &lt;/pre&gt;<br /> <br /> ==Configuring System==<br /> <br /> ===/boot/loader.conf===<br /> <br /> &lt;pre&gt;<br /> boot_cdrom=&quot;YES&quot;<br /> <br /> autoboot_delay=&quot;-1&quot;<br /> &lt;/pre&gt;<br /> <br /> ===/etc/rc.conf===<br /> <br /> &lt;pre&gt;<br /> root_rw_mount=&quot;NO&quot;<br /> <br /> hostname=&quot;freebsd-livecd&quot;<br /> <br /> ifconfig_glc0=&quot;SYNCDHCP&quot;<br /> <br /> keyrate=&quot;fast&quot;<br /> keymap=&quot;us.iso&quot;<br /> #keymap=&quot;fr.iso&quot;<br /> #keymap=&quot;german.iso&quot;<br /> scrnmap=&quot;NO&quot;<br /> font8x16=&quot;iso15-8x16&quot;<br /> font8x14=&quot;iso15-8x14&quot;<br /> font8x8=&quot;iso15-8x8&quot;<br /> <br /> update_motd=&quot;NO&quot;<br /> syslogd_enable=&quot;NO&quot;<br /> newsyslog_enable=&quot;NO&quot;<br /> cron_enable=&quot;NO&quot;<br /> hostid_enable=&quot;NO&quot;<br /> <br /> sendmail_enable=&quot;NONE&quot;<br /> sendmail_submit_enable=&quot;NO&quot;<br /> sendmail_outbound_enable=&quot;NO&quot;<br /> sendmail_msp_queue_enable=&quot;NO&quot;<br /> <br /> cleanvar_enable=&quot;NO&quot;<br /> crashinfo_enable=&quot;NO&quot;<br /> virecover_enable=&quot;NO&quot;<br /> &lt;/pre&gt;<br /> <br /> ===/etc/fstab===<br /> <br /> &lt;pre&gt;<br /> /dev/cd0 / cd9660 ro 0 0<br /> &lt;/pre&gt;<br /> <br /> ===Changing Login Shell===<br /> <br /> &lt;pre&gt;<br /> # chroot ps3_world<br /> # chsh<br /> &lt;/pre&gt;<br /> <br /> ==Creating ISO Image==<br /> <br /> * Exit chroot<br /> <br /> &lt;pre&gt;<br /> # umount /root/ps3_world/dev<br /> # cd ps3_world<br /> # rm -f etc/resolv.conf<br /> # mkisofs -R -l -ldots -allow-lowercase -allow-multidot \<br /> -V 'PS3 FreeBSD LiveCD' -volset 'PS3 FreeBSD' -hide boot.catalog \<br /> -o ../freebsd_livecd.iso .<br /> &lt;/pre&gt;<br /> <br /> ==Booting Live CD with OtherOS++==<br /> <br /> Use CUI or<br /> <br /> boot FreeBSD loader from petitboot manually:<br /> &lt;pre&gt;<br /> # First mount CD if it's not mounted already<br /> <br /> # kexec -l /mnt/cdrom/boot/loader.ps3 (or loader-720x480.ps3 or loader-1280x720.ps3)<br /> # reboot<br /> &lt;/pre&gt;<br /> <br /> ==Installing FreeBSD on HDD from Live CD==<br /> <br /> installing freebsd 9.0 beta 2 to the hard drive by c4pt<br /> <br /> step 1 download and burn the freebsd 9.0 beta 2 iso for ppc64 you can get it from here<br /> <br /> ftp://ftp.freebsd.org/pub/FreeBSD/releases/powerpc/powerpc64/ISO-IMAGES/9.0/FreeBSD-9.0-BETA3-powerpc64-release.iso<br /> <br /> step 2 remove all your partitions on your internal drive and make the drive gpt<br /> <br /> boot into petitboot<br /> <br /> ##umount /dev/ps3dd1<br /> ##umount /dev/ps3dd2<br /> ##umount /dev/ps3dd<br /> <br /> ## using parted will delete any linux partition on ps3dd<br /> <br /> <br /> ##parted /dev/ps3dd<br /> <br /> ##mklabel GPT<br /> <br /> ##mkpart ext2 1 158000M (158000M here is 158G on my drive if you have 320G you would enter 320000M)<br /> <br /> ##p<br /> <br /> ##q<br /> <br /> ##umount /dev/sr0<br /> <br /> ##mount /dev/sr0 /mnt<br /> <br /> ##cd /mnt/boot<br /> <br /> ##ps3-video-mode -2<br /> <br /> ##kexec -l loader.ps3<br /> <br /> ##reboot<br /> <br /> when the freebsd dmesg boots you are going to get to a mountroot&gt; prompt this is normal because freebsd is trying to load<br /> the cd from acd0 which doesnt exist so we have to tell the mountroot&gt; prompt /dev/cd0 which is our sr0 or cdrom drive with the <br /> burned iso on disk<br /> <br /> ##mountroot&gt;cd9660:/dev/cd0 ro (hit enter here)<br /> <br /> this will continue to load the freebsd 9.0 beta 2 disc<br /> <br /> once in the installer make sure you only format and partition ps3disk3 this is important you dont want to write to gameos or another partition this guide is assuming you are using ps3dd as your linux <br /> or freebsd drive and that you are *NOT* using vflash for ps3vflashh partition the disk and on my setup i am using a 154G root and and 4G swap (you can select auto on ps3disk3 and it should setup a swap <br /> and root for you) then select whatever you want to install , base , src , ports, doc this is important if you burned the iso you should have done a slow burn for some reason if any of these things fail <br /> the checksum test you need to run the installer again and not select anything that failed in order to continue with the installation for me ports.txz and src.txz failed so i could only select base.txz <br /> doc.txz and a couple of others then the install finished properly after installing the .txz's files setup your networking and root and user password eventually you will setup everything in the installer<br /> accordingly and you will be presented with a 3 choice options (installer) (livecd) <br /> <br /> choose livecd <br /> <br /> you should drop to a prompt and type<br /> <br /> shutdown -h now<br /> <br /> that takes care of the install but now how to boot the install?<br /> <br /> reboot the ps3 after shutdown -h now is completely done it should say press a key to reboot when it is done<br /> <br /> go into petitboot or telnet to petitboot whatever you want to do <br /> <br /> then type <br /> <br /> ##umount /dev/ps3dd<br /> ##umount /dev/ps3dd1<br /> <br /> ##ps3-video-mode -m 2<br /> <br /> ##mount -t ufs -o ufstype=ufs2,rw /dev/ps3dd1 /mnt<br /> <br /> ##cd /mnt/boot<br /> <br /> ##kexec -l loader.ps3<br /> <br /> ##reboot<br /> <br /> and you should now be in 480p booting the freebsd install from the hard drive<br /> <br /> <br /> some side notes (the installer will only boot in 480i or 480p that is why we use ps3-video-mode also the loader.ps3 and kernel can be fixed to 1920x1080p <br /> using glevand's loader.ps3 and glevand's kernel, you can still use glevand's freebsd work on the kernel and loader sources once in the freebsd install on <br /> the hard drive it is recommended to setup networking and install ports to /usr/ports in order to boot the from the hard drive you have to run the last 5 <br /> commands from the guide or 6 commands if you havent't fixed loader.ps3) also note that /usr/sbin/sysinstall will not install freebsd to the hard drive <br /> since the partition utility does not work with /usr/sbin/sysinstall<br /> <br /> ##ps3-video-mode -m 2 (sets the screen to 480p for the stock loader.ps3 file)<br /> <br /> ##umount /dev/ps3dd<br /> ##umount /dev/ps3dd1<br /> <br /> ##mount -t ufs -o ufstype=ufs2,rw /dev/ps3dd1 /mnt<br /> <br /> ##kexec -l /mnt/boot/loader.ps3<br /> <br /> ##reboot<br /> <br /> =Links=<br /> <br /> FreeBSD Handbook: [http://www.freebsd.org/doc/handbook/]<br /> <br /> FreeBSD AvgLiveCD: [http://wiki.freebsd.org/AvgLiveCD]<br /> <br /> FreeBSD LiveCD: [http://www.secure-computing.net/wiki/index.php/FreeBSD/LiveCD]<br /> <br /> Gitorious - FreeBSD Wiki: [http://wiki.freebsd.org/Gitorious]<br /> <br /> Setting Up A new FreeBSD System: [http://users.rcn.com/rneswold/fbsd-init.html]<br /> <br /> ----<br /> =FreeBSD Development=<br /> Crossreference: [http://portal.gitbrew.org/wikibrew/PS3:FreeBSD_Development gitbrew.org::FreeBSD Development] &lt;br /&gt;<br /> <br /> <br /> '''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 :('''<br /> <br /> Till now '''0''' applications :( Date: 09/20/2011<br /> <br /> ==TODO List==<br /> <br /> * VUART support in bootloader<br /> * VUART support in kernel ('''work in progress''')<br /> * System Manager, AV and Dispatcher Manager support in kernel ('''work in progress''')<br /> * UDF support for BD movies<br /> * RSX driver<br /> * Sound driver<br /> * Use CAM framework for HDD driver like in Blu-Ray driver<br /> * FLASH/VFLASH drivers ('''work in progress''')<br /> * WiFi driver ('''work in progress''')<br /> <br /> ==VUART (Bootloader)==<br /> <br /> * Should be very simple<br /> * Implement common '''ps3vuart''' interface which can be used by VUART port drivers<br /> * Implement AV VUART only for now in order to be able to read screen size<br /> <br /> ==VUART (Kernel)==<br /> <br /> * What existing kernel framework to use or create a new one ??? Maybe UART framework. '''UART framework is NOT suitable !!!'''<br /> * Implement '''ps3vuart_bus.c''' module which handles VUART interrupts and distributes events to VUART port drivers. '''ps3vuart_bus''' should be the child of '''nexus'''.<br /> * Each VUART port is a child of '''ps3vuart_bus''' module.<br /> * Use '''siis''' driver as an example how to implement device children.<br /> * http://fxr.watson.org/fxr/source/dev/siis/siis.c<br /> * VUART port drivers for: '''System Manager''', '''AV''' and '''Dispatcher Manager'''<br /> * What is the best way to provide access for user space applications ??? Create character devices for each VUART port. But how to synchronize kernel/user space accesses ?<br /> * Provide IOCTL interface for all VUART ports<br /> <br /> ==WLAN==<br /> <br /> * Kernel modules: '''if_jpt.c''', '''jpt_sta.c''' and '''jpt_ap.c'''.<br /> * Use WLAN driver '''an''' as an example how to implement WLAN drivers which handle 802.11 protocol internally.<br /> * http://fxr.watson.org/fxr/source/dev/an/if_an.c<br /> * http://fxr.watson.org/fxr/source/net/if_tap.c<br /> * IOCTLs for scanning: '''IEEE80211_IOC_SCAN_REQ''' and '''IEEE80211_IOC_SCAN_RESULTS'''<br /> <br /> ==RSX==<br /> <br /> * I decided to implement RSX driver for FreeBSD first and then for Linux (sorry Linux fans), not because i don't like Linux but because FreeBSD has no X11 driver and it will be easier to test.<br /> * FreeBSD DRM framework supports PCI devices only currently :-( Platform devices are NOT supported by FreeBSD's DRM framework.<br /> * No choice as to use kernel module with my own user space interface. Yeah, hate me kernel developers, i know, it's ugly but NVIDIA does it too ('''/dev/nvidia''', '''/dev/nvidiactl''' and '''nvidia.ko''').<br /> <br /> ===DRM Device File===<br /> <br /> * On FreeBSD, it's '''cdev'''.<br /> * '''si_drv1''' points to '''struct drm_device'''<br /> <br /> ===Memory===<br /> <br /> * There are several types of memory: VRAM (video RAM or memory on GPU), GART (system memory mapped into GPU address space) and CPU (system memory but NOT mapped into GPU address space)<br /> * Implement memory heap managers<br /> * Radeon driver is a good example how to manage VRAM and GART memory heaps. The user specifies memory type, alignment and size. The driver returns the offset of allocated memory region to user. The offset is the handle of allocated memory block.<br /> * http://fxr.watson.org/fxr/source/dev/drm/radeon_mem.c<br /> * Radeon driver supports memory types: VRAM and GART<br /> * Nouveau driver supports memory types: VRAM, GART and CPU<br /> * '''mmap syscall''' is used to map memory buffers into user-space. '''offset''' passed to mmap syscall is the handle of a memory map created previously with '''IOCTL DRM_IOCTL_ADDMAP'''. The handle is returned to user from IOCTL that creates the map.<br /> * http://fxr.watson.org/fxr/source/dev/drm/drm_vm.c<br /> * '''drmMap''' just calls mmap syscall and passes map handle as offset.<br /> * Interesting discussion about DRM map handles: http://comments.gmane.org/gmane.comp.video.dri.devel/19657<br /> * FreeBSD DRM framework uses '''alloc_unr''' to allocate unique map handles<br /> <br /> ==FLASH/VFLASH==<br /> <br /> * Use CAM framework to implement flash drivers, it has more advantages over block device drivers<br /> * The drivers are very similar to CDROM driver but they should handle ATA IO commands and SCSI like ps3cdrom driver<br /> * Kernel modules: '''ps3flash''' for FLASH/VFLASH and '''ps3nflash''' for NOR flash only<br /> <br /> ==Links==<br /> <br /> * The Design and Implementation of the FreeBSD SCSI Subsystem: [http://people.freebsd.org/~gibbs/ARTICLE-0001.html]<br /> * Writing a CAM SCSI controller driver: [http://www.freenix.no/arkiv/daemonnews/200006/cam-driver.html]<br /> * FreeBSD Kernel Reference: [http://fxr.watson.org/fxr/source/?v=HEAD]<br /> * UDF 2.6: [http://www.osta.org/specs/pdf/udf260.pdf]<br /> * The VFS/VNODE interface in the FreeBSD kernel: [http://meetbsd.org/files/1_04_rao.pdf]<br /> * FreeBSD DRI: [http://www.neuro.mcw.edu/Ports/FreeBSD/freebsd_dri.html]<br /> * FreeBSD Device Drivers: [http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/driverbasics-char.html]<br /> * FreeBSD Kernel Modules: [http://bsddev.blogspot.com/2007/11/modulekernel-parameters.html] [http://markmail.org/message/jkw6i57otb4zyjrs]<br /> * NEWBUS Intro: [http://beefchunk.com/documentation/sys-programming/os-freebsd/newbus-intro.html]<br /> * Character Driver: [http://cit.odessa.ua/postkarta/freebsd_simple_char_device_driver.pdf] [http://www.hailang.me/index.php/tech/freebsd/freebsd-kernel-rootkit-design-howtos-%E2%80%93-5-character-device-first-dev-module/]<br /> * NVIDIA Kernel Interface: [http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html]<br /> <br /> ----<br /> <br /> = Cellminer =<br /> <br /> == Auto Installer ==<br /> '''Debian: '''<br /> http://git.gitbrew.org/~stackable/script/cellminer-run-ONCE-to-install.sh<br /> <br /> == Git repository ==<br /> https://github.com/verement/cellminer<br /> <br /> <br /> ----<br /> <br /> <br /> = PS3:Tools =<br /> <br /> ==General==<br /> To ease compilation and finding libraries (which will prevent you from having to edit every Makefile):<br /> *sudo ln -s /usr/src/linux-2.6/include/* /usr/local/include/<br /> <br /> ==Development==<br /> ===Dependencies===<br /> Almost all tools require '''git make libc libc-dev libc6-dev-ppc64'''<br /> * sudo apt-get install git make libc libc-dev libc6-dev-ppc64<br /> <br /> For Debian Squeeze (and possibly other Distros as well?)<br /> * sudo apt-get install git make libc6 libc6-dev libc6-dev-ppc64 libX11-dev<br /> <br /> ===python===<br /> *aptitude install python python-pytools<br /> **this installs python and pyopencl<br /> <br /> ==Enable RSX RAM as SWAP==<br /> * sudo su -<br /> * swapon -s <br /> ** '''Check current SWAP''' <br /> * mkswap /dev/ps3vram<br /> * swapon /dev/ps3vram<br /> * vim /etc/udev/rules.d/10-ps3vram-swap.rules<br /> &lt;pre&gt;<br /> # udev rules to automatically enable swap on /dev/ps3vram<br /> # Copy this file to /etc/udev/rules.d/10-ps3vram-swap.rules<br /> # Choose only one of the rules below<br /> # Initialize and enable swap unconditionally<br /> KERNEL==&quot;ps3vram&quot;, ACTION==&quot;add&quot;, RUN+=&quot;/sbin/mkswap /dev/ps3vram&quot;, RUN+=&quot;/sbin/swapon -p 10 /dev/ps3vram&quot;<br /> &lt;/pre&gt;<br /> * reboot<br /> * sudo swapon -s <br /> ** '''Verify additional SWAP space'''<br /> <br /> ==Notes==<br /> Higher priority means the system will use that SWAP sooner than lower priority SWAP. You '''want''' RSX RAM to have highest priority.<br /> <br /> <br /> <br /> =OpenSSL for ppc64=<br /> Check and make sure you're getting the latest source of OpenSSL[http://www.openssl.org/source/]<br /> <br /> ==Installation==<br /> * wget http://www.openssl.org/source/openssl-1.0.0d.tar.gz<br /> * tar -xvzf openssl*.tar.gz<br /> * cd openssl*<br /> * vim Makefile '''or''' see 'General' section<br /> ** You need to add this option to the end of the CFLAGS option list: '''-I/usr/src/linux-2.6/include'''<br /> * ./Configure linux-ppc64<br /> * make<br /> * make test<br /> * sudo make install<br /> <br /> ===Notes===<br /> *Modification of header files is needed for non-current kernels.<br /> <br /> <br /> <br /> =ps3dm-utils=<br /> ==Dependencies==<br /> * [[OtherOS%2B%2B#Dependencies]]<br /> * [[OtherOS%2B%2B#OpenSSL for ppc64]]<br /> <br /> ==Installation==<br /> * git clone git://git.gitbrew.org/ps3/ps3linux/ps3dm-utils.git<br /> * cd ps3dm-utils/<br /> * sudo cp /usr/src/linux-2.6/arch/powerpc/include/asm/ps3dmproxy.h /usr/include/asm/<br /> * vim Makefile<br /> ** Append -L '''/usr/local/ssl/include -L /usr/local/ssl/lib -ldl''' to the end of LDFLAGS<br /> * make<br /> <br /> '''Attention: With the latest version of ps3dm-utils you don't need OpenSSL anymore !!!'''<br /> <br /> ===Notes===<br /> *ps3dm-utils requires DEVICE to get information from. Normally, '''/dev/ps3dmproxy''' is used.<br /> **If /dev/ps3dmproxy does not exist: '''sudo modprobe ps3dmproxy'''<br /> <br /> <br /> <br /> =IBM Cell SDK 3.1=<br /> This works only on Debian &amp; Ubuntu on PS3<br /> All Tools need download form [http://www.multiupload.com/T6IFLL5SGD ibmsdk31.tar.gz]<br /> <br /> ==Installation==<br /> &lt;pre&gt;<br /> wget -r -H -A.tar.gz http://www.multiupload.com/T6IFLL5SGD<br /> mv */*/*/ibmsdk31.tar.gz ./<br /> rm *multiupload.com* -rf<br /> tar -xvzf ibmsdk31.tar.gz<br /> cd deb/<br /> dpkg -i openrpm/*.deb<br /> dpkg -i devel/*.deb<br /> dpkg -i extra/*.deb<br /> &lt;/pre&gt;<br /> <br /> Some of these packages have a newer version, You may want to hold (keep back) these packages:<br /> <br /> &lt;pre&gt;<br /> echo ppu-gcc hold | sudo dpkg --set-selections<br /> echo spu-gcc hold | sudo dpkg --set-selections<br /> &lt;/pre&gt;<br /> <br /> ==Java 6 IBM==<br /> Download from: http://goo.gl/ngV0b<br /> <br /> &lt;pre&gt;<br /> mkdir /opt/ibm/java-ppc64-60/<br /> cd /opt/ibm/java-ppc64-60/<br /> &lt;/pre&gt;<br /> Put '''ibm-java-sdk-6.0-5.0-linux-ppc64.tgz''' in '''/opt/ibm/java-ppc64-60/'''<br /> &lt;pre&gt;<br /> tar -zxvf ibm-java-sdk-6.0-5.0-linux-ppc64.tgz<br /> chcon -R -t texrel_shlib_t /opt/ibm/java-ppc64-60/jre<br /> chcon -R -t texrel_shlib_t /opt/ibm/java-ppc64-60/bin<br /> chcon -R -t texrel_shlib_t /opt/ibm/java-ppc64-60/lib<br /> &lt;/pre&gt;<br /> <br /> <br /> <br /> =ps3mfw=<br /> ==Dependencies==<br /> *TCL 8.5<br /> ** wget http://prdownloads.sourceforge.net/tcl/tcl8.5.9-src.tar.gz<br /> ** tar -xvzf tcl*<br /> ** cd tcl*<br /> ** cd unix<br /> ** vim Makefile '''or''' see 'General' section<br /> *** You need to add this option to the end of the CFLAGS option list: '''-I/usr/src/linux-2.6/include'''<br /> ** ./configure &amp;&amp; make &amp;&amp; sudo make install<br /> <br /> *TK 8.5<br /> ** wget http://prdownloads.sourceforge.net/tcl/tk8.5.9-src.tar.gz<br /> ** tar -xvzf tk8.5*<br /> ** cd tk8.5<br /> ** cd unix<br /> ** ./configure &amp;&amp; make &amp;&amp; sudo make install<br /> <br /> ==Installation==<br /> &lt;span style=&quot;color:#FF0000&quot;&gt;'''Read up on any notes on any experimental options/tasks you shouldn't be using. Ask in #otheros if you are unsure.'''&lt;/span&gt;<br /> <br /> * git clone git://git.gitbrew.org/ps3/ps3mfw/ps3mfw.git<br /> * cd ps3mfw/<br /> * rm -rf tasks<br /> * git clone git://git.gitbrew.org/ps3/ps3mfw/tasks.git<br /> <br /> You should be able to run the program with '''./ps3mfw --gui &quot;false&quot;'''<br /> <br /> <br /> <br /> {{Linux}}&lt;noinclude&gt;[[Category:Main]]&lt;/noinclude&gt;</div> 147.182.170.177