Editing OtherOS++

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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:
{{Missingfiles}}
[[Category:Linux]]
{{Missingmirrors}}
[[Category:OtherOS]]
=OtherOS++=
=OtherOS++=
This guide is roughly copypasted from Gitbrew wiki and Glevand' documentations
This guide is roughly copypasted from Gitbrew wiki and Glevand' documentations


==Firmwares==
==Firmwares==
 
   
===With SS Patches===
*[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://depositfiles.com/files/vdowbtl7b 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++-22GB.PUP PS3 Dual Boot GameOS/Linux CFW 3.55 22GB] // (mirror:[http://www.multiupload.com/1DIA204CET CFW355-OTHEROS++-22GB.PUP (170.64 MB)]) - 22GB to OtherOS++, no SS patches
*[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.
*[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://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++
*[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.
*[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++
==== coldboot fix ====
* [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])
CRC16:83BF | CRC32: 595E42FC | SHA1: 1292611131BFCBD4D37FDF68603DC59D7922F5B5 | MD5: CCB69A1D02FDC42267D476076A44CBA5
 
===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/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://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++
*[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


==Documentation==
==Documentation==
Line 30: Line 17:
==Packages==
==Packages==


*boot_gameos.pkg // (mirror:[http://depositfiles.com/files/kyak78dgw boot_gameos.pkg (60.05 KB)])
*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://depositfiles.com/files/0pear097a boot_otheros.pkg (69.86 KB)])
*[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://depositfiles.com/files/1b7nhdmco dump_flash.pkg (70.23 KB)])  (mirror contains pkg to dump NAND and NOR flash on USB0001)
*[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://depositfiles.com/files/y68iclee5 dump_flash_ptab.pkg (70.23 KB)])  (dump NAND flash on USB0001 ; ptab)
*[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://depositfiles.com/files/8n6igzobo dump_lv1.pkg (69.61 KB)])
*[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://depositfiles.com/files/ocllsomo6 dump_lv2.pkg (70.11 KB)])
*[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.nl/9CN7NGGNQH dump_sysrom.pkg (69.67 KB)])  (dumps [[sysrom.bin]] on any plugged in usb device)
*[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://depositfiles.com/files/59928rl79 get_applicable_version.pkg (69.3 KB)])  (to get the low/high version lock via Debug UDP)
*[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://depositfiles.com/files/rbp9l2y4f get_token_seed.pkg (59.73 KB)])
*[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://depositfiles.com/files/3wig3e5a5 install_otheros.pkg (61.11 KB)])
*[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] // (mirror:[http://depositfiles.com/files/fc19kv5a7 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://depositfiles.com/files/k5p4hwvu7 qa_flag.pkg (69.92 KB)]) (to enable QA)
*[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://depositfiles.com/files/ck3kbobix qa_flag_extra.pkg (69.98 KB)]) (to enable QA with downgrade)
*[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://depositfiles.com/files/00a105a9a reboot.pkg (59.36 KB)])
*[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://depositfiles.com/files/u2ciz80fb reset_qa_flag.pkg (70.05 KB)]) (to reset the QA flags back to default)
*[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://depositfiles.com/files/ltzdqzu4p setup_flash_for_otheros.pkg (70.11 KB)])
*[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] // [https://mega.co.nz/#!z4EDiCCK!ARctRcL6WQkrWrZPc0opL317OUO9UWAQIEBMnNqn_gw mirror]
   
*[http://gitbrew.org/~glevand/ps3/petitboot/dtbImage.ps3.bin.minimal dtbImage.ps3.bin.minimal] // [https://mega.co.nz/#!mpNlBRya!FnEwXa3lZ2EaTbiAYMS6shu3E4ibxUESVtdMW9hOP0E mirror]
*[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/
*[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)])
*[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://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/dispmgr_access.sh dispmgr_access.sh] // (mirror:[http://depositfiles.com/files/xezu5z9zf dispmgr_access.sh (2.14 KB)])
*[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/enable_wlan_on_fat.sh enable_wlan_on_fat.sh] // (mirror:[http://depositfiles.com/files/t625ntwc8 enable_wlan_on_fat.sh (1.6 KB)])
*[http://gitbrew.org/~glevand/ps3/scripts/hdd_access.sh hdd_access.sh] // (mirror:[http://www.multiupload.com/P7X86X396C hdd_access.sh (6.22 KB)])
*[http://gitbrew.org/~glevand/ps3/scripts/hdd_access.sh hdd_access.sh] // (mirror:[http://depositfiles.com/files/zpwo5hw3v hdd_access.sh (6.22 KB)])
*initimg.sh
*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://www.multiupload.com/CEG2WSHL7K is_vflash_on.sh (1.09 KB)])
*[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)])
*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://depositfiles.com/files/fzzgl8ll3 restore_vflash.sh (1.32 KB)])
*[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==
      
      
*[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
*[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)])
 
*[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


== Git ==
== Git ==
Line 74: Line 59:
http://git.gitbrew.org/
http://git.gitbrew.org/


===Master Servers===
*partial backup: [http://www.multiupload.com/TJI6MNQVR8 gitbrew-backup.zip (1.59 MB)]
*[http://git.gitbrew.org/ git.gitbrew.org]
*[http://storm.gitbrew.org/ storm.gitbrew.org]
 
===Gitweb Mirrors===
*[http://git.gitbrew.org/repos git.gitbrew.org/repos/]
*[http://storm.gitbrew.org/repos storm.gitbrew.org/repos/]
*[http://foxbrew.org/git foxbrew.org/git/]


===Git Mirrors===
*juli 22 2011 snapshot by aKoN-Man:
*[http://git.gitbrew.org/ git://git.gitbrew.org]
*[http://storm.gitbrew.org/ git://storm.gitbrew.org]
*[http://scottfertig.net/ git://scottfertig.net]
*[http://sub.gitbrew.org/ git://sub.gitbrew.org]
*[http://foxbrew.org/ git://foxbrew.org]
 
====partial backup====
[http://www.multiupload.com/TJI6MNQVR8 gitbrew-backup.zip (1.59 MB)]
 
====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 104: Line 71:
  http://www.multiupload.com/BR410045AK (143.1 MB)
  http://www.multiupload.com/BR410045AK (143.1 MB)
  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)]
    -or-
  [http://www.multiupload.com/PI6APZODIE ps3.part01.rar (95.78 MB)]
  [http://www.multiupload.com/U7LH0WJ1W4 ps3.part02.rar (95.78 MB)]
  [http://www.multiupload.com/KRKYFXI19F ps3.part03.rar (95.78 MB)]
  [http://www.multiupload.com/1NL6E5DS16 ps3.part04.rar (95.78 MB)]
  [http://www.multiupload.com/1IHSWKG333 ps3.part05.rar (95.78 MB)]
  [http://www.multiupload.com/CMS2F838W8 ps3.part06.rar (95.78 MB)]
  [http://www.multiupload.com/XAFTIN6OIR ps3.part07.rar (95.78 MB)]
  [http://www.multiupload.com/IXHSJOTTYY ps3.part08.rar (68.42 MB)]
note: you need to have git installed, and use it e.g.:
  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)
=====reupped mirror=====
https://mega.co.nz/#!7kESiLKJ!UKITnnPbmRyT-9yhxQgrKvVChLWJccWLmI0Hg3gj4BE ps3.part01.rar 95.8 MB
https://mega.co.nz/#!XpcnTabA!vnv_2dSOm3lh9YtmU3HT-y_9RFKNoE_B4u7kihuhZVE ps3.part02.rar 95.8 MB
https://mega.co.nz/#!npt0SBzK!8rhpoCDtNr8DJVjPFipLpe86EoZBqtQuSui2KHIn1yc ps3.part03.rar 95.8 MB
https://mega.co.nz/#!L5MBzY4K!CDu88krSULhSQJ0a1XP0x46Mjflpha5zqe9Lo2gmd00 ps3.part04.rar 95.8 MB
https://mega.co.nz/#!rtME1AxA!Gau1xr7V45JT22xozq7kmEhfLtLfwMRCl5-lWsVMI6I ps3.part05.rar 95.8 MB
https://mega.co.nz/#!GkMSSQbQ!GsLU6BQzko_sAWkA3o_TZ5kLiVJU8qwV6qf3VL0vD6I ps3.part06.rar 95.8 MB
https://mega.co.nz/#!XkcFkZwI!Sew1EJWvl9ICloDRzDRUz0HHhQ0NgsYqyY_IgIwRngA ps3.part07.rar 95.8 MB
https://mega.co.nz/#!78F3yQrY!CPY4ljpJVJ2Ldvr4nDQQ-TB-HYmJf4-dIIWRR4MT0QA ps3.part08.rar 68.4 MB
=====Github Files=====
https://github.com/therealfarfetchd/PS3-OtherOS/archive/master.zip 442 MB
^ File Name : PS3-OtherOS-master.zip
^ CRC32 CheckSum : 686510A7
^ CRC64 CheckSum : 65DC1E62D449607E
^ SHA1 CheckSum : 0DF8ABF418869D5B4A0D8FA1EDEC9423F2A64114
^ SHA256 CheckSum : EE97657AC18FBADD3D66FBCE4741561C0F6001C4F4F7F03B2D2FE8BC6671B0C4
^ SHA384 Checksum : A6535C5FCDCE38F5E8C4744A7173CEF2AB0C1AAB783D46404A2C698E099DB8610CC91C5A8F02AE8ADAF12C498A29F05F
^ SHA512 CheckSum : D9B9D7A14EE388BF7E5C7DB48701D5BBAE2ACECDCFAD8C77FF96B41722373CD475500874E7352F7F86EFD9EE049F521E87CA50627AD070AC8A6B170D1F15A512
^ RIPEMD-160 CheckSum : A2CF2C9999E5195D611084D40805A260F932DBCD
^ MD5 CheckSum : E298FFE47C26CF4C45AF26E40BD4B6F4
^ BLAKE2sp CheckSum : A327CF5E8B17A62906EA969E582C204CB6932022214BDBD4D85723A0D51A76E8
^ Zip Comment : 7c9266feec5a062a02d2dcc8f9c8feb48236ef4b
^ Contents : 2 Folders , 46 Files


==Features==
==Features==
Line 175: Line 88:
*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.


== Petitboot building ==
See [[Petitboot]]


==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!important">warning: these are dev tools, remember this</span>.)
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 (either original or via backup managers). You will get trophy errors.
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 -&gt; use [http://gitbrew.org/~glevand/ps3/scripts/dispmgr_access.sh dispmgr_access.sh]
  Registration of the trophy infomation could not be completed.  The game will quit. (80010505)
You need SS patches to use ps3dm,sm, and other ps3 dev tools.  
 
Alternative, you can use a firmware without SS patches and use the script below when you need to patch it on the fly:
  We're currently working on a patch in petitboot so it only runs when you use linux
  and not mess with your GameOS for normal game use -&gt; use [http://gitbrew.org/~glevand/ps3/scripts/dispmgr_access.sh dispmgr_access.sh]


==OtherOS++ How-To==
==OtherOS++ How-To==
Line 237: Line 143:
      
      
     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 [[Recovery Menu|Recovery Mode]] and choose "Restore PS3 System" (not the Backup/Restore in XMB)
     2. When installation is finished, reboot in 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 155:
     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] - rem to CHMOD 755
     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 188:




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&cd=1&hl=nl&ct=clnk&source=www.google.com google-cache])
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 213:


==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)===


===3.55 (Custom CFW)===
  umount ps3db
  umount ps3db
  umount ps3dc
  umount ps3dc
Line 321: Line 227:
  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:''' 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.
'''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.''' You must unplug or hardware reset your console.
 


===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 [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]
  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


*Boot into petitboot and load up a dvd with Fedora Core[http://mirrors.fedoraproject.org/publiclist/Fedora/9/ppc64/] on it :D


'''NAND 3.15 Notes before Tweaks'''


'''NAND 3.15 Notes before Tweaks'''
*Your hdd is ps3da. Pay attention to the guide and substitude ps3dd with ps3da
*Your hdd is ps3da. Pay attention to the guide and substitude ps3dd with 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://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].
*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 265:
**'''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 yboot.conf[http://pastie.org/private/6t37pem4kadjg9s1c4hpgq]
**'''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 271:
***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.  
<pre>
 
root    ALL=(ALL) ALL
root    ALL=(ALL) ALL
snowy    ALL=(ALL) ALL
snowy    ALL=(ALL) ALL
</pre>
 
*each time you boot in petitboot, press e on "Fedora" and change ps3da2 to ps3dd2 for both vmlinuz and ramdisk. (temporary)
*each time you boot in petitboot, press e on "Fedora" and change ps3da2 to ps3dd2 for both vmlinuz 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  
<pre>
 
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"
</pre>
 
*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


# udev rules to automatically enable swap on /dev/ps3vram
# Initialize and enable swap unconditionally
# Copy this file to /etc/udev/rules.d/10-ps3vram-swap.rules
KERNEL=="ps3vram", ACTION=="add", RUN+="/sbin/mkswap /dev/ps3vram", RUN+="/sbin/swapon -p 10 /dev/ps3vram"
# Choose only one of the rules below


# Initialize and enable swap unconditionally
# Initialize using /etc/fstab and standard init scripts
KERNEL=="ps3vram", ACTION=="add", RUN+="/sbin/mkswap /dev/ps3vram", RUN+="/sbin/swapon -p 10 /dev/ps3vram"
# KERNEL=="ps3vram", ACTION=="add", RUN+="/bin/bash -c '/bin/grep -q ^/dev/ps3vram[[:space:]]*swap /etc/fstab && /sbin/mkswap /dev/ps3vram'"
 
# 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'"
</pre>
</pre>


Fedora is now installed and configured.
Fedora is now installed and configured.




==Fedora 12, faster way==
### Fedora 12 clone installation howto by masterzorag ###
&nbsp;
This is my console-only base Fedora 12 system, with:
Cell SDK 3.1.0.1, OpenCL 0.3, switchable support for 7th spu under opencl or SS;
eth0 static ip 192.168.1.203, ssh server running, minimal.
&nbsp;
assuming here: /dev/ps3dd2 as target root partition, /dev/ps3dd1 as swap
prerequisites: petitboot running, accessible ps3dd, anything more
&nbsp;
0. grab my image at http://www.filefactory.com/file/c3e8221
1. boot petitboot
2. make your root filesystem: mkfs.ext4 -m 0 /dev/ps3dd2
3. make your swap filesystem: mkswap /dev/ps3dd1
4. make your temp mountpoint:  mkdir /FC12
5. mount target partition:         mount /dev/ps3dd2 /FC12
6. untar my image onto:                 tar xjvf FC12.tar.bz2 -C /FC12
&nbsp;
7. boot now Fedora via kexec:
    kexec -l /FC12/boot/vmlinux-2.6.39-gb9133b3-dirty --initrd=/FC12/boot/initramfs-2.6.39-gb9133b3-dirty --append="root=/dev/ps3dd2"
    reboot
&nbsp;
8. Fedora will boots bringing up console login in a flash:
    login as root, password root
&nbsp;
9. Fit your needs about root login, mountpoints, hostname, ip:
    passwd
    nano /etc/fstab
    nano /etc/sysconfig/network
    nano /etc/sysconfig/network-scripts/ifcfg-eth0
    reboot
&nbsp;
On petitboot reboots, /dev/ps3dd2 is mounted on /tmp/petitboot/mnt/ps3dd2, boot via kexec (or add a kboot entry for):
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="root=/dev/ps3dd2"
reboot
===Fixes===
*'''Problem''': You can't use network devices.
*'''Reason''': There is a fixed MAC address in this release that will work only for devices with that particular MAC.
*'''Solution''': Boot this system and then
**Adjust your persistent net rules.
**nano /etc/udev/rules.d/70-persistent-net.rules
**For '''PHAT''': wlan0 and eth0 are one device, so they have same MAC.
**For '''SLIM''': wlan0 and eth0 are two devices, so they have different MACs '''[NOT TESTED]'''
**For '''both''': if you're not using additional network cards, it's okay to remove wlan1 and eth1 entries.
**reboot
*'''Problem''': You are stuck at boot, FC12 can't find root partition.
*'''Reason''': The old udev version installed needs devtmpfs mounted after the kernel decompress at boot to mount root partition.
*'''Solution''': Append a parameter to kexec, e.g.: kexec -l /tmp/petitboot/mnt/ps3dd2/boot/vmlinux-3.2.23 --append="root=/dev/ps3dd2 devtmpfs.mount=1"


==Debian==
==Debian==
Line 638: Line 493:
File /etc/apt/sources.list
File /etc/apt/sources.list
---------------------------
---------------------------
deb http://ports.ubuntu.com/ubuntu-ports/ lucid main restricted
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 619:


===Wireless===
===Wireless===
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]
 
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 [http://wiki.gitbrew.org/wikibrew/PS3:Tools#Dependencies PS3:Tools#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
** sudo cp /usr/src/linux-2.6/arch/powerpc/include/asm/ps3hvc.h /usr/include/asm/
**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: FAT/NAND[http://code.google.com/p/foxbrew/downloads/detail?name=enable_wlan_on_fat.sh] <strike>SLIM/VFlash[http://gititbit.ch/penWL]</strike>. You want this in the same directory ps3hvc-utils is in.
*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 with the latest Linux kernel anymore.
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:


<pre>
ps3_gelic.disable_eurus_ctrl_iface=1
ps3_gelic.disable_eurus_ctrl_iface=1
</pre>


'''Attention: It will work on PS3 PHAT models only.'''
'''Attention: It will work on PS3 PHAT models only.'''


====WiFi with PS3 Slim Models====
* PS3 SLIM models have a totally different WiFi, USB based
* 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.
* Then clone my ps3-jupiter git repository and compile kernel modules: '''ps3_jupiter.ko''' and '''ps3_jupiter_sta.ko'''
* Load both modules, first ps3_jupiter.ko and then ps3_jupiter_sta.ko
* Install wireless-tools and wpa_supplicant
* Configure wpa_supplicant
* Run wpa_supplicant
* '''Currently only STA mode (infrastructure) and WPA/WPA2 are supported'''
'''Useful links:'''
* Debian WiFi HOWTO: [http://wiki.debian.org/WiFi/HowToUse]
* Using wpa_supplicant on Debian/Ubuntu: [http://blog.nelhage.com/2008/08/using-wpa_supplicant-on-debianubuntu/]
'''How to load ps3_jupiter.ko and ps3_jupiter_sta.ko automatically at boot time:'''
* Copy both modules to /lib/modules/`uname -r`/kernel/drivers/net
* Run '''depmod -a''' as root
<pre>
Please report any bugs and problems to me because the driver is still in development and
i would like feedback from you if you want me to continue. Thanks.
</pre>
== SLES ==
CURRENTLY ONLY TESTED ON 3.15OFW
*Boot the SLES 11 SP 1 disc in otherOS
*Highlight the install option and press 'e' to edit the entry
*Edit the image= line so it says:
<pre>
/tmp/petitboot/mnt/sr0/suseboot/linux64.gz
</pre>
*Change the append line to read the following:
<pre>
video=ps3fb:mode:3 quiet sysrq=1 insmod=sym53c8xx insmod=ipr
</pre>
*boot this option
*hit control-c when yast tries to start
*select expert mode, then start shell
*Enable ps3vram swap:
** mkswap /dev/ps3vram; swapon /dev/ps3vram
** if you happen to have any other swap partitions, mount them now
*start the install from DVD and go through it normally.
*Enjoy an actually up-to-date system that's IBM SDK compatible


===Enabling Sound===
===Enabling Sound===
Line 872: Line 677:
====exim4====
====exim4====


*'''Error'''IPv6 socket creation failed: No such file or directory
*'''Error:''' IPv6 socket creation failed: No such file or directory
*'''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 ; ::'
*'''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''': ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size
*'''Error:''' ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size
*'''Solution''': rm -rf /var/log/exim4/paniclog
*'''Solution:''' rm -rf /var/log/exim4/paniclog  


====Kernel====
====Kernel====


*'''Error''': Make error 137 while compiling vmlinux.o
*'''Error:''' Make error 137 while compiling vmlinux.o
*'''Solution''': Activate/make a swap partition
*'''Solution:''' Activate/make a swap partition  




====plymouth====
====plymouth====


*'''Error''': You are receiving this error message as the new udevd in Ubuntu Lucid no longer supports mounting its own /dev mount point.
*'''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:  
<pre>dev /dev tmpfs rw 0 0</pre>
dev /dev tmpfs rw 0 0
*Add noplymouth nosplash to your kernel options in /etc/kboot.conf. Example:
**Add noplymouth nosplash to your kernel options in /etc/kboot.conf. Example:  
<pre>ubuntu=/boot/vmlinux root=/dev/ps3dd1 video=ps3fb:mode:133 noplymouth nosplash</pre>
ubuntu=/boot/vmlinux root=/dev/ps3dd1 video=ps3fb:mode:133 noplymouth nosplash
 
<br />Alternative (when all else fails) : <pre>dpkg --force-depends -P plymouth</pre> See also: https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/556372
 
<pre><tuxuser> fixed the plymouth issue :)
<tuxuser> dhewg, nope :P I first purged plymouth.. then just reinstalled it
<tuxuser> made sure dev /dev mount point is in /etc/fstab, rootdev is first entry and spu is commented out
<tuxuser> now plymouth is actually showing and not throwing errors :)
</pre>
 
====Locales====
*'''Error''': perl: warning: Setting locale failed.
*'''Solution''':
** Edit /etc/locale.gen and uncomment any Locales you want the OS to support.
** Example:
<pre>en_US.UTF-8 UTF-8</pre>
* Re-run dpkg-reconfigure locales (Select packages to install using the spacebar.)
 
*'''Solution 2''':
** Define it yourself
** Example:
<pre>localedef -v -c -i en_US -f UTF-8 en_US.UTF-8 </pre>
 
====Hostname====
*'''Error''': unable to resolve host (none) or something like it.
*'''Solution''':
** Make sure your hostname is set in /etc/hostname and it doesn't have any spaces or symbols.
** Edit /etc/hosts and add your hostname:
<pre>127.0.0.1    my-ps3-hostname</pre>


===Enabling 7th SPU with the latest Linux kernel===
===Enabling 7th SPU with the latest Linux kernel===
Line 942: Line 719:
  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-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]
*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++=
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++.
 
All the freebsd related files should be available here: http://gitbrew.org/~glevand/ps3/freebsd/
 
*freebsd
**config
*** [http://gitbrew.org/~glevand/ps3/freebsd/config/PS3 PS3] // (backup/mirror: [http://www.multiupload.com/4IW63ZH688 PS3 (4.22 KB)])
** kernel-1920x1080
*** [http://gitbrew.org/~glevand/ps3/freebsd/kernel-1920x1080/kernel kernel] // (backup/mirror: [http://www.multiupload.com/CJ71KU2695 kernel (8.25 MB)])
*** [http://gitbrew.org/~glevand/ps3/freebsd/kernel-1920x1080/kernel.symbols kernel.symbols] // (backup/mirror: [http://www.multiupload.com/UT46XYVS35 kernel.symbols (22.56 MB)])
*** [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
*** [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]
**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/ps3_world.tar.gz ps3_world.tar.gz] // (backup/mirror: [http://www.multiupload.com/KESYPE31CG ps3_world.tar.gz (113.92 MB)])
 
 
==Cross-Compiling==
 
You can skip this step and use my precompiled FreeBSD world and kernel:
(World: [http://gitbrew.org/~glevand/ps3/freebsd/ps3_world.tar.gz]) /
(Kernel: 480p[http://gitbrew.org/~glevand/ps3/freebsd/kernel-720x480/]
720p[http://gitbrew.org/~glevand/ps3/freebsd/kernel-1280x720/]
1080p[http://gitbrew.org/~glevand/ps3/freebsd/kernel-1920x1080/]) /
(Loader: 480p[http://gitbrew.org/~glevand/ps3/freebsd/loader/loader-720x480.ps3]
720p[http://gitbrew.org/~glevand/ps3/freebsd/loader/loader-1280x720.ps3]
1080p[http://gitbrew.org/~glevand/ps3/freebsd/loader/loader-1920x1080.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 can build FreeBSD world and kernel on PS3 itself.
 
<pre>
# git clone git://git.gitbrew.org/ps3/ps3freebsd/freebsd.git
# cd freebsd
# make buildworld buildkernel installkernel installworld distribution TARGET=powerpc TARGET_ARCH=powerpc64 KERNCONF=PS3 DESTDIR=$HOME/ps3_world
</pre>
 
When it's finished then you will have a complete FreeBSD world with kernel in directory $HOME/ps3_world.
 
 
'''''Edited 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==
 
If you want to recompile ONLY FreeBSD loader then after you finished compiling FreeBSD world and kernel, do this:
<pre>
# cd freebsd
# make buildenv TARGET=powerpc TARGET_ARCH=powerpc64
# cd sys/boot
# make all install DESTDIR=$HOME/ps3_world
</pre>
 
==Rebuilding Kernel==
 
If you want to recompile ONLY FreeBSD kernel then after you finished compiling FreeBSD world and kernel, do this:
<pre>
# cd freebsd
# make buildkernel TARGET=powerpc TARGET_ARCH=powerpc64 KERNCONF=PS3
# make installkernel TARGET=powerpc TARGET_ARCH=powerpc64 KERNCONF=PS3 DESTDIR=$HOME/ps3_world
</pre>
 
=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:
 
<pre>
# cp /root/loader-1920x1080.ps3 /boot
# cat /etc/kboot.conf
...
...
...
freebsd_loader_hdd=/boot/loader-1920x1080.ps3
...
...
#
</pre>
 
* 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.
 
==/etc/fstab==
 
* Make sure you set root device properly else FreeBSD kernel won't be able to mount it
* You can reuse Linux swap partition on FreeBSD.
 
<pre>
/dev/ps3disk3p3        /      ufs    rw      1 1
/dev/ps3disk3p1        none    swap    sw      0 0
proc                    /proc  procfs  rw      0 0
</pre>
 
==/boot/loader.conf==
 
* You can tell FreeBSD loader which kernel to load at boot time
 
<pre>
autoboot_delay="-1"
kernel="/boot/kernel"
#kernel="/boot/kernel_test"
</pre>
 
==/etc/rc.conf==
 
<pre>
hostname="freebsd-hdd"
 
ifconfig_glc0="SYNCDHCP"    # for DHCP
</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++==
 
Use CUI or
 
boot FreeBSD loader from petitboot manually:
<pre>
# First mount CD if it's not mounted already
 
# kexec -l /mnt/cdrom/boot/loader.ps3 (or loader-720x480.ps3 or loader-1280x720.ps3)
# reboot
</pre>
 
==Installing FreeBSD on HDD from Live CD==
 
installing freebsd 9.0 beta 2 to the hard drive by c4pt
 
step 1 download and burn the freebsd 9.0 beta 2 iso for ppc64 you can get it from here
 
ftp://ftp.freebsd.org/pub/FreeBSD/releases/powerpc/powerpc64/ISO-IMAGES/9.0/FreeBSD-9.0-BETA3-powerpc64-release.iso
 
step 2 remove all your partitions on your internal drive and make the drive gpt
 
boot into petitboot
 
##umount /dev/ps3dd1
##umount /dev/ps3dd2
##umount /dev/ps3dd
 
## using parted will delete any linux partition on ps3dd
 
 
##parted /dev/ps3dd
 
##mklabel GPT
 
##mkpart ext2 1 158000M                  (158000M here is 158G on my drive if you have 320G you would enter 320000M)
 
##p
 
##q
 
##umount /dev/sr0
##mount /dev/sr0 /mnt
 
##cd /mnt/boot
 
##ps3-video-mode -2
##kexec -l loader.ps3
 
##reboot
 
when the freebsd dmesg boots you are going to get to a mountroot> prompt this is normal because freebsd is trying to load
the cd from acd0 which doesnt exist so we have to tell the mountroot> prompt /dev/cd0 which is our sr0 or cdrom drive with the
burned iso on disk
 
##mountroot>cd9660:/dev/cd0 ro      (hit enter here)
 
this will continue to load the freebsd 9.0 beta 2 disc
 
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
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
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
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
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
accordingly and you will be presented with a 3 choice options (installer) (livecd)
 
choose livecd
 
you should drop to a prompt and type
 
shutdown -h now
 
that takes care of the install but now how to boot the install?
 
reboot the ps3 after shutdown -h now is completely done it should say press a key to reboot when it is done
 
go into petitboot or telnet to petitboot whatever you want to do
 
then type
 
##umount /dev/ps3dd
##umount /dev/ps3dd1
 
##ps3-video-mode -m 2
 
##mount -t ufs -o ufstype=ufs2,rw /dev/ps3dd1 /mnt
 
##cd /mnt/boot
##kexec -l loader.ps3
 
##reboot
 
and you should now be in 480p booting the freebsd install from the hard drive
 
 
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
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
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
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
since the partition utility does not work with /usr/sbin/sysinstall
 
##ps3-video-mode -m 2  (sets the screen to 480p for the stock loader.ps3 file)
 
##umount /dev/ps3dd
##umount /dev/ps3dd1
 
##mount -t ufs -o ufstype=ufs2,rw /dev/ps3dd1 /mnt
 
##kexec -l /mnt/boot/loader.ps3
 
##reboot
 
=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]
 
----
=FreeBSD Development=
Crossreference: [http://portal.gitbrew.org/wikibrew/PS3:FreeBSD_Development gitbrew.org::FreeBSD Development] <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 :('''
 
Till now '''0''' applications :( Date: 09/20/2011
 
==TODO List==
 
* VUART support in bootloader
* VUART support in kernel ('''work in progress''')
* System Manager, AV and Dispatcher Manager support in kernel ('''work in progress''')
* UDF support for BD movies
* RSX driver
* Sound driver
* Use CAM framework for HDD driver like in Blu-Ray driver
* FLASH/VFLASH drivers ('''work in progress''')
* WiFi driver ('''work in progress''')
 
==VUART (Bootloader)==
 
* Should be very simple
* Implement common '''ps3vuart''' interface which can be used by VUART port drivers
* Implement AV VUART only for now in order to be able to read screen size
 
==VUART (Kernel)==
 
* What existing kernel framework to use or create a new one ??? Maybe UART framework. '''UART framework is NOT suitable !!!'''
* Implement '''ps3vuart_bus.c''' module which handles VUART interrupts and distributes events to VUART port drivers. '''ps3vuart_bus''' should be the child of '''nexus'''.
* Each VUART port is a child of '''ps3vuart_bus''' module.
* Use '''siis''' driver as an example how to implement device children.
* http://fxr.watson.org/fxr/source/dev/siis/siis.c
* VUART port drivers for: '''System Manager''', '''AV''' and '''Dispatcher Manager'''
* 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 ?
* Provide IOCTL interface for all VUART ports
 
==WLAN==
 
* Kernel modules: '''if_jpt.c''', '''jpt_sta.c''' and '''jpt_ap.c'''.
* Use WLAN driver '''an''' as an example how to implement WLAN drivers which handle 802.11 protocol internally.
* http://fxr.watson.org/fxr/source/dev/an/if_an.c
* http://fxr.watson.org/fxr/source/net/if_tap.c
* IOCTLs for scanning: '''IEEE80211_IOC_SCAN_REQ''' and '''IEEE80211_IOC_SCAN_RESULTS'''
 
==RSX==
 
* 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.
* FreeBSD DRM framework supports PCI devices only currently :-( Platform devices are NOT supported by FreeBSD's DRM framework.
* 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''').
 
===DRM Device File===
 
* On FreeBSD, it's '''cdev'''.
* '''si_drv1''' points to '''struct drm_device'''
 
===Memory===
 
* 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)
* Implement memory heap managers
* 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.
* http://fxr.watson.org/fxr/source/dev/drm/radeon_mem.c
* Radeon driver supports memory types: VRAM and GART
* Nouveau driver supports memory types: VRAM, GART and CPU
* '''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.
* http://fxr.watson.org/fxr/source/dev/drm/drm_vm.c
* '''drmMap''' just calls mmap syscall and passes map handle as offset.
* Interesting discussion about DRM map handles: http://comments.gmane.org/gmane.comp.video.dri.devel/19657
* FreeBSD DRM framework uses '''alloc_unr''' to allocate unique map handles
 
==FLASH/VFLASH==
 
* Use CAM framework to implement flash drivers, it has more advantages over block device drivers
* The drivers are very similar to CDROM driver but they should handle ATA IO commands and SCSI like ps3cdrom driver
* Kernel modules: '''ps3flash''' for FLASH/VFLASH and '''ps3nflash''' for NOR flash only
 
==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]
* FreeBSD Device Drivers: [http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/driverbasics-char.html]
* FreeBSD Kernel Modules: [http://bsddev.blogspot.com/2007/11/modulekernel-parameters.html] [http://markmail.org/message/jkw6i57otb4zyjrs]
* NEWBUS Intro: [http://beefchunk.com/documentation/sys-programming/os-freebsd/newbus-intro.html]
* 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/]
* NVIDIA Kernel Interface: [http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html]
 
----
 
= Cellminer =
 
== Auto Installer ==
'''Debian:  '''
http://git.gitbrew.org/~stackable/script/cellminer-run-ONCE-to-install.sh
 
== Git repository ==
https://github.com/verement/cellminer
 
 
----
 
 
= PS3:Tools =
 
==General==
To ease compilation and finding libraries (which will prevent you from having to edit every Makefile):
*sudo ln -s /usr/src/linux-2.6/include/* /usr/local/include/
 
==Development==
===Dependencies===
Almost all tools require '''git make libc libc-dev libc6-dev-ppc64'''
* sudo apt-get install git make libc libc-dev libc6-dev-ppc64
 
For Debian Squeeze (and possibly other Distros as well?)
* sudo apt-get install git make libc6 libc6-dev libc6-dev-ppc64 libX11-dev
 
===python===
*aptitude install python python-pytools
**this installs python and pyopencl
 
==Enable RSX RAM as SWAP==
* sudo su -
* swapon -s
** '''Check current SWAP'''
* mkswap /dev/ps3vram
* swapon /dev/ps3vram
* vim /etc/udev/rules.d/10-ps3vram-swap.rules
<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"
</pre>
* reboot
* sudo swapon -s
** '''Verify additional SWAP space'''
 
==Notes==
Higher priority means the system will use that SWAP sooner than lower priority SWAP.  You '''want''' RSX RAM to have highest priority.
 
 
 
=OpenSSL for ppc64=
Check and make sure you're getting the latest source of OpenSSL[http://www.openssl.org/source/]
 
==Installation==
* wget http://www.openssl.org/source/openssl-1.0.0d.tar.gz
* tar -xvzf openssl*.tar.gz
* cd openssl*
* vim Makefile  '''or''' see 'General' section
** You need to add this option to the end of the CFLAGS option list: '''-I/usr/src/linux-2.6/include'''
* ./Configure linux-ppc64
* make
* make test
* sudo make install
 
===Notes===
*Modification of header files is needed for non-current kernels.
 
 
 
=ps3dm-utils=
==Dependencies==
* [[OtherOS%2B%2B#Dependencies]]
* [[OtherOS%2B%2B#OpenSSL for ppc64]]
 
==Installation==
* git clone git://git.gitbrew.org/ps3/ps3linux/ps3dm-utils.git
* cd ps3dm-utils/
* sudo cp /usr/src/linux-2.6/arch/powerpc/include/asm/ps3dmproxy.h /usr/include/asm/
* vim Makefile
** Append -L '''/usr/local/ssl/include -L /usr/local/ssl/lib -ldl''' to the end of LDFLAGS
* make
 
'''Attention: With the latest version of ps3dm-utils you don't need OpenSSL anymore !!!'''
 
===Notes===
*ps3dm-utils requires DEVICE to get information from.  Normally, '''/dev/ps3dmproxy''' is used.
**If /dev/ps3dmproxy does not exist: '''sudo modprobe ps3dmproxy'''
 
 
 
=IBM Cell SDK 3.1=
This works only on Debian & Ubuntu on PS3
All Tools need download form [http://www.multiupload.com/T6IFLL5SGD ibmsdk31.tar.gz]
 
==Installation==
<pre>
wget -r -H -A.tar.gz http://www.multiupload.com/T6IFLL5SGD
mv */*/*/ibmsdk31.tar.gz ./
rm *multiupload.com* -rf
tar -xvzf ibmsdk31.tar.gz
cd deb/
dpkg -i openrpm/*.deb
dpkg -i devel/*.deb
dpkg -i extra/*.deb
</pre>
 
Some of these packages have a newer version, You may want to hold (keep back) these packages:
 
<pre>
echo ppu-gcc hold | sudo dpkg --set-selections
echo spu-gcc hold | sudo dpkg --set-selections
</pre>
 
==Java 6 IBM==
Download from: https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=swg-sdk6&S_PKG=ipseries64_6sr9fp2&S_TACT=105AGX05&S_CMP=JDK
 
<pre>
mkdir /opt/ibm/java-ppc64-60/
cd /opt/ibm/java-ppc64-60/
</pre>
Put '''ibm-java-sdk-6.0-5.0-linux-ppc64.tgz''' in '''/opt/ibm/java-ppc64-60/'''
<pre>
tar -zxvf ibm-java-sdk-6.0-5.0-linux-ppc64.tgz
chcon -R -t texrel_shlib_t /opt/ibm/java-ppc64-60/jre
chcon -R -t texrel_shlib_t /opt/ibm/java-ppc64-60/bin
chcon -R -t texrel_shlib_t /opt/ibm/java-ppc64-60/lib
</pre>
 
 
 
=ps3mfw=
==Dependencies==
*TCL 8.5
** wget http://prdownloads.sourceforge.net/tcl/tcl8.5.9-src.tar.gz
** tar -xvzf tcl*
** cd tcl*
** cd unix
** vim Makefile  '''or''' see 'General' section
*** You need to add this option to the end of the CFLAGS option list: '''-I/usr/src/linux-2.6/include'''
** ./configure && make && sudo make install
 
*TK 8.5
** wget http://prdownloads.sourceforge.net/tcl/tk8.5.9-src.tar.gz
** tar -xvzf tk8.5*
** cd tk8.5
** cd unix
** ./configure && make && sudo make install
 
==Installation==
<span style="color:#FF0000">'''Read up on any notes on any experimental options/tasks you shouldn't be using.  Ask in #otheros if you are unsure.'''</span>
 
* git clone git://git.gitbrew.org/ps3/ps3mfw/ps3mfw.git
* cd ps3mfw/
* rm -rf tasks
* git clone git://git.gitbrew.org/ps3/ps3mfw/tasks.git
 
You should be able to run the program with '''./ps3mfw --gui "false"'''
 
 
 
{{Linux}}<noinclude>[[Category:Main]]</noinclude>
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)