From Fedora Project Wiki
(132 intermediate revisions by 21 users not shown)
Line 1: Line 1:
= PowerPC/POWER/Cell Special Interest Group =
{{shortcut|Arch:PPC}}


{| style="width: 50%; float: right; margin-left: 2em;"
|-
| style="border-width: 0;" | {{admon/tip | Getting Started with Fedora for Power::|


== Members ==
Check out our [[Architectures/PowerPC/CurrentDevelopment|current development efforts]] and join the Fedora for Power team on IRC in {{fpchat|#fedora-ppc}} on http://freenode.net
* [[IgnacioVazquezAbrams| Ignacio Vazquez-Abrams]] <BR>
}}
* [[PaulNasrat| Paul Nasrat]] <BR>
|}
* [[PeterLemenkov| Peter Lemenkov]] <BR>
* [[StefanPosdzich|Stefan Posdzich]] (using a Playstation 3 with Fedora 9)


= PowerPC/POWER Special Interest Group =
* IRC: {{fpchat|#fedora-ppc}} on irc.freenode.net
* Mailing List: {{fplist|ppc}}


== Applications/Libraries of Interest ==
== Members ==
* [http://mac-on-linux.sourceforge.net/ Mac-on-Linux] - virtualization solution for PowerPC
* Adrian Reber
 
* [[KarstenHopp| Karsten Hopp]] (IBM Power 730 Express Server)
== Documentation ==
* [[User:sharkcz| Dan Horák]] (IBM IntelliStation 275)
 
* Mark Hamzy
=== Fedora on Apple PPC hardware ===
* Brent Baude
 
* [[User:Gustavold| Gustavo Luiz Duarte]]
==== iBook G4 Hardware info ====
 
iBook G4/1.33GHz 12-Inch (Mid-2005)
 
:*1.33 GHz PowerPC 7447a (G4) processor with 64k L1 cache
:*512k "on chip" level 2 cache.
:*512 MB of onboard RAM (PC2700 DDR SDRAM).
:*40 GB (4200 RPM) Ultra ATA/100 hard drive.
:*Slot-loading DVD-ROM/CD-RW "Combo" drive.
:*4X AGP ATI Mobility Radeon 9550 graphics with 32 MB of DDR SDRAM.
:*A standard AirPort Extreme (802.11g) - Broadcom BCM4318 chipset.
:*Bluetooth 2.0+EDR.
:*56k v.92 standard modem
:*50 W/Hr LiIon battery (Stated 6 hour lifetime)
:*12.1" TFT XGA active matrix display (1024x768 native resolution).
:*"Sudden Motion Sensor" technology that stops the hard drive heads from moving if the notebook is dropped.
:*"Scrolling Trackpad" that allows one to scroll or pan by touching the trackpad with two fingers instead of one.
 
==== Dual booting with OS X ====
 
*Install OS X first:
 
:#Boot from your OS X install CD but before the installation starts, load the disk utility from the top menu.
:#Here you can partion your drive. Partition the drive in two, one as MAC filesystem (for OS X) and one as free space, leave the MBR as the default MAC option.
:#Once OS X is installed grab any updates and set the date/time.
:#You are now ready to go ahead with installing Fedora


{{Admon/tip | Setting the date and time in OS X will mean the date is right in Fedora from the point of install.}}
== Meetings ==
* We don't schedule any IRC meetings, although starting at the Alpha phase of any release we'll try to find some time each day to discuss open issues on our {{fpchat|#fedora-ppc}} channel on IRC .
* The last 'real' [https://fedoraproject.org/wiki/Architectures/PowerPC/Meetings/FUDCon_Lawrence_2013 meeting] of the Fedora-PPC team took place at the FUDcon 2013 in Lawrence, Kansas.


==== Installing Fedora ====
== Current Development ==


*Turn on your Apple, insert the Fedora install media and boot from the CD/DVD by holding down the 'c' key as soon as you hear the Apple chime.
[[Architectures/PowerPC/CurrentDevelopment]] tracks our current development efforts.


{{Admon/warning | Note | There seems to be a bug in the Fedora 9 installer. Caps lock may be on when the light is not. Check at the screen where you can enter your host name.}}
Also see the [http://ppc.koji.fedoraproject.org/koji/serverstatus dashboard] for constantly updated stats on when the most recent pushes were, number of unsigned packages, most important build failures, etc.


:# If you are dual booting, when you get to the partitioning page, select the option which will set up the free space on your hard drive for Fedora, leaving your MAC partition alone.
== Stable Release, GPG keys ==


==== Wireless networking ====
Fedora 20 is the latest stable release of Fedora for Power. It was announced on December 19, 2013. Please see [https://fedoraproject.org/wiki/PowerPC/F20_PPC_release_announcement the release announcement] for additional details or download it from your closest [http://fedoraproject.org/get-fedora-options#2nd_arches mirror].


To get a list of current hardware, in which you should be able to spot your wireless card and see what chipset it uses, open up a terminal and as 'root' type:
Fedora for Power uses different GPG keys than the primary architectures. Check [https://fedoraproject.org/keys The official Fedora GPG key list] for a list of secondary arch keys.


<pre>
== Supported Architectures ==
# lspci
</pre>


===== Broadcom BC43xx chipset=====
Only 64bit machines (Power5 or newer) are supported, but we still provide 32bit packages. The last Fedora release with 32bit boot images was Fedora 17. Although it might be possible to install a 32bit F17 release and then update with the latest packages, this is not supported by the Fedora PPC developers anymore. Interested developers might also be able to create their own 32bit boot images for the latest Fedora release with pungi but this is also not supported by the Fedora PPC developers.


This chipset uses the 'b43' drivers contained in the kernel. For a comprehensive list of supported chipset versions and more info, check the link at the bottom of the page to linuxwireless.org. Although the 'b43' driver is open source, a proprietary piece of firmware is required in order get this wireless chipset to function.
Fedora 18 and newer also includes several optimized packages for Power7 machines. These will be installed automatically if a Power7 processor is detected.


To find out what version you have use a terminal to enter this command as 'root':
== Previous Releases ==


<pre>
You can find information about previous Fedora for Power releases at [[Architectures/PowerPC/PreviousReleases]].
# lspci | grep Broadcom\ Corporation
</pre>


The b43 driver with the proprietary firmware currently supports these versions:
== Build System & Resources ==


* bcm4303 (802.11b-only chips)
===Koji===
* bcm4306
All official Fedora PowerPC packages are built by the koji build system at the
* bcm4309 (only the 2.4GHz part)
[http://ppc.koji.fedoraproject.org/koji PowerPC koji hub]
* bcm4311 rev 1 / bcm4312
* bcm4311 rev 2 / bcm4312 (needs patches for 2.6.24)
* bcm4318 


{{Admon/warning | Note | This guide assumes you are using kernel version 2.6.25 or newer (Fedora 9 and above).}}  
Everyone with a [http://fedoraproject.org/wiki/Join_the_package_collection_maintainers#Get_a_Fedora_Account Fedora account] can do scratch builds of packages on the PowerPC koji build system. After running fedora-packager-setup from the fedora-packager rpm
  ppc-koji build --scratch f20 yourpkg.src.rpm


:*Getting a wireless card running the Broadcom chipset working with Fedora
Scratch builds can be found [http://ppc.koji.fedoraproject.org/scratch/ here], and will be removed from koji automatically after a while.


The first thing to do is to make sure you have the 'b43-fwcutter' tool installed and grab the firmware.  
For a build to end up in the final Fedora for Power distribution, that NVR must have been built on the primary Fedora koji and then pushed as an update for that release. koji-shadow is used by Fedora for Power to track both the stable (e.g. 'f20' during f20 branched development and 'f20-updates' after GA) and updates-testing tags of each release, as well as the current rawhide tag. Please feel free to find [[user:dwa|dwa]] or [[user:karsten|Kick_]] on the #fedora-ppc IRC channel if you have questions about the koji-shadow process.


The firmware cutting tool is used to extract the bit of firmware needed from the proprietary driver. It is a command line tool and should already be installed if you have done a standard Fedora installation.
=== PPC Shell access for debugging ===
[[user:baude|Brent Baude]] ([[fas:baude|rangerpb]]) or [[user:karsten|Karsten Hopp]] ([[fas:karsten|Kick_]]) may provide you access to a PPC box for build debugging purposes. Just send them an e-mail with an request and a public SSH key.


If you don't have it you can install it using 'yum':
== Bugzilla ==


<pre>
* [https://bugzilla.redhat.com/buglist.cgi?query_format=advanced&rep_platform=powerpc&rep_platform=ppc64&rep_platform=ppc&bug_status=NEW&bug_status=ASSIGNED&bug_status=MODIFIED&product=Fedora&classification=Fedora List of currently open PowerPC bugs]
# yum install b43-fwcutter
* [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=179260 ExcludeArch for PowerPC]
</pre>
* [[Architectures/BuildIssues|Power & s390x build issues]]  
 
:*Download the firmware:
 
You can get the firmware from the openwrt.org project. Use the 'wget' command below to download it.
 
<pre>
$ wget http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2
</pre>
 
Now extract the archive:
 
<pre>
$ tar xjf broadcom-wl-4.150.10.5.tar.bz2
</pre>
 
You should end up with a 'broadcom-wl-4.150.10.5' directory and inside that a 'driver' directory containing 'wl_apsta_mimo.o'.
 
:*Next, use the 'b43-fwcutter' tool to extract the firmware to your Fedora system:
 
First, as 'root' set an environment variable pointing to where the firmware should be installed on your system:
 
<pre>
# export FIRMWARE_INSTALL_DIR="/lib/firmware"
</pre>
 
Enter the 'broadcom-wl-4.150.10.5'/driver' directory
 
<pre>
# cd broadcom-wl-4.150.10.5'/driver
</pre>
 
and finally run the firmware cutting tool to extract the firmware to your system:
 
<pre>
# b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta_mimo.o
</pre>
 
That's it, upon reboot you should have a working wireless card! Clicking on the network icon should list all the available networks you can connect to. I would, however, just load the 'b43' module before the reboot to make sure there are no errors:
 
<pre>
# modprobe b43
</pre>
 
I expect a reboot is not actually necessary, you can probably get away with just restarting the network manager.
 
==== Apple TouchPad ====
 
The Apple touchpad works with Fedora 'out of the box' but only uses a generic mouse emulation driver. This is quite a big problem with Apple laptops as they only have one mouse button. To gain full functionality (and a very neat 'right button' click)  you will need to use the 'Synaptics TouchPad' driver for XOrg/XFree86.
 
The 'Synaptics' driver should be installed with a standard Fedora install. If you're using gnome, 'System' > 'Administration' > 'Add/Remove Software' can check for you and install if necessary. To install from the command line:
 
<pre>
# yum install synaptics
</pre>
 
Once installed, it's just a case of editing your '/etc/xorg.conf'. Open up a terminal, log in as root;
 
<pre>
$ su -
</pre>
 
and load 'gedit';
 
<pre>
# gedit
</pre>
 
==== Useful links and credits====
 
http://wireless.kernel.org/en/users/Drivers
 
http://yavin4.anshul.info/category/linux/
 
http://www.imhorst.net/translations/free-your-ibook-english-edition/
 
== Work needed ==
 
=== Bugzilla ===
 
* [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219540 #219540] Game Glest not playable at PPC-arch
* [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239713 #239713] bootstrap ghc on ppc64
* [https://bugzilla.redhat.com/show_bug.cgi?id=453311 #453311] pulseaudio does not start
 
Someone who interested should also watch [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=179260 #179260]  
 
=== Documentation ===
 
* We need step-by-step tutorials describing HOWTO setup Wi-Fi, Apple Bluetooth Mouse and Keyboard, where to find JRE and so on. See the next links (from Ubuntu, Debian and YellowDog):
** [http://ubuntuforums.org/showthread.php?t=224673 HOWTO: Apple Wireless Keyboard (Bluetooth)]
** [https://wiki.ubuntu.com/PowerPCFAQ PowerPC FAQ]  
** [http://johannes.sipsolutions.net/Projects/snd-aoa Notes abount snd-aoa kernel module]  




== Links ==
== Links ==
* [http://www.ibm.com/chips/power/ Power homepage] <BR>
* [http://lists.fedoraproject.org/pipermail/ppc fedora-ppc mailing list] <BR>
* [http://lists.infradead.org/mailman/listinfo/fedora-ppc fedora-ppc mailing list] <BR>
* [[Architectures/PowerPC/PPC-hub-serverstatus|Special files and configuration on the PPC hub]]
* [http://www.ibm.com/systems/power/ Power homepage] <BR>
* [https://www.ibm.com/developerworks/community/wikis/home/wiki/W51a7ffcf4dfd_4b40_9d82_446ebc23c550?lang=en The PowerLinux Community Wiki] <BR>
* [http://www.power.org/ Power.org] <BR>
* [http://www.power.org/ Power.org] <BR>
* [http://www.ppczone.org/ PPCZone] <BR>
* [http://www.terrasoftsolutions.com/support/ YellowDogLinux support pages] <BR>
* [http://www.powerdeveloper.org/ powerdeveloper.org]
* [http://www.powerdeveloper.org/ powerdeveloper.org]
* [http://pic.dhe.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=/liaae/lcon_Installing_Linux_on_System_p5.htm Installation docs] for IBM Power hardware <BR>




== See also ==
[[Category:Arch-specific SIGs]][[Category:SIGs]]
* [[PlayStation]]
[[Category:Fedora special-interest groups|PowerPC]]
 
[[Category:Arch-specific SIGs]]

Revision as of 14:37, 26 February 2015

Shortcut:
Arch:PPC
Idea.png
Getting Started with Fedora for Power::
Check out our current development efforts and join the Fedora for Power team on IRC in #fedora-ppc[?] on http://freenode.net

PowerPC/POWER Special Interest Group

Members

Meetings

  • We don't schedule any IRC meetings, although starting at the Alpha phase of any release we'll try to find some time each day to discuss open issues on our #fedora-ppc[?] channel on IRC .
  • The last 'real' meeting of the Fedora-PPC team took place at the FUDcon 2013 in Lawrence, Kansas.

Current Development

Architectures/PowerPC/CurrentDevelopment tracks our current development efforts.

Also see the dashboard for constantly updated stats on when the most recent pushes were, number of unsigned packages, most important build failures, etc.

Stable Release, GPG keys

Fedora 20 is the latest stable release of Fedora for Power. It was announced on December 19, 2013. Please see the release announcement for additional details or download it from your closest mirror.

Fedora for Power uses different GPG keys than the primary architectures. Check The official Fedora GPG key list for a list of secondary arch keys.

Supported Architectures

Only 64bit machines (Power5 or newer) are supported, but we still provide 32bit packages. The last Fedora release with 32bit boot images was Fedora 17. Although it might be possible to install a 32bit F17 release and then update with the latest packages, this is not supported by the Fedora PPC developers anymore. Interested developers might also be able to create their own 32bit boot images for the latest Fedora release with pungi but this is also not supported by the Fedora PPC developers.

Fedora 18 and newer also includes several optimized packages for Power7 machines. These will be installed automatically if a Power7 processor is detected.

Previous Releases

You can find information about previous Fedora for Power releases at Architectures/PowerPC/PreviousReleases.

Build System & Resources

Koji

All official Fedora PowerPC packages are built by the koji build system at the PowerPC koji hub

Everyone with a Fedora account can do scratch builds of packages on the PowerPC koji build system. After running fedora-packager-setup from the fedora-packager rpm

ppc-koji build --scratch f20 yourpkg.src.rpm

Scratch builds can be found here, and will be removed from koji automatically after a while.

For a build to end up in the final Fedora for Power distribution, that NVR must have been built on the primary Fedora koji and then pushed as an update for that release. koji-shadow is used by Fedora for Power to track both the stable (e.g. 'f20' during f20 branched development and 'f20-updates' after GA) and updates-testing tags of each release, as well as the current rawhide tag. Please feel free to find dwa or Kick_ on the #fedora-ppc IRC channel if you have questions about the koji-shadow process.

PPC Shell access for debugging

Brent Baude (rangerpb) or Karsten Hopp (Kick_) may provide you access to a PPC box for build debugging purposes. Just send them an e-mail with an request and a public SSH key.

Bugzilla


Links