Booting Linux 2.6 kernel on running PS3 Linux with kexec

From PS3 Developer wiki
Revision as of 01:42, 25 February 2011 by Anon (talk | contribs) (Compiling petitboot)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source: graf_chokolo @ http://ps3wiki.lan.st/index.php/Petitboot


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
$ 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