Host builds of the modern U-Boot (stage a) and OpenSBI v1.9 (stage c) ==================================================================== Date: 2026-10-30. Evidence class: host build only (nix, x86_64 -> riscv64 cross, nixpkgs GCC 15.3.0). No board, no QEMU, no console. Commands run under flock /tmp/k230-nix-build.lock from the worktree branch modern-uboot; sources: U-Boot v2026.10 (u-boot/u-boot 5508406582), OpenSBI v1.9, Canaan SDK 1104236 (splash sources). $ nix build .#stage1-modern .#uboot-k230-modern-upstream .#uboot-k230-modern-trial .#opensbi-k230-modern stage1-modern /nix/store/bdsvwk7sk5f860c2nvf2fpa42v7j1dii-k230-stage1-modern uboot-k230-modern (tdisplay) /nix/store/8lp9z2r3pjll8rhcgkvcrl38h32jsrww-uboot-k230_tdisplay_defconfig-riscv64-unknown-linux-gnu-2026.10 uboot-k230-modern-trial /nix/store/76dp80z8413293bxh0dmvjx1m0wjpi6z-uboot-k230_tdisplay_defconfig-riscv64-unknown-linux-gnu-2026.10 (linked at 0x4000000) uboot-k230-modern-upstream /nix/store/b7blffvd117mgcgn3q099hy34yv6cy16-uboot-k230_canmv_defconfig-riscv64-unknown-linux-gnu-2026.10 (upstream k230_canmv_defconfig, unchanged) opensbi-k230-modern /nix/store/8xl51fl9fylc6r3a55kwwz6ha2vmb3jj-opensbi-k230-modern-riscv64-unknown-linux-gnu-1.9 --- stage1-modern/SHA256SUMS fe3d537f62c34a3d01127c58fef4caec50f0e65b0192670712ecb1599584a954 fn_u-boot-spl.bin e1909af3db5b85aa36a75e182b3509bdbfc985585590b27d81c1af3689a7a0dd fn_ug_u-boot.bin cf108755a3cf3a8070a2f0ded84af672108e2301dfd58e5c2aa6a7555dbbd352 env.env 74d08f8701dc72ea166d74be62fc3e5bff437d7c73ab68ad2f113cab289c38f9 fw_jump.bin 9627edbeea9b115d7040beea27cc61b23b6aca61cd502fd7760d7ee179f42c99 fw_jump_add_uboot_head.bin --- .#stage1 (2022.10 stage 1) SHA256SUMS, for comparison fe3d537f62c34a3d01127c58fef4caec50f0e65b0192670712ecb1599584a954 fn_u-boot-spl.bin 46437f404369b99b3300f89d8dd5dcbd3d3f9cf8f1c0a7724754ea74116814a9 fn_ug_u-boot.bin cf108755a3cf3a8070a2f0ded84af672108e2301dfd58e5c2aa6a7555dbbd352 env.env 74d08f8701dc72ea166d74be62fc3e5bff437d7c73ab68ad2f113cab289c38f9 fw_jump.bin 9627edbeea9b115d7040beea27cc61b23b6aca61cd502fd7760d7ee179f42c99 fw_jump_add_uboot_head.bin Shared files (fn_u-boot-spl.bin, env.env, fw_jump*) are byte-identical; only fn_ug_u-boot.bin differs. fn_ug_u-boot.bin sizes: modern 231523 bytes, 2022.10 385932 bytes; slot window 1048576. The card's U-Boot slot (docs/evidence/modern-uboot/preinstall.txt) begins with the .#stage1 fn_ug_u-boot.bin: first 385932 bytes of the saved slot sha256 46437f404369b99b... = .#stage1 fn_ug_u-boot.bin. The card's SPL window begins with the .#stage1 fn_u-boot-spl.bin (fe3d537f62c34a3d...). --- tdisplay .config (selected) CONFIG_TEXT_BASE=0x0 CONFIG_ENV_SIZE=0x2000 CONFIG_ENV_OFFSET=0x300000 CONFIG_SYS_BOOTM_LEN=0x8000000 CONFIG_SYS_CACHE_THEAD_CMO=y CONFIG_CMD_K230_SET_DTB=y CONFIG_K230_BARE_DISP_LOGO=y CONFIG_K230_BARE_DISP_LOGO_RM69A10=y CONFIG_K230_BARE_DISP_LOGO_FB_ADDR=0x10000000 CONFIG_CANAAN_K230=y CONFIG_K230_PMP_LOCK_OTP=y CONFIG_CYCLIC=y CONFIG_CMD_IMPORTENV=y CONFIG_CMD_USB_MASS_STORAGE=y CONFIG_CMD_EXT4=y CONFIG_ENV_IS_IN_MMC=y CONFIG_ENV_MMC_DEVICE_INDEX=1 CONFIG_MMC_SDHCI_K230=y CONFIG_PHY_K230_USB=y CONFIG_USB_GADGET_VENDOR_NUM=0x29f1 CONFIG_USB_GADGET_PRODUCT_NUM=0x0230 CONFIG_USB_GADGET_DWC2_OTG=y # CONFIG_EFI_LOADER is not set --- trial .config CONFIG_TEXT_BASE=0x4000000 --- sizes (bytes) 435190 /nix/store/76dp80z8413293bxh0dmvjx1m0wjpi6z-uboot-k230_tdisplay_defconfig-riscv64-unknown-linux-gnu-2026.10/u-boot.bin 435170 /nix/store/8lp9z2r3pjll8rhcgkvcrl38h32jsrww-uboot-k230_tdisplay_defconfig-riscv64-unknown-linux-gnu-2026.10/u-boot.bin 411957 /nix/store/b7blffvd117mgcgn3q099hy34yv6cy16-uboot-k230_canmv_defconfig-riscv64-unknown-linux-gnu-2026.10/u-boot.bin --- device tree (u-boot.dtb) model = "LILYGO T-Display-K230"; mmc1 = "/soc/mmc@91581000"; status = "okay"; usb-phy@91585000 { status = "okay"; mmc@91581000 { status = "okay"; usb@91500000 { status = "okay"; dr_mode = "peripheral"; phys = <0x07 0x00>; usb@91540000 { status = "okay"; dr_mode = "host"; phys = <0x07 0x01>; memory@0 { reg = <0x00 0x00 0x00 0x40000000>; --- symbols present in u-boot (nm) 000000000000086e T cleanup_before_linux 00000000000013d6 t do_k230_set_dtb 000000000000085a T enable_caches 000000000000128a T ft_board_setup 00000000000006e6 T harts_early_init 0000000000001790 T k230_display_logo 0000000000001410 T k230_gpio 0000000000001274 t k230_last_stage_init --- OpenSBI v1.9 build fw_jump.bin 539944 bytes sha256 3a69ee57bc91ed7cec0958f6f732ca9c6e18b01d7376fc26ccb4517c6f88ffae 00000000000007b0 : 7b0: 00058533 add a0,a1,zero 7b4: 8082 ret 7b6: 0001 nop 00000000000007b8 : 7b8: 00000517 auipc a0,0x0 7bc: 84850513 addi a0,a0,-1976 # 0 <_fw_start> 7c0: 002005b7 lui a1,0x200 7c4: 952e add a0,a0,a1 7c6: 8082 ret 0000000000031226 t thead_disable_maee 00000000000293ac t thead_maee_early_init (The derivation's installPhase asserts the same three properties and fails the build otherwise.) --- U-Boot without the PMP lock (stage c companion): nix build .#uboot-k230-modern-no-pmp-lock .config: # CONFIG_K230_PMP_LOCK_OTP is not set (built OK)