Board / image: Firefly AIBOX-K3, Firefly Bianbu 4.0.8 image (kernel 6.18.3, Firefly build k3/firefly-6.18: cb266e72a599/260924, linux-image-6.18.3-generic 6.18.3-1.0.0.4 on hold), boot from SPI NOR, rootfs on UFS.
What I did: sudo apt update && sudo apt dist-upgrade on 2026-10-30 against the stock archive.spacemit.com/bianbu4 sources shipped in the image.
What happened: after the reboot the display is dead (no DRM device at all, sddm has nothing to drive), the fan runs at full speed permanently, and cpufreq and all I2C buses are missing. SSH still works.
Why: the upgrade pulled in spacemit-hardware-support 1.1 as a new dependency of bianbu-minimal. That metapackage installs three packages the Firefly image never had: opensbi-spacemit 1.0.10, esos-spacemit 1.0.10 and u-boot-spl-spacemit 1.0.10. Each one’s postinst writes straight into the SPI NOR with dd (bootinfo, FSBL and env at 0 / 128K / 640K, esos.itb at 704K, fw_dynamic.itb at 1728K on /dev/mtdblock0), with no backup and no board check. I verified the NOR partitions are now byte-identical to the package files. Only U-Boot proper (the uboot partition) is still Firefly’s.
With SpacemiT’s generic firmware in NOR the kernel logs:
riscv-sbi-mpxy-mbox soc:mpxy_mbox@0: SBI MPXY extension not available
platform soc:power-management@0:power-controller: deferred probe pending: supplier soc:mpxy_mbox@0 not ready
platform cac00000.imggpu: deferred probe pending: supplier soc:power-management@0:power-controller not ready
platform soc:dpu1_crtc0: deferred probe pending: supplier soc:power-management@0:power-controller not ready
Spacemit K3: cpu0 OPP init failed (-517)
The boot before the upgrade, same kernel and same DTB, had mailbox registered with 5 channels and the GPU/DPU bound normally. The SRST and SUSP SBI extensions are gone as well, so the RPMI link between OpenSBI and ESOS is not coming up at all.
Digging into SpacemiT’s sources, the AIBOX-K3 ESOS config (k3_rt240_firefly_aibox_k3.dts, added July 2026) sets the RPMI shared-memory base to 0x100800000, while every other K3 board, SpacemiT’s U-Boot k3.dtsi since May 2026, and the Linux reserved-memory map all use 0x100e00000. OpenSBI reads the address from the U-Boot device tree, so on this board OpenSBI and ESOS disagree on where the mailbox is. I filed that upstream: k3: AIBOX-K3 os0 rpmi shmem-base is 0x100800000 while U-Boot/OpenSBI and all other boards use 0x100e00000 (SBI MPXY extension not available) · Issue #2 · spacemit-com/esos · GitHub
Requests for Firefly:
- Please publish the original AIBOX-K3 NOR firmware blobs (
bootinfo_spinor.bin,FSBL.bin,env.bin,esos.itb,fw_dynamic.itb,u-boot.itb) or a NOR-only recovery package, with Titan Flasher / fastboot steps that don’t wipe the UFS. The postinst scripts keep no backup, so nothing on the box can restore the vendor firmware. - Please hold or pin
opensbi-spacemit,esos-spacemit,u-boot-spl-spacemitandspacemit-hardware-supportin the Firefly image (the kernel andspacemit-flash-dtbsare already held), or ship Firefly-built versions of them. - Until then, a warning to AIBOX-K3 users not to run
apt dist-upgrade/apt full-upgradeon the Bianbu image would save some boards.
Workaround for anyone who hasn’t upgraded yet: before upgrading, create /etc/apt/preferences.d/no-spacemit-firmware containing
Package: opensbi-spacemit esos-spacemit u-boot-spl-spacemit spacemit-hardware-support
Pin: release *
Pin-Priority: -1
apt will then hold back bianbu-minimal instead of reflashing the NOR.