Hi.
I and my development group are interested in doing ppc (ppc32) development for CentOS 7 and getting that running on certain SoC-based platforms.
I imagine that there’s some overlap with the 32-bit component on the Power7 work.
We have Centos 7.6 x86_64 servers that we can do in-house builds on.
We’re mostly looking for collaboration, and maybe a little initial guidance about the pitfalls of setting up a cross build environment, adapting RPM .spec's for additional architectural builds, etc.
We have no idea how much work this will be. We’re also interested in supporting newer (4.10 or later) kernels, so we’ll probably contribute to elrepo as well.
Any pointers/wisdom welcome.
Thanks,
-Philip
Hi Philip,
Cross building is a bit of an interesting topic in these parts. The CentOS 7 32-bit armhfp architecture is compiled natively. That said I don’t want to discourage anyone from contributing to nor expanding the CentOS ecosystem.
I was out on vacation for a few days and missed your #centos-ppc irc inquiries but happy to continue the conversation there or here. I think we need a bit more embedded powerpc interest before a separate powerpc mailing list is warranted.
The few times I have created a cross compiler toolchain, I’ve used cross linux from scratch http://clfs.org/view/CLFS-3.0.0-SYSTEMD/ You mentioned crosstool-ng and I haven’t had a chance to explore that yet.
As I mentioned previously, you could leverage the existing CentOS 7 32-bit ppc rpms on buildlogs.centos.org in a bootstrap repository. Although they are optimized for POWER7 processors, they would satisfy rpm buildrequires and requires as you built fresh ppc rpms targeting an ev500v2 or 85xxDP platform.
CentOS uses mock to build rpms and mock may not have built-in cross build logic https://github.com/CentOS/sig-core-bld-seven/tree/master/mock
-James
On Jan 17, 2019, at 4:11 PM, Philip Prindeville philipp_subx@redfish-solutions.com wrote:
Hi.
I and my development group are interested in doing ppc (ppc32) development for CentOS 7 and getting that running on certain SoC-based platforms.
I imagine that there’s some overlap with the 32-bit component on the Power7 work.
We have Centos 7.6 x86_64 servers that we can do in-house builds on.
We’re mostly looking for collaboration, and maybe a little initial guidance about the pitfalls of setting up a cross build environment, adapting RPM .spec's for additional architectural builds, etc.
We have no idea how much work this will be. We’re also interested in supporting newer (4.10 or later) kernels, so we’ll probably contribute to elrepo as well.
Any pointers/wisdom welcome.
Thanks,
-Philip
CentOS-devel mailing list CentOS-devel@centos.org https://lists.centos.org/mailman/listinfo/centos-devel