Trouble when using beagle-flasher

Hello,

I have a kernel I have customized for my specific task build on the EMMC of my BBB, and now I want to create a uSD flasher so I can easily port this over to other BBB EMMCs. However, when I try running beagle-flasher, I run into an issue with my kernel. Specifically I get the error that I am missing /lib/modules/5.10.168-ti-r77. I built off of an official kernel from the beaglebone website.

On a BBB, how should I approach installing the missing kernel module files? Can I simply run:

‘apt install linux-image-5.10.168-ti-r77 linux-headers-5.10.168-ti-r77’

? For my application I typically cannot connect to the internet so I want to be prepared before diving into this.

Some output:

uname -r
5.10.168-ti-r77

sudo beagle-version
eeprom:[A335BNLTEIA02518BBBK015A]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Bullseye IoT Image 2023-09-02]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot SPL 2022.04-gbaca7b46 (Jan 15 2024 - 19:59:28 +0000)]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]
UBOOT: Loaded Overlay:[BB-ADC-00A0.kernel]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0.kernel]
UBOOT: Loaded Overlay:[BB-UART4-00A0.kernel]
UBOOT: Loaded Overlay:[BB-UART5-00A0]
kernel:[5.10.168-ti-r77]
nodejs:[v12.22.12]
dmesg | grep wlcore
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Thanks for any help. I’ve been able to use beagle-flasher in the past, so I’m confused how I bungled this up.

Did you not build and install the linux-image-*.deb package? That would pre-install that directory.

Regards,

I installed am335x-eMMC-flasher-debian-11.7-iot-armhf-2023-09-02-4gb.img.xz from Latest Software Images - BeagleBoard on a uSD card, used that to flash my EMMC, and then configured my I/O and code from there. Is that what you mean?

idk. should have been pre-installed…

sudo apt-get update
sudo apt-get install linux-image-5.10.168-ti-r77 --reinstall