-----Oorspronkelijk bericht----- > Afzender:arm_ml at rirasoft.de <arm_ml at rirasoft.de> > Verstuurd: Dinsdag 23 Oktober 2018 9:39 > Aan: arm-dev at centos.org > Onderwerp: Re: [Arm-dev] Community kernel 4.18.x > > Am 2018-10-22 19:01, schrieb Mark Verlinde: > > -----Oorspronkelijk bericht----- > >> Afzender:Mark Verlinde <mark at havak.nl> > >> Verstuurd: Maandag 22 Oktober 2018 14:27 > >> Aan: Conversations around CentOS on ARM hardware <arm-dev at centos.org> > >> Onderwerp: Re: [Arm-dev] Community kernel 4.18.x > > > >> > >> Thank you for the hints, it Led to a booting setup! > >> > >> Still need to fine tine, some customization may not be needed > >> howerever this configuration led to the booting odroid HC1. > >> > >> Appended cpuidle.off=1 console=tty1 console=ttySAC2,115200n8 to the > >> cmdline: > >> > >> # cat /boot/extlinux/extlinux.conf > >> # extlinux.conf generated by appliance-creator > >> ui menu.c32 > >> menu autoboot Welcome to Centos-Uboot-Community-kernel. Automatic boot > >> in # second{,s}. Press a key for options. > >> menu title Centos-Uboot-Community-kernel Boot Options. > >> menu hidden > >> timeout 20 > >> totaltimeout 600 > >> > >> default=Centos-Uboot-Community-kernel (4.18.14-200.el7.armv7hl) > >> label CentOS Linux (4.18.16-200.el7.armv7hl) 7 (AltArch) > >> kernel /vmlinuz-4.18.16-200.el7.armv7hl > >> append cpuidle.off=1 console=tty1 console=ttySAC2,115200n8 ro > >> root=UUID=a306d630-4957-4da0-8dd6-79f943147d61 LANG=en_US.UTF-8 > >> fdtdir /dtb-4.18.16-200.el7.armv7hl > >> initrd /initramfs-4.18.16-200.el7.armv7hl.img > >> > >> label Centos-Uboot-Community-kernel (4.18.14-200.el7.armv7hl) > >> kernel /vmlinuz-4.18.14-200.el7.armv7hl > >> append cpuidle.off=1 console=tty1 console=ttySAC2,115200n8 ro > >> root=UUID=a306d630-4957-4da0-8dd6-79f943147d61 > >> fdtdir /dtb-4.18.14-200.el7.armv7hl > >> initrd /initramfs-4.18.14-200.el7.armv7hl.img > >> > >> In an effort to mimic the FC28 intenramfs added/omitted some modules > >> and > >> added _all_ exynos and samsung divers loaded by the booting FC28 > >> setup: > >> > >> #cat /etc/dracut.conf.d/odroid_hc1.conf > >> add_dracutmodules+="dm" > >> omit_dracutmodules+="network ifcfg" > >> add_drivers+="exynosdrm exynos_bus exynos_trng exynos_nocp exynos_rng > >> phy_exynos_dp_video phy_exynos_mipi_video dwc3_exynos clk_exynos_audss > >> i2c_exynos5 dw_mmc_exynos dw_mmc_pltfm dw_mmc phy_exynos_usb2 > >> phy_exynos5_usbdrd pwm_samsung " > >> > >> (AGAIN) NOTE: some may be necessary others may be ommited.. > > > > Turns out one additional driver - dwc3 - is needed to boot the odroid > > HC1 with a rootfs residing on a SATA device. > > My best guess is dwc3_exynos actually depends on dwc3 and/or (one of) > > the dependencies of dwc3. > > > > > > #cat /etc/dracut.conf.d/odroid_hc1.conf > > add_dracutmodules+="dm" > > omit_dracutmodules+="network ifcfg" > > add_drivers+=" exynosdrm exynos_bus exynos_trng exynos_nocp exynos_rng > > phy_exynos_dp_video phy_exynos_mipi_video dwc3_exynos clk_exynos_audss > > i2c_exynos5 dw_mmc_exynos dw_mmc_pltfm dw_mmc phy_exynos_usb2 > > phy_exynos5_usbdrd pwm_samsung " > > add_drivers+=" dwc3" > > > > Mark: how do you get CentOS with this actual kernel on the Odroid HC1 ? > I've 2 of them running Fedora as a Mailserver and Nextcloudserver. The kernel are kindly build by Pablo and can be found at: https://armv7.dev.centos.org/repodir/community-kernel-latest/ On a running armhfp device (distro or kernel should not matter); You may mount the sd-card and chroot in to the card to install / update the kernel. Mount the rootfs partition (usually part4) of your sd card and the boot partition (usually part2); mount proc and sys of the "host" too (ie): mount /dev/sdX4 /mnt mount /dev/sdX2 /mount/boot mount --bind /proc /mnt/proc mount --bind /sys /mnt/sys then chroot /mnt You may need to copy the /etc/resolve.conf from your host system to kickstart networking. _OT_ For personal use and on request from others I made a flash-able img file with 4.18.16 installed. It is a bit different from the default userland-generic though: 2 partitions starting @4096 (1) boot (2) rootfs; compressed swap-space in ram. NOTE: this link may be short lived as the setup is experimental https://drive.google.com/open?id=1PvLxWVwvK9H2zJTnBF2rKlA7IDmbpa7s and my rough notes on the HC1: https://gist.github.com/markVnl/7adf25cebfdce5d5009d93b7b4caae96 _OT_ Greetings Mark > > Greetings > Andreas > _______________________________________________ > Arm-dev mailing list > Arm-dev at centos.org > https://lists.centos.org/mailman/listinfo/arm-dev >