How to update AI-64 without reflashing from SD-card?

I’ve tried to upgrade the BBAI64 from the command line without success. It will either not boot again after reboot or it will only update part of the system. Most noticeably, it will not update the kernel modules:

debian@BeagleBone:~$ uname -a
Linux BeagleBone 5.10.145-ti-arm64-r72 #1bullseye SMP Sun Nov 6 02:37:37 UTC 2022 aarch64 GNU/Linux
debian@BeagleBone:~$ ls -l /lib/modules/
total 4
drwxr-xr-x 4 root root 4096 Nov 10 14:09 5.10.120-ti-arm64-r67

Is it possible to upgrade the whole OS incrementally from command line or is reflashing from SD-card needed?

I have followed the instructions here.

odd…

Try:

sudo apt update
sudo apt install --only-upgrade bb-j721e-evm-firmware generic-sys-mods
sudo apt install linux-image-5.10.145-ti-arm64-r72 --reinstall
sudo apt install bbb.io-kernel-5.10-ti-k3-j721e --reinstall
sudo apt install bbb.io-kernel-5.10-ti --reinstall

and let’s check:

voodoo@bbai64-02:~$ sudo beagle-version | grep bootloader
bootloader:[/dev/mmcblk0boot0]:[tiboot3.bin]:[U-Boot SPL 2021.01-g8bafcf50 (Nov 10 2022 - 23:19:52 +0000)]
bootloader:[/dev/mmcblk0]:[/boot/firmware/tiboot3.bin]:[U-Boot SPL 2021.01-g8bafcf50 (Nov 10 2022 - 23:19:52 +0000)]
bootloader:[/dev/mmcblk0]:[/boot/firmware/tispl.bin]:[U-Boot SPL 2021.01-g8bafcf50 (Nov 10 2022 - 23:19:52 +0000)]
bootloader:[/dev/mmcblk0]:[/boot/firmware/u-boot.img]:[U-Boot 2021.01-g8bafcf50 (Nov 10 2022 - 23:19:52 +0000)]

If it’s way before Nov 10th…

sudo /opt/u-boot/bb-u-boot-beagleboneai64/install-emmc.sh
sudo /opt/u-boot/bb-u-boot-beagleboneai64/install-microsd.sh
sudo reboot

Regards,

1 Like

Thanks!

It was the last step that fixed the issue. It was dated “Oct 27” before running the last step.

/J