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-09-02 notes
- Kernel: 5.10.168-ti-r71
- 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.7-minimal-armhf-2023-09-02-2gb.img.xz |
microSD | sha256sum | 819d44b1f141b732d20a0e1bc7ebbbe2aa2ae5f09b0e7b85ce15a750a88560de |
eMMC | Download | am335x-eMMC-flasher-debian-11.7-minimal-armhf-2023-09-02-2gb.img.xz |
eMMC | sha256sum | 7d042883a39dfe14737267ac19bac5a1ea7282ccfa255c8297d0a496339bd9e3 |
Media | AM57xx | Minimal Snapshot |
---|---|---|
microSD | Download | am57xx-debian-11.7-minimal-armhf-2023-09-02-2gb.img.xz |
microSD | sha256sum | ce7843d5c27f03c8a0af7d38a1b04119397e6170181b24d1e2ad2f191feccaf0 |
eMMC | Download | am57xx-eMMC-flasher-debian-11.7-minimal-armhf-2023-09-02-2gb.img.xz |
eMMC | sha256sum | f2a593747749561ed3a337ca86d79bd4e733c9c3976efc4f62fb9c63e7f92707 |
Debian 11.x (Bullseye) IOT Snapshot
Please submit all bugs to: Issue Tracker
2023-09-02 notes
- Kernel: 5.10.168-ti-r71
- 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.7-iot-armhf-2023-09-02-4gb.img.xz |
microSD | sha256sum | 58e76be5fd7415cca89f1187c6d96ed697b8d77fd2739ab4978f2d0ba9c87641 |
eMMC | Download | am335x-eMMC-flasher-debian-11.7-iot-armhf-2023-09-02-4gb.img.xz |
eMMC | sha256sum | 21d2e5204f6ce78deed3f7beb82e8335009e568d77bbc09a83cdc225db8cd98f |
Media | AM57xx | IOT Snapshot |
---|---|---|
microSD | Download | am57xx-debian-11.7-iot-armhf-2023-09-02-4gb.img.xz |
microSD | sha256sum | ad1958fddb470877ef5449e4900785439ae835dcd154e5ba49844c5d728eca8d |
eMMC | Download | am57xx-eMMC-flasher-debian-11.7-iot-armhf-2023-09-02-4gb.img.xz |
eMMC | sha256sum | 36b6991bc0d7e0c380ea8edea936852790971df29359225a882bc46f20913deb |
Debian 11.x (Bullseye) Xfce Desktop Snapshot
Please submit all bugs to: Issue Tracker
2023-09-02 notes
- Kernel: 5.10.168-ti-r71
- 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.7-xfce-armhf-2023-09-02-4gb.img.xz |
microSD | sha256sum | 72cfebb3962f1ea7de986bb69d8c230f89e339fa561694c729dd60f209fd8935 |
eMMC | Download | am335x-eMMC-flasher-debian-11.7-xfce-armhf-2023-09-02-4gb.img.xz |
eMMC | sha256sum | a61b749119ce0a9827e2f5e0e36831a0b139482798fac668337b6da6fcea7038 |
Media | AM57xx | Xfce Snapshot |
---|---|---|
microSD | Download | am57xx-debian-11.7-xfce-armhf-2023-09-02-4gb.img.xz |
microSD | sha256sum | 3783737f51a8f49b5161ff079ac49af852c4c3eb019d44139df14b722c33bbd1 |
eMMC | Download | am57xx-eMMC-flasher-debian-11.7-xfce-armhf-2023-09-02-4gb.img.xz |
eMMC | sha256sum | c696dfad9fa8fe54e6154369144edd797992e86c3538b547535e7aa8b9bda09c |