Unfortuantely there are no native CentOS images available for OdroidC1. It looks like the generic CentOS image comes with mainline kernel and there is dtb file for OdroidC1, I did not see a u-boot image suitable to boot that up, even if it did work, mainline kernel does not yet have full support for OdroidC1. Instead I took the bootloader and the kernel from ArchLinuxARM (something I’m familiar with) and the userland is obviously CentOS.
-
You can download the image here:
https://drive.google.com/open?id=1ApzGm8SsLN5HqHLZx6yNCrXaOsmdWxvi -
After downloading, extract the image (7-Zip for windows, unxz for *nix) and
-
then burn it onto SD or eMMC with either win32imager (for windows)
https://sourceforge.net/projects/win32diskimager/
or use dd for linux
dd if=path-to-CentOS-Userland-7-armv7hl-OdroidC1-Minimal-1810-sda.raw.img of=/dev/sdX bs=1M
-
Now you can insert the sd or eMMC into OdroidC1, connect the ethernet cord and boot by applying power.
OdroidC1 will boot up. I don’t know why ,but the screen does not work. We don’t need it anyway for this purpose so I haven’t looked into this problem. Later you may want to edit /boot/boot.ini and disable “vpu” and “hdmioutput” to save ~150MB of ram. -
SSH in into OdroidC1. Find the IP by going into your router to see what IP was assigned to OdroidC1
Username: root Password: centos (same as the official CentOS images). -
Expand rootfs to use all space on SD/eMMC
rootfs-expand
- Install nethserver-release repository
yum install -y http://mirror.nethserver.org/nethserver/7.6.1810/arm-base/armhfp/Packages/nethserver-release-7-11.ns7.noarch.rpm
- Install nethserver. Run
nethserver-install
If you start getting yum errors trying to install packages, edit the following file:
/etc/yum.repos.d/NethServer.repo
(use vi, nano or WinSCP - whatever works for you)
And disable both [ce-sclo-rh] and [ce-sclo-sclo] by changing
enabled=1
to
enabled=0
and also for every repository that starts with [ce-*] comment the line that starts with mirrorlist= and uncomment the one that starts with baseurl=.
In every baseurl= line change centos to altarch as in the following example
From
baseurl=http://mirror.centos.org/centos/$nsrelease/os/$basearch/
to
baseurl=http://mirror.centos.org/ altarch /$nsrelease/os/$basearch/