作者snowwolf725 (空之境界)
看板Modchip
标题[PS3 ] AsbestOS: Linux on PS3 3.41 without OtherOS via GameOS
时间Wed Oct 20 13:32:17 2010
Linux 目前已经能够在 3.41 版的 PS3 上面执行了,
Marcan 完成了他的 linux bootloader (AsbestOS),
并且展示了在 PS3 上使用使用 gentoo linux 的影片,
原文有实际操作的影片可以看,
并且放出修改後的 gentool linux,
预设的帐号是 root 密码为 ps3
不过为了节省空间所以 Portage tree 是空的,
所以如果要安装软体的话,
须要先下 emerge --sync 或是自己 mount 其他电脑/装置上的 Portage tree 来用,
如果要改 kernel command line 的话,
目前只能修改 hex 档中的 HEXEDIT_THIS 这里,
而且改的时候不能动到字串长度...
为了能够让你的 linux 正常运作,
你需要修改 /etc/ 下面的一些设定档来设定网路及档案系统,
目前提供的 kernel 还不够完善,
像是第七个 SPE 的存取需要做 path,
还有对於 3D 蓝光的支援可能也要做修正
AsbestOS 是独立的 Sourcecode 采用 GPLv2 授权,
也不需要 PS3 SDK 所以没有版权上的问题,
并且内含了 toolchain 让你可以开发 PS3 上的程式,
作者用的是 TI OMAP3 的版子,
之前 Roc Vallès. 把 AsbestOS port 到 atmega1280 开发板上,
前几天 Roc Vallès. 又 port 到 atmega168,atmega328p,
这两个版子由於 flash 的空间不够所以需要外挂 EEPROM,
编译也很简单只需要使用 AVR 编译器就可以编译,
不过我用前几天买的 atmega1280 的版子做了下测试,
发现我连 stage1 都 load 不起来...>_<
不知道是哪边有弄错晚上再来研究看看~~
Update:
目前可以 load stage2 了,
atmega1280 最新版的程式有错...
所以会没办法编译出 atmega1280 ,
目前只能暂时用前一版的编译,
等下写信跟作者大大讲一下~~
接下来就是把 kernel 透过 tftp 喂给 ps3了
Update:
昨天晚上跟作者讲今天早上就修好了:P
目前看起应该能够正常运作了,
不过这几天应该满忙的最快也要明天晚上才能试了~~
==================
原文连结 :
http://0rz.tw/6Ctzy
A few weeks back PlayStation 3 developer Marcan named his PS3 Linux
Bootloader on Firmware 3.41 AsbestOS, and today he has shared a video of it
in action below along with the following details, to quote:
"As most of you will probably already know, I've been working on a project
recently which aims to run Linux on the PS3 using the PSJailbreak exploit,
effectively replacing GameOS on the fly.
I think it's gotten to the point where it's useful enough for other people
to be interested, so here's something resembling an official announcement.
AsbestOS (a mineral, and meaning 「inextinguishable」 in Greek) is a
bootloader to run PS3 Linux without OtherOS. It runs using the USB GameOS
exploit (on PS3 version 3.41) from any compatible device, and any
reprogrammable devices currently running the PS3 exploit can be used as long
as they have enough free internal or external storage (40kB or so) to hold
the loader. It is general enough that it should be useful to boot Linux given
any other GameOS exploit in the future.
Currently, it only supports netbooting a kernel and no initrd (mostly due to
bootmem limitations). This is enough to run a Linux system booting from an
NFS share or from USB storage media. Almost everything that works under
OtherOS is working.
As additional perks of running as GameOS, you also get access to a seventh
SPE (needs a kernel patch to enable) and there is clearly full access to the
RSX including 3D support, although we still need to learn a few details about
how that works to be able to use it.
AsbestOS is a fully independent open source payload and does not contain any
code from the original PSJailbreak payload or derivatives. It is licensed
under the GPLv2. Compiling it does not require any SDK tools, and it includes
a script to build a fully vanilla GNU toolchain for the PS3.
If you're interested, check out the git repository. The README file contains
information on how to run AsbestOS and how to set up kernels. Currently,
ports exist for software USB AVRs (Arduino etc.), iPods, and the reference
implementation for devices with a TI OMAP3, but anything currently running
PSGroove or similar can be adapted with only a few lines of new code.
For the impatient or lazy folks, here's a kernel that you can use Update:
and a stage1 binary and a stage2 binary.
You'll probably want to change the kernel commandline options to set up your
NFS root partition. This will eventually be handled by AsbestOS, but for now,
open it up in a hex editor, search for HEXEDIT_THIS, and change the
commandline to suit your needs (without changing the total length, of
course). Do note that this kernel does not have built-in USB support, so it
can only be used for NFS booting (the USB stuff is built as a module).
You can use this filesystem as a starting point. It's a Gentoo stage3
updated to date and with PS3-specific tools installed. Keep in mind that
there's no Portage tree included, so be sure to either emerge --sync or
NFS mount your server's Portage tree (which is what I do).
At the very minimum, you'll want to edit the following files to configure
your NFS and networking settings (or to specify USB device partitions, if you
want to go that route – but you need to compile your own kernel then):
/etc/fstab, /etc/hosts, /etc/resolv.conf, and quite likely a few others. This
filesystem includes kernel modules for the above kernel. The root password is
"ps3."
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 114.32.118.136
1F:→ ninjaxin:3.14?!?! 10/20 14:57
2F:→ snowwolf725:3.41 才对... 10/20 15:01
※ 编辑: snowwolf725 来自: 114.32.118.136 (10/21 12:12)
3F:→ felix77:有了Linu 接下来PS3可做的事可多了 XBMC目前可否安装使用? 10/21 17:39