Sponsored Links

Sponsored Links

PS3 Linux Kernel and AsbestOS Installer v2.0 Updates Arrive


Sponsored Links
184w 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]



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 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 »

• Please Register at PS3News.com or Login to make comments on Site News articles. Thanks!

pjmiller435's Avatar
#12 - pjmiller435 - 185w ago
Thanks a lot for sharing this information with everybody. Mighty proper of you sir. I'm sure a lot of people will be looking into these.

daveshooter's Avatar
#11 - daveshooter - 185w ago
If anyone is new to the PS3 like myself, and looking for some information on PS3-Linux-kernels or are trying to develop Homebrew, or like myself interested in how it all works from a noobs point of view, then I hope some of these links may help some of you. some are old but still current with stable Linux PS3 Kernels, up to November last, if I remember, take a look here:

ftp://ftp.infradead.org/pub/Sony-PS3/
http://kernel.org/pub/linux/kernel/people/geoff/cell/

or if you wish ftp instead to Geoffrey levand cell
ftp://kernel.org/pub/linux/kernel/people/geoff/cell/

Here is Geoffrey Git's
http://git.kernel.org/?p=linux/kernel/git/geoff/ps3-linux.git
http://git.kernel.org/?p=linux/kernel/git/geoff/ps3-linux-patches.git
http://git.kernel.org/?p=linux/kernel/git/geoff/ps3-utils.git
http://git.kernel.org/?p=linux/kernel/git/geoff/petitboot-dev.git

More Ps3 stuff here: pdaxrom.svn.sourceforge.net

Also another guy to follow for the PS3 is Dan Peori "ooPo" https://github.com/ooPo/following

barrybarryk's Avatar
#10 - barrybarryk - 185w ago
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, better off making a 1GB loopback on the hdd and using that. I'll just be glad when I can install a decent bootloader again for ydl6.2 and zerogame

joffe's Avatar
#9 - joffe - 185w ago
Nice, but asbestos can already boot Linux from the internal HDD using the linux.img on the root of the filesystem...

Yes, but even asbestos V15 is a somewhat crappy solution and more the like a POC. The kernel is packed besides stage1/2 loaders to asbetos.bin in USRDIR - which seems to be copied to /dev_flash as lv2_kernel.self - so if you want to build your own kernel for your favorite distro (I use gentoo) you have to install all modules to linux.img but also need to build a new asbestos.pkg containing the new kernel, install that etc. Several linux.img's around suffer from the problem of incompatible kernel/module version. IMO graf_chokolo's way is the best to go, simply put improved petitboot to vflash that boots off your kernel that has to be in your linux.img, reading parameters from your kboot.conf

I'd rather mount the ps3 filesystem in Linux and boot from that rather than partitioning, if only someone could make a way of decrypting the ps3 filesystem...

graf_chokolo stated already that he is able to mount the ps3 ufs so partitioning won't be necessary, an image file or bundle would work.

as for the kernel , full access to the GFX ram? does that mean we can actually use the video ram as ram instead of swap space now? if so does someone have a compiled kernel?

can't imagine that gfx ram as additional memory is an option, read-speed is far too slow, even slower than reading data from harddisk.

Brenza's Avatar
#8 - Brenza - 185w ago
Wow, i'm really happy, thanks! =D

Sponsored Links

Sponsored Links
Sponsored Links

Sponsored Links







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