From Fedora Project Wiki
m (typos)
mNo edit summary
(137 intermediate revisions by 18 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) <BR>
* [[WalterJusten| Walter Justen]]


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


Latest Fedora release for PPC is currently Fedora 12 and can be found from http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/ppc/iso/
== Members ==
 
* [[User:sharkcz| Dan Horák]] (IBM IntelliStation 275)
== PPC Shell access for debugging ==
* [[User:than| Than Ngo]]
[[user:dwmw2|David Woodhouse]] ([[fas:dwmw2|dwmw2]]) and [[user:jwboyer|Josh Boyer]] ([[fas:jwboyer|jwboyer]]) 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.
* Mark Hamzy
 
* Mike Wolf
== Applications/Libraries of Interest ==
* [[User:Gustavold| Gustavo Luiz Duarte]]
* [http://mac-on-linux.sourceforge.net/ Mac-on-Linux] - virtualization solution for PowerPC
* [[User:menantea| Guy Menanteau]]
 
* [[User:Michelmno| Michel Normand]]
== Documentation ==
* [[User:sinnykumari| Sinny Kumari]]
 
=== Fedora on Apple PPC hardware ===


==== iBook G4 Hardware info ====
== Stable Release, GPG keys ==  


iBook G4/1.33GHz 12-Inch (Mid-2005)
Fedora 28 is the latest stable release of Fedora for Power. It was announced on May 1st, 2018. Please see [https://fedoramagazine.org/announcing-fedora-28// the release announcement] for additional details or download it directly from [https://alt.fedoraproject.org/alt/ here].


:*1.33 GHz PowerPC 7447a (G4) processor with 64k L1 cache
Fedora for Power uses now primary architectures GPG keys. Check [https://fedoraproject.org/keys The official Fedora GPG key list] for a list of primary/secondary keys per releases.
:*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 ====
=== Release Notes ===
* [[Architectures/PowerPC/28|Fedora 28]]
* [[Architectures/PowerPC/27|Fedora 27]]
* [[Architectures/PowerPC/26|Fedora 26]]  EOL targeted end of May 2018


*Install OS X first:
== Supported Architectures ==


:#Boot from your OS X install CD but before the installation starts, load the disk utility from the top menu.  
Only 64bit machines (big endian Power5 or newer and little endian Power8 or newer) are supported, 32bit packages are not available anymore in F22 or newer. 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 F21 packages, this is not supported by the Fedora PPC developers anymore.  
:#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 partitioning scheme 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.}}
Fedora 18 through Fedora 23 also includes several optimized packages for Power7 machines. These will be installed automatically if a Power7 processor is detected.  The focus for Fedora 24 and newer is on Power8 or newer hardware and the optimizations for these CPU types are handled through a different mechanism.


==== Installing Fedora ====
Fedora 25 able to be installed also on Mac G5 machine as per https://github.com/masterzorag/G5_ppc64-linux


*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.
Due the limited resource and clear preference of the ppc64le architecture in any new developments, it was decided that ppc64 architecture will transfer into a maintenance mode where the new features (eg. Atomic Host compose) we plan for ppc64le won't be added, see  [https://lists.fedoraproject.org/archives/list/ppc@lists.fedoraproject.org/message/C23EQYITA4DQWM7CQF6LJC5ABXY2XIEM/ email] for details.


{{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.}}
== Previous Releases ==


:# 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.
You can find information about previous Fedora for Power releases at [[Architectures/PowerPC/PreviousReleases]].  


==== Wireless networking ====
== Build System & Resources ==


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:
===Koji===


<pre>
====Rawhide====
# lspci
On October 29, 2016 announcement was made to [https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/SBQOANIUYRRRJGK3BNN5WOYERMEVTD5V/ merge ppc64(le)] koji builds of packages with [http://koji.fedoraproject.org/koji/ primary koji].
</pre>


===== Broadcom BC43xx chipset=====
To make a scratch build of package for ppc64 and ppc64le in Fedora rawhide, run:
  koji build --scratch --arch-override=ppc64,ppc64le rawhide yourpkg.src.rpm


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.
=== PPC Shell access for debugging ===
[[user:sharkcz|Dan Horák ]] ([[fas:sharkcz|sharkcz]]) can provide you access to a PPC box for build debugging purposes. Just send him an e-mail with a request and a public SSH key.
fedora-infra team is also working on providing easier access to a PowerPC VM for debugging build issues. Once we have it ready, we will update this section.


To find out what version you have use a terminal to enter this command as 'root':
== 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]
# lspci | grep Broadcom\ Corporation
</pre>
 
The b43 driver with the proprietary firmware currently supports these versions:
 
* bcm4303 (802.11b-only chips)
* bcm4306
* bcm4309 (only the 2.4GHz part)
* 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).}} 
 
:*Getting a wireless card running the Broadcom chipset working with Fedora
 
The first thing to do is to make sure you have the 'b43-fwcutter' tool installed and grab the firmware.
 
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.
 
If you don't have it you can install it using 'yum':
 
<pre>
# yum install b43-fwcutter
</pre>
 
:*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.
 
{{Admon/warning | Note | Without the synaptic driver I found the mouse pointer would become unusable sometimes after the screen saver had been on.}}
 
:*Using the Synaptics driver
 
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 synaptic
</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>
 
Your '/etc/xorg.conf' will have a "serverLayout" section, add the input device "Apple TouchPad".
 
<pre>
Section "ServerLayout"
InputDevice "Apple TouchPad" "AlwaysCore"
EndSection
</pre>
 
Then add the following "InputDevice" section anywhere in the config file:
 
<pre>
...
Section "InputDevice"
Identifier "Apple TouchPad"
Driver "synaptics"
Option "SendCoreEvents" "True"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "SHMConfig" "On"
Option "LeftEdge" "0"
Option "RightEdge" "850"
Option "TopEdge" "0"
Option "BottomEdge" "645"
Option "VertScrollDelta" "40"
Option "HorizScrollDelta" "0"
Option "MinSpeed" "0.6"
Option "MaxSpeed" "1.5"
Option "AccelFactor" "0.1"
Option "lockedDrags" "True"
Option "TapButton1" "1"
Option "TapButton2" "3"
Option "TapButton3" "2"
EndSection
...
</pre>
 
This will give you the ability to scroll with the right hand side of the touchpad, left click by tapping with one finger and right click by tapping with two. If you want to change how the pad works you can find out all the options in the manual here:
 
http://linux.die.net/man/5/synaptics
 
 
==== NVIDIA GeForce4 MX ====
 
The X11 video-nv driver is replaced by the video-nouveau as the default graphics driver for NVIDIA video cards. See https://fedoraproject.org/wiki/Features/NouveauAsDefault for more information.
Unfortunately nouveau doesn't work for the NVIDIA video card used in the Power Mac G4 MDD with dual 867 Mhz CPU. You need to switch back to nv.
<BR>
 
Check that the nv driver is installed. If not install it:
 
<pre>
# yum install xorg-x11-drv-nv
</pre>
 
Now you need to disable the nouveau driver.
Check that the file /etc/modprobe.d/blacklist-nouveau.conf exists. If not create it:
 
<pre>
# vi /etc/modprobe.d/blacklist-nouveau.conf
</pre>
 
Add:
<pre>
blacklist nouveau
</pre>
 
Check that mkinitrd is installed. If you have a Fedora minimal installation you need to install it.
 
<pre>
# yum install mkinitrd
</pre>
 
Create new initrd:
 
<pre>
# mkinitrd -f /boot/initrd-$(uname -r).img $(uname -r)
</pre>
 
Reboot System:
 
<pre>
# reboot
</pre>
 
Re-configure you display:
 
<pre>
# system-config-display --reconfig
</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/buglist.cgi?query_format=advanced&bug_status=NEW&bug_status=ASSIGNED&bug_status=MODIFIED&rep_platform=powerpc List of currently open PowerPC bugs]
* [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=179260 ExcludeArch for PowerPC]
* [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=179260 ExcludeArch for PowerPC]
 
* [[Architectures/BuildIssues|Power & s390x build issues]]  
=== 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.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 ==
* [[PlayStation]]


[[Category:Arch-specific SIGs]][[Category:SIGs]]
[[Category:Arch-specific SIGs]][[Category:SIGs]]
[[Category:Fedora special-interest groups|PowerPC]]
[[Category:Fedora special-interest groups|PowerPC]]

Revision as of 12:25, 4 May 2018

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

Stable Release, GPG keys

Fedora 28 is the latest stable release of Fedora for Power. It was announced on May 1st, 2018. Please see the release announcement for additional details or download it directly from here.

Fedora for Power uses now primary architectures GPG keys. Check The official Fedora GPG key list for a list of primary/secondary keys per releases.

Release Notes

Supported Architectures

Only 64bit machines (big endian Power5 or newer and little endian Power8 or newer) are supported, 32bit packages are not available anymore in F22 or newer. 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 F21 packages, this is not supported by the Fedora PPC developers anymore.

Fedora 18 through Fedora 23 also includes several optimized packages for Power7 machines. These will be installed automatically if a Power7 processor is detected. The focus for Fedora 24 and newer is on Power8 or newer hardware and the optimizations for these CPU types are handled through a different mechanism.

Fedora 25 able to be installed also on Mac G5 machine as per https://github.com/masterzorag/G5_ppc64-linux

Due the limited resource and clear preference of the ppc64le architecture in any new developments, it was decided that ppc64 architecture will transfer into a maintenance mode where the new features (eg. Atomic Host compose) we plan for ppc64le won't be added, see email for details.

Previous Releases

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

Build System & Resources

Koji

Rawhide

On October 29, 2016 announcement was made to merge ppc64(le) koji builds of packages with primary koji.

To make a scratch build of package for ppc64 and ppc64le in Fedora rawhide, run:

  koji build --scratch --arch-override=ppc64,ppc64le rawhide yourpkg.src.rpm

PPC Shell access for debugging

Dan Horák (sharkcz) can provide you access to a PPC box for build debugging purposes. Just send him an e-mail with a request and a public SSH key. fedora-infra team is also working on providing easier access to a PowerPC VM for debugging build issues. Once we have it ready, we will update this section.

Bugzilla


Links