Hi,
I'd like to try to install CentOS on an Odroid Xu4 board I have. The board is supposed to be supported by the mainline 4.14 kernel. From what I've gathered, it should be possible to build an image with the 4.14 kernel (possibly taken from Fedora) and a CentOS 7 system. But I haven't found instructions on how to go about assembling such an image.
Could anyone give any pointers? Or would I be better off just using Fedora?
Thanks for your help, Thomas
On 13/01/18 11:50, Thomas F. Burdick wrote:
Hi,
I'd like to try to install CentOS on an Odroid Xu4 board I have. The board is supposed to be supported by the mainline 4.14 kernel. From what I've gathered, it should be possible to build an image with the 4.14 kernel (possibly taken from Fedora) and a CentOS 7 system. But I haven't found instructions on how to go about assembling such an image.
Could anyone give any pointers? Or would I be better off just using Fedora?
Thanks for your help, Thomas
First question : armhfp (armv7) or aarch64 (armv8) ? If that's armhfp, is there a need for 4.14 or a 4.9 LTS would contain what you'd need for that board ? Depending on your answer, it can be really easy to build the image (or better, just modify an existing one) to boot on such board.
In the past, odroid/hardkernel never worked with stock/vanilla kernels, and same for uboot. If you confirm that it now does, chances are that we can have something available soon :-)
Can you give more details ? like, have you tested Fedora already ? It Fedora works, then likely that means that uboot images can now support natively that odroid board, and we can give it a quick try with a CentOS image, etc ..
Hi,
Thanks for your quick reply!
Le 13 janvier 2018 à 15:16, Fabian Arrotin a écrit :
On 13/01/18 11:50, Thomas F. Burdick wrote: > > Hi,
I'd like to try to install CentOS on an Odroid Xu4 board I have. The board is supposed to be supported by the mainline 4.14 kernel. >From what I've gathered, it should be possible to build an image with the 4.14 kernel (possibly taken from Fedora) and a CentOS 7 system. But I haven't found instructions on how to go about assembling such an image. Could anyone give any pointers? Or would I be better off just using Fedora? Thanks for your help, Thomas > First question : armhfp (armv7) or aarch64 (armv8) ?
If that's armhfp, is there a need for 4.14 or a 4.9 LTS would contain what you'd need for that board ? Depending on your answer, it can be really easy to build the image (or better, just modify an existing one) to boot on such board.
It's armhfp, and from what I understood from the hardkernel site, they got support into the mainline 4.14 kernel. So I could either use a custom 4.9 kernel, or the mainstream 4.14, which is what I'd prefer.
In the past, odroid/hardkernel never worked with stock/vanilla kernels, and same for uboot. If you confirm that it now does, chances are that we can have something available soon :-) Can you give more details ? like, have you tested Fedora already ? It Fedora works, then likely that means that uboot images can now support natively that odroid board, and we can give it a quick try with a CentOS image, etc ..
I haven't tested it with Fedora yet. The variant I have is headless, and it seems I need to pick up a new USB-UART cable. I should be able to test it Tuesday or Wednesday.
-Thomas
Hi,
Am 14.01.2018 um 00:42 schrieb Thomas Burdick:
It's armhfp, and from what I understood from the hardkernel site, they got support into the mainline 4.14 kernel. So I could either use a custom 4.9 kernel, or the mainstream 4.14, which is what I'd prefer.
IHMO HK is about to finish XU4 support in 4.14. Both kernel versions (4.9 & 4.14) require some some patches against mainline in order to run properly (e.g. USB3 support).
In the past, odroid/hardkernel never worked with stock/vanilla kernels, and same for uboot. If you confirm that it now does, chances are that we can have something available soon :-)
I've written some scripts [1] for an automated setup on various ARM boards. You may try the setup procedure for the XU4 [2]. It composes the HK u-boot, the CentOS 7 armhfp userland which I've ripped from the BananaPi install Image and a 4.9 HK kernel with a custom kernel configuration [3] (mainly for Docker support). The 4.14 kernel doesn't compile cleanly with gcc-5.4 (getting lots of errors/warnings when compiling the mali related stuff).
Cheers Uli
[1] https://github.com/umiddelb/z2d [2] https://github.com/umiddelb/z2d/tree/master/odroid-xu4 [3] https://github.com/aa64/linux/tree/odroidxu4-4.9.y
Am 14.01.18 um 09:39 schrieb Uli Middelberg:
Hi,
Am 14.01.2018 um 00:42 schrieb Thomas Burdick:
It's armhfp, and from what I understood from the hardkernel site, they got support into the mainline 4.14 kernel. So I could either use a custom 4.9 kernel, or the mainstream 4.14, which is what I'd prefer.
IHMO HK is about to finish XU4 support in 4.14. Both kernel versions (4.9 & 4.14) require some some patches against mainline in order to run properly (e.g. USB3 support).
The latest z2d commit [1] will give you a 4.14 kernel on the XU4 which runs fine with CentOS7.
Cheers Uli
[1] https://github.com/umiddelb/z2d/commit/b9af5b6f96fbf837565ee14f6fc73ae592cec...