• Home
  • Downloads
  • EBOOT Fixes
  • Forums
  • New Posts
  • Register
    • Welcome, Register Now! 
    • Premium VIP Membership
    • PS3 Sticky
      • PS3 CFW & MFW
      • PS3 Debug Firmware
      • PS3 Decrypted PSN Links for CFW
      • PS3 Downloads
      • PS3 EBOOT.BIN Original File Links
      • PS3 Firmware
      • PS3 Game Releases List
      • PS3 Guides & Tutorials
      • PS3 Hacking Guides and Tutorials
      • PS3 Hacks & JailBreak
      • PS3 Help & Support
      • PS3 JailBreak Game Compatibility List
      • PS3 JB2 / True Blue (TB) Game Links
      • PS3 multiMAN Updates
      • PS3 Resources
      • PS3 Reviews
      • PS3 Save Files Repository
      • PS3 Themes
      • PS3 Trophies List
      • PS3 Videos
      • PS Vita Trophies List
    • Quick Links
      • Affiliates
      • Contact Us
      • FAQ
      • Post News
      • Site Rules
      • Tag Cloud
 

Graf Chokolo Releases PS3 Linux Kernel, OtherOS++ Project

Category: PS3 Hacks & JailBreak  By: PS3 News - (dukio.com)
Tags: graf chokolo ps3 graf_chokolo ps3 graf chokolo ps3 linux kernel otheros++ project

118w ago - Following up on his previous update, over the weekend PlayStation 3 hacker Graf Chokolo has released his PS3 Linux 2.6 Kernel and began documenting his PS3 CFW Custom Firmware with OtherOS++ Project.

His new PlayStation 3 Linux Kernel includes a new HDD, FLASH, VFLASH and RAM drivers for PS3 and AsbestOS users can use the drivers as well.

Download: Graf Chokolo PS3 Linux 2.6 Repo

To quote: The repository which is based on Linux 2.6 kernel, has several wicked stuff in it especially graf_chokolo’s ram block device. As kmeaw said; “It can read/write anything in PS3 RAM, and very useful for HV hacking”

You can read below the commits done to his version of Linux kernel.

  • Added support of several storage regions to PS3 storage library
  • Improved PS3 disk block device driver
  • New drivers for PS3 NOR and 3 RAM misc driver for full access to HV memory
  • Added new HV calls
  • Added extra debug messages for SPU isolation

Finally, from http://ps3wiki.lan.st/index.php/Custom_Firmware_with_OtherOS%2B%2B: PS3 CFW Custom Firmware with OtherOS++

  • First we need a custom Hypervisor (lv1.self) with OtherOS++ support and other nice features like full access to HV services :-) (working on it)
  • Second, we need a program like otheros.self which will resize VFLASH region and store there petitboot
  • Third, we need a GameOS program/XMB plugin which will trigger OtherOS++ boot after GameOS reboot by setting a flag on the 5th VFLASH region




Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!

Comments 22 Comments - Go to Forum Thread »

Errors

The following errors occurred with your submission

Okay

Quick Reply Quick Reply

  • Decrease Size
    Increase Size
  • Wrap [QUOTE] tags around selected text
Posting Quick Reply - Please Wait Posting Quick Reply - Please Wait
shummyr's Avatar
#17 - shummyr - 117w ago
Reply
this is great, thanks for the awesome news

Brenza's Avatar
#16 - Brenza - 117w ago
Reply
Wow, thanks for the news! =D

Ecniv's Avatar
#15 - Ecniv - 117w ago
Reply
Don't think so as we still don`t know what kind of tools sony uses to check our systems for "illegal" software but if that would be possible why stop there??

then you could have 2 ps3 systems 1 official for psn & stuff and another to let's say...

Test our extended demos?

jarvis's Avatar
#14 - jarvis - 117w ago
Reply
This is fantastic work. Congrats on the progress you have made and thanks for all the time and effort put into this.

This may be a stupid question, not sure...

If we can start to do all these things outside of GameOS, is it possible to have the best of both worlds? In other words can we run an unmodified GameOS so that Sony doesn't detect any funny modifications that lead to PSN bans, as well as running Linux & homebrew? I have zero interest in game backups or anything along those lines...

PS3 News's Avatar
#13 - PS3 News - 118w ago
Reply
Over the weekend Graf Chokolo has continued on his project updating his PS3 Linux kernel with new drivers while Kmeaw has made available AsbestOS Linux Kernel Installer v2.0, although he states it is still a work-in-progress.

Download: AsbestOS Linux Kernel Installer v2.0 / AsbestOS v2.0 (Compiled) / [url=http://git.dukio.com/gitweb.cgi?p=install-asbestos;a=summary

PS3 Linux v2.6 Changelog:

• Added ioctl PS3RAM_IOCTL_USER_TO_LPAR_ADDR cmd to ps3ram character device to convert user space addresses to lpar addresses
• New PS3 VUART Dispatcher Manager (port 10) driver
• New PS3 Dispatcher Manager Proxy character device driver for user space /dev/ps3dmproxy

AsbestOS Linux Kernel Installer v2.0 Changelog:

• ICON0.PNG – Updated for v2.0
• sfo.xml – Updated for v2.0
• Makefile – Updated for v2.0
• Progress bar and 128M bootmem fix.

To quote from http://ps3.khore.org/asbestos-v20-released: Well folks, it's done! I've been working with kmeaw last couple of weeks in asbestOS v2.0. This release is easyer to use, and eases the installation of Debian GNU/Linux in your PS3. Right now, it's the best way to overcome the loss of OtherOS feature. Hope everyone enjoys it!

To quote from http://grafchokolo.com/ps3-development-page.html/comment-page-1/#comment-395: Just pushed my newest PS3 Linux drivers to remote GIT repository

You can access Dispatcher Manager from User Space through /dev/ps3dmproxy and in Kernel Space through ps3dm interface.

But take care, some HV services are dangerous and you should know what you are doing, you could e.g. overwrite your metldr or EID on FLASH So be careful.

I intend to write an updater for packages in the next days which will be able to update e.g. CORE OS package from Linux user space And then i will upload it.

For a long time i couldn’t decide where to implement the updater, in kernel space or in user space, kernel space makes e.g. easy converting memory addresses to LPAR addresses, but allocating large piece of memory in kernel is not simple, and implemnting HV services in kernel seems to me to be out of question, so i decied to do it from user space, more safe and easier

And we will need HUGEPAGE support for updater. I already tested it on my PS3 Linux and it works great One page is 16 MB large, more than enough for updating packages. The updater can allocate a huge page, store there the package, lock this page in memory so that swapper doesn’t move it to swap space, convert the address of the page to LPAR address and send it to Update Manager

I also added a new IOCTL to /dev/ps3ram character device – PS3RAM_IOCTL_USER_TO_LPAR_ADDR. It allows you to convert a user space memory address to LPAR address. We will need it for updater e.g., because updater has to send LPAR address of package to Update Manager. Here is an example how to use it: http://pastie.org/1585460


#include
#include
#include
#include
#include
#include
#include
#include

int main(int argc, char **argv)
{
unsigned char *buf;
int fd, res;
struct ps3ram_ioctl_user_to_lpar_addr user_to_lpar_addr;

fd = open("/dev/ps3ram", O_RDWR);
if (fd < 0)
{
fprintf(stderr, "error: open failed with %d\n", fd);
exit(1);
}

posix_memalign(&buf, 4 * 4096, 4096);

mlock(buf, 4096);

printf("%llx\n", buf);

user_to_lpar_addr.user_addr = (unsigned long) buf;

res = ioctl(fd, PS3RAM_IOCTL_USER_TO_LPAR_ADDR, &user_to_lpar_addr);
if (res < 0)
{
fprintf(stderr, "error: ioctl failed with %d\n", res);
exit(1);
}

printf("0x%llx\n", user_to_lpar_addr.lpar_addr);

close(fd);

usleep(5000000);

exit(0);
}


Have fun and report any bugs to me please. HV hacking is cool

Just enabled ENCDEC and ATA debug messages in HV from Linux and now i can see those messages

http://pastie.org/1585891 HV rocks!!! Maybe i should enable RSX debug messages and see what they do.

Here is my new PS3 updater on Linux in action We don’t need PUP files or GameOS anymore to do updates It can be done now on Linux easily HV rocks It can inspect packages now Didn’t try updating yet, too dangerous, have to check everything 1000 times at least because i don’t have a NOR flasher

http://pastie.org/1589059
http://pastie.org/1589063
http://pastie.org/1589091

In case, you are wondering what those repo node value numbers mean, then read my HV page about UM inspect package service.

And here is an example if a package is damaged. I intentionally modified a package and let UM inspect it, It returns error

http://pastie.org/1589113

If SONY is reading it, they will know what those numbers mean

As i said previously, i allocated a huge page with mmap(MAP_HUGETLB) and stored there the package, then i converted the user space address of the buffer to LPAR address and sent a UM inspect package request to Update Manager through my /dev/ps3dmproxy.

To make Linux preallocate some huge pages during boot, i passed boot parameter “hugepages=1″, it means Linux kernel should preallocate 1 huge page of size 16 MB. And an application can grab this page with mmap syscall.

http://pastie.org/1589080

I will upload it soon Stay tuned. PS3+Linux+HV rock !!! And i know where to patch Update Manager in HV process 6 so it will allow us to do downgrades without Product Mode I also improved my DM drivers, will upload them soon too.

Extracting packages with Update Manager works now also

http://pastie.org/1589680






More PlayStation 3 News...

Page 2 of 5 «‹12345›LAST »

Related PS3 News and PS3 CFW Hacks or JailBreak Articles

• Guide to Install multiMAN PS3 Themes via USB from a PKG File
• Simple PS3Updates v1.6 Build 2 Final PS3 Homebrew App Updated
• Video: Super Pixel Jumper v1.2 PS3 Homebrew Game is Released
• Video: Pointman: The Akkadian Wars PS3 Homebrew Game Arrives
• PSPMinis / PS3Minis / Bite v1.5.1 Update for PS3 is Now Released
• PS3 Fan Control Utility v1.7 for PS3 CFW CEX 3.41 to 4.41 Arrives
Affiliates  NewsNow  Privacy  PS3 CFW & MFW  PS3 Hacks & JailBreak  PS3 Reviews  PS3 Videos  © 2013 PlayStation 3 News

PlayStation 3 Links

• Contact Us E-Mail
• PS3 Affiliates
• PS3 CFW & MFW
• PS3 Debug Firmware
• PS3 Decrypted PSN Links for CFW
• PS3 Downloads
• PS3 EBOOT.BIN Original File Links
• PS3 Firmware
• PS3 Game Releases List
• PS3 Guides & Tutorials
• PS3 Hacking Guides and Tutorials
• PS3 Hacks & JailBreak
• PS3 Help & Support
• PS3 JailBreak Game Compatibility List
• PS3 JB2 / True Blue (TB) Game Links
• PS3 multiMAN Updates
• PS3 News Forums
• PS3 News Site FAQ
• PS3 News Site Advertising FAQ
• PS3 News Site Posting FAQ
• PS3 News Site Privacy FAQ
• PS3 News Site Rules
• PS3 News Site Tag Cloud
• PS3 News Site Terms
• PS3 Resources
• PS3 Reviews
• PS3 Save Files Repository
• PS3 Themes
• PS3 Trophies List
• PS3 Videos
• PS Vita Trophies List

PlayStation 3 News Discussions
Sony India Leaks Rumored PlayStation 4 / PS4 250 GB Retail Pricing - 1h ago

dogggg's Avatar
Quote woow so cheap... i guess its a day 1 buy for me ...
By dogggg with
 4 Comments »
Iris Manager v2.0 PS3 Backup Game Manager By Estwald is Released - 2h ago

ponyasd's Avatar
Quote This Manager is terrible. Fan Control not operate correctly under Rebug 4.41.2.The GUI is nightmare. Nobody knows what to do ...?!? I'm disappointed, ...
By ponyasd with
 50 Comments »
Iris Manager v2.0 PS3 Backup Game Manager By Estwald is Released - 6h ago

Neo Cyrus's Avatar
Quote Does anyone else have Iris manager make their PS3 go nuts? I'm on Rebug Rex 4.30.2 and it causes the PS3 to apparently heat up so badly the yellow lig...
By Neo Cyrus with
 50 Comments »
Sony India Leaks Rumored PlayStation 4 / PS4 250 GB Retail Pricing - 6h ago

mmanolos's Avatar
Quote No. We already saw the official "4" close up over a black background...
By mmanolos with
 4 Comments »

Latest PlayStation 3 Trophies
Pool Nation: Mega Shot
Pool Nation: Mega Streak
Pool Nation: Super Zen
Pool Nation: Zen

Latest PlayStation Vita Trophies
Men's Room Mayhem: Toilet Trouble
Men's Room Mayhem: Mayhem Master
Men's Room Mayhem: Hygiene Award
Men's Room Mayhem: Sand in the Face

Latest PlayStation 3 Releases
Kamen Rider Battlide War JPN PS3-Caravan - 05-21-2013
Fast And Furious Showdown PS3-DUPLEX - 05-21-2013
Resident Evil Revelations PS3-ANTiDOTE - 05-19-2013
Muvluv Alternative Total Eclipse JPN PS3-HR - 05-17-2013

Latest PlayStation 3 Themes
Wolverine Origins PS3 Theme - 05-19-2013
Heavy Rain (Official) Dynamic PS3 Theme - 05-09-2013
Wipeout HD Fury Dynamic PS3 Theme - 05-06-2013
Batman Arkham City Dynamic PS3 Theme - 05-04-2013
  • Contact Us
  • -
  • PS3 News