The above video goes away if you are a member and logged in, so log in now!
How to set up a PS3 Dev environment for ROCKBOX
How to set up a PS3 Dev environment for ROCKBOX –
I thought I'd write a basic noob guide for setting up a PS3 Dev environment for RockBox. I will be using shuffle2's github for pulling down the rockbox files and use HACKERCHANNEL's github for the toolchain.
This was compiled on LinuxMint.
You must have the following packages installed. In ubuntu and linuxmint and the likes this can be done through the package manager, usually found in your start menu.
Now choose a location to make your rockbox build folder:
Now we need to download the rockbox files.
git clone git://github.com/shuffle2/rockbox_psgroove.git
We then need to build the toolchain for the rockbox device
This will take a while.
Now we need to get the pl3 files
git submodule init
git submodule update
Now to build the ps3 toolchain
I placed these files in a separate location
git clone git://github.com/HACKERCHANNEL/ps3chain.git
We also need to edit some paths
Now we make the folder and assign the necessary permissions
(In place of username you need to insert yours)
sudo mkdir -p /usr/local/ps3dev
sudo chmod a+rxw /usr/local/ps3dev
sudo chown username:group /usr/local/ps3dev
You should now be ready to compile the ps3 toolchain (I've built it for all types)
./buildit.sh ppu ppu64
This will take quite a while to download and compile.
When it is finished move back to your rockbox directory.
Now to compile those payloads
(You need to choose which firmware you're using and remove the // from infront of it)
Now to compile your build
(choose your device)
Hopefully you will end up with a rockbox.zip file and you should know what to do with that!!!
All credits to shuffle2 and HACKERCHANNEL
Most of this information is on shuffle2's github page, I just expanded it so a total noob should be able to compile it all.
Hopefully this means the load will be taken off the developers and stop some of the
"please compile latest version for xx yy device"
And hopefully someone will find the time to create a virtual image of a linux dev environment
tried it but got
tools/configure: 2986: arm-elf-eabi-gcc: not found
tools/configure: 2994: arm-elf-eabi-ld: not found
[WARNING] The compiler you must use (arm-elf-eabi-gcc) is not in your path!
[WARNING] this may cause your build to fail since we cannot do the
[WARNING] checks we want now.
Could you please post the output of
I'm able to do a compile using Rockbox's own vmware environment. Can you explain how to port Hermes v4 (or any other HEX) to Rockbox? It seems that port1_config_descriptor needs to be changed but I have no idea how to take the official HEX and convert it and put it in psgroove.h.
I've just been using the patches that have floated around the forums. I know fron the earlier builds that the hex was directly in the psgroove files but I'm not sure how this translated from the official psgroove files...
Evostar has released a .patch file for using with RockBox installs on his github page. This is for the pl3 build.
Evostar's rockbox_psgroove_pl3 at master - GitHub
When I try to compile the ps3 toolchain I get this:
configure: error: no termcap library found
make: *** [configure-gdb] Error 1
make: Leaving directory `/usr/local/ps3dev/build_gdb'
make: *** [all] Error 2
Error building gdb for target powerpc64-linux
Any suggestions on how to fix this?
I fixed this by downloading libncurses5-dev. Evilsperm's VMware does not have it pre-installed. I am able to compile the ps3toolchain.
Originally Posted by Gungnir999
Now I am getting this error
make: *** [/home/evilsperm/rockbox_psgroove/build_ipod/firmware/common/config.o] Error 1"
Again, any suggestions on how to fix this?