Forum: PS3 Technical Development - Topics relating to Playstation 3 Technical development ONLY! Read and discuss the latest Cobra USB updates, tutorials and explanations or find out about bluray drive bypass firmwares plus much more.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: [Download] ps3toolchain + PSL1GHT v2 compiled for Linux
  

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
  1. #1 [Download] ps3toolchain + PSL1GHT v2 compiled for Linux 
    xerpi is offline Member
    Join Date
    Dec 2010
    Posts
    14
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    For those who can't get PSL1GHT working I have uploaded the ps3 toolchain + PSL1GHT v2 compiled, so you only have to decompress it, move to the folder you want and set the environment variables.
    I have tested it on my two computers (running Linux Mint Debian) and it worked flawlessly.
    I recommend you to decompress it on /opt/ps3dev and then open your bashrc file (~/.bashrc) and add these lines (you can change /opt/ps3dev
    to the path you want):

    ## Setup ps3toolchain environment
    export PS3DEV=/opt/ps3dev
    export PATH=$PATH:$PS3DEV/bin
    export PATH=$PATH:$PS3DEV/ppu/bin
    export PATH=$PATH:$PS3DEV/spu/bin
    ## Setup PSL1GHT Environment
    export PSL1GHT=$PS3DEV/psl1ght
    export PATH=$PATH:$PSL1GHT/host/bin
    Download: mediafire[dot]com/?yazdz4sz7sbqe2m

    If you want to test if it works, you can try with the NoRSX Sample: github[dot]com/wargio/NoRSX/zipball/master

    Hope it works!
    Last edited by xerpi; 11-01-2012 at 04:41 PM.
    Reply With Quote  

  2. #2  
    CodersCentral is offline Member
    Join Date
    Dec 2011
    Posts
    18
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    0
    im using this: Linux ubunto
    i extracted your "ps3toolchain_and_psl1ght_v2_linux" file and moved the "PS3DEV" folder to the desktop.
    what do i put in the "bashrc" file??
    please help
    Reply With Quote  

  3. #3  
    xerpi is offline Member
    Join Date
    Dec 2010
    Posts
    14
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Quote Originally Posted by CodersCentral View Post
    im using this: Linux ubunto
    i extracted your "ps3toolchain_and_psl1ght_v2_linux" file and moved the "PS3DEV" folder to the desktop.
    what do i put in the "bashrc" file??
    please help
    I recommend you to move the ps3dev folder to /opt/ps3dev, then you will have to open the bashrc file (sudo gedit ~/.bashrc) and add these lines at the bottom (do not worry if the bashrc file is empty):

    ## Setup ps3toolchain environment
    export PS3DEV=/opt/ps3dev
    export PATH=$PATH:$PS3DEV/bin
    export PATH=$PATH:$PS3DEV/ppu/bin
    export PATH=$PATH:$PS3DEV/spu/bin
    ## Setup PSL1GHT Environment
    export PSL1GHT=$PS3DEV/psl1ght
    export PATH=$PATH:$PSL1GHT/host/bin
    Then close the file and you will have to apply the changes, to do this type in a terminal:
    . ~/.bashrc
    with the dot at the beginning.
    Reply With Quote  

  4. #4  
    CodersCentral is offline Member
    Join Date
    Dec 2011
    Posts
    18
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    0
    /opt/
    folder doesnt exist, were would i create the folder?
    thanks
    Reply With Quote  

  5. #5  
    xerpi is offline Member
    Join Date
    Dec 2010
    Posts
    14
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Quote Originally Posted by CodersCentral View Post
    /opt/
    folder doesnt exist, were would i create the folder?
    thanks
    Lol that's weird, anyways type this: sudo mkdir /opt
    Reply With Quote  

  6. #6  
    CodersCentral is offline Member
    Join Date
    Dec 2011
    Posts
    18
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    0
    i put the "ps3dev" folder in "/opt/"
    edited the "bashrc" file
    when i compile a project i get the error "PSL1GHT ENVIROMENT NOT SET" or something like that (im changing between windows and ubunto to reply because im not used to ubunto)
    what did i do wrong?
    thanks
    Reply With Quote  

  7. #7  
    xerpi is offline Member
    Join Date
    Dec 2010
    Posts
    14
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Uhm weird. Are you sure you edited the /home/USER/.bashrc file? "~/" means /home/yourUser
    And don't try compiling with sudo.
    Reply With Quote  

  8. #8  
    tranvanthien is offline Member
    Join Date
    Mar 2011
    Posts
    30
    Downloads
    4
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    hi all

    I didn't see the folder PSL1GHT/host/bin
    I'm using Ubuntu 11.10 64bit guest OS, Win7 32bit host

    I followed your guide but when i compile this program i re-edited main_new (copy).c

    original source PS3_Temp_source.rar

    error :

    root@thien-VirtualBox:/opt/ps3dev/PS3_Temp# make
    make[1]: *** No rule to make target `/usr/local/ps3dev/ps3_temp/source/main.c', needed by `main.o'. Stop.
    make: *** [build] Error 2
    root@thien-VirtualBox:/opt/ps3dev/PS3_Temp# make PS3_Temp.pkg
    linking ... PS3_Temp.elf
    /opt/ps3dev/ppu/lib/gcc/powerpc64-ps3-elf/4.7.0/../../../../powerpc64-ps3-elf/lib/lv2-crt0.o: In function `._initialize':
    (.text._initialize+0x24): undefined reference to `.main'
    collect2: error: ld returned 1 exit status
    make: *** [PS3_Temp.elf] Error 1
    root@thien-VirtualBox:/opt/ps3dev/PS3_Temp#
    Reply With Quote  

  9. #9  
    xerpi is offline Member
    Join Date
    Dec 2010
    Posts
    14
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Quote Originally Posted by tranvanthien View Post
    hi all

    I didn't see the folder PSL1GHT/host/bin
    I'm using Ubuntu 11.10 64bit guest OS, Win7 32bit host

    I followed your guide but when i compile this program i re-edited main_new (copy).c

    original source PS3_Temp_source.rar

    error :

    root@thien-VirtualBox:/opt/ps3dev/PS3_Temp# make
    make[1]: *** No rule to make target `/usr/local/ps3dev/ps3_temp/source/main.c', needed by `main.o'. Stop.
    make: *** [build] Error 2
    root@thien-VirtualBox:/opt/ps3dev/PS3_Temp# make PS3_Temp.pkg
    linking ... PS3_Temp.elf
    /opt/ps3dev/ppu/lib/gcc/powerpc64-ps3-elf/4.7.0/../../../../powerpc64-ps3-elf/lib/lv2-crt0.o: In function `._initialize':
    (.text._initialize+0x24): undefined reference to `.main'
    collect2: error: ld returned 1 exit status
    make: *** [PS3_Temp.elf] Error 1
    root@thien-VirtualBox:/opt/ps3dev/PS3_Temp#
    You say you could compile the original PS3_Temp but it doesn't compile if you edit the main.c?
    Reply With Quote  

  10. #10  
    tranvanthien is offline Member
    Join Date
    Mar 2011
    Posts
    30
    Downloads
    4
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    Hi !

    Yes, i could compile the original PS3_Temp just only 1 times then couldn't. I compile another sample from psl1ght successful (videoTest)

    Also i followed another guide from How to setup your PC for PS3 development - End of Line Magazine
    The problem still there.
    Reply With Quote  

Page 1 of 2 1 2 LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •