Everything posted by Frédéric Mahé
-
BPI-F3 26.8.x: NVMe drops off the bus (ASPM L1); add pcie_aspm=off
On Armbian 26.8.3 (current 6.18.45, extlinux boot), my NVMe (SK hynix BC511) in the M.2 slot disappears after a few seconds to minutes, idle or under load: pcieport 0001:00:00.0: AER: Uncorrectable (Fatal) error message received from 0001:00:00.0 nvme nvme0: controller is down; will reset: CSTS=0xffffffff, PCI_STATUS=0x10 nvme nvme0: Disabling device after reset failure: -19Cause: ASPM L1 on the K1 root port. bananapif3.conf adds pcie_aspm=off to armbianEnv.txt only since the switch to boot.scr (2026-08-30), so 26.8.x images booting via extlinux don't have it. Workaround: append pcie_aspm=off to the append line in /boot/extlinux/extlinux.conf (keep the line under 255 characters on this U-Boot). With it: stable (fio verify, burst/idle cycles, soak), Gen2 x2, ~800 MB/s read. A kernel-side fix (as in mainline's pcie-spacemit-k1) is proposed in GitHubSpacemiT K1: PCI: do not advertise ASPM L1 (NVMe drops of...Description With ASPM L1 enabled (default on DT platforms since 6.18), an NVMe in the BPI-F3 M.2 slot drops off the bus at idle or under load: AER: Uncorrectable (Fatal), Surprise Down, then nvme n....
- BPI-F3 26.8.x: extlinux `append` longer than 255 chars silently prevents boot
-
BPI-F3 26.8.x: extlinux `append` longer than 255 chars silently prevents boot
Still relevant on main: orangepirv2.csc and orangepir2s.csc (spacemit family, SRC_EXTLINUX="yes", same k1_defconfig with CONFIG_SYS_CBSIZE=256) boot via extlinux with the same 223-char append line. Tested on a BPI-F3 (265-char line boots with CBSIZE=1024): https://github.com/armbian/build/pull/11257
-
BPI-F3 26.8.3: apt serves kernel 6.18.44 as 26.8.3 (image has 6.18.45)
The 26.8.3 BPI-F3 image ships linux-image-current-spacemit 26.8.3 with kernel 6.18.45, but apt.armbian.com serves 6.18.44 under the same version: ``` $ apt-cache show linux-image-current-spacemit=26.8.3 | grep Filename Filename: pool/main/l/linux-6.18.44/linux-image-current-spacemit_26.8.3_riscv64__6.18.44-....deb $ apt list --upgradable | grep linux-image linux-image-current-spacemit/trixie 26.8.3 riscv64 [upgradable from: 26.8.3] ``` apt upgrade then installs 6.18.44, while /boot/dtb still points to dtb-6.18.45-current-spacemit (the dtb package, also 6.18.44 in the repo, is not upgraded). Workaround: apt-mark hold linux-image-current-spacemit linux-dtb-current-spacemit.
-
BPI-F3 26.8.x: extlinux `append` longer than 255 chars silently prevents boot
The 26.8.x BPI-F3 images boot via extlinux, and the vendor U-Boot has CONFIG_SYS_CBSIZE=256. pxe_utils.c rejects a longer append line (bootarg overflow, serial only), so a headless board just never boots. The default line is already 223 chars: adding systemd.log_target=kmsg printk.devkmsg=on (265) was enough to trigger the issue. Suggestions: raise CONFIG_SYS_CBSIZE in the board's U-Boot config, and/or drop splash plymouth.ignore-serial-consoles from minimal images (Plymouth is not installed). I can send a PR setting CONFIG_SYS_CBSIZE=1024 in the spacemit U-Boot config, if still relevant now that main boots via boot.scr.