ARM64 - Debian 12.x (Bookworm) - Monthly Snapshots - 2023-10-07

Network

We migrated from connman to Debian Systemd-Networkd

debian@BeagleBone:~$ sudo networkctl 
IDX LINK TYPE     OPERATIONAL SETUP
  1 lo   loopback carrier     unmanaged
  2 eth0 ether    routable    configured 
  3 usb0 gadget   no-carrier  configuring
  4 usb1 gadget   no-carrier  configuring
  5 can0 can      off         unmanaged
  6 can1 can      off         unmanaged

6 links listed.

Configuration files

eth0 -> /etc/systemd/network/eth0.network
usb0 (Windows - 192.168.7.x) -> /etc/systemd/network/usb0.network
usb1 (Mac - 192.168.6.x) -> /etc/systemd/network/usb1.network
wlan0 -> /etc/systemd/network/wlan0.network

WiFi Configuration (wpa_supplicant)

sudo nano /etc/wpa_supplicant/wpa_supplicant-wlan0.conf

and then

sudo wpa_cli -i wlan0 reconfigure

WiFI Configuration thru wpa_cli

Example:

SSID = BeagleBone
Pass = BeagleBone

root@BeagleBone:~# wpa_cli -i wlan0
wpa_cli v2.9
Copyright (c) 2004-2019, Jouni Malinen <j@w1.fi> and contributors

This software may be distributed under the terms of the BSD license.
See README for more details.

Interactive mode

> scan
OK
<3>CTRL-EVENT-SCAN-STARTED 
<3>CTRL-EVENT-SCAN-RESULTS 
<3>CTRL-EVENT-NETWORK-NOT-FOUND 
> scan_results
bssid / frequency / signal level / flags / ssid
b4:fb:e4:f5:7b:d2	5180	-86	[WPA2-PSK-CCMP][ESS]	XYZA
be:fb:e4:f5:7b:d2	5180	-87	[WPA2-PSK-CCMP][ESS]	BeagleBone
ba:fb:e4:f5:7b:d2	5180	-87	[WPA2-PSK-CCMP][ESS]	XYZB
c2:fb:e4:f5:7b:d2	5180	-87	[WPA2-PSK-CCMP][ESS]	XYZC
> 
> add_network
1
> set_network 1 ssid "BeagleBone"
OK
> set_network 1 psk "BeagleBone"
OK
> enable_network 1
OK
<3>CTRL-EVENT-SCAN-STARTED 
<3>CTRL-EVENT-SCAN-RESULTS 
<3>SME: Trying to authenticate with be:fb:e4:f5:7b:d2 (SSID='BeagleBone' freq=5180 MHz)
<3>Trying to associate with be:fb:e4:f5:7b:d2 (SSID='BeagleBone' freq=5180 MHz)
<3>Associated with be:fb:e4:f5:7b:d2
<3>CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
<3>WPA: Key negotiation completed with be:fb:e4:f5:7b:d2 [PTK=CCMP GTK=CCMP]
<3>CTRL-EVENT-CONNECTED - Connection to be:fb:e4:f5:7b:d2 completed [id=1 id_str=]

Update U-Boot

bbai64: (debian package: bb-u-boot-beagleboneai64)

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

Flash eMMC thru boot menu

This is new with 2023-09-02 the release, connect a TTL serial adapter to UART0 (BBAI64) or UART (BeaglePlay) and select the copy microSD to eMMC menu option

BeagleBone AI-64 microSD (extlinux.conf) Options
1:	BeagleBone AI-64 microSD Recovery
2:	BeagleBone AI-64 copy microSD to eMMC
3:	BeagleBone AI-64 microSD (default)
Enter choice:

eMMC Flasher

Copy board specific configuration files, example:

sudo enable-beagle-flasher
sudo reboot

Cloud 9 → VSCode port 3000

VSCode on these devices is still a work in progress, the ide works with extensions.

To disable and get the cpu cycles back:

sudo systemctl disable --now bb-code-server

NodeRED port 1880

To enable, as it’s pre-installed, but not actually running:

sudo systemctl enable --now nodered

Current built-in overlays:

https://elinux.org/Beagleboard:BeagleBone_cape_interface_spec

BBAI64-DSI-RPi-7inch-panel.dtbo
BBAI64-P8_37-ehrpwm5_a.dtbo
BBAI64-P9_25-ehrpwm4_b.dtbo
BONE-I2C1.dtbo
BONE-I2C2.dtbo
BONE-I2C3.dtbo
BONE-PWM0.dtbo
BONE-PWM1.dtbo
BONE-PWM2.dtbo
BONE-SPI0_0.dtbo
BONE-SPI0_1.dtbo
BONE-UART1.dtbo
J721E-PRU-UIO-00A0.dtbo

DebianBookworm

All these example Snapshots can be written to a microSD with: balenaEtcher

Architecture Compatible Devices
BBAI64 BeagleBone AI-64
BeaglePlay BeaglePlay

Debian 12.x (Bookworm) Minimal Snapshot

Please submit all bugs to: Issue Tracker

2023-10-07 notes

  • Kernel: 5.10.168-ti-arm64-r111
  • U-Boot: BBAI64 v2021.01
  • U-Boot: BeaglePlay v2023.04
  • default username:password is [debian:temppwd]
Media BBAI64 Minimal Snapshot
microSD Download bbai64-debian-12.2-minimal-arm64-2023-10-07-6gb.img.xz
microSD sha256sum 62037f95c9b09e4f6c515abd74d93747de27bee749a8c999c78a0aa385d1c013
eMMC Download bbai64-emmc-flasher-debian-12.2-minimal-arm64-2023-10-07-6gb.img.xz
eMMC sha256sum 639a7787e2fd0bb61d3f21466c23680ab23d865562542b066e78f634a17fefe8
Media BeaglePlay Minimal Snapshot
microSD Download beagleplay-debian-12.2-minimal-arm64-2023-10-07-6gb.img.xz
microSD sha256sum 9ad16de49ff0cd38b5f4854b9ef7c694ec5fed256846b0128b757a6921db5559
eMMC Download beagleplay-emmc-flasher-debian-12.2-minimal-arm64-2023-10-07-6gb.img.xz
eMMC sha256sum 04110b3254cd8a39da13b0191159e57e55e9cb0ae8fcbbb87e590a91bbac53a1
3 Likes