Editing Booting Linux 2.6 kernel on running PS3 Linux with kexec
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:PS3]] | ||
''' Source: graf_chokolo @ http://ps3wiki.lan.st/index.php/ | ''' Source: graf_chokolo @ http://ps3wiki.lan.st/index.php/Petitboot ''' | ||
---- | ---- | ||
= Compiling | = Compiling petitboot = | ||
* | * I use petitboot to install and boot Linux from internal HDD of my PS3. | ||
* With petitboot, you will be able to install/boot a Linux kernel from USB, HDD, BD or network. | |||
* Compiling petitboot takes a very long time | |||
* On my Arch Linux x86 it doesn't build without patches | |||
* I created a new openwrt git repository which contains my patches and PS3 NOR and VFLASH block device drivers | |||
<pre> | <pre> | ||
$ git clone git:// | $ git clone git://dukio.com/openwrt | ||
$ git clone git://nbd.name/packages.git openwrt_packages | |||
$ cd openwrt/package | |||
$ ln -s ../../openwrt_packages/libs/jpeg jpeg | |||
$ ln -s ../../openwrt_packages/libs/libpng libpng | |||
$ ln -s ../../openwrt_packages/libs/libtwin libtwin | |||
$ ln -s ../../openwrt_packages/utils/ps3-utils ps3-utils | |||
$ ln -s ../../openwrt_packages/utils/petitboot petitboot | |||
$ ln -s ../../openwrt_packages/utils/bzip2 bzip2 | |||
$ ln -s ../../openwrt_packages/utils/sed sed | |||
$ ln -s ../../openwrt_packages/utils/tar tar | |||
$ ln -s ../../openwrt_packages/utils/less less | |||
$ ln -s ../../openwrt_packages/net/dhcpcd dhcpcd | |||
$ ln -s ../../openwrt_packages/net/wget wget | |||
$ ln -s ../../openwrt_packages/utils/coreutils coreutils | |||
$ cd .. | |||
$ make menuconfig | |||
$ make kernel_menuconfig | |||
$ make V=99 | |||
</pre> | </pre> | ||