Editing PS3 OpenWRT
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 9: | Line 8: | ||
HOWTO: http://gitorious.ps3dev.net/ps3openwrt/patches/blobs/master/HOWTO | HOWTO: http://gitorious.ps3dev.net/ps3openwrt/patches/blobs/master/HOWTO | ||
==m4 1.4.16 and bison 2.5 gets Problem== | |||
Problem: | |||
<pre> | |||
./stdio.h:477:1: error: 'gets' undeclared here | |||
</pre> | |||
Solution: | |||
<pre> | |||
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 | |||
</pre> | |||
* bison 2.5: https://dev.openwrt.org/browser/trunk/tools/bison/patches/100-fix-gets-removal.patch | |||
==Linux 2.6== | ==Linux 2.6== | ||
* Supported kernel version is 2.6.39.4 | * Supported kernel version is 2.6.39.4 | ||
* Use these patches: http://gitorious.ps3dev.net/ps3linux/kernel-patches-26 | * Use these patches: http://gitorious.ps3dev.net/ps3linux/kernel-patches-26 | ||
* All new drivers from Linux 3 are supported. | * All new drivers from Linux 3 are supported. | ||
* Old tools and drivers are NOT supported anymore. | * Old tools and drivers are NOT supported anymore. | ||
==Linux 3 | ==Linux 3== | ||
* Supported kernel | * Supported kernel version is 3.3.8 | ||
* Use these patches: http://gitorious.ps3dev.net/ps3linux/kernel-patches-33 | * Use these patches: http://gitorious.ps3dev.net/ps3linux/kernel-patches-33 | ||
=Images= | =Images= | ||
* Here are some precompiled petitboot | * Here are some precompiled petitboot versions. | ||
* '''First test the new | * '''First test the new images with your old petitboot, just kexec openwrt-ps3-petitboot-vmlinux.elf.''' | ||
<pre> | <pre> | ||
# transfer openwrt-ps3-petitboot-vmlinux.elf to your current petitboot with scp | # transfer openwrt-ps3-petitboot-vmlinux.elf to your current petitboot with scp | ||
kexec -l /root/openwrt-ps3-petitboot-vmlinux.elf | kexec -l /root/openwrt-ps3-petitboot-vmlinux.elf | ||
Line 43: | Line 52: | ||
<pre> | <pre> | ||
# transfer | # transfer dtbImage.ps3.bin to your current petitboot with scp | ||
ps3-flash-util -w /root/ | ps3-flash-util -w /root/dtbImage.ps3.bin | ||
</pre> | </pre> | ||
Line 52: | Line 61: | ||
* The image is very big but has lots of useful tools. | * The image is very big but has lots of useful tools. | ||
* I use it on my PS3 SLim. | * I use it on my PS3 SLim. | ||
* Linux 3.8 | * 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. | * The only reason why it cannot be used on PS3 NAND is the size, nothing else. | ||
* DHCP is enabled for Ethernet. | * DHCP is enabled for Ethernet. | ||
* WLAN is enabled too but you have to configure your SSID and PSK, see /etc/config/wireless. | * WLAN is enabled too but you have to configure your SSID and PSK, see /etc/config/wireless. | ||
* petitboot-huge.tar.xz | * petitboot-huge.tar.xz: http://www.multiupload.nl/QY7NLM9ZBE (MD5 89417398f3281cd57a72c35397a2fb9b) | ||
==Tiny== | ==Tiny== | ||
Line 66: | Line 73: | ||
* It's tiny and doesn't have as many tools as the huge one but it still has everything you need. | * 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. | * Linux 2.6.39.4 + all my new drivers and tools like ps3vuart-tools + ps3sed. | ||
* The image can be used on PS3 Slim | * The image can be used on PS3 Slim too but the huge image is a better choice. | ||