AsbestOS: Linux on PS3 3.41 without OtherOS via GameOS - 改機

By Dinah
at 2010-10-20T13:32
at 2010-10-20T13:32
Table of Contents
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."
--
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."
--
Tags:
改機
All Comments

By Hazel
at 2010-10-24T20:06
at 2010-10-24T20:06

By Gary
at 2010-10-26T06:12
at 2010-10-26T06:12

By Rae
at 2010-10-27T07:48
at 2010-10-27T07:48
Related Posts
Gaia Manager 1.0

By Oscar
at 2010-10-20T10:45
at 2010-10-20T10:45
4.2J用外接光碟機出現clos249跟222找不到

By Edith
at 2010-10-20T09:14
at 2010-10-20T09:14
胖P無線LAN開關壞掉

By Hedy
at 2010-10-20T00:14
at 2010-10-20T00:14
PS3 Acid CFW-XMB Custom Firmware XML Hack Pack Released

By Emily
at 2010-10-19T19:25
at 2010-10-19T19:25
可以請各位推薦白店嗎 ?

By Barb Cronin
at 2010-10-19T19:16
at 2010-10-19T19:16