<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I am really interested in what you are doing here and hope you
succeed.<br>
<br>
Probably very off-topic, but I tried following the process outlined
in
<a class="moz-txt-link-freetext" href="https://github.com/umiddelb/aarch64/wiki/Install-CentOS-7-on-your-favourite-ARMv8-ARM64-AArch64-board">https://github.com/umiddelb/aarch64/wiki/Install-CentOS-7-on-your-favourite-ARMv8-ARM64-AArch64-board</a>.
I used a Fedora Minimal aarch64 image as a starting point and burned
that to MicroSD. I backed up the / partition and replaced is with a
Centos 7.4 / partition which is available from
<a class="moz-txt-link-freetext" href="http://vault.centos.org/altarch/7.4.1708/isos/aarch64/CentOS-7-aarch64.img.xz">http://vault.centos.org/altarch/7.4.1708/isos/aarch64/CentOS-7-aarch64.img.xz</a>
(I could not see any more recent images). Then, from the Fedora / I
added back in /usr/lib/firmware and /usr/lib/modules for the kernel
and /etc/fstab for the filesystem mounts.<br>
<br>
When I rebooted, after a bit of a wait, things started happening.
There was no grub display to select kernels and so on, but it went
through and booted to a login prompt. A couple of errors went by
quickly. I know one related to Centos but I could not catch it.
Another related to the Fedora crash kernel or something like it.
From then on I could do nothing. The default root password, centos,
did not work and I could not log in. I mounted the SD card with a
Live Distro and injected my public keys, rebooted into the Pi then
tried to ssh in but each time I tried with password or keys, the
connection was "unexpectedly terminated".<br>
<br>
Do you know if this method is a non-starter or are there some key
bits I've missed?<br>
<br>
I am a bit technical but certainly do not know my way around the
boot process of any type of linux and don't have the knowledge to
compile kernels and so on.<br>
<br>
Nick<br>
<br>
<div class="moz-cite-prefix">On 16/12/2018 14:27, Mark Verlinde
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:zarafa.5c1660c6.3f8f.701d580d6123713c@clearos.havak.lan">
<pre class="moz-quote-pre" wrap="">-----Oorspronkelijk bericht-----
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Afzender:Mark Verlinde <a class="moz-txt-link-rfc2396E" href="mailto:mark@havak.nl"><mark@havak.nl></a>
Verstuurd: Zaterdag 15 December 2018 15:17
Aan: Conversations around CentOS on ARM hardware <a class="moz-txt-link-rfc2396E" href="mailto:arm-dev@centos.org"><arm-dev@centos.org></a>
Onderwerp: Re: [Arm-dev] centos 7 64 bit on raspberry Pi 3
-----Oorspronkelijk bericht-----
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Afzender:Pablo Sebastián Greco <a class="moz-txt-link-rfc2396E" href="mailto:pablo@fliagreco.com.ar"><pablo@fliagreco.com.ar></a>
Verstuurd: Zaterdag 15 December 2018 14:06
Aan: Conversations around CentOS on ARM hardware <a class="moz-txt-link-rfc2396E" href="mailto:arm-dev@centos.org"><arm-dev@centos.org></a>
Onderwerp: Re: [Arm-dev] centos 7 64 bit on raspberry Pi 3
El 15/12/18 a las 08:58, Pablo Sebastián Greco escribió:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
That is my guess too, but we're providing this kernel also
(<a class="moz-txt-link-freetext" href="http://mirror.centos.org/altarch/7.6.1810/kernel/aarch64/Packages/">http://mirror.centos.org/altarch/7.6.1810/kernel/aarch64/Packages/</a>),
which is pretty close to the Fedora kernel.
So if you could create a ISO with that kernel, it "should" work.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">I meant, to upstream kernel. The one that is close to Fedora is 4.19
from here
<a class="moz-txt-link-freetext" href="https://armv7.dev.centos.org/repodir/community-kernel-latest/kernel/4.19.7-300.el7/">https://armv7.dev.centos.org/repodir/community-kernel-latest/kernel/4.19.7-300.el7/</a>,
but that is only built for armhfp at the moment.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Some while ago did some work on this, resulting in a prematurely image with a at the time of creation latest kernel 4.18.16-202.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
As you understood, I took the "uboot" route instead of tianocore
Updated the image to CentOS 7.6.1810 and kernel 4.19.7-300 with minor changes:
* SElinux is set to enforcing (did no testing sofar though..)
* included brcmfmac43430-sdio.txt and brcmfmac43455-sdio.txt for wifi RPI3(+)
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">It was not my intention to make a aarch64 image for a RPI, nor will it be in the future;
Just out of "academic curiosity " installed bcm283x-firmware and rpi3-u-boot.bin to try to boot it with a RPI. And it did :)
_Note_ this is far from anything decent at least it boots :) (1)
<a class="moz-txt-link-freetext" href="https://drive.google.com/open?id=1RIWYxPadxsf_M-igFxPaP8FmwKA3Jcki">https://drive.google.com/open?id=1RIWYxPadxsf_M-igFxPaP8FmwKA3Jcki</a>
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Link for updated img is unchanged
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
It boots very slow! Especially on a RPI going through bootcode.bin > uboot > grubaa64.efi > grub2 > kernel
The kernel is cross complied from the equivalent community-kernel source package Pablo made for armhfp with the command (in which you may ignore --define="dist .ns7") :
rpmbuild --ba --target aarch64 --with=cross --without=perf --without=tools --without=debuginfo --define="dist .ns7" --define="_arch aarch64" --define="_build_arch aarch64" --define="__strip /usr/bin/aarch64-linux-gnu-strip" kernel.spec
cross tools installed:
$ rpm -qa | grep aarch64
binutils-aarch64-linux-gnu-2.27-9.el7.1.x86_64
gcc-aarch64-linux-gnu-4.8.5-16.el7.1.x86_64
gcc-c++-aarch64-linux-gnu-4.8.5-16.el7.1.x86_64
It's on my todo list to get this to a next level;
Maybe we can cooperate on this, though (as said before) it's not my intend to create (maintain) aarch64 RPI images.
AFAIK now, are some of the issues to be dealt with:
* uboot-images-armv8 carry a fedora specific patch causing uboot to look in /EFI/fedora for grubaa64.efi
* obviously grubby has no understanding for the device-tree on aarch64 and most likely will never have this.
* livecd tools, used by the application tools to create images for armhfp has no aarch64 support. (2)
* probably a lot more...
Grzt Mark
(1)l link to kickstart file used to create image :
<a class="moz-txt-link-freetext" href="https://github.com/markVnl/nethserver-createimg/blob/ks_wip/ks/Centos-Uboot-aarch64.ks">https://github.com/markVnl/nethserver-createimg/blob/ks_wip/ks/Centos-Uboot-aarch64.ks</a>
(2) patch to provide basic aarch64 support for livecd tools / imgcreate,
_Note_ it does not provide full support, among other things EFI/centos/grub.cfg is not created...
<a class="moz-txt-link-freetext" href="https://github.com/markVnl/nethserver-createimg/blob/master/SPEC-appliance-tools/livecd-tools/9999-Add-basic-aarch64-support-Nethserver.patch">https://github.com/markVnl/nethserver-createimg/blob/master/SPEC-appliance-tools/livecd-tools/9999-Add-basic-aarch64-support-Nethserver.patch</a>
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
Pablo.
El 14/12/18 a las 19:57, Gordan Bobic escribió:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">I'm hazarding a guess that the stock CentOS 7 aarch64 kernel isn't
built to include support for the Pi.
On Fri, 14 Dec 2018, 22:10 Steven Ellis <<a class="moz-txt-link-abbreviated" href="mailto:sellis@redhat.com">sellis@redhat.com</a>
<a class="moz-txt-link-rfc2396E" href="mailto:sellis@redhat.com"><mailto:sellis@redhat.com></a> wrote:
Ok so I've tried the CentOS-7-aarch64-Minimal-1810.iso with the
UEFI tools from
- <a class="moz-txt-link-freetext" href="https://github.com/andreiw/RaspberryPiPkg">https://github.com/andreiw/RaspberryPiPkg</a>
Can't get the ISO to boot. I've tried acpi=off but that hasn't
made a difference.
Any other tips?
On Fri, 14 Dec 2018 at 18:39, Steven Ellis <<a class="moz-txt-link-abbreviated" href="mailto:sellis@redhat.com">sellis@redhat.com</a>
<a class="moz-txt-link-rfc2396E" href="mailto:sellis@redhat.com"><mailto:sellis@redhat.com></a>> wrote:
Has anyone got this working on a Pi3+ and can provide guidance.
I've got UEFI working already but I haven't tried a generic
aarch64 centos ISO yet
On Wed, 28 Nov 2018 at 12:48, R
<<a class="moz-txt-link-abbreviated" href="mailto:riccardo.veraldi@presid.infn.it">riccardo.veraldi@presid.infn.it</a>
<a class="moz-txt-link-rfc2396E" href="mailto:riccardo.veraldi@presid.infn.it"><mailto:riccardo.veraldi@presid.infn.it></a>> wrote:
so for example I could just dd this image after
uncompressing it on the SD card and this would work I Suppose
<a class="moz-txt-link-freetext" href="http://vault.centos.org/altarch/7.4.1708/isos/aarch64/CentOS-7-aarch64.img.xz">http://vault.centos.org/altarch/7.4.1708/isos/aarch64/CentOS-7-aarch64.img.xz</a>
On 11/27/18 7:09 AM, Gordan Bobic wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap=""> AFAIK the official installer only boots on UEFI aarch64.
Otherwise you'll have to get a working image from somewhere.
On Tue, Nov 27, 2018 at 5:44 AM R
<<a class="moz-txt-link-abbreviated" href="mailto:riccardo.veraldi@presid.infn.it">riccardo.veraldi@presid.infn.it</a>
<a class="moz-txt-link-rfc2396E" href="mailto:riccardo.veraldi@presid.infn.it"><mailto:riccardo.veraldi@presid.infn.it></a>> wrote:
ok thank you.
so does it mean that Pi 3 needs a UEFI firmware if I
Want to run CentOS/aarch64 while it does not need if
running CentOS/armhfp ?
thanks
On 11/26/18 3:05 PM, Gordan Bobic wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap=""> I haven't tried it yet, but you should be able to
get UEFI firmware for Pi 3 from here:
<a class="moz-txt-link-freetext" href="https://github.com/andreiw/RaspberryPiPkg">https://github.com/andreiw/RaspberryPiPkg</a>
If you can get that to boot off the ISO, you should
be able to use the installer.
On Mon, Nov 26, 2018 at 11:01 PM R
<<a class="moz-txt-link-abbreviated" href="mailto:riccardo.veraldi@presid.infn.it">riccardo.veraldi@presid.infn.it</a>
<a class="moz-txt-link-rfc2396E" href="mailto:riccardo.veraldi@presid.infn.it"><mailto:riccardo.veraldi@presid.infn.it></a>> wrote:
Hello,
I was wondering if there is a procedure for
installing Centos 7 on the
Raspberry Pi 3 B+
while installing Centos 7.5 on armhfp is very
clear and documented given
that a raw root image is provided and you just
"dd" it on the memory card,
it is not clear to me how to do it with
aarch64. A ISO image is provided
but how to install it on the raspberry ?
thank you
Rick
_______________________________________________
Arm-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:Arm-dev@centos.org"><mailto:Arm-dev@centos.org></a>
<a class="moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/arm-dev">https://lists.centos.org/mailman/listinfo/arm-dev</a>
_______________________________________________
Arm-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:Arm-dev@centos.org"><mailto:Arm-dev@centos.org></a>
<a class="moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/arm-dev">https://lists.centos.org/mailman/listinfo/arm-dev</a>
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
_______________________________________________
Arm-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:Arm-dev@centos.org"><mailto:Arm-dev@centos.org></a>
<a class="moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/arm-dev">https://lists.centos.org/mailman/listinfo/arm-dev</a>
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
_______________________________________________
Arm-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:Arm-dev@centos.org"><mailto:Arm-dev@centos.org></a>
<a class="moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/arm-dev">https://lists.centos.org/mailman/listinfo/arm-dev</a>
--
Steven Ellis
APAC PRINCIPAL PRODUCT MANAGER - STORAGE
TECHNICAL PORTFOLIO EVANGELIST - APAC
Red Hat Asia Pacific - Auckland NZ <a class="moz-txt-link-rfc2396E" href="https://www.redhat.com/"><https://www.redhat.com/></a>
<a class="moz-txt-link-abbreviated" href="mailto:sellis@redhat.com">sellis@redhat.com</a> <a class="moz-txt-link-rfc2396E" href="mailto:sellis@redhat.com"><mailto:sellis@redhat.com></a> M:
+64 21 321 673
<a class="moz-txt-link-rfc2396E" href="https://www.redhat.com/en"><https://www.redhat.com/en></a>TRIED. TESTED. TRUSTED.
<a class="moz-txt-link-rfc2396E" href="https://redhat.com/trusted"><https://redhat.com/trusted></a>
--
Steven Ellis
APAC PRINCIPAL PRODUCT MANAGER - STORAGE
TECHNICAL PORTFOLIO EVANGELIST - APAC
Red Hat Asia Pacific - Auckland NZ <a class="moz-txt-link-rfc2396E" href="https://www.redhat.com/"><https://www.redhat.com/></a>
<a class="moz-txt-link-abbreviated" href="mailto:sellis@redhat.com">sellis@redhat.com</a> <a class="moz-txt-link-rfc2396E" href="mailto:sellis@redhat.com"><mailto:sellis@redhat.com></a> M: +64 21
321 673
<a class="moz-txt-link-rfc2396E" href="https://www.redhat.com/en"><https://www.redhat.com/en></a>TRIED. TESTED. TRUSTED.
<a class="moz-txt-link-rfc2396E" href="https://redhat.com/trusted"><https://redhat.com/trusted></a>
_______________________________________________
Arm-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:Arm-dev@centos.org"><mailto:Arm-dev@centos.org></a>
<a class="moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/arm-dev">https://lists.centos.org/mailman/listinfo/arm-dev</a>
_______________________________________________
Arm-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a>
<a class="moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/arm-dev">https://lists.centos.org/mailman/listinfo/arm-dev</a>
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
_______________________________________________
Arm-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a>
<a class="moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/arm-dev">https://lists.centos.org/mailman/listinfo/arm-dev</a>
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Arm-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a>
<a class="moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/arm-dev">https://lists.centos.org/mailman/listinfo/arm-dev</a>
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Arm-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a>
<a class="moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/arm-dev">https://lists.centos.org/mailman/listinfo/arm-dev</a>
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Arm-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a>
<a class="moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/arm-dev">https://lists.centos.org/mailman/listinfo/arm-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>