Graf_Chokolo Releases Tools to Petitboot Linux

Photobucket Pictures, Images and Photos

The other day we reported on graf_chokolo's success with installing Gentoo Linux on to his internal hard drive of his PS3 Slim. He accomplished this by resizing the VFLASH (virtual flash) of his PS3 and installing the kernel there. Today, graf_chokolo has released petitboot for the PS3 as well as updated tools to allow dual booting of Gentoo Linux and GameOS. If you plan on following graf_chokolo's directions please not this is for advanced users. If you are not very technically skilled please wait as a dual-boot custom firmware is coming soon.

List of tools from Graf_chokolo:
(These tools can be obtain from git-dukio.com)

Debug console dumper for PS3 hypervisor
Dispatcher Manager utils
Linux kernel 2.6 for PS3
OpenWRT packages
petitboot for PS3 Linux
PS3 hvcall tools
Scripts pour l’Hyperviseur
Storage device utils

New/updated tools:

New PS3 SPE MMIO driver
ps3spemmio: Fixed module description
PS3 HVC driver
ps3hvc: Use hvcall constans from ps3hvc.h

New Additions and fixed for “utils Storage device” used to manage the partitions of the PS3 hard d rive:

Added commands set_acl and get_acl
Added descriptions for set_acl and get_acl commands
Fixed ps3stor_mgr_get_region_acl

Usage:

ps3stor_region [OPTIONS] DEVICE COMMAND [ARGS]

Options:

-H, – help: Show this message and exit
-V, – verbose: Increase verbosity
-V, – version: Show version information and exit


Commands:

create DEVID START COUNT LAID : Creates storage region
delete DEVID REGIONID : Deletes storage region
set_acl DEVID REGIONID LAID RIGHTS : Sets region access rights
get_acl DEVID REGIONID INDEX : Returns region access rights

Example of creating a hard drive partition:

ps3stor_region / create dev/ps3stormgr 0×1000 0×1070000002000001 0×8 3

The “PS3 hvcall tools” mentioned in the list above is used for handling kernel panics–restarts the console after a kernel panic.

Usage for PS3 hvcall:

ps3hvc_hvcall [OPTIONS] DEVICE COMMAND [ARGS]

Options for PS3 hvcall:

-H, – help: Show this message and exit
-V, – verbose: Increase verbosity
-V, – version: Show version information and exit

Command for PS3 hvcall:

panic ARG1

Example for PS3 hvcall:

ps3hvc_hvcall / dev/ps3hvc 1

Below are the tools required for compiling petitboot.

Requirements:

gcc
binutils
patch
bzip2
flex
make
gettext
pkg-config
unzip
libz-dev
libc headers

Instructions for compiling petitboot:

mkdir petitboot
cd petitboot

git clone git: / / git.dukio.com / openwrt.git
git clone git: / / git.dukio.com / openwrt_packages.git

cd openwrt / packages

ln-sf .. / .. / openwrt_packages / libs / jpeg jpeg
ln-sf .. / .. / openwrt_packages / libs / libpng libpng
ln-sf .. / .. / openwrt_packages / libs / libtwin libtwin
ln-sf .. / .. / openwrt_packages / utils / petitboot petitboot
ln-sf .. / .. / openwrt_packages / utils / zip zip
ln-sf .. / .. / openwrt_packages / utils / unzip unzip
ln-sf .. / .. / openwrt_packages / utils / vim vim
ln-sf ../../openwrt_packages/utils/ntfs-3g ntfs-3g
ln-sf .. / .. / openwrt_packages / utils / coreutils coreutils
ln-sf .. / .. / openwrt_packages / utils / tar tar
ln-sf .. / .. / openwrt_packages / utils / gzip gzip
ln-sf ../../openwrt_packages/utils/bzip2 bzip2
ln-sf .. / .. / openwrt_packages / utils / dosfstools dosfstools
ln-sf .. / .. / openwrt_packages / utils / less less
ln-sf .. / .. / openwrt_packages / utils / sed sed
ln-sf .. / .. / openwrt_packages / utils / sdparm sdparm
ln-sf .. / .. / openwrt_packages / utils / hdparm hdparm
ln-sf .. / .. / openwrt_packages / net / wget wget
ln-sf .. / .. / openwrt_packages / net / dhcpcd dhcpcd
ln-sf .. / .. / openwrt_packages / net / net-tools net-tools

cd ..

make menuconfig
make kernel_menuconfig

make V = 99

Subscribe for Latest News