PS3 OpenWRT
Jump to navigation
Jump to search
Introduction
- We use OpenWRT to build PS3 bootloader petitboot.
Building from trunk
GIT repos: http://gitorious.ps3dev.net/ps3openwrt
HOWTO: http://gitorious.ps3dev.net/ps3openwrt/patches/blobs/master/HOWTO
m4 1.4.16 and bison 2.5 gets Problem
Problem:
./stdio.h:477:1: error: 'gets' undeclared here
Solution:
mkdir tools/m4/patches wget -O tools/m4/patches/m4-1.4.16-no-gets.patch \ http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/m4/files/m4-1.4.16-no-gets.patch
Linux 2.6
- Supported kernel version is 2.6.39.4
- Use these patches: http://gitorious.ps3dev.net/ps3linux/kernel-patches-26
- All new drivers from Linux 3 are supported.
- Old tools and drivers are NOT supported anymore.
Linux 3
- Supported kernel version is 3.3.8
- Use these patches: http://gitorious.ps3dev.net/ps3linux/kernel-patches-33
Images
- Here are some precompiled petitboot versions.
- First test the new images with your old petitboot, just kexec openwrt-ps3-petitboot-vmlinux.elf.
# transfer openwrt-ps3-petitboot-vmlinux.elf to your current petitboot with scp kexec -l /root/openwrt-ps3-petitboot-vmlinux.elf kexec -e
- And if everything is fine then flash it with ps3-flash-util.
# transfer dtbImage.ps3.bin to your current petitboot with scp ps3-flash-util -w /root/dtbImage.ps3.bin
Huge
- The image is very big but has lots of useful tools.
- I use it on my PS3 SLim.
- Linux 3.3.8 + all my new drivers and the latest OpenWRT trunk.
- The only reason why it cannot be used on PS3 NAND is the size, nothing else.
- DHCP is enabled for Ethernet.
- WLAN is enabled too but you have to configure your SSID and PSK, see /etc/config/wireless.
- petitboot-huge.tar.xz: http://www.multiupload.nl/QY7NLM9ZBE (MD5 89417398f3281cd57a72c35397a2fb9b)
Tiny
- The image is minimalistic.
- It should be used on NAND because of small size.
- It's tiny and doesn't have as many tools as the huge one but it still has everything you need.
- Linux 2.6.39.4 + all my new drivers and tools like ps3vuart-tools + ps3sed.
- The image can be used on PS3 Slim too but the huge image is a better choice.
- petitboot-tiny.tar.xz: http://www.multiupload.nl/BL63A7TH2N (MD5 14968a06ecd305b6220782a82f97759b)