Editing Linux 3 on PS3
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: | ||
[[Category: | [[Category:Linux]] | ||
=Introduction= | =Introduction= | ||
* Linux 2.6 | * Linux 2.6 is EOL, which means no new features and no bugfixes. | ||
* Linux 3 is stable and works on PS3 Slim without problems. | * 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= | =Cross-Compiling= | ||
Line 28: | Line 28: | ||
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- headers_install INSTALL_HDR_PATH=$HOME/linux-3.4.12-build/usr | make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- headers_install INSTALL_HDR_PATH=$HOME/linux-3.4.12-build/usr | ||
linux-3. | linux-3.6.1 | ||
------------ | ------------ | ||
http://www.kernel.org/pub/linux/kernel/v3.0/linux-3. | http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.6.1.tar.bz2 | ||
tar xvjf linux-3.6.1.tar.bz2 | |||
cd linux-3.6.1 | |||
tar xvjf linux-3.6. | |||
cd linux-3.6. | |||
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- ps3_defconfig | make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- ps3_defconfig | ||
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- menuconfig | make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- menuconfig | ||
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- | make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- | ||
mkdir -p $HOME/linux-3.6. | mkdir -p $HOME/linux-3.6.1-build/boot | ||
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- install INSTALL_PATH=$HOME/linux-3.6. | make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- install INSTALL_PATH=$HOME/linux-3.6.1-build/boot | ||
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- modules_install INSTALL_MOD_PATH=$HOME/linux-3.6. | make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- modules_install INSTALL_MOD_PATH=$HOME/linux-3.6.1-build | ||
make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- headers_install INSTALL_HDR_PATH=$HOME/linux-3.6. | make ARCH=powerpc CROSS_COMPILE=powerpc64-linux- headers_install INSTALL_HDR_PATH=$HOME/linux-3.6.1-build/usr | ||
Install new kernel on target machine | Install new kernel on target machine | ||
------------------------------------- | ------------------------------------- | ||
cp linux-3.6. | cp linux-3.6.1-build/boot/vmlinux-3.6.1 /boot/ | ||
cp linux-3.6. | cp linux-3.6.1-build/boot/System.map-3.6.1 /boot/ | ||
rm -rf /lib/modules/3.6. | rm -rf /lib/modules/3.6.1 | ||
cp -r linux-3.6. | cp -r linux-3.6.1-build/lib/modules/3.6.1 /lib/modules/ | ||
depmod -a 3.6. | depmod -a 3.6.1 | ||
</pre> | </pre> | ||
Line 76: | Line 61: | ||
* 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.6-build.tar.xz: http://www.multiupload.nl/21QWUAPAYZ (MD5 2d4b779483fb8090e6e178700131a7d4) | * linux-3.5.6-build.tar.xz: http://www.multiupload.nl/21QWUAPAYZ (MD5 2d4b779483fb8090e6e178700131a7d4) | ||
* linux-3.6. | * linux-3.6.1-build.tar.xz: http://www.multiupload.nl/AMQ80HRU3Y (MD5 1b1dbc940dd227de8e99dcd5ade8035d) | ||