…t says which are missing
Owner, after the candidate 8 boot: do a hardware probe and make sure all drivers are on the stick.
os/mini/hwprobe.py walks every bus on the build machine (the appliance's own board), maps each bound
device to its kernel module and lists the modules the built image root does not carry. Against the
candidate 8 root it found 21 missing; 9 of them are built into this kernel (modprobe --show-depends
resolves nothing), the rest are modules the image never named: the USB keyboard set (#590), k10temp
(CPU temperature, what the fan logic and the checks read), i2c_piix4 (SMBus) and spd5118 (DIMM
sensors), amd_pmc, psmouse and serio_raw, btusb (the MT7925 Bluetooth firmware is already shipped),
snd_hda_intel and snd_usb_audio, sdhci_pci, intel_rapl_msr. All of them join mkimage.sh's module list
(dependencies resolved as before) and init.sh's load loop, since BusyBox init has no udev.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Owner, after the candidate 8 boot: "Do a hardware probe and ensure all drivers are present on the usb stick."
Probe.
os/mini/hwprobe.py(new, Apache-2.0) walks every bus on the build machine, which is the appliance's own board, maps each bound device to its kernel module and lists the modules the built image root does not carry. Run on strixhalo against the candidate 8 root: 80 modules in the image, 34 distinct driver modules bound on the board, 21 missing. Nine of those are built into this kernel (modprobe --show-dependsresolves nothing: pcieport, i2c_designware_platform, pinctrl_amd, rtc_cmos, 8250, i8042, atkbd, tpm_crb, thermal), so they were never absent. The rest were modules the image never named.Added to the image (
mkimage.shmodule list, dependencies resolved as before) and to init's load loop (BusyBox init has no udev, so nothing loads itself):BT_RAM_CODE_MT7925_1_1_hdr.binis already shippedChecked: every added module resolves for
7.3.0-rc4-1bit-perfoptwithmodprobe --show-depends;bash -non both scripts; the probe runs withpython3 -I. Follow-up worth doing: runhwprobe.pyin the package stage and fail the build when a bound driver is missing from the image.🤖 Generated with Claude Code