From Fedora Project Wiki
mNo edit summary
 
(109 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{{admon/warning |f33/f34 docker images need docker V20.10:|
* as per [[https://bugzilla.redhat.com/show_bug.cgi?id=1746355/ bug 1746355]], starting with f33 ppc64le images you need a Docker supporting cgroup v2.
* If you do not have, then add following host grub boot parameter <pre>systemd.unified_cgroup_hierarchy=0</pre>
}}
{{shortcut|Arch:PPC}}
{{shortcut|Arch:PPC}}
{| style="width: 60%; float: right;"
|-
| style="border-width: 0;" | {{admon/tip |Getting Started with Fedora for Power:|
* '''Download''' from [https://alt.fedoraproject.org/alt/ Alternate Architectures]
* Join the Fedora for Power team on IRC in {{fpchat|#fedora-ppc}} on http://libera.chat
}}
|}


= PowerPC/POWER/Cell Special Interest Group =
= PowerPC/POWER Special Interest Group =
* IRC: #fedora-ppc on irc.freenode.net
* IRC: {{fpchat|#fedora-ppc}} on irc.libera.chat
* Mailing List: [http://lists.fedoraproject.org/pipermail/ppc fedora-ppc mailing list]
* Mailing List: {{fplist|ppc}}


== Members ==
== Members ==
* Adrian Reber
* [[KarstenHopp| Karsten Hopp]] (IBM Power 730 Express Server, PowerMac G5)
* [[User:Jskala| Jiri Skala]]
* [[User:sharkcz| Dan Horák]] (IBM IntelliStation 275)
* [[User:sharkcz| Dan Horák]] (IBM IntelliStation 275)
* [[User:than| Than Ngo]]
* Mark Hamzy
* Mark Hamzy
* Brent Baude
* Mike Wolf
 
* [[User:Gustavold| Gustavo Luiz Duarte]]
== Latest PPC Fedora release ==
* [[User:efi | Éric Fintzel]]
 
* [[User:menantea| Guy Menanteau]]
Latest Fedora release for PPC is currently Fedora 12 and can be found at http://download.fedoraproject.org/pub/fedora/linux/releases/12/Fedora/ppc/iso/
* [[User:sinnykumari| Sinny Kumari]]
 
 
There is also '''Fedora 16 Alpha for PPC64''' which has been released Oct. 25th, 2011. It is available on several mirrors which are listed [https://mirrors.fedoraproject.org/publiclist/Fedora/16-Alpha/ppc64/ here].
 
It is known to work on the new Power7 machines and on PowerMac G5 with > 1Gb RAM. Installations on machines with less RAM might work, but that is untested yet (feedback welcome).
 
As we currently don't update the package repositories on the mirrors regularily, users of pre-releases of Fedora-16 for PowerPC who need to test packages that are newer than those in F16-Alpha (or later F16-Beta) have to manually add the repo containing the latest packages to their /etc/yum.repos.d directory. They need to create a new file, p.e. /etc/yum.repos.d/fedora-16-prerelease.repo with these contents:
<pre>
[fedora-16-prerelease]
name=Fedora $releasever - $basearch - prerelease
failovermethod=priority
baseurl=http://ppc.koji.fedoraproject.org/mash/$releasever/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
</pre>
 
Or on your F16 system, you can issue the following command to download the repo and put it in the correct place:
 
<pre>
wget -O /etc/yum.repos.d/fedora-16-prerelease.repo https://fedoraproject.org/w/uploads/7/71/Fedora-16-prerelease.repo
</pre>
 
A fresh installation for F16-Beta (or F16-Final) when those are released is highly recommended so that you can verify that all reported and closed as fixed bugs have really been addressed in -Beta (or -Final).
 
 
 
If the installation fails, here is a [http://sharkcz.livejournal.com/8649.html HOWTO] for an install that requires you to have a system with an older RHEL or Fedora installation and that doesn't use the usual anaconda installer.
 
 
On the mirrors are also install media and packages for [https://mirrors.fedoraproject.org/publiclist/Fedora/16-Alpha/ppc PPC (32bit)]
Those are completely untested and any bugreports without patches attached that fix the issue will most likely be deferred atm as we're concentrating on getting 64bit done.


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.
== Stable Release, GPG keys ==


== preparing for the Fedora 16 PPC release ==
Fedora 32 is the latest stable release of Fedora for Power. It was announced on April, 2020. Please see [https://fedoramagazine.org/announcing-fedora-32/// the release announcement] for additional details or '''Download directly from [https://alt.fedoraproject.org/alt/ here].'''
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]


This is the [https://fedoraproject.org/wiki/F16_PPC_schedule schedule] for the F16 PPC release.
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.


== Fedora rebuild efforts ==
=== Release Notes ===
There are currently efforts ongoing to recompile all packages and prepare a F-16 release.  
* Fedora 32  (same release notes as referenced above, not specific for PowerPC) and  [https://fedoraproject.org/wiki/Category:Fedora_32_PowerPC_Test_Results tests results and known bugs at GA time.]
* [[Architectures/PowerPC/28|Fedora 28]] is last to support ppc64 (BE) but is EOL


This is the current status of the package rebuild:
== Supported Architectures ==


[[File:Ppc-statistics.png]]
Only 64bit machines (little endian Power8 or newer) are supported now; (Fedora 22-28 supported big endian Power5 to Power8).


=== Rebuild problems, TODO list ===
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.  
- 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>


- 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:
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.
* 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
Fedora 25 able to be installed also on Mac G5 machine as per https://github.com/masterzorag/G5_ppc64-linux


- segmentation fault of alt-ergo.opt during build [https://bugzilla.redhat.com/show_bug.cgi?id=704236 bugzilla #704236]
Fedora 28 is last release for ppc64 (BE)
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.


== The PowerPC koji build system ==
== Previous Releases ==


All official Fedora PowerPC packages will be built by the koji build system at the
You can find information about previous Fedora for Power releases at [[Architectures/PowerPC/PreviousReleases]].  
[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
== Build System & Resources ==
[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]


== Building packages on the PowerPC koji build system ==
===Koji===  


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.
====Rawhide====
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].


=== Doing scratch builds ===
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


After running fedora-packager-setup from the fedora-packager rpm
=== PPC Shell access for debugging ===
ppc-koji build --scratch dist-f15 yourpkg.src.rpm
[[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.
These builds will be removed from koji automatically after a while.
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.


=== 'real' builds ===
== Bugzilla ==


'Real' builds will be pulled into the package repositories and into the install images, unless they got replaced by later versions.
* [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]
After running fedora-packager-setup from the fedora-packager rpm
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 ==
[[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 ==
* [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.fedoraproject.org/pipermail/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>




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

Latest revision as of 17:55, 3 August 2022

Warning.png
f33/f34 docker images need docker V20.10:
  • as per [bug 1746355], starting with f33 ppc64le images you need a Docker supporting cgroup v2.
  • If you do not have, then add following host grub boot parameter
    systemd.unified_cgroup_hierarchy=0
Shortcut:
Arch:PPC
Idea.png
Getting Started with Fedora for Power:

PowerPC/POWER Special Interest Group

Members

Stable Release, GPG keys

Fedora 32 is the latest stable release of Fedora for Power. It was announced on April, 2020. Please see the release announcement for additional details or Download 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 (little endian Power8 or newer) are supported now; (Fedora 22-28 supported big endian Power5 to Power8).

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

Fedora 28 is last release for ppc64 (BE) 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