Login
Check-in [7c953f8299]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:beagley-ai: mdev as the hotplug helper, and the image's mount points

The first boot to cleave-init: mdev failed (status 1), since the kernel has no CONFIG_UEVENT_HELPER and so no /proc/sys/kernel/hotplug, and with it the console, ethernet and time services; and the kernel could not mount devtmpfs, as the root has no /dev (the seed has no mount points and Fossil keeps no empty directory). Turn the helper on, let mdev -s run without it, and make /dev, /proc, /sys, /run and /tmp in the image.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JaWisxTW4iSdvDGSTvJiiG

Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 7c953f8299856a3544383ce29da87bc0569004671670215ac6d015fb375b4584
User & Date: claude-49343b 2026-10-26 03:43:53.059
Context
2026-10-26
03:53
beagley-ai: Wi-Fi (CC33xx over SDIO, WPA2-PSK, DHCP)

The kernel builds the CC33xx SDIO driver (kernel-wifi.config); the BSP build adds wpa_supplicant 2.11 and wpa_cli, linked statically with libnl 3.11's libnl-3 and libnl-genl-3 (no flex or bison: only the route library needs them), and the CC33xx firmware from ti-linux-firmware, as a root layer. mdev loads modules by modalias, at hotplug and for the devices there at boot. The wifi and wifi-dhcp services read the network from /boot/wpa_supplicant.conf on the FAT partition, so no credentials are in the image. The serial console no longer waits for mdev.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JaWisxTW4iSdvDGSTvJiiG check-in: 70e79c37ca user: claude-49343b tags: trunk

03:43
beagley-ai: mdev as the hotplug helper, and the image's mount points

The first boot to cleave-init: mdev failed (status 1), since the kernel has no CONFIG_UEVENT_HELPER and so no /proc/sys/kernel/hotplug, and with it the console, ethernet and time services; and the kernel could not mount devtmpfs, as the root has no /dev (the seed has no mount points and Fossil keeps no empty directory). Turn the helper on, let mdev -s run without it, and make /dev, /proc, /sys, /run and /tmp in the image.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JaWisxTW4iSdvDGSTvJiiG check-in: 7c953f8299 user: claude-49343b tags: trunk

02:56
bsp/beagley-ai: U-Boot proper's .bss where ld.lld can place it

The initcall trace stopped after board_init_f's last initcall: ld.lld puts arm64's .bss (OVERLAY) at address 0, so __bss_start is 0 and every BSS variable is wrong after relocation.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JaWisxTW4iSdvDGSTvJiiG check-in: aa583ff07f user: claude-49343b tags: trunk

Changes
Unified Diff Side-by-Side Diff Patch
Added bsp/beagley-ai/kernel-cleave-init.config.
Changes to image/beagley-ai/rootfs/etc/cleave/init.json.
Changes to tools/build-beagley-ai-bsp.sh.
Changes to tools/build-beagley-ai-image.sh.