• Homebrew, PS3 Hacks , 20.10.2010

    AerialX has released a lightweight Open source SDK for the PS3, to help those of us wanting to compile PS3 app’s, here is a quote from the read me:

    PSL1GHT
    PSL1GHT is a lightweight PlayStation 3 homebrew SDK, provided as a temporary way to compile user apps to run from the XMB using the open-source PS3 toolchains available.

    Environment
    A GCC toolchain that supports the PowerPC 64bit architecture is required to build PSL1GHT and its samples. This is the only toolchain that I test with and can guarantee support for. PS3Chain probably works just as well, as should marcan’s AsbestOS toolchain. Some toolchains will probably already use newlib, and will make the included newlib unnecessary.

    Building
    Run make install in the psl1ght directory to build it all, and make sure to set the environment variable $PSL1GHT to the folder where you wish to install it to, for example…

    cd /path/to/psl1ght.git
    export PSL1GHT=/path/to/psl1ght.git/build
    make
    make install

    … for a local build of it. Ensure that $PSL1GHT is set when you are building any of the examples or other apps that use PSL1GHT.

    Status
    At the moment, PSL1GHT has basic libc support, with stdout debugging, file access, etc. You can call lv2 syscalls and do some fun stuff with that, but it doesn’t link to PS3 dynamic libraries yet which is where all the exciting functionality comes in. Also, a make_fself equivalent is still missing.

    Download
    AerialX’s Twitter

    Tags: , , , ,

    Discuss in Forums (24)


  • 24 Comments

    1. zubbare
      10-20-2010
      06:38 AM
      1

      Good Work!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    2. antreas16596
      10-20-2010
      06:47 AM
      2

      how it os work? with jailbreak

    3. samson
      10-20-2010
      06:49 AM
      3

      yay , now it starts with an almighty bang .. anyone want to make a vm and upload so the newbs (me included) can get started building there own apps in a legal way, i am also guessing this will be on a linux OS as it mentioned AsbestOS.. lol now that would be mud in $onys eye .. building ps3 apps on the ps3 rebooting and installing them on the same ps3..

      @ greg, can we have links for ooPo's open source toolchain in the first post

      as i said already be a whole lot more user friendly to just d/l and use a vm with everything already set up.

      Originally Posted by antreas16596
      how it os work? with jailbreak
      lol , maybe soon

    4. dragonhh
      10-20-2010
      06:50 AM
      4

      hope someone compile chrome or firefox browser

    5. GregoryRasputin
      10-20-2010
      07:07 AM
      5

      Originally Posted by samson
      @ greg, can we have links for ooPo's open source toolchain in the first post
      Done .....

    6. tcmkenny
      10-20-2010
      07:21 AM
      6

      Nice

    7. thefoolnz
      10-20-2010
      08:45 AM
      7

      good effort

    8. ZanderCross
      10-20-2010
      09:11 AM
      8

      Yay now we can have legal files that can actually be linked to in the news posts! :D Great job guys!

    9. advocatusdiaboli
      10-20-2010
      10:13 AM
      9

      This is some nice stuff, but it’s just a toolchain, there are no real platform relevant libraries yet. Such as gskit for the PS2.

    10. noob2009
      10-20-2010
      10:24 AM
      10

      pretty good work for a noob. Keep it up!

    11. ZanderCross
      10-20-2010
      10:27 AM
      11

      Originally Posted by advocatusdiaboli
      This is some nice stuff, but its just a toolchain, there are no real platform relevant libraries yet. Such as gskit for the PS2.
      Is it not possible to use existing programming libraries? I mean for use with like through C++ or Visual Basic? I took a programming class on VB a long while back, but don't remember much on it so this may seem like a noob question, but I thought with the right combo of programming libraries couldn't you get multiple combos of libraries working on PS3? I'm asking cause I don't know! lol

    12. advocatusdiaboli
      10-20-2010
      11:39 AM
      12

      Ehh, there are no platform relevant libraries without a license yet, there is only the official PS3SDK as far as I know.

      But this is very nice! Are there any tools that would be handy to have on the PS3? like registry editor? It would require

      opening of file
      editing of file w/USB HID keyboard
      saving of file

      So perhaps a text editor similar to fraise.app would be good?
      ************* [ - Post Merged - ] *************




      Well, I tried to compile PSL1GHT and got an error: http://pastie.org/private/gulmnsiwrwvqnrptvf6hfg

    13. ZanderCross
      10-20-2010
      12:10 PM
      13

      Originally Posted by advocatusdiaboli
      Ehh, there are no platform relevant libraries without a license yet, there is only the official PS3SDK as far as I know.
      Ok poo... just wondered! Thanks for the info. :D

    14. BobbyBlunt
      10-20-2010
      01:29 PM
      14

      This is nice. This should be useful to all the people claiming to be waiting for an open source sdk

    15. lernatix
      10-20-2010
      02:28 PM
      15

      Will pay $$$ for the first Minecraft port. :D :D :D

    16. DrWho198
      10-20-2010
      03:13 PM
      16

      Hopefully this SDK will grow out of his Lite version.
      It's a good start.

      thankx AerialX, just what we needed.

    17. BaptX
      10-20-2010
      03:35 PM
      17

      Hi, in my mind one of the most interesting app that should be created for ps3 is a Multi-Region Unlock for Blu-ray Discs. What do you think about that?

    18. advocatusdiaboli
      10-20-2010
      04:07 PM
      18

      Originally Posted by BaptX
      Hi, in my mind one of the most interesting app that should be created for ps3 is a Multi-Region Unlock for Blu-ray Discs. What do you think about that?
      What would be interesting about RPC-1? Why would you even bother? Only movies are region stigmatized.
      ************* [ - Post Merged - ] *************
      Originally Posted by BobbyBlunt
      This is nice. This should be useful to all the people claiming to be waiting for an open source sdk
      Yes, this is a nice piece of a sandbox, and the starting point for an open source SDK.

    19. samson
      10-21-2010
      04:11 AM
      19

      update.. he's got the first app working, kammy.

      Kammy is now the first PSL1GHT app! Check out the readme for a cool way to debug PSL1GHT apps over ethernet:
      i found a .self if you wanna check out kammy now with the .self launcher
      http://github.com/downloads/AerialX/...bugLoader.self

      tweet
      http://twitter.com/AerialX

      github
      http://github.com/AerialX/Kammy

      looks to be able to debug homebrew built with the PSL1GHT over ethernet..
      layman's terms:
      its so your ps3 can 'talk/output' to your pc while running homebrew.

      anyone got the PSL1GHT SDK working yet???

      EDIT:
      if anyone wants to try and build a vm like me.

      i found a fedora 9 vm ready for d/l
      http://sourceforge.net/projects/thou...use_mirror=ovh

      also some handy pdf doc's on the installing cell sdk on fedora 9
      https://code.google.com/p/fedora-cel...downloads/list

    20. samson
      11-06-2010
      08:12 PM
      20

      i have been following this tutorial


      First of all we need to set our PS3 dev directory and some system variables, as well as all software needed to build our toolchain.
      This guide is written for user with Ubuntu 10.10 32bit, but also other Linux distribution are supported, I think.
      Lets start from software needed to build the toolchain:
      Code:
      sudo apt-get install autoconf automake bison flex gcc make wget
      git libppl0.10-dev libcloog-ppl-dev libelf-dev
      libncurses5-dev texinfo build-essentialpython zlib1g-dev
      Ive set my PS3 dev directory to ~/dev/ps3
      Code:
      mkdir -p ~/dev/ps3
      i managed to do this fine but i am stuck on

      Add these lines at the end of ~/.bashrc for setting needed system variables
      Code:
      export PS3DEV=$HOME/dev/ps3
      export PATH=$PATH:$PS3DEV/bin:$PS3DEV/ppu/bin:$PS3DEV/spu/bin
      Update bashrc for apply changes:
      Code:
      . .bashrc
      how do i add the lines to ~/.bashrc ?

      please someone help me

    21. $n!pR
      11-07-2010
      02:24 PM
      21

      Originally Posted by samson
      i have been following this tutorial


      i managed to do this fine but i am stuck on

      how do i add the lines to ~/.bashrc ?

      please someone help me
      sudo nano ~/.bashrc

      CTRL + O to save.

    22. samson
      11-07-2010
      03:39 PM
      22

      thank you so much $n!pR i owe you one i am on to building ps3chain hopefully if all go's well i will upload somewhere (torrent on isohunt as i dont want to split) so anyone interested can download a 5gb mini ubuntu vm and be ps3 legal.

      i would like to add the appbrowser & wbar from tinycore if anybody knows how.

      EDIT:

      i got errors on building the toolchain & psl1ght but everything looks ok so i continued on to the ooPo's libraries and only got one error so i tried a few samples and they do not build.

      Makefile:3 *** "PSL1GHT must be set in the environment." Stop.
      if any linux ninjas out there want to have a go or tell me where i have gone wrong, as i am poo at linux ... its been proven , but you cant say i've not tried.

    23. NZHawk
      11-08-2010
      04:27 PM
      23

      You need to add another environmental variable 'PSL1GHT':
      Add this to the end of the bashrc file.

      export PSL1GHT=$PS3DEV/PSL1GHT/psl1ght/build

      If you need any more help with psl1ght, just ask as I'm willing to help anyone who's having prob with it.

    24. samson
      11-09-2010
      03:25 PM
      24

      Originally Posted by NZHawk
      You need to add another environmental variable 'PSL1GHT':
      Add this to the end of the bashrc file.

      export PSL1GHT=$PS3DEV/PSL1GHT/psl1ght/build

      If you need any more help with psl1ght, just ask as I'm willing to help anyone who's having prob with it.
      I did that , i am going to give it another try from scratch, the thing is i am not stupid and i can follow tutorials but after following every step closely i am still getting errors on building the toolchain and psl1ght so just a couple of questions.

      1. is it normal to get errors (toolchain, psl1ght), i think it could be the mini ubuntu 32 iso , following this install tutorial?

      2. can i put fluxbox, @ boot , emelfm2(file) dillo2(web) bash(cmd) and have them on wbar?

      EDIT:

      tried repeating everything and got the same errors on the toolchain , did a spot of googling and found this same errors as me:

      Code:
      /bin/sh: powerpc-unknown-linux-gnu-gcc: command not found
      make[1]: *** [specs] Error 127
      make[1]: Leaving directory `/home/etienne/tmp/gcc-build/gcc'
      make: *** [all-gcc] Error 2
      I just need todo:
      cd /home/etienne/tmp/gcc-build/gcc
      gcc-cross -dumpspecs > tmp-specs
      make
      cd ..
      make all-gcc
      make install-gcc install-binutils
      could i adapt this to fix my build?