Editing Making Isolated SPU Modules and Loaders
Jump to navigation
Jump to search
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: | ||
=Introduction= | =Introduction= | ||
Line 6: | Line 5: | ||
=Tools= | =Tools= | ||
==SPU GCC Compiler== | ==SPU GCC Compiler== | ||
* You need SPU GCC compiler to compile your code and create binary version of it. | * You need SPU GCC compiler to compile your code and create binary version of it. | ||
* On PS3 Debian, just install spu toolchain | * On PS3 Debian, just install spu toolchain. | ||
* You can also cross-compile SPU GCC toolchain for your Linux PC. | * You can also cross-compile SPU GCC toolchain for your Linux PC. | ||
==ps3tools== | ==ps3tools== | ||
Line 21: | Line 16: | ||
* You need these tools to decrypt PS3 isolated SPU modules and loaders. | * You need these tools to decrypt PS3 isolated SPU modules and loaders. | ||
* You also need it to sign and encrypt your own SPU modules and loaders. | * You also need it to sign and encrypt your own SPU modules and loaders. | ||
* '''self_rebuilder doesn't work properly with isolated SPU modules or loaders. Therefore, i made a new tool which works with isolated SPU modules and loaders. It's called iso_rebuilder | * '''self_rebuilder doesn't work properly with isolated SPU modules or loaders. Therefore, i made a new tool which works with isolated SPU modules and loaders. It's called iso_rebuilder.''' | ||
* See my GIT repop: http://gitorious.ps3dev.net/ps3otheros/ps3tools | * See my GIT repop: http://gitorious.ps3dev.net/ps3otheros/ps3tools | ||
=How To Test Isolated SPU Modules and Loaders= | =How To Test Isolated SPU Modules and Loaders= | ||
Line 29: | Line 25: | ||
==spuisofs== | ==spuisofs== | ||
==spuldrfs== | ==spuldrfs== | ||
=Example: Making dump_ata_keys.self= | =Example: Making dump_ata_keys.self= | ||
* First you need | * First you need sb_iso_spu_module.self from your NOR/NAND flash or from PS3 update file. | ||
<pre> | |||
# compile your SPU code | # compile your SPU code | ||
Line 54: | Line 39: | ||
ls -l dump_ata_keys.o | ls -l dump_ata_keys.o | ||
# | # conert your code to binary | ||
spu-elf-objcopy -O binary dump_ata_keys.o dump_ata_keys.bin | spu-elf-objcopy -O binary dump_ata_keys.o dump_ata_keys.bin | ||
Line 63: | Line 48: | ||
unself sb_iso_spu_module.self sb_iso_spu_module.elf | unself sb_iso_spu_module.self sb_iso_spu_module.elf | ||
</pre> | |||
</ | |||
=Example: Making dump_encdec_keys.self= | =Example: Making dump_encdec_keys.self= | ||