• PS3 Hacks, PS3 Linux , 07.07.2011

    For those following the developments of Red Ribbon Linux, an online repo is now available so you no longer have to install a new distro for each update.

    r04drunner has posted on his blog the following instructions:

    Now you can upgrade the Red Ribbon installation from the online official repository. You don’t need to reinstall the distribution again with every new CD published.

    This update is only for the RC 4 or lower, It will be included on the next release of the LiveCD. The changes are detailed at the project wiki, on Change Log section.

    You need connect the PS3 to internet, open a lxterminal and download the file:

    wget http://redribbon.sourceforge.net/downloads/online-update-2011-07-05.sh

    Then, you can execute it:

    sudo sh online-update-2011-07-05.sh

    And wait until finished.

    If while executing it asks:

    You are running a kernel (version 2.6.38-powerpc64) and attempting to remove the same version. This is a potentially disastrous action. Not only will /boot/vmlinuz-2.6.38-powerpc64 be removed, making it impossible to boot it, (you will have to take action to change your boot loader to boot a new kernel), it will also remove all modules under the directory /lib/modules/2.6.38-powerpc64. Just having a copy of the kernel image is not enough, you will have to replace the modules too.

    I repeat, this is very dangerous. If at all in doubt, answer Yes. If you know exactly what you are doing, and are prepared to hose your system, then answer No.

    Do you want to abort removal now?

    You must answer NO.

    Thanks to tenshou for news tip!

    Stay tuned to more PS3 scene updates from PS3Hax, your fastest PS3 news source.

    Tags: , , , ,

    Discuss in Forums (11)


  • 11 Comments

    1. darkpower_4
      07-07-2011
      05:46 PM
      1

      Whats so great about this version of linux for ps3? does it have better GPU access by having a betting GPU driver made? First!!!!!!

    2. OoZic
      07-07-2011
      06:02 PM
      2

      Nice, thanks for the updated info Pirate, updating right now as we speak
      ************* [ - Post Merged - ] *************

      Originally Posted by darkpower_4
      Whats so great about this version of linux for ps3? does it have better GPU access by having a betting GPU driver made? First!!!!!!
      No, it is "just" a smaller distro, the PS3 has a very powerful processor but is limited in its memory. Using small distro's leaves more system memory

      Big point is this distro does everything automatically. New users don't have to mess with mounting the RSX memory to Swap for example. Not that I have troubles with that in any way, but implanting all that stuff makes the distro a special one. also all normal distro's are based on the standard PPC kernel, this one has graf his kernel implanted

    3. 100ways
      07-08-2011
      02:09 AM
      3

      Does anyone have a decent walkthrough for installing linux on a ps3 I have been away from the ps3 scene for about 7 months now and I am kind of lost on what needs to be done...

    4. OoZic
      07-08-2011
      03:04 AM
      4

      Originally Posted by 100ways
      Does anyone have a decent walkthrough for installing linux on a ps3 I have been away from the ps3 scene for about 7 months now and I am kind of lost on what needs to be done...
      http://wiki.gitbrew.org/index.php/PS..._PS3_models.29

      Step 1 replace latest CFW with Rebug OtherOS++
      Step 3: will be 22Gb, not half of the HD.
      Step 12: It says "see", so you can only look if the ps3dd region is there. Only after partitioning and creating filesystem (next steps) it will be accessible.

      Once partitioning and creating filesystem is done on the ps3dd region you can install any distro you want.

      Red Ribbon RC4 partitions ps3dd and creates filesystem while installing. you don't have to do it manually.

      Good luck

    5. OoZic
      07-08-2011
      05:11 AM
      5

      For people who have the problem their keyboard settings are Spanish, this is what you have to do in lxterminal:

      sudo dpkg-reconfigure keyboard-configuration

      follow and configure all steps and use USA settings for normal qwerty keyboard settings, or the keyboard you want. At one point you see a list for Spanish keyboards and only the "�ther" choice. Follow the "Other" choice and select the right keyboard and finish the rest of the steps.
      after reboot you have the normal keys

      PS, you have to use the "?" character on a normal USA qwerty keyboard to get the "-" needed for the sudo command above
      Otherwise test in Leafpad which key holds the "-" sign.

      compliments for the rest for the Red Ribbon team, they are doing a very fine job.

    6. ps3hacker12
      07-08-2011
      11:31 AM
      6

      Originally Posted by OoZic
      Nice, thanks for the updated info Pirate, updating right now as we speak
      ************* [ - Post Merged - ] *************


      No, it is "just" a smaller distro, the PS3 has a very powerful processor but is limited in its memory. Using small distro's leaves more system memory

      Big point is this distro does everything automatically. New users don't have to mess with mounting the RSX memory to Swap for example. Not that I have troubles with that in any way, but implanting all that stuff makes the distro a special one. also all normal distro's are based on the standard PPC kernel, this one has graf his kernel implanted
      Common misconception, the processor in the Ps3 pales in comparison to even the athlon regor series.... And the RSX is comparable to the ATI 3550 or so, it's the efficient 'southbridge' (well it's a southbridge equivalent for the ps3) that allows it to even efficiently handle data. I take my hats off to the game devs, and their efficient usage of console hardware. (I guess the PS3 can't really be compared to a normal PC , please don't take offense it just pains me to see people say that the 360 or the PS3 are powerful systems.

    7. OoZic
      07-08-2011
      01:51 PM
      7

      Originally Posted by ps3hacker12
      Common misconception, the processor in the Ps3 pales in comparison to even the athlon regor series.... And the RSX is comparable to the ATI 3550 or so, it's the efficient 'southbridge' (well it's a southbridge equivalent for the ps3) that allows it to even efficiently handle data. I take my hats off to the game devs, and their efficient usage of console hardware. (I guess the PS3 can't really be compared to a normal PC , please don't take offense it just pains me to see people say that the 360 or the PS3 are powerful systems.
      You are comparing a duo core cisc processor from end 2009 to a 8 core risk processor from 2005? Now that makes sense
      And for compatibility the PS3's PPC clock speed can't be changed. the development for PPC is much further now compared to 2005. The 3200 Mhz is actually a little slow, before they started using it in the PS3 they clocked it at 5000 Mhz Only for heat problems in the small console they cut it down to 3200 Mhz.

      And we don't say the PS3 is a powerful system, we say it is a powerful console

      It isn't for nothing the USA army recently (december 2010) bought about 2000 PS3's to build a supercomputer. If they could have done it with cheap Athlon Regor processors they would have done it. With Ahtlon Regor processors they need about 4X as much computers to get the same and it would cost them 10X as much
      http://hothardware.com/News/New-PS3-...-Fully-Online/

    8. euss
      07-08-2011
      02:05 PM
      8

      Because the Wiki seems to be offline fluctuating:


      Firmwares

      PS3 Dual Boot GameOS/Linux CFW 3.41
      PS3 Dual Boot GameOS/Linux CFW 3.55
      PS3 Dual Boot GameOS/Linux CFW 3.55 22GB
      PS3 Dual Boot GameOS/Linux CFW 3.55 SPECIAL

      Packages

      install_otheros.pkg
      boot_gameos.pkg
      boot_otheros.pkg
      reboot.pkg
      dump_flash_ptab.pkg
      get_token_seed.pkg
      qa_flag.pkg
      qa_flag_extra.pkg

      Petitboot Images

      dtbImage.ps3.bin
      dtbImage.ps3.bin.minimal

      Scripts

      initimg.sh
      clone.sh - clones all repos from git.gitbrew.org/ps3/
      create_hdd_region.sh- create hdd region
      kboot.conf - kboot.conf to go in your linux /etc/
      hdd_access.sh - hdd access.sh
      restore_vflash.sh - restore_vflash.sh
      enable_wlan_on_fat.sh - enable_wlan_on_fat.sh
      is_vflash_on.sh

      PS3 Kernels

      PS3 Linux Kernel 060411 - PS3 Linux Kernel 06/04/11

      Features

      Into HV integrated OtherOS bootloader loader (compatible with OtherOS bootloader on 3.15)
      OtherOS bootloader is booted directly from HV, no GameOS is involved.
      Process of booting OtherOS bootloader loader is very similar to 3.15 method
      Booting Linux from HDD/USB/BD/Network
      Linux with GameOS rights
      Full access to all HV SS services (Dispatcher Manager) from GameOS or Linux
      Full access to all System Manager services
      Ability to create/modify/remove repository nodes in LPAR 1 (e.g. with ps3dm-utils or ps3hvc-utils).
      This ability gives you much power over the whole system because many layers of PS3 use repository nodes to exchange information.
      Enabled QA mode in Update Manager
      Downgrading without USB dongle or Service Mode
      Ability to deactivate/activate HDD/VFLASH encryption (e.g. with ps3stor-utils)
      Support for ps3-utils. You can flash new OtherOS bootloader from Linux e.g.


      How-To

      Referenced from http://www.gitbrew.org/otheros/
      PS3 Models

      * PS3 Fat:
      *CECHA = 256MB
      *CECHB = 256MB
      *CECHC = 256MB
      *CECHE = 256MB
      *CECHG = 256MB
      *CECHH = 16MB
      *CECHJ = 16MB
      *CECHK = 16MB
      *CECHL = 16MB
      *CECHM = 16MB
      *CECHP = 16MB
      *CECHQ = 16MB

      * PS3 Slim:
      *CECH-20..A = 16MB
      *CECH-20..B = 16MB
      *CECH-21..A = 16MB
      *CECH-21..B = 16MB
      *CECH-250.A = 16MB
      *CECH-250.B = 16MB
      *CECH-250.A = 16MB
      *CECH-250.B = 16MB
      *CECH-251.A = 16MB
      *CECH-251.B = 16MB

      256MB = Nand, 16 = Nor. Follow Accordingly
      Install OtherOS on HDD (for all PS3 models)

      All tools are here: http://173.220.0.157/~glevand/public/ps3/

      NOTICE: All my tools should beep. If you don't get beep during one of the steps below
      then stop doing anything and contact me. I will help.
      OtherOS++ support: irc.gitbrew.org (ssl) #otheros

      ALL PS3 MODELS ARE SUPPORTED !!!

      1. Install my latest CFW http://gititbit.ch/341 http://gititbit.ch/355
      2. When installation is finished, go to recovery menu and choose "Restore PS3 System"
      3. Now your GameOS should use only the half of your HDD
      (Currently working on a better approach)
      4. Run setup_flash_for_otheros.pkg (for all PS3 models)
      5. Reboot (It's important to shut down and turn on your PS3)
      6. Store dtbImage.ps3.bin on USB drive, plug it in and run install_otheros.pkg
      (NAND owners should use dtbImage.ps3.bin.minimal, rename it to dtbImage.ps3.bin).
      Try different USB ports if you don't get any beeps.
      7. Run boot_otheros.pkg
      8. Run reboot.pkg
      9. You should be in petitboot now.
      Exit from CUI to shell or switch to another virtual console.
      10. Run script create_hdd_region.sh
      11. Reboot and boot petitboot again
      12. You should see now new HDD device on petitboot, /dev/ps3dd.
      That's your OtherOS HDD region.
      Don't touch any other HDD regions if you don't know what you are doing. Use only ps3dd
      device for your Linux installation. Use parted to partition it and create GPT partition
      table on ps3dd. GPT is supported by both, Linux and FreeBSD.

      Be warned, if you damage your GameOS HDD region, GameOS will reformat HDD and
      remove your Linux HDD region in the process. You have to do the above steps again.
      Don't mess with GameOS HDD region and GameOS won't mess with your OtherOS HDD region.

      For users who installed OtherOS on VFLASH region 7 previously
      --------------------------------------------------------------

      You have to restore your VFLASH before doing the above steps.
      Be warned, this step is NOT for NAND owners.

      1. Install my latest petitboot
      2. Boot petitboot
      3. Run script restore_vflash.sh
      4. Reboot. GameOS should reformat your HDD again.

      Partition the PS3 Drive

      1. parted /dev/ps3dd
      2. mklabel gpt
      3. mkpart primary 0 2GB
      4. print
      5. mkpart primary 2GB (the rest of the hard drive here.)
      6. quit.


      You may now continue to Install Linux

    9. ps3hacker12
      07-08-2011
      06:40 PM
      9

      Originally Posted by OoZic
      You are comparing a duo core cisc processor from end 2009 to a 8 core risk processor from 2005? Now that makes sense
      And for compatibility the PS3's PPC clock speed can't be changed. the development for PPC is much further now compared to 2005. The 3200 Mhz is actually a little slow, before they started using it in the PS3 they clocked it at 5000 Mhz Only for heat problems in the small console they cut it down to 3200 Mhz.

      And we don't say the PS3 is a powerful system, we say it is a powerful console

      It isn't for nothing the USA army recently (december 2010) bought about 2000 PS3's to build a supercomputer. If they could have done it with cheap Athlon Regor processors they would have done it. With Ahtlon Regor processors they need about 4X as much computers to get the same and it would cost them 10X as much
      http://hothardware.com/News/New-PS3-...-Fully-Online/
      SPEs don't count as cores SPEs=/= cores. I just gave the regor as an example, consoles use old technology even for their time, eg the new WIi U is going to be using a graphics card 2 generations (by the time it is released 3 generations!) old. The reason for the sales of the systems for use in parallel as supercomputers is because Sony was selling the PS3s at a price at which they weren't making a profit (they were through game sales and PSn sales, but the not console sales in order to compete with the 360 and WIi pricing) hence the rise in use as supercomputers. As I said before it's not the processing power that makes the system able to handle data it's the efficient architecture, (same reason why sandy bridge (dual core up to octathreaded (4c/8t)) beats even the (6-core) thuban series).

    10. OoZic
      07-09-2011
      02:33 AM
      10

      Originally Posted by ps3hacker12
      SPEs don't count as cores SPEs=/= cores. I just gave the regor as an example, consoles use old technology even for their time, eg the new WIi U is going to be using a graphics card 2 generations (by the time it is released 3 generations!) old. The reason for the sales of the systems for use in parallel as supercomputers is because Sony was selling the PS3s at a price at which they weren't making a profit (they were through game sales and PSn sales, but the not console sales in order to compete with the 360 and WIi pricing) hence the rise in use as supercomputers. As I said before it's not the processing power that makes the system able to handle data it's the efficient architecture, (same reason why sandy bridge (dual core up to octathreaded (4c/8t)) beats even the (6-core) thuban series).
      The SPE's are sub-cores actually but I didn't (and don't) want to point that out here. To keep it simple I call it cores.

      The PS3's PowerPC processor was state of the art with the introduction of the PS3. You can't seriously say it was old technology. The RSX was actually (nvidia 7800) but I think only because Sony didn't want to give us CUDA support or CUDA made it more expensive.

      About the efficient architecture you are completely correct, all I say is the Cell Risc processor technology with a small instruction set is the main reason it is so efficient. No Cisc processor can do that.

      quote from the supercomputer page:
      Digital image processing has always been one of the PS3's greatest strengths, some of Sony's original demonstrations back in 2005-2006 focused on the Cell processor's ability to crunch simultaneous video streams.
      quote from the Freescale page:
      Power Architecture technology addresses a wide range of implementations from revolutionary communication processors to highly integrated embedded microcontrollers. Freescale's Power Architecture products deliver breakthrough performance, connectivity and integration for embedded networking, telecom, aerospace, defense and industrial computing applications. Power Architecture technology is behind millions of innovative products, including the world's fastest supercomputers with every phone call, email and web page touching hundreds of Power Architecture systems.
      http://www.freescale.com/webapp/sps/...sp?code=PCPPCP
      (Freescale Semiconductors = Motorola)

      But maybe you noticed I am a Commodore Amiga Fan from the very beginning and always liked the 68K range and PowerPC Risc processors a lot better than the Cisc processors. The Motorola 68K range in combination with custom chipset gave the Amiga the fabulous multitasking

      To correct sony's slogan: "PowerPC, it only does everything... better"

      And I do own an Intel i7 (first generation) computer with GTX260 and Creative X-fi, it is very fast but I still enjoy a PowerPC system better. If Apple would have stayed with the PowerPC I would have bought Apple in stead of MSI

    11. ps3hacker12
      07-09-2011
      04:30 AM
      11

      Originally Posted by OoZic
      The SPE's are sub-cores actually but I didn't (and don't) want to point that out here. To keep it simple I call it cores.

      The PS3's PowerPC processor was state of the art with the introduction of the PS3. You can't seriously say it was old technology. The RSX was actually (nvidia 7800) but I think only because Sony didn't want to give us CUDA support or CUDA made it more expensive.

      About the efficient architecture you are completely correct, all I say is the Cell Risc processor technology with a small instruction set is the main reason it is so efficient. No Cisc processor can do that.

      quote from the supercomputer page:


      quote from the Freescale page:

      http://www.freescale.com/webapp/sps/...sp?code=PCPPCP
      (Freescale Semiconductors = Motorola)

      But maybe you noticed I am a Commodore Amiga Fan from the very beginning and always liked the 68K range and PowerPC Risc processors a lot better than the Cisc processors. The Motorola 68K range in combination with custom chipset gave the Amiga the fabulous multitasking

      To correct sony's slogan: "PowerPC, it only does everything... better"

      And I do own an Intel i7 (first generation) computer with GTX260 and Creative X-fi, it is very fast but I still enjoy a PowerPC system better. If Apple would have stayed with the PowerPC I would have bought Apple in stead of MSI
      nice, im a second gen 2500K guy but the first gen i7s are still good, although i run a GTS450, because i dont game as much on my PC :P , even though i almost detest Apples overpriced-mac series, i still run hackintosh on my PC multibooted, with windows 7, windows xp and ubuntu (although i removed Ubuntu coz i don't like it).