Sponsored Links

Sponsored Links

PS3 Linux Kernel and AsbestOS Installer v2.0 Updates Arrive


Sponsored Links
200w ago - 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: [Register or Login to view links] / AsbestOS Linux Kernel Installer v2.0 / AsbestOS v2.0 (Compiled) / [Register or Login to view links]

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 [Register or Login to view links]: 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 [Register or Login to view links]: 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: [Register or Login to view links]

[Register or Login to view code]



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

[Register or Login to view links] 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

[Register or Login to view links]
[Register or Login to view links]
[Register or Login to view links]

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

[Register or Login to view links]

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.

[Register or Login to view links]

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

[Register or Login to view links]








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

Comments 22 Comments - Go to Forum Thread »

• Please Register at PS3News.com or Login to make comments on Site News articles.
 
#22 - PS3 News - 199w ago
PS3 News's Avatar
Today graf_chokolo has updated his PS3 Linux Kernel again. To quote from: dukio.com/grafchokolos-ps3-linux-kernel-updates.html
So guys, Linux 2.6 GIT repository for PS3 is online again

Link: [Register or Login to view links] (Mirror: [Register or Login to view links])

Changes:

  • Added new PS3 hv calls
  • Added possibility to access more than one region of a PS3 storage device simultaneously
  • Added new PS3 NOR and VFLASH block device drivers
  • Added new PS3 RAM misc device driver that enables direct read/write -access to the whole RAM of PS3
  • Added PS3 VUART 10 (Dispatcher Manager) support
  • Added new PS3 Dispatcher Manager Proxy misc device driver
  • Fixed return value in ps3ram_ioctl

But i need your help. I wrote ps3dmproxy driver from my head. You have to test it please and report bugs to me. Unleash your Linux on PS3 !!!

Later i will code a small program that will show you how to use ps3dmproxy driver. It’s very powerfull, now you have access to Update manager and Storage Manager e.g. on Linux. It means BD drive access guys.

But hurry up with testing Because SONY’s gendarmes could get me anytime soon

He also released Dispatcher Manager Utilities for PS3 Linux: git.dukio.com/gitweb.cgi?p=ps3dm-utils.git;a=summary
Today i will start a new project I called it ps3dm-utils. It will contain programs/tools that use my ps3dmproxy driver and they will give you access to all HV services, like updating firmware from Linux, BD drive access or USB dongle authenticator.

With these programs you will be able to test my ps3dm and ps3dmproxy drivers.

Another update from graf_chokolo is below as well:
Back

Issues with ps3flash.c

Guys, ps3flash.c is the old driver from SONY, disable it, my ps3nflash driver 1000 times better and replaces it, it gives you more freedom You can activate ps3nflash only if you deactivate ps3flash.c driver.

Correction, ps3vflash.c replaces ps3fral.c

Don’t worry, as soon as i get my hands on a PC and PS3, everything will progress faster

Changelog to PS3DM:

  • Fixed example description
  • Implemented first version of ‘update_pkg’ command
  • Implemented first version of ‘inspect_pkg’ command
  • Fixed data output in AIM
  • Added retval check
  • Negate error code before passing it to strerror
  • Added missing ps3dm_um.c module
  • Yet another error message fix
  • Fixed error messages

Changelog to PS3 Linux Kernel:

  • Check send and receive buffer size in PS3 DM VUART device driver (arch/powerpc/include/asm/ps3dm.h & drivers/ps3/ps3dm.c)
  • Revised ps3flash device driver due to changes in ps3stor_lib module (arch/powerpc/platforms/ps3/Kconfig & drivers/char/ps3flash.c)
  • Enable PS3 VFLASH device driver only when default SONY’s PS3 FLASH device driver is not activated (arch/powerpc/platforms/ps3/Kconfig & drivers/char/ps3flash.c)

#21 - tragedy - 199w ago
tragedy's Avatar
Quote Originally Posted by barrybarryk View Post
no, if you want to use the ps3vram as swap space you can, its quicker than a hdd but there's only 256MB of it, which isn't really enough for swap

I'm not sure how this graf's driver is implemented as I've not had a chance to look at it yet, but certainly it's quite likely to be very slow accessing video memory as the CPU read speed to VRAM is very slow. You can read more about it here: noeman.org/gsm/sony/10307-rumor-ps3-slow-broken.html (where local memory means local to the GPU).

The PS3 swap driver for OtherOS gets around this by using the RSX to transfer data between main RAM and VRAM because the RSX has pretty good access speeds to both. I'm guessing this should be trivial to port to asbestos, and possibly this is what's being used anyway.

#20 - PS3 News - 199w ago
PS3 News's Avatar
I have now updated the main article with a compiled .PKG version of AsbestOS v2.0 and a video is included.

#19 - pjmiller435 - 200w ago
pjmiller435's Avatar
wow, i love you graf, you're my hero. haha.

#18 - hatefuel19 - 200w ago
hatefuel19's Avatar
Hey guys, I'm sorry for the uber noob question but how do I go about getting the new drivers installed. I'm running Ubuntu and I have to say, it runs like crap. I've searched on getting it running great but I can't find anything definitive. What I need is how to get ubu running better as well as how to install the new drivers! thanks in advance!!

 

Sponsored Links

Sponsored Links
Sponsored Links

Sponsored Links







Advertising - Affiliates - Contact Us - PS3 Downloads - Privacy Statement - Site Rules - Top - © 2015 PlayStation 3 News