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=]
version.sh → beagle-version
debian@BeagleBone:~$ sudo beagle-version
eeprom:[A335BNLT00C02516BBBK2626]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Bullseye IoT Image 2021-12-29]
<lots of debugging info>
Update U-Boot
am335x: (debian package: bb-u-boot-am335x-evm)
sudo /opt/u-boot/bb-u-boot-am335x-evm/install.sh
am57xx: (debian package: bb-u-boot-am57xx-evm)
sudo /opt/u-boot/bb-u-boot-am57xx-evm/install.sh
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 enable, as it’s pre-installed, but not actually running:
sudo systemctl enable --now bb-code-server
NodeRED port 1880
To enable, as it’s pre-installed, but not actually running:
sudo systemctl enable --now nodered
PRU uio enablement:
By default TI’s REMOTEPROC PRU is enabled, but you can switch to classic UIO in /boot/uEnv.txt: by adding/enabling, this was added as of: 5.10.106-ti-r41 for the v5.10.x-ti branch…
uboot_overlay_pru=AM335X-PRU-UIO-00A0.dtbo
All these example Snapshots can be written to a microSD with: balenaEtcher
Architecture | Compatible Devices |
---|---|
AM335x | BeagleBone, BeagleBone Black, BeagleBone Black Wireless, PocketBeagle |
AM335x | BeagleBone Blue, BeagleBone Green, BeagleBone Green Wireless, |
AM335x | BeagleBone Black Industrial, |
AM57xx | BeagleBoard-x15, BeagleBone AI |
Debian 11.x (Bullseye) Minimal Snapshot
Please submit all bugs to: Issue Tracker
2023-10-07 notes
- Kernel: 5.10.168-ti-r72
- U-Boot: am335x v2022.04
- U-Boot: am57xx v2022.04
- default username:password is [debian:temppwd]
Media | AM335x | Minimal Snapshot |
---|---|---|
microSD | Download | am335x-debian-11.8-minimal-armhf-2023-10-07-2gb.img.xz |
microSD | sha256sum | 3fdac493ab7074ef8d5258abf07a1bdff1afdd2fda88f6b4625a015f003f4687 |
eMMC | Download | am335x-eMMC-flasher-debian-11.8-minimal-armhf-2023-10-07-2gb.img.xz |
eMMC | sha256sum | b3c69c6ad11d572ef05aa8805d37ad0ce1d34eac9c08ca34d5ada76cd34a15d0 |
Media | AM57xx | Minimal Snapshot |
---|---|---|
microSD | Download | am57xx-debian-11.8-minimal-armhf-2023-10-07-2gb.img.xz |
microSD | sha256sum | d438951cd03e2b36f6646ff7da0b9976543f8534e786e70f253b470751e95461 |
eMMC | Download | am57xx-eMMC-flasher-debian-11.8-minimal-armhf-2023-10-07-2gb.img.xz |
eMMC | sha256sum | f2b96ae04b74c0f8135141654e8a72780c5a64e6ee92a9803cbb798cae435b06 |
Debian 11.x (Bullseye) IOT Snapshot
Please submit all bugs to: Issue Tracker
2023-10-07 notes
- Kernel: 5.10.168-ti-r72
- U-Boot: am335x v2022.04
- U-Boot: am57xx v2022.04
- default username:password is [debian:temppwd]
Media | AM335x | IOT Snapshot |
---|---|---|
microSD | Download | am335x-debian-11.8-iot-armhf-2023-10-07-4gb.img.xz |
microSD | sha256sum | 62ee9f6dab49d6df8b0822e5b5a491a34d92643d0b166392de0b5d0eb5bcf9f9 |
eMMC | Download | am335x-eMMC-flasher-debian-11.8-iot-armhf-2023-10-07-4gb.img.xz |
eMMC | sha256sum | f0ee00a83a72abb09a74663f8b860ab1c3fc0f5fd4ea29202057c7c93892f27e |
Media | AM57xx | IOT Snapshot |
---|---|---|
microSD | Download | am57xx-debian-11.8-iot-armhf-2023-10-07-4gb.img.xz |
microSD | sha256sum | e166684df0cb0f6be1f8f2d4e9e39c4a14196fbc6d8f07d40ca51ce3bc4f62a9 |
eMMC | Download | am57xx-eMMC-flasher-debian-11.8-iot-armhf-2023-10-07-4gb.img.xz |
eMMC | sha256sum | 5e99247dfc4ddfc5a354d6adbf320a1be55a14a499167ed609564d6d42f681af |
Debian 11.x (Bullseye) Xfce Desktop Snapshot
Please submit all bugs to: Issue Tracker
2023-10-07 notes
- Kernel: 5.10.168-ti-r72
- U-Boot: am335x v2022.04
- U-Boot: am57xx v2022.04
- default username:password is [debian:temppwd]
Media | AM335x | Xfce Snapshot |
---|---|---|
microSD | Download | am335x-debian-11.8-xfce-armhf-2023-10-07-4gb.img.xz |
microSD | sha256sum | 8363a991d6115cf5906408f9875badc99fe38452436605af1906edbbc8dc0d36 |
eMMC | Download | am335x-eMMC-flasher-debian-11.8-xfce-armhf-2023-10-07-4gb.img.xz |
eMMC | sha256sum | a7a5b804920802e77879bb7b75535892513db44d3b004b1570154f064762fc6f |
Media | AM57xx | Xfce Snapshot |
---|---|---|
microSD | Download | am57xx-debian-11.8-xfce-armhf-2023-10-07-4gb.img.xz |
microSD | sha256sum | 4199bbe55f3943e522707a9cdb4bc5b7b641de95324c70ca9915219f6fd93973 |
eMMC | Download | am57xx-eMMC-flasher-debian-11.8-xfce-armhf-2023-10-07-4gb.img.xz |
eMMC | sha256sum | 9a15df6b80e5c6e680ca8d3e57700979eeb84837f161c1d0bc8f97d56b1fc9ba |