Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enabling ppc64le for Fedora CoreOS #78

Closed
manojnkumar opened this issue Nov 7, 2018 · 13 comments
Closed

enabling ppc64le for Fedora CoreOS #78

manojnkumar opened this issue Nov 7, 2018 · 13 comments

Comments

@manojnkumar
Copy link

I work in the Power systems development labs at IBM. Currently my responsibilities include OpenShift and OpenStack on Power. When OpenShift pivots from Atomic to CoreOS, I would like to ensure that ppc64le is a primary architecture.

Can contribute some portion of my time to resolving issues identified for Power (ppc64le).

@dustymabe
Copy link
Member

Thanks @manojnkumar. Sounds good to me. @sinnykumari has been helped us get ppc64le working in the past for Atomic Host so she should be able to help in this effort as well.

A few things I can think of as things we need to resolve:

  • getting coreos-assembler working (see coreos-assembler breaks on ppc64le coreos-assembler#194)
  • since we're going to try to target kubernetes/openshift as a build environment it would be nice if the openshift instance in CentOS CI supported multi-arch
  • the current plan was to store our coreos-assembler "build container" in quay.io. but we may need to pivot that if quay.io is going to take some time to support multi-arch. I think registry.fedoraproject.org already does today, but I haven't tested it lately.

@sinnykumari
Copy link
Contributor

Yes, can confirm that registry.fedoraproject.org support multiple arches now.
+1 for hosting coreos-assembler images to registry.fedoraproject.org until we have mult-arch support in quay.io .

@bgilbert
Copy link
Contributor

@ajeddeloh
Copy link
Contributor

General question: how does bootloading work on ppc64le? Do you generally use grub's powerpc-ieee1275 target? Is there a special bootloader?

@sharkcz
Copy link

sharkcz commented Jun 19, 2019

There are 2 cases for modern Power HW

  • "pseries" hardware (PowerVM guests/LPARs, KVM/qemu pseries guests) use grub binary (powerpc-ieee1275 aka OpenFirmware)
  • "powernv" aka OpenPower bare-metal (and later KVM/qemu powernv guests), they use petitboot in the firmware (== a Linux mini-distro), that interprets other bootloaders' config files (also has a native config)

@jcajka
Copy link
Contributor

jcajka commented Jun 19, 2019

IIRC "pseries", requires prepboot partition and "powernv" thanks to the (grub) conf parsing is fine with "intel" like partitioning scheme(without prepboot). @sharkcz correct me if I'm wrong.

@cgwalters
Copy link
Member

Does petitboot support BLS?

@sharkcz
Copy link

sharkcz commented Jun 19, 2019

Does petitboot support BLS?

it does, since version 1.8.0. The problem might be that it's part of the firmware, so the version avaiable relies on the HW vendors (like IBM or SuperMicro) releasing new firmware images. On the other hand CoreOS could make "petitboot with BLS" its requirement.

@sharkcz
Copy link

sharkcz commented Jun 19, 2019

for OpenPOWER machines one can build the firmware themselves from the github upstream sources

@ajeddeloh
Copy link
Contributor

@sharkcz so the bootloader is independent of what's on the disk you boot from?

We're using BLS right now but we may want to change that later to support automatic rollback (or do some hybrid approach). It might be that different platforms get different levels of support with regards to automatic rollback.

@sharkcz
Copy link

sharkcz commented Jun 19, 2019

@sharkcz so the bootloader is independent of what's on the disk you boot from?

yes, petitboot (the whole mini-distro) lives in a flash chip and allows booting from any device the underlying Linux kernel (+ related tools like lvm) understands and contains a valid bootloader config file. But I don't know where it stores eg. the last selected/booted kernel or its own configuration (an NVRAM maybe?).

We're using BLS right now but we may want to change that later to support automatic rollback (or do some hybrid approach). It might be that different platforms get different levels of support with regards to automatic rollback.

@cgwalters
Copy link
Member

Tentatively closing this issue; I think ppc64le is in a decent state right now, and the remaining work we can track as dedicated issues.

If we feel a need for coordination, I'd like a new issue that looks like #255 as an explicit tracker.

@ildar
Copy link

ildar commented Jan 11, 2021

@cgwalters ,

I think ppc64le is in a decent state right now

I still can't find any image. What is the "decent state" you mention?
Would you please keep this issue open until images are available?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants