• PS3 Hacks, PS3 Linux , 29.03.2011

    Graf has released his PS3 Linux tools today which will allow you to dualboot Linux and GameOS on your PS3 (more information about that HERE). This process is obviously complicated, and there is a guide to follow however its not the easiest thing in the world to do if your a “noob”.

    To quote:
    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

    [Download tools VIA Git]
    [VIA PS3 Addict]

    Tags: , ,

    Discuss in Forums (31)


  • 31 Comments

    1. Typo
      03-29-2011
      06:36 PM
      1

      This is awesome. I'm not going to try it myself yet as I am sure an easy to use method is soon to come and patience in these situations always pays off but this is awesome to see.

      Thanks a TON to Graf for all his hard work.

    2. heroes96
      03-29-2011
      06:39 PM
      2

      Graf_chokolo u are the best
      fack sony

    3. advocatusdiaboli
      03-29-2011
      06:40 PM
      3

      :-) Now we are talking :-)

    4. BIGBOSS1983
      03-29-2011
      06:42 PM
      4

      Graf is amazing. Keep up the good work.

    5. RockmanX
      03-29-2011
      07:01 PM
      5

      OtherOs has Finally Returned!! Excellent work Graf :D

    6. Evan64
      03-29-2011
      07:25 PM
      6

      Mother of god...

      Wonderful.

    7. Kazuya101
      03-29-2011
      07:31 PM
      7

      The Question really is

      |Whose kind enough to compile this for us noobs and post it here or provide us with links to the cfw.....

      Greatly appreciated

    8. rlme1
      03-29-2011
      07:32 PM
      8

      simply amazing, major props.

    9. advocatusdiaboli
      03-29-2011
      08:04 PM
      9

      Originally Posted by Kazuya101
      Whose kind enough to compile this for us noobs and post it here or provide us with links to the cfw.....
      Patience, patience is the answer when your PS3 is a patient.

    10. LuckySnake
      03-29-2011
      08:15 PM
      10

      Is this for bringing back the OtherOS option in 3.15 and under? I mean the native option!

    11. cheezyness
      03-29-2011
      09:09 PM
      11

      Noob question here:

      Is this specific to a linux version? If so which one is it? (Like Ubuntu or other?)
      And what is the alternate fw boot? 3.55? 3.41? Or either?

    12. ark3typ3
      03-29-2011
      09:38 PM
      12

      Graf can have my PS3's babies

    13. CrystalWolf
      03-29-2011
      10:14 PM
      13

      nice so when is the CFW going to come out ??

    14. Xero14
      03-30-2011
      12:22 AM
      14

      Sorry if i missed this somewhere but will will be able to do this on all hackable fw.

    15. Bigwillyz21
      03-30-2011
      01:17 AM
      15

      Seriously WTF!?

      I am soooo sick and tired of reading a thread and seeing some AWESOME news then underneath there being a 1000 questions asking for more more more, when is this coming out, wheres this, yada yada yada. Graf is already risking his ass for the scene as it is so please sit the f**k back and relax so I and I'm sure others don't have to sift through 50 pages of BS. Thanks

    16. Jinkira
      03-30-2011
      01:17 AM
      16

      AWESOME
      Now for a tutorial and then we will be on our way YEEEEEEEEEHAAAAAAAA!!!!

      Don't mean to Hijack the thread but can anyone PM me a way to get back onto PSN pleeeease

    17. J-panic
      03-30-2011
      03:01 AM
      17

      Ohhh man I love Graf-Choko 4 this. Now he can try to port a Darwin loader with the Osx Kernel to it

      Ohhh man ich liebe Graf-Choko f�r das alles. Jetzt k�nnte er doch mal versuchen ein Darwin loader mit dem Osx Kernel auf der Kiste laufen zu lassen.

    18. Icepuppy
      03-30-2011
      07:41 AM
      18

      Excellent work Graf!

      Guys Graf doesn't give a **** about CFW and PSN so don't bother asking, the title of the thread should have given a clue.

    19. Pockets69
      03-30-2011
      08:03 AM
      19

      its not that bad people asking for help, it shows interest, which is always a good thing, well its far worse people constantly asking for a 3.60CFW.

    20. OPTIMUSCRIM
      03-30-2011
      10:37 AM
      20

      This site, the forums are great, the comments are terrible. The comments are usually from children, noobs and know it alls. Too many people don't understand the meaning of entitlement. Keep questions in the forums and comments like "first" for when you lose your virginity.

      Thanks. If anyone has a retort to this, you are the exact problem im talking about.

      Great work Graff, i wont be able to test it for a week or so, but it looks like what many were looking for.

    21. davidbb
      03-30-2011
      10:37 AM
      21

      So does this give us CFW and PSN???

      Seriously though, enough with the dumb questions. I don't expect a noob friendly way to do this any time soon, maybe a precomplied petitboot, but that's about it. That could be a blessing as otherwise you would get far to many people installing linux to find out they don't know what to do with it.

      My curiosity is whether this could be used to install other ppc based OS's such as freebsd, Mac Os or even Amiga Os, obviously someone would need to figure out how to get all the hardware runnig with drivers, but I am wondiring if in theory it is possible.

    22. advocatusdiaboli
      03-30-2011
      11:27 AM
      22

      Originally Posted by davidbb
      So does this give us CFW and PSN???
      No, this gives us LINUX back! Graf is actually keeping what Sony promised.
      ************* [ - Post Merged - ] *************
      Originally Posted by Pirate
      cd openwrt / packages
      openwrt/packages does not exist, cd openwrt/package does however... and so does openwrt_packages.

      correction
      Code:
      mkdir petitboot
      cd petitboot
      git clone git://git.dukio.com/openwrt.git
      git clone git://git.dukio.com/openwrt_packages.git
      cd openwrt/package
      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
      # link here more packages if you want to
      cd ..
      cp ps3_petitboot_config .config
      make menuconfig 		# optional
      make kernel_menuconfig 		# optional
      make V=99
      not cd openwrt/packages as noted in the howto

    23. bladerunner6
      03-30-2011
      03:22 PM
      23

      anyone had any success compiling this

    24. advocatusdiaboli
      03-30-2011
      05:15 PM
      24

      Just finished compiling.

    25. Pockets69
      03-30-2011
      06:26 PM
      25

      Originally Posted by advocatusdiaboli
      Just finished compiling.
      an upload would be nice uh bud?
      pretty please, or i may end up only using this next week when i got some time...

      have you tested it?

    26. advocatusdiaboli
      03-31-2011
      02:52 AM
      26

      I ran

      Code:
      make V=99
      but I am not sure which files will be needed.
      Just off the top of my head( as I have no time to play with this right now ):

      Code:
      ~/ps3/graf/petitboot/openwrt/build_dir/linux-ps3_petitboot/vmlinux.elf
      ~/ps3/graf/petitboot/openwrt/build_dir/linux-ps3_petitboot/image
      might be the one? image was made last.

      There is also a folder
      Code:
      ~/ps3/graf/petitboot/openwrt/bin/ps3/packages
      That might be the real thing?

    27. advocatusdiaboli
      04-05-2011
      02:30 AM
      27

      Will this load if put inside ISO image and loaded from the LV2v9 Linux Loader?

    28. Annelies
      04-05-2011
      02:48 AM
      28

      Too bad I updated to 3.60 :P


      Sent from my iPod touch using Tapatalk

    29. scristopher
      04-07-2011
      05:56 PM
      29

      yaaaay i cant wait for this - graf boots directly to petitboot from HV!
      http://*******************/main/2011...ectly-from-hv/
      i guess im not allowed to post urls phukit then

    30. advocatusdiaboli
      04-08-2011
      03:00 AM
      30

      from jb scene dott com?

    31. japsander
      04-08-2011
      04:51 AM
      31

      Originally Posted by scristopher
      yaaaay i cant wait for this - graf boots directly to petitboot from HV!
      http://*******************/main/2011...ectly-from-hv/
      i guess im not allowed to post urls phukit then

      no, you are permitted to post urls but certain sites are caught and masked by the filter due to certain issues between us and them.