PSX-SCENE Forum Discussion for Sony PlayStation/PsOne/PS2/PS3/PSP/PS VITA
  • Graf_Chokolo Delivers on his Promise - Publishes Petitboot Tools for Linux

    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

    Sources:
    JailbreakScene.com
    Git-Dukio.com
    PS3-Addict.Fr
    Comments 25 Comments
    1. nightrider9's Avatar
      nightrider9 -
      nice. gona try this when the cfw comes out
    1. TWITDADDY's Avatar
      TWITDADDY -
      sweet!! one step closer to getting xbmc the way i want
    1. krafty_pk's Avatar
      krafty_pk -
      great news, very much looking forward to installing this. keep it up graff, we need more innovators like you
    1. TWITDADDY's Avatar
      TWITDADDY -
      Quote Originally Posted by Andybebz View Post
      I am not that much into this Linux But can anyone tell me can you choose between linux or is it called game os? you know the original ps3 software.
      Not ofw and linux but you can switch cfw and linux
    1. Ni72ous's Avatar
      Ni72ous -
      Can't wait for Graf to release dual boot cfw.
    1. Mjollnir-PSG's Avatar
      Mjollnir-PSG -
      Awesome work.. however ill wait till there is a slightly easier method to do it all
    1. twisss's Avatar
      twisss -
      Great!!! Just a few steps closer to a dual boot cfw solution. Let's see what this beast can do running Linux.
    1. pubert-PSG's Avatar
      pubert-PSG -
      What does this open up beyond just running Linux?
    1. DG_Legend-PSG's Avatar
      DG_Legend-PSG -
      If you are not very technically skilled please wait as a dual-boot custom firmware is coming soon.
      Does the dual-boot custom firmware mean that we will be able to choose between running 3.55 KMEAW and 3.60, or will it only be limited to being able to choose between linux and a GameOS firmware, like 3.55 or 3.60?

      Obviously, you'll need 3.55 already to install the dual boot cfw
    1. One2thr456svn's Avatar
      One2thr456svn -
      Graf is the Macaroni and the Cheese with this one (dual Boot coming soon....YESSS!!!)
    1. Ranman's Avatar
      Ranman -
      Hopefully this comes to fat ps3's .... I'm probably going to buy a slim one so i could upgrade my old one to OFW but im still not to sure.
    1. CrimsonSoul's Avatar
      CrimsonSoul -
      Quote Originally Posted by twisss View Post
      Great!!! Just a few steps closer to a dual boot cfw solution. Let's see what this beast can do running Linux.
      I get what you're getting at, but no where in this was mention of dual boot CFW. Rumors start just from statements like that, like the one below:

      Quote Originally Posted by DG_Legend View Post
      Does the dual-boot custom firmware mean that we will be able to choose between running 3.55 KMEAW and 3.60, or will it only be limited to being able to choose between linux and a GameOS firmware, like 3.55 or 3.60?

      Obviously, you'll need 3.55 already to install the dual boot cfw
      It's not dual CFW, it's CFW and Linux. There's no telling if it is or even would be possible, but anyone can hope for dual CFW. My thoughts are chances are if something like that was possible or becomes possible, it would be a choice between CFW and OFW or CFW and Linux.

      Even though I know some technical things, just to play it safe, a PUP with this for easy installation is the likely solution just to rule out as many errors as possible (CFW and Linux that is.)
    1. Captain Obvious's Avatar
      Captain Obvious -
      god dammit, of course he releases this after i update my slim PS3 to 3.60 -.-
    1. MadnessImport's Avatar
      MadnessImport -
      Quote Originally Posted by Turkish View Post
      Good news for the people that want Linux on ps3.
      And people who love to see the human mind expand
      People who actually want there "It only does everything box" to only do EVERYTHING
      And the xbox community

      :3
    1. DG_Legend-PSG's Avatar
      DG_Legend-PSG -
      Quote Originally Posted by CrimsonSoul View Post
      I get what you're getting at, but no where in this was mention of dual boot CFW. Rumors start just from statements
      The article states a dual boot custom firmware will be released, what are you trying to say bro?
    1. CrimsonSoul's Avatar
      CrimsonSoul -
      Quote Originally Posted by DG_Legend View Post
      The article states a dual boot custom firmware will be released, what are you trying to say bro?
      No where in that article did it mention dual booting custom firmware.

      Today, graf_chokolo has released petitboot for the PS3 as well as updated tools to allow dual booting of Gentoo Linux and GameOS.
      Check out after the break–at the very bottom–for complete instructions on how to compile petitboot. Also, a hypervisor custom firmware with the capability to dual-boot GameOS and petitboot (for Linux) is coming.
      GameOS is the XMB and Gentoo Linux is an operating system. If you want to consider it a firmware, that's fine...but that's not what it is.
    1. TWITDADDY's Avatar
      TWITDADDY -
      Quote Originally Posted by DG_Legend View Post
      Does the dual-boot custom firmware mean that we will be able to choose between running 3.55 KMEAW and 3.60, or will it only be limited to being able to choose between linux and a GameOS firmware, like 3.55 or 3.60?

      Obviously, you'll need 3.55 already to install the dual boot cfw
      I already answered this on page 1. Next time at least read the first page
    1. TWITDADDY's Avatar
      TWITDADDY -
      Quote Originally Posted by CrimsonSoul View Post
      I get what you're getting at, but no where in this was mention of dual boot CFW. Rumors start just from statements like that, like the one below:
      Did you even read the article? here i just copy paste this from ARTICLE >>If you are not very technically skilled please wait as a dual-boot custom firmware is coming soon.
    1. peeer-PSG's Avatar
      peeer-PSG -
      Quote Originally Posted by TWITDADDY View Post
      Did you even read the article? here i just copy paste this from ARTICLE >>If you are not very technically skilled please wait as a dual-boot custom firmware is coming soon.
      Sure... you will need a dual boot enabled cfw to be able to achieve this dual boot procedure between linux and gameos. But what he meant is that it does not mention anything about what alot of peoples tends to believe: dual boot cfw to another cfw or ofw ect... Just dual boot between GameOS and Linux thats all the article talks about. Now, its normal that we all want to see the dual boot between cfw and cfw or cfw and ofw... But from reading the whole article its not mentionning anything about that just yet.
    1. BanTam's Avatar
      BanTam -
      So does this mean we can finally install linux version of xbmc ?
      or full driver support still not done yet. i'll be happy the day when that happens.
  • Daily Digest


    Want to receive the latest PSX info in your email?

    Sign up for our Daily Digest!



    Want to learn more about the team keeping you up to date with the latest scene news?

    Read about them now!

    Check out our Developer bios, too!

  • Recent Threads

    lovewiibrew

    OPL development stalling?

    Thread Starter: lovewiibrew

    It's a fantastic program and I would hate to see it abandoned. One commit in 9 months and sometimes there's maybe one post a day in the OPl forum. Has

    Last Post By: RandQalan Today, 03:44 AM Go to last post
    w0mb

    SLIM - Firmware 3.50 120 GB - cech2001a - For Sale

    Thread Starter: w0mb

    Listing on ebay to buy but shoot me offers before I list it. Will do transaction threw ebay.
    Perfect condition.
    This is the Offical Sony

    Last Post By: w0mb Yesterday, 10:43 PM Go to last post
    inserttwo

    PS4 new Teaser! Console shown!

    Thread Starter: inserttwo

    New teaser folks with a few close ups of the PS4 Console:



    It seems they will show the complete console in June 10th.

    Last Post By: inserttwo Yesterday, 10:29 PM Go to last post
    Smoker1

    Vita Inquiries

    Thread Starter: Smoker1

    I am planning on purchasing a Vita at the end of the Month when I get paid. Now, I am just wondering if there is anything worth while to install yet?

    Last Post By: Smoker1 Yesterday, 10:26 PM Go to last post
    ANTZ7

    question about using bruteforce

    Thread Starter: ANTZ7

    yo all

    so my question is. i just used bruteforce to change some games saves over

    i did far cry 3 perfect and did tombraider

    Last Post By: ANTZ7 Yesterday, 09:29 PM Go to last post
    posimosh

    WTS G25 Racing Wheel $120 (US) Will Ship

    Thread Starter: posimosh

    Used for about a year. In good shape with minor wear and tear, minor signs of usage, but hardware wise, its perfect. I have pictures to share if yall

    Last Post By: posimosh Yesterday, 08:58 PM Go to last post
  • Recent Comments

    alaska32

    [update #32] New EBOOT Patches/Fixes for 3.55/3.41

    Thanks bro Go to last post

    alaska32 Today 04:10 AM
    White Lord

    English Patch version for Dynasty Warriors Strikeforce 2 PSP.

    i would love to see this running on ps3 surely. :) Go to last post

    White Lord Today 03:50 AM
    gamecheater

    Latest in PSP Conversions Tools and News (PSPonPS3)

    Using Ez psp2ps3 1.3, tried making remaster on 3 different iso and can successfully convert into... Go to last post

    gamecheater Today 02:14 AM
    XPredator13

    Fan Control Utility v1.7 Relased CFW 4.41 Supported!!

    Yep. But, after booting MM or RT, it works flawless, but it has a major issue in rebug 4.30, the... Go to last post

    XPredator13 Today 01:46 AM
    bitsbubba

    English Patch version for Dynasty Warriors Strikeforce 2 PSP.

    be sure to report back atreyu187 (like there's any doubt you won't :D ) Go to last post

    bitsbubba Today 12:57 AM
    atreyu187

    English Patch version for Dynasty Warriors Strikeforce 2 PSP.

    Wonder how it handles in a PSP2PS3 conversion, time for testing and thank a lot!! No PSP anymore... Go to last post

    atreyu187 Today 12:51 AM
    bitsbubba

    English Patch version for Dynasty Warriors Strikeforce 2 PSP.

    nice :) Go to last post

    bitsbubba Today 12:43 AM
    tthousand

    PSChannel receives some Eye Candy from Opium2k

    Just a bit opium2k, but we are trying to bring back that retro feeling here. Even if it is... Go to last post

    tthousand Today 12:42 AM
    White Lord

    English Patch version for Dynasty Warriors Strikeforce 2 PSP.

    Next is an update for the mod for this game. Adding new moves, maybe new playable characters.
    It... Go to last post

    White Lord Today 12:39 AM
    bitsbubba

    PSChannel receives some Eye Candy from Opium2k

    sorry opium2k, leave it to the moderators to take this thread of topic :p Go to last post

    bitsbubba Today 12:37 AM