Installing Fedora Core 6 on PlayStation 3
Follow the instructions at:
"Retyped here for convenience (and in case
link ever goes away). I also removed the last few pages of information regarding
starting the X Server. This takes too many resources, and we're only interested
in getting it on the network and running GNU Radio, anyway.
You'll want to have a USB/RF keyboard attached to the PS3 at this point.
Installation Instructions
- Get installation materials; need 1 blank DVD, 1 blank CD, and a USB Flash
drive with at least 100 MB free space.
- Downlaod Fedora 6 DVD image (ISO)
- Download OtherOS PS3 add-on CD (ISO)
- Download Sony's OtherOS installation image from
(called otheros.self):
- "* Burn the ISO's to disc (do this for both files downloaded
above)
- In Linux: cdrecord --device=<cdwriter-device> -tao -eject
<image-file.iso>
- Or use whatever DVD/CD burning tool you prefer
- On your USB flash drive:
- Create a directory named PS3
- Create a subdirectory of PS3 called otheros
- From PS3 add-on CD, copy /kboot/otheros.bld to
flashdrive:/PS3/otheros
- Copy otheros.self downloaded above to
flashdrive:/PS3/otheros
- Format your PS3's harddrive (this will erase all data on the entire drive)
- There are four options for a 60 GB harddrive:
1. All to PS3
2. All to
Other OS
3. 10 GB to Other OS and rest to PS3
4. 10 GB to PS3 and rest to
Other OS - choose either option 2 or 4.
- In the XMB menum, go to Settings --> System Settings -->
Format Utility
- Be sure to select Quick format (10 seconds) or you'll be
waiting 3.5 hours.
- Start loading the Other OS
- Plug in the USB flashdrive
- In XMB navigate to Settings --> System Settings --> Install
Other OS
- The console should automatically detect the necessary files on the
flashdrive
- Follow the prompts to install the bootloader onto the hard
drive
- Change default OS to Other OS
- Settings --> System Settings --> Default System:
change from PS3 to Other OS
- At the kboot command prompt, enter: install-fc
sda
- Insert the Fedora 5/6 DVD when asked
- Hit y on the keyboard and enter to begin
the installation process
- Select Full Installation
- Wait... a while. The PS3 looks frozen for a bit, then it will start
installing files. This process takes 4 - 5 hours.
- When the DVD automatically ejects, insert the PS3 add-on CD when
asked and hit yes
- When the CD automatically ejects, enter the password when asked
- Type reboot and hit enter
Installation of GNU Radio on
FC6 on the PS3
- Enable the development repositories for Yum
- In /etc/yum.repos.d/ edit fedora-development.repo and
enable all repositories by setting enabled to 1
- In /etc/yum.repos.d/ edit fedora-extras-development.repo
and enable all repositories by setting enabled to 1
- I also had to use the baseurl instead of the default mirrorlist to resolve
the packages
- Install FFTW, CPPUNIT, USB, SDCC, guile, numpy, wxPython and SWIG
yum install fftw-devel cppunit-devel libusb-devel sdcc alsa-lib-devel guile numpy wxPython
tar xjf swig-1.3.31.tar.gz
cd swig-1.3.31
./configure && make && sudo make install
- SDCC is installed in a slightly strange way here, so fix some of the
links:
ln -s /usr/bin/sdcc-sdcc /usr/bin/sdcc
ln -s /usr/bin/sdcc-asx8051 /usr/bin/asx8051
ln -s /usr/bin/sdcc-sdcpp /usr/bin/sdcpp
ln -s /usr/bin/sdcc-aslink /usr/bin/aslink
- Get the GNU Radio installation from Subversion and install it
svn co http://gnuradio.org/svn/gnuradio/trunk
cd trunk
./bootstrap
./configure
make
sudo make install
- Set PYTHONPATH to point to the default /usr/local installation directory:
- export
PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.4/site-packages/
- Set this in you're login script ~/.bashrc to automatically load on
login
Audio
Audio is an unresolved issue. Success was reported with native PS3 sound on
Yellow Dog but not on FC6 yet.
An investigation on the use of the Atlas/Janus/Ozy hardware from the HPSDR
project is underway. This is an open
source (GPL) and open hardware project (contributions are covered by the TAPR
[http://tapr.org] Open Hardware
License The
combination of boards mentioned here are available from TAPR. They are quite
inexpensive for this level of hardware. Taken together they provide a USB2
interface to a 200 kHz wide baseband IF system with a pulse width modulator and
codec for microphone and speaker connections. Bill Tracey (kd5tfd@XXXXewjt.com)
is a GnuRadio user, HPSDR contributor, has
a PS3, and is working on using this interface under Linux for several DSP
projects including [http://gnuradio.org/trac/wiki]. and
DttSP "h1.
Using GNU Radio
The normal flow graph control in Python is broken and we haven't found a
fix for it yet. (fixed in
[6212":http://groups.yahoo.com/group/dttsp-linux]) However, the new method of
running the scheduler and flow graphs is to use hier_block2s. This will
eventually become the standard way of handling the flow graphs when version 3.2
is released, which deprecate hier_block. The hier_block2 work in the PS3,
although there are a few bugs and unresolved issues. Most basic items work,
though.
To test a GNU Radio example, use the example code found in:
gnuradio-examples/python/hier
Specifically, to test that the USRP works, run:
cd gnuradio-examples/python/hier/usrp
./usrp_siggen.py -T <A|B> -f <frequency>
There are some unresolved issues with the hier_block2's, but this simple
example runs fine.
Installing the IBM Cell SDK
version 2.1
If you want to write code that takes advantage of the Cell SPE's,
you'll need the IBM SDK.
The SDK requires FC6.* Download the SDK2.1 iso * Make sure you've got these prereqs installed:
yum install ed freeglut freeglut-devel libXmu-devel libXext-devel gcc make perl rsync flex byacc netpbm netpbm-devel mesa-libGL-devel mesa-libGLU-devel libX11-devel numactl numactl-devel
* Follow the instructions starting on page 13 of ""Software Development Kit 2.1 Installation Guide"":http://www-304.ibm.com/jct01004c/systems/support/supportsite.wss/docdisplay?brandind=5000008&lndocid=MIGR-65726 * When you're ready to install, do:
./cellsdk install --nosim --nokernel
./cellsdk build --gcc
注:Installing Fedora Core 6 on PlayStation 3 (原文出处,翻译整理仅供参考!)