+ -
当前位置:首页 → 问答吧 → Gentoo Linux on PS3安装手记(Powered By Zhllg)

Gentoo Linux on PS3安装手记(Powered By Zhllg)

时间:2007-08-09

来源:互联网

要准备的东西:

1. PS3 (这台是60G的)
2. PC
3. U盘
4. 空CD-R
5. 宽带

首先,PS3里给Linux分出10G的空间。System Setting -> "Format xxx"
(选项名记不清了,有个format)。把PS3的系统软件版本升级到最新,现在为1.9版
。此机器为新机,所以没有做备份。如果你的硬盘里已经有东西,要先备份。
然后,下载刻录Gentoo minimal install CD。
http://gentoo.osuosl.org/experimental/ppc64/livecd/
然后,在U盘根目录 mkdir -p PS3/otheros。把Gentoo光盘里的ps3_otheros_images里
的otheros.default,拷贝到PS3/otheros下,重命名为otheros.bld
然后,下载32 userland stage4 tarball,放到U盘里。
然后,把U盘插到PS3上。System Setting下选择Install Other
OS。这样PS3就能从U盘里检测到需要的东西,然后按提示继续安装过程。重启前,在default system中选择other OS。重启。
然后,按照这个网页 http://overlays.gentoo.org/proj/cell...allGentooOnPS3 从
Prepare the hard disk for installation
继续安装。这里要注意的是/dev/sda就是你前面第一步给Linux分出的10G。它是作为一个设备出现的,而不是一个分区。

之后就是正常的Gentoo安装过程。唯一一个要注意的是,如此装好的系统内核为64位,用户层为32位。编译内核时要设定CROSS_COMPILE变量
make CROSS_COMPILE=powerpc64-unknown-linux-gnu- oldconfig[menuconfig,...]

作者: DNA24   发布时间: 2007-08-09

后记:
安装时用 的PC里装的是Ubuntu,Ubuntu的cdrecord是wodim,这个是debian
fork的cdrtools。cdrtools的协议不符合debian的自由软件标准,所以debian fork了它。
http://lwn.net/Articles/198171/可是这个东西扫描不到笔记本上的刻录机。后来用nautilus刻录成功,步骤仅仅是右键点击选择烧录。

今天早上修改了有关显示模式的内核参数,结果电视机上显示不出来了。kboot不会玩。结果我盲打修改了/etc/kboot.conf,然后恢复了原状。

PS3上的Linux启动时,有8个小企鹅。第一行2个大的,代表双核CPU。第二行6个小的,代表6个SPU。

作者: DNA24   发布时间: 2007-08-09

应该就是这样,我没表述完整

The PS3 uses the Cell
microprocessor<http://en.wikipedia.org/wiki/Cell_microprocessor>,
which is made up of a PowerPC
<http://en.wikipedia.org/wiki/PowerPC>-based "Power
Processing Element<http://en.wikipedia.org/wiki/Cell_microprocessor#Power_Processor_Element>"
(PPE) and six accessible 3.2 GHz Synergistic Processing Elements
(SPEs)<http://en.wikipedia.org/wiki/Cell_%28microprocessor%29#Synergistic_Pr...>.
A seventh runs in a special mode and is dedicated to aspects of the OS and
security, and an eighth is disabled to improve production yields.

Linux刚启动显示8个企鹅,2大6小,说明是全认出了
只不过那6个并没有被看成是一般的cpu

The *PPE* is the Power
Architecture<http://en.wikipedia.org/wiki/Power_Architecture>based,
two-way
multithreaded <http://en.wikipedia.org/wiki/Simultaneous_multithreading>core
acting as the controller for the eight SPEs, which handle most of the
computational workload. The PPE will work with conventional operating
systems due to its similarity to other 64-bit PowerPC processors, while the
SPEs are designed for vectorized floating point code execution.

作者: DNA24   发布时间: 2007-08-09

thanks
我正要贴呢,呵呵

作者: zhllg   发布时间: 2007-08-09

有人问:
这么说实际上还是一个 PPE,只是因为采用了类似 x86 上的超线程,才显示为多
CPU 的了?还有,这个 Linux 内核是与 PowerPC 64 相同,还是 PS3 专用的?

回答:
这个还没搞清楚
我编译了一次内核,gentoo cell overlay里的ps3-sources-2.6.16,失败了
之后又编译了一次gentoo-sources-2.6.22,不过没有尝试用它启动
make oldconfig时发现好像ps3现在已经被列为ppc64的一个子架构

作者: DNA24   发布时间: 2007-08-09

要不你再贴一个吧~

作者: DNA24   发布时间: 2007-08-09

ps3作为一块廉价的开发版还是很成功的,至于它作为游戏机的优劣已经被我忽视了。。

作者: seerhut   发布时间: 2007-08-09

能支持PS3游戏机的linux还有Ubuntu和YellowDog:

http://wiki.ubuntu.org.cn/UbuntuHelp:PlayStation_3/zh

http://www.tgfcer.com/viewnews-444.html

作者: DNA24   发布时间: 2007-08-10

版主有个PS3了?

作者: gamedragon   发布时间: 2007-08-10

是DNA24的

作者: zhllg   发布时间: 2007-08-10

这台PS3,版本有点旧,没办法,懒得再找其他地方;十月份还会推出80G的版,美国已经发行了

作者: DNA24   发布时间: 2007-08-10