Linux 3 on PS3: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 58: Line 58:
* spuisofs and spuldrfs included as modules.
* spuisofs and spuldrfs included as modules.
* linux-3.4.10-build.tar.xz: http://www.multiupload.nl/9SG19DPP85 (MD5 dd464d568f9761cec75b4e1c492c890c)
* linux-3.4.10-build.tar.xz: http://www.multiupload.nl/9SG19DPP85 (MD5 dd464d568f9761cec75b4e1c492c890c)
* linux-3.5.3-build.tar.xz: http://www.multiupload.nl/H2G3BKT7RD (MD5 953cdd7fe1f01a0c936776aa5d18cf2b)
* linux-3.5.3-build.tar.xz: http://www.multiupload.nl/JM9XTQE4Y6 (MD5 e98578c85380fc035c4786be6ef46982)

Revision as of 21:54, 14 September 2012

Introduction

  • Linux 2.6 is EOL, which means no new features and no bugfixes.
  • Linux 3 is stable and works on PS3 Slim without problems.
  • I stopped Linux 2.6 development, new drivers are available only on Linux 3.

Linux 3 Kernel Patches

See my GIT repos: http://gitorious.ps3dev.net/ps3linux

Cross-Compiling

linux-3.4.9
------------

http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.4.9.tar.bz2

tar xvjf linux-3.4.9.tar.bz2
cd linux-3.4.9
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- ps3_defconfig
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- menuconfig
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux-
mkdir -p $HOME/linux-3.4.9-build/boot
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- install INSTALL_PATH=$HOME/linux-3.4.9-build/boot
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- modules_install INSTALL_MOD_PATH=$HOME/linux-3.4.9-build
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- headers_install INSTALL_HDR_PATH=$HOME/linux-3.4.9-build/usr

linux-3.5.2
------------

http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.5.2.tar.bz2

tar xvjf linux-3.5.2.tar.bz2
cd linux-3.5.2
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- ps3_defconfig
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- menuconfig
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux-
mkdir -p $HOME/linux-3.5.2-build/boot
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- install INSTALL_PATH=$HOME/linux-3.5.2-build/boot
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- modules_install INSTALL_MOD_PATH=$HOME/linux-3.5.2-build
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- headers_install INSTALL_HDR_PATH=$HOME/linux-3.5.2-build/usr

Install new kernel on target machine
-------------------------------------

cp linux-3.4.9-build/boot/vmlinux /boot/vmlinux-3.4.9
cp linux-3.4.9-build/boot/System.map /boot/System.map-3.4.9
rm -rf /lib/modules/3.4.9
cp -r linux-3.4.9-build/lib/modules/3.4.9 /lib/modules/
depmod -a 3.4.9

Precompiled Linux 3 Kernels