From Fedora Project Wiki
(70 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{shortcut|Arch:PPC}}
{{shortcut|Arch:PPC}}


= PowerPC/POWER/Cell Special Interest Group =
{| style="width: 50%; float: right; margin-left: 2em;"
* IRC: #fedora-ppc on irc.freenode.net
|-
* Mailing List: [http://lists.infradead.org/mailman/listinfo/fedora-ppc fedora-ppc mailing list]
| style="border-width: 0;" | {{admon/tip | Getting Started with Fedora for Power::|
 
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
}}
|}
 
= PowerPC/POWER Special Interest Group =
* IRC: {{fpchat|#fedora-ppc}} on irc.freenode.net
* Mailing List: {{fplist|ppc}}


== Members ==
== Members ==
* [[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]]
* Adrian Reber
* Adrian Reber
* [[KarstenHopp| Karsten Hopp]] (IBM Power 730 Express Server, PowerMac G5)
* [[KarstenHopp| Karsten Hopp]] (IBM Power 730 Express Server)
* [[User:Jskala| Jiri Skala]]
* [[User:sharkcz| Dan Horák]] (IBM IntelliStation 275)
* [[User:sharkcz| Dan Horák]] (IBM IntelliStation 275)
* [[User:dwa| David Aquilina]] (release engineer)
* Mark Hamzy
* Brent Baude
* [[User:Gustavold| Gustavo Luiz Duarte]]


== Latest PPC Fedora release ==
== 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.


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/
== Current Development ==


[[Architectures/PowerPC/CurrentDevelopment]] tracks our current development efforts.


We're doing composes of the F-16 packages and create bootable DVD isos.
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.
Repositories with the latest packages can be found on [http://ppc.koji.fedoraproject.org/mash/16/ our koji hub], the DVD images are currently available in a [http://ppc.koji.fedoraproject.org/scratch/karsten/iso/ temporary location]. Don't expect to be able to install with these DVD isos yet or with the bootimages from the mash directories, it might or it might not work on your machine due to the new combined initrd which is to large for some PowerPC firmwares. The images are known to work on the new Power7 machines and on a PowerMac G5 with 8Gb RAM. There's a [http://sharkcz.livejournal.com/8649.html workaround] for that, but it requires to have a system with an older RHEL or Fedora installation.  


'''UPDATE''' The ISOs from 20110809 and newer have been built with a branch called treebuilder of our [https://fedorahosted.org/lorax/ lorax] tool. We're now back to a small initrd and a second stage ramdisk. [https://fedoraproject.org/wiki/User:Wwoods/Building_images_with_treebuilder Will Woods treebuilder] page contains more information about his enhancements, but make sure to read the [https://fedoraproject.org/wiki/User_talk:Wwoods/Building_images_with_treebuilder discussion] of known issues and workarounds, too.
== Stable Release, GPG keys ==


'''UPDATE''' Latest ISO from 20110920 is installable from previously installed system using network installation source. Some workarounds are needed to finish it:
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].
# Create one spare partition to hold the LiveOS folder from the ISO, create ext4 filesystem on it, mount it,
# copy LiveOS folder from the ISO to this partition,
# put the vmlinuz and initrd.img from  ppc/ppc64 folder on ISO to /boot,
# edit /boot/etc/yaboot.conf, add following lines, replace DEVICE with the partition holding the LiveOS folder:
image=/vmlinuz
label=Fedora
initrd=/initrd.img
read-only
append="root=live:/dev/DEVICE vnc serial"
# Reboot the system and watch the console,
# after unsuccessful network configuration hit <code>^Z</code>,
# run <code>dhclient</code>,
# get the PID of NetworkManager using <code>ps aux</code>, terminate it,
# hit <code>^D</code> to continue with the installation,
# connect to vnc, proceed to partitioning,
# choose custom layout, do not remove the partition with LiveOS folder,
# input the path to installation repository,
# finish the installation.
After these steps it should boot to newly installed system. I didn't use LVM for the installation and installed only minimal package set.


'''UPDATE''' Latest ISO from 20110929 is installable from DVD, although you might have to add the parameter 'serial' as a kernel parameter at the yaboot prompt. Don't choose to install  'Graphical Desktop' with this iso as there's a missing dependency that'll cause your installation to abort.
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.
There are also 20110930 images for PPC (32bit). Those are completely untested and any bugreports need to be ignored atm as we're concentrating on getting 64bit done (unless there's a patch attached that fixes the issue, see below).


If you want to help out with testing, please report any problems on [https://fedoraproject.org/wiki/Architectures/PowerPC#PowerPC.2FPOWER.2FCell_Special_Interest_Group IRC] or in [http://bugzilla.redhat.com bugzilla] (make sure to set the architecture to 'powerpc'). Feedback about installations on older hardware such as 32bit PowerMac G4 is appreciated, but as we're focusing on 64bit machines it might take some time to fix 32bit issues unless patches are attached to the bugreports.
== Supported Architectures ==


== preparing for the Fedora 16 PPC release ==
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.
We're using the Alpha Fedora release process for secondary arches from [https://fedoraproject.org/wiki/User:Jlaska/Draft_Fedora_16_Alpha_PowerPC_Release_Criteria James Laska]: [https://fedoraproject.org/wiki/F16AlphaPPC_checklist F16AlphaPPC_checklist]


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


== Fedora rebuild efforts ==
== Previous Releases ==
There are currently efforts ongoing to recompile all packages and prepare a F-16 release.


This is the current status of the package rebuild:
You can find information about previous Fedora for Power releases at [[Architectures/PowerPC/PreviousReleases]].


[[File:Ppc-statistics.png]]
== Build System & Resources ==


=== Rebuild problems, TODO list ===
===Koji===  
- The most urgent problem at the moment is to get the latest version installable (maybe even with some workarounds for problems) so that the installer and bootloader teams can pick up the work. <br>
All official Fedora PowerPC packages are built by the koji build system at the
 
- The Haskell Compiler (ghc) is available on PPC64. Jens Petersen & Jiri Skala work on bumping haskell-platform packages for PPC64. Unfortunately upstream don't support GHCi & NGC for PPC64. Therefore following packages aren't available for PPC64:
* ghc-template-haskel
* ghc-ForSyDe
* ghc-QuickCheck
* ghc-hamlet
* ghc-parameterized-data
* ghc-type-level
* haskell-platform packages.
 
- yaboot only available on PPC which means we currently need some hacks for 64bit boot images
 
- segmentation fault of alt-ergo.opt during build [https://bugzilla.redhat.com/show_bug.cgi?id=704236 bugzilla #704236]
 
== The PowerPC koji build system ==
 
All official Fedora PowerPC packages will be built by the koji build system at the
[http://ppc.koji.fedoraproject.org/koji PowerPC koji hub]
[http://ppc.koji.fedoraproject.org/koji PowerPC koji hub]


All non-scratch packages that haven't been deleted by the garbage-collector are available at the
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
[http://ppc.koji.fedoraproject.org/packages/ package storage], scratch builds can be found for a few days at the [http://ppc.koji.fedoraproject.org/scratch scratch repository]
ppc-koji build --scratch f20 yourpkg.src.rpm
 
== Building packages on the PowerPC koji build system ==
 
Everyone with a [http://fedoraproject.org/wiki/Join_the_package_collection_maintainers#Get_a_Fedora_Account Fedora account] can do at least scratch builds of packages on the PowerPC koji build system, [http://fedoraproject.org/wiki/Join_the_package_collection_maintainers package maintainers] who can check changes into the git repositories can build updated packages that will later on end up in the distribution.
 
=== Doing scratch builds ===


After running fedora-packager-setup from the fedora-packager rpm
Scratch builds can be found [http://ppc.koji.fedoraproject.org/scratch/ here], and will be removed from koji automatically after a while.
ppc-koji build --scratch dist-f15 yourpkg.src.rpm
These builds will be removed from koji automatically after a while.


=== 'real' builds ===
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.


'Real' builds will be pulled into the package repositories and into the install images, unless they got replaced by later versions.
=== PPC Shell access for debugging ===
After running fedora-packager-setup from the fedora-packager rpm
[[user:baude|Bret 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.
ppc-koji build dist-f15 "$(fedpkg giturl)"
or
fedpkg build --target=dist-f15
(this works only when you have a symlink from ~/.koji/ppc-config to ~/.koji/config)


== PPC Shell access for debugging ==
== Bugzilla ==
[[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.


== Applications/Libraries of Interest ==
* [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]
* [http://mac-on-linux.sourceforge.net/ Mac-on-Linux] - virtualization solution for PowerPC
 
== Documentation ==
 
=== PowerPC Hardware ===
==== [[ApplePowerPC]] ====
 
==== [[PlayStation]] ====
 
== 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]
=== [[Architectures/BuildIssues|Known build issues]] ===


== 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>
* [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>




[[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 17:54, 23 February 2014

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

Bret 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