02-26-2020, 02:04 PM
Hi.
I'm trying to build my own gentoo OS for Tinker Board S. I got this far:
- U-Boot from official LibreELEC v9.2 installed on EMMC.
- empty boot partition on EMMC
- boot partition on SD card with:
- kernel and device tree from Armbian
- root partition on SD card
- unpacked Gentoo musl stage3 (expermental)
- updated with emerge from official Gentoo repository, plus musl overlay
The next step I'm trying to do is to update the kernel. I installed gentoo official kernel v5.5.5 (latest right now), used /proc/config.gz from current kernel as a starting point, modified it a little bit (mainly switched form modules to integrated drivers) and then compiled it.
Compilation was successful, but it won't boot. I replaced the armbian kernel with this new file, but U-Boot refuses to boot it. It finds the file, tries to load it, and then fails.
Is there anything I'm missing?
Second problem I have is that I don't know how to update U-Boot. It seems to be located somewhere before the first partiton. Does anyone know exactly where is it located and how to update it?
Thank you.
I'm trying to build my own gentoo OS for Tinker Board S. I got this far:
- U-Boot from official LibreELEC v9.2 installed on EMMC.
- empty boot partition on EMMC
- boot partition on SD card with:
- kernel and device tree from Armbian
- root partition on SD card
- unpacked Gentoo musl stage3 (expermental)
- updated with emerge from official Gentoo repository, plus musl overlay
The next step I'm trying to do is to update the kernel. I installed gentoo official kernel v5.5.5 (latest right now), used /proc/config.gz from current kernel as a starting point, modified it a little bit (mainly switched form modules to integrated drivers) and then compiled it.
Compilation was successful, but it won't boot. I replaced the armbian kernel with this new file, but U-Boot refuses to boot it. It finds the file, tries to load it, and then fails.
Is there anything I'm missing?
Second problem I have is that I don't know how to update U-Boot. It seems to be located somewhere before the first partiton. Does anyone know exactly where is it located and how to update it?
Thank you.