• bitbake invocation command… (what is run by ./build.sh): LANG=en_US.UTF-8 LANGUAGE=en_US.en LC_ALL=en_US.UTF-8 ../bitbake/bin/bitbake -r conf/include/rksdk.conf -r conf/include/kernel-4.19.conf -e linux-libc-headers

log

  • the goal is to have NixOS acording to my config on it…

  • installing NixOS is a bit tricky… there is a WIP nixos wiki page for the TinkerBoard 1 (https://nixos.wiki/wiki/NixOS_on_ARM/Tinker_Board) but not for the TinkerBoard 2

  • so I tried the stock OS… all of Tinker_Board_2-Debian-Bullseye-v3.0.25-20250311-release, Tinker_Board_2-Yocto-Kirkstone-1.0.2-20230919-release, Tinker_Board_2-Yocto-Kirkstone-v1.0.5-20240826-release get stuck on The TinkerBoard Splash Screen endlessly (rel: “Welche voll spezielisten habn beim OS (des zum herum probian gedacht is und nit zum fertigs produkt machn), des se zu ihrem dev-board dazu releasen by default an splash screen an… damit ma ja nit sieht, wo da boot vorgang hängen bleibt…”)

  • the image from DietPi (Pasted image 20251018235412.png) after shortly showing text of i think uboot just ended up with some kind of glitched screen

  • so I cloned the src and started building my own yocto image… so that I can change the kernel and uboot cmdlines to show logs instead of this stupid splashscreen

    • context: I was building this checkout repo init -u https://github.com/TinkerBoard/rockchip-linux-manifest.git -b linux4.19-rk3399-debian10 where the branch was at commit 550d09a1ec9e09915b550037e296dd9056e5c734
  • probably the most hilarious bug hunt I’ve experienced

  • put the nixos userspace onto the root partition, which is mounted by the kernel… can’t get it to run anything as init… Kernel ABI issue????

encounted errors

NOTE: Executing Tasks
WARNING: mobile-broadband-provider-info-1_20210805-r0 do_fetch: Failed to fetch URL git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https;branch=master, attempting MIRRORS if available
WARNING: sed-4.8-r0 do_fetch: Failed to fetch URL https://ftp.gnu.org/gnu/sed/sed-4.8.tar.xz, attempting MIRRORS if available
ERROR: mobile-broadband-provider-info-1_20210805-r0 do_fetch: Fetcher failure: Unable to find revision 11f2247eccd3c161b8fd9b41143862e9fb81193c in branch master even from upstream
ERROR: mobile-broadband-provider-info-1_20210805-r0 do_fetch: Fetcher failure for URL: 'git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https;branch=master'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /source/yocto/build/tmp/work/armv8a-poky-linux/mobile-broadband-provider-info/1_20210805-r0/temp/log.do_fetch.808747
ERROR: Task (/source/yocto/build/../poky/meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb:do_fetch) failed with exit code '1'
WARNING: gawk-5.1.0-r0 do_fetch: Failed to fetch URL https://ftp.gnu.org/gnu/gawk/gawk-5.1.0.tar.gz, attempting MIRRORS if available