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, |
AM57xx | BeagleBoard-x15, BeagleBone AI |
Debian 11.x (Bullseye) Minimal Snapshot
Please submit all bugs to: Issue Tracker
2023-03-10 notes
- Kernel: 5.10.162-ti-r58
- 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.6-minimal-armhf-2023-03-10-2gb.img.xz |
microSD | sha256sum | fcde27730c01b9edf1137069f0bbbd194865277a964d617591ed58fb4c63f242 |
Media | AM57xx | Minimal Snapshot |
---|---|---|
microSD | Download | am57xx-debian-11.6-minimal-armhf-2023-03-10-2gb.img.xz |
microSD | sha256sum | 866f95c72ae152a026d2c9cc4e9a9af8c8e7c2fb802b6726565f86f84726da55 |
Debian 11.x (Bullseye) IOT Snapshot
Please submit all bugs to: Issue Tracker
2023-03-10 notes
- Kernel: 5.10.162-ti-r58
- 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.6-iot-armhf-2023-03-10-4gb.img.xz |
microSD | sha256sum | 223002baf38850d71d1930830062f22d2d030cfcd40cc49a070f55f13c9bea30 |
Media | AM57xx | IOT Snapshot |
---|---|---|
microSD | Download | am57xx-debian-11.6-iot-armhf-2023-03-10-4gb.img.xz |
microSD | sha256sum | d08dcd53684fb7ad8f337c8eff69aa76f74827520f4762ee59b6358432d8a967 |
Debian 11.x (Bullseye) Xfce Desktop Snapshot
Please submit all bugs to: Issue Tracker
2023-03-10 notes
- Kernel: 5.10.162-ti-r58
- 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.6-xfce-armhf-2023-03-10-4gb.img.xz |
microSD | sha256sum | 709fd9aeb7dd59eb660c0e1b5ec509827a42a3a071182093e8bbc3070a6a2f35 |
Media | AM57xx | Xfce Snapshot |
---|---|---|
microSD | Download | am57xx-debian-11.6-xfce-armhf-2023-03-10-4gb.img.xz |
microSD | sha256sum | 3ba67371bd59d5beab1951d2d7329c4793409b0ff80e7f2812b5764e8f76d59e |