beagleplay wired ethernet doesn't receive packets

The pre-installed kernel on a recently purchased BeaglePlay board appears to be able to transmit packets, but can’t receive them.

Here is output from ‘ifconfig eth0’ for my board:

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::3608:e1ff:fe84:fa08 prefixlen 64 scopeid 0x20
ether 34:08:e1:84:fa:08 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 44 bytes 9451 (9.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Note that it doesn’t have an IPv4 address, presumably because the board couldn’t
receive DHCP packets.

The link led light is on for the wired ethernet connection. I tried various commands to
manually configure eth0 (using networkctl, ip, ifconfig, and route) to no avail.
For example, I tried editing /etc/systemd/network/eth0.network to specify a static IP
address. With that configured I can transmit packets, but not receive them.

I get some error messages from u-boot when the board boots, here is the serial console
output during boot:

Trying to boot from MMC1
Loading Environment from MMC… MMC: block number 0x3500 exceeds max(0x2000)
*** Warning - !read failed, using default environment

init_env from device 9 not supported!
Starting ATF on ARM64 core…

NOTICE: BL31: v2.7(release):v2.7.0-519-gc19116dd6
NOTICE: BL31: Built : 19:38:45, Jan 4 2023
I/TC:
I/TC: OP-TEE version: 3.19.0-rc1 (gcc version 10.2.1 20210110 (Debian 10.2.1-6)) #1 Wed Jan 4 19:38:45 UTC 2023
aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check Porting guidelines — OP-TEE documentation documentation
I/TC: Primary CPU initializing
I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 ‘8.5.3–v08.05.03 (Chill Capybar’)
I/TC: HUK Initialized
I/TC: Primary CPU switching to normal world boot

U-Boot SPL 2021.01-gb248392d (Jan 04 2023 - 19:38:45 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0008 ‘8.5.3–v08.05.03 (Chill Capybar’)
Trying to boot from MMC1

U-Boot 2021.01-gb248392d (Jan 04 2023 - 19:38:45 +0000)

SoC: AM62X SR1.0 GP
Model: BeagleBoard.org BeaglePlay
Board: BEAGLEPLAY-A0- rev 02
DRAM: 2 GiB
MMC: mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
Loading Environment from MMC… MMC: block number 0x3500 exceeds max(0x2000)
*** Warning - !read failed, using default environment

In: serial@2800000
Out: serial@2800000
Err: serial@2800000
Error: Can’t set serial# to SSSS
Net: Could not get PHY for ethernet@8000000port@1: addr 0
am65_cpsw_nuss_port ethernet@8000000port@1: phy_connect() failed
No ethernet found.

Press SPACE to abort autoboot in 2 seconds

Later on, during kernel boot, I get these messages related to the ethernet driver:

[ 1.739760] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6B
A81103 Ports: 3 quirks:00000006
[ 1.740077] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
[ 1.746381] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[ 1.746386] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[ 1.747172] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0
[ 1.748715] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19

When I run a recent Debian-xfce image from an sdcard, the wired ethernet works, so I suspect a
problem with the u-boot version or device tree in the pre-installed image.

Is there an updated image available that reflashes the distribution that is pre-installed on the mmc?
What is that distribution? /etc/os-release says it’s Debian 11.

I’d like to play around with the pre-installed VSCode - but I don’t think that’s available in the Debian
downloadable sdcard images, is it?

Any tips would be appreciated.

Hi @tbird20d

Yeap, that was me, it was a very early build that made it to the production eMMC’s…

Without Ethernet working, it’s not trivial, unless WiFi works…

You can install our build of mainline u-boot via:

sudo apt update
sudo apt-get install bb-u-boot-beagleplay-mainline

Then run these two commands, first to copy the files to /boot/firmware/ the second to update boot0…

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

Or, you can use our new bb-imager: (windows is broken) (clone of rpi-imager) Index of /public

and select the ‘xfce flasher’ option…

Regards,

OK, Thanks.

I did have wireless working, so I installed the newer u-boot, but it doesn’t seem to help.

Here is the full boot serial port output:

U-Boot SPL 2024.07 (Jul 04 2024 - 20:50:23 +0000)                               
SYSFW ABI: 3.1 (firmware rev 0x000a '10.0.2--v10.00.02 (Fiery Fox)')            
Changed A53 CPU frequency to 1250000000Hz (T grade) in DT                       
SPL initial stack usage: 13432 bytes                                            
Trying to boot from MMC1                                                        
Starting ATF on ARM64 core...                                                   
                                                                                
NOTICE:  BL31: v2.11.0(release):0dc0fda                                         
NOTICE:  BL31: Built : 20:50:23, Jul  4 2024                                    
I/TC:                                                                           
I/TC: OP-TEE version: 4.2.0 (gcc version 10.2.1 20210110 (Debian 10.2.1-6)) #1 T
hu Jul  4 20:50:23 UTC 2024 aarch64                                             
I/TC: WARNING: This OP-TEE configuration might be insecure!                     
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/
porting_guidelines.html                                                         
I/TC: Primary CPU initializing                                                  
I/TC: GIC redistributor base address not provided                               
I/TC: Assuming default GIC group status and modifier                            
I/TC: SYSFW ABI: 3.1 (firmware rev 0x000a '10.0.2--v10.00.02 (Fiery Fox)')      
I/TC: HUK Initialized                                                           
I/TC: Primary CPU switching to normal world boot                                
                                                                                
U-Boot SPL 2024.07 (Jul 04 2024 - 20:50:23 +0000)                               
SYSFW ABI: 3.1 (firmware rev 0x000a '10.0.2--v10.00.02 (Fiery Fox)')            
SPL initial stack usage: 1952 bytes                                             
Trying to boot from MMC1                                                        
                                                                                
                                                                                
U-Boot 2024.07 (Jul 04 2024 - 20:50:23 +0000)                                   
                                                                                
SoC:   AM62X SR1.0 GP                                                           
Model: BeagleBoard.org BeaglePlay                                               
DRAM:  2 GiB                                                                    
Core:  99 devices, 28 uclasses, devicetree: separate                            
MMC:   mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2                           
Loading Environment from nowhere... OK                                          
In:    serial@2800000                                                           
Out:   serial@2800000                                                           
Err:   serial@2800000                                                           
Net:   am65_cpsw_nuss_port ethernet@8000000port@1: phy_connect() failed         
am65_cpsw_nuss_port ethernet@8000000port@2: phy_connect() failed                
No ethernet found.                                                              
                                                                                
Press SPACE to abort autoboot in 2 seconds                                      
MMC: no card present                                                            
Scanning for bootflows in all bootdevs                                          
Seq  Method       State   Uclass    Part  Name                      Filename    
---  -----------  ------  --------  ----  ------------------------  ------------
----                                                                            
Scanning bootdev 'mmc@fa00000.bootdev':                                         
MMC: no card present                                                            
MMC: no card present                                                            
MMC: no card present                                                            
MMC: no card present                                                            
Scanning bootdev 'mmc@fa10000.bootdev':                                         
  0  extlinux     ready   mmc          1  mmc@fa10000.bootdev.part_ /extlinux/ex
tlinux.conf                                                                     
** Booting bootflow 'mmc@fa10000.bootdev.part_1' with extlinux                  
1:      Linux eMMC                                                              
Retrieving file: /Image                                                         
Retrieving file: /initrd.img                                                    
append: root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0 quiet     
Retrieving file: /ti/k3-am625-beagleplay.dtb                                    
Skipping fdtdir / for failure retrieving dts                                    
## Flattened Device Tree blob at ffacad80                                       
   Booting using the fdt blob at 0xffacad80                                     
Working FDT set to ffacad80                                                     
   Loading Ramdisk to 8f14f000, end 8ffff603 ... OK                             
   Loading Device Tree to 000000008f13a000, end 000000008f14e01f ... OK         
Working FDT set to 8f13a000                                                     
                                                                                
Starting kernel ...                                                             
                                                                                
I/TC: Secondary CPU 1 initializing                                              
I/TC: Secondary CPU 1 switching to normal world boot                            
I/TC: Secondary CPU 2 initializing                                              
I/TC: Secondary CPU 2 switching to normal world boot                            
I/TC: Secondary CPU 3 initializing                                              
I/TC: Secondary CPU 3 switching to normal world boot                            
I/TC: Reserved shared memory is enabled                                         
I/TC: Dynamic shared memory is enabled                                          
I/TC: Normal World virtualization support is disabled                           
I/TC: Asynchronous notifications are disabled                                   
[    0.108908] omap-mailbox 29000000.mailbox: no available mbox devices found   
[    1.597132] ti-syscon-gate-clk 104130.clock-controller: failed to find parent
 regmap                                                                         
[    1.845041] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=13, clk=7, ret=-19                                            
[    1.846971] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=36, clk=9, ret=-19                                            
[    1.847647] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=36, clk=15, ret=-19                                           
[    1.847805] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=36, clk=16, ret=-19                                           
[    1.847918] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=36, clk=17, ret=-19                                           
[    1.848069] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=36, clk=18, ret=-19                                           
[    1.849223] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=37, clk=9, ret=-19                                            
[    1.849915] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=37, clk=15, ret=-19                                           
[    1.850072] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=37, clk=16, ret=-19                                           
[    1.850189] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=37, clk=17, ret=-19                                           
[    1.850329] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=37, clk=18, ret=-19                                           
[    1.851498] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=38, clk=9, ret=-19                                            
[    1.852240] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=38, clk=15, ret=-19                                           
[    1.852391] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=38, clk=16, ret=-19                                           
[    1.852512] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=38, clk=17, ret=-19                                           
[    1.852659] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=38, clk=18, ret=-19                                           
[    1.853813] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=39, clk=9, ret=-19                                            
[    1.854553] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=39, clk=15, ret=-19                                           
[    1.854716] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=39, clk=16, ret=-19                                           
[    1.854838] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=39, clk=17, ret=-19                                           
[    1.855004] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=39, clk=18, ret=-19                                           
[    1.856255] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=40, clk=9, ret=-19                                            
[    1.857005] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=40, clk=15, ret=-19                                           
[    1.857134] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=40, clk=16, ret=-19                                           
[    1.857290] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=40, clk=17, ret=-19                                           
[    1.857417] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=40, clk=18, ret=-19                                           
[    1.858646] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=41, clk=9, ret=-19                                            
[    1.859485] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=41, clk=15, ret=-19                                           
[    1.859623] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=41, clk=16, ret=-19                                           
[    1.859777] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=41, clk=17, ret=-19                                           
[    1.859904] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=41, clk=18, ret=-19                                           
[    1.861141] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=42, clk=9, ret=-19                                            
[    1.861918] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=42, clk=15, ret=-19                                           
[    1.862035] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=42, clk=16, ret=-19                                           
[    1.862197] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=42, clk=17, ret=-19                                           
[    1.862324] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=42, clk=18, ret=-19                                           
[    1.863611] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=43, clk=9, ret=-19                                            
[    1.864398] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=43, clk=15, ret=-19                                           
[    1.864524] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=43, clk=16, ret=-19                                           
[    1.864691] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=43, clk=17, ret=-19                                           
[    1.864820] ti-sci-clk 44043000.system-controller:clock-controller: recalc-ra
te failed for dev=43, clk=18, ret=-19                                           
[    2.396441] am65-cpsw-nuss 8000000.ethernet: Use random MAC address          
[    2.408792] k3-j72xx-soc-thermal b00000.temperature-sensor: invalid resource 
[    2.419295] sdhci-am654 fa00000.mmc: parsing dt failed (-517)                
[    2.737545] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=43, clk=18, ret=-19                                           
[    2.747985] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=43, clk=17, ret=-19                                           
[    2.758390] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=43, clk=16, ret=-19                                           
[    2.768795] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=43, clk=15, ret=-19                                           
[    2.779441] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=43, clk=9, ret=-19                                            
[    2.790087] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=42, clk=18, ret=-19                                           
[    2.800494] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=42, clk=17, ret=-19                                           
[    2.810891] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=42, clk=16, ret=-19                                           
[    2.821309] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=42, clk=15, ret=-19                                           
[    2.831928] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=42, clk=9, ret=-19                                            
[    2.842544] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=41, clk=18, ret=-19                                           
[    2.852942] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=41, clk=17, ret=-19                                           
[    2.863344] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=41, clk=16, ret=-19                                           
[    2.873741] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=41, clk=15, ret=-19                                           
[    2.884364] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=41, clk=9, ret=-19                                            
[    2.894980] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=40, clk=18, ret=-19                                           
[    2.905380] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=40, clk=17, ret=-19                                           
[    2.915779] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=40, clk=16, ret=-19                                           
[    2.926173] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=40, clk=15, ret=-19                                           
[    2.936789] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=40, clk=9, ret=-19                                            
[    2.947406] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=39, clk=18, ret=-19                                           
[    2.957802] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=39, clk=17, ret=-19                                           
[    2.968198] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=39, clk=16, ret=-19                                           
[    2.978596] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=39, clk=15, ret=-19                                           
[    2.989213] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=39, clk=9, ret=-19                                            
[    2.999823] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=38, clk=18, ret=-19                                           
[    3.010218] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=38, clk=17, ret=-19                                           
[    3.020616] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=38, clk=16, ret=-19                                           
[    3.031011] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=38, clk=15, ret=-19                                           
[    3.041627] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=38, clk=9, ret=-19                                            
[    3.052234] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=37, clk=18, ret=-19                                           
[    3.062630] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=37, clk=17, ret=-19                                           
[    3.073025] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=37, clk=16, ret=-19                                           
[    3.083421] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=37, clk=15, ret=-19                                           
[    3.094033] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=37, clk=9, ret=-19                                            
[    3.104647] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=36, clk=18, ret=-19                                           
[    3.115046] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=36, clk=17, ret=-19                                           
[    3.125444] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=36, clk=16, ret=-19                                           
[    3.135840] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=36, clk=15, ret=-19                                           
[    3.146453] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=36, clk=9, ret=-19                                            
[    3.157191] ti-sci-clk 44043000.system-controller:clock-controller: is_prepar
ed failed for dev=13, clk=7, ret=-19                                            
[    4.417084] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    8.231516] davinci-mcasp 2b10000.audio-controller: IRQ common not found     
[  OK  ] Finished Set console font and keymap.                                  
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.              
[  OK  ] Finished Create Volatile Files and Directories.                        
         Starting Network Name Resolution...                                    
         Starting Network Time Synchronization...                               
         Starting Update UTMP about System Boot/Shutdown...                     
[  OK  ] Finished Load AppArmor profiles.                                       
         Starting Raise network interfaces...                                   
[  OK  ] Finished Update UTMP about System Boot/Shutdown.                       
[  OK  ] Finished Raise network interfaces.                                     
[  OK  ] Started Network Time Synchronization.                                  
[  OK  ] Reached target System Initialization.                                  
[  OK  ] Started Daily Cleanup of Temporary Directories.                        
[  OK  ] Reached target System Time Set.                                        
[  OK  ] Reached target System Time Synchronized.                               
[  OK  ] Started Periodic ext4 Onli…ata Check for All Filesystems.              
[  OK  ] Started Discard unused blocks once a week.                             
[  OK  ] Started Daily rotation of log files.                                   
[  OK  ] Reached target Timers.                                                 
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.                
[  OK  ] Listening on D-Bus System Message Bus Socket.                          
         Starting Docker Socket for the API.                                    
[  OK  ] Listening on GPS (Global P…ioning System) Daemon Sockets.              
[  OK  ] Listening on Docker Socket for the API.                                
[  OK  ] Reached target Sockets.                                                
[  OK  ] Reached target Basic System.                                           
         Starting Avahi mDNS/DNS-SD Stack...                                    
         Starting BeagleBoard Generate Symlinks...                              
         Starting BeagleBoard.org USB gadgets...                                
[  OK  ] Started Regular background program processing daemon.                  
[  OK  ] Started D-Bus System Message Bus.                                      
         Starting dphys-swapfile - …unt, and delete a swap file...              
         Starting Remove Stale Onli…t4 Metadata Check Snapshots...              
         Starting Initialize hardware monitoring sensors...                     
         Starting System Logging Service...                                     
         Starting User Login Management...                                      
         Starting LSB: Start daemon at boot time...                             
         Starting Disk Manager...                                               
         Starting WPA supplicant...                                             
[  OK  ] Started Network Name Resolution.                                       
[  OK  ] Reached target Host and Network Name Lookups.                          
[  OK  ] Started System Logging Service.                                        
[  OK  ] Finished Initialize hardware monitoring sensors.                       
[  OK  ] Finished BeagleBoard Generate Symlinks.                                
[  OK  ] Started LSB: Start daemon at boot time.                                
[  OK  ] Found device /dev/ttyGS0.                                              
[  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.              
[  OK  ] Started Avahi mDNS/DNS-SD Stack.                                       
[  OK  ] Started WPA supplicant.                                                
[  OK  ] Reached target Network.                                                
[  OK  ] Reached target Network is Online.                                      
         Starting BeagleBoard.org Code Server...                                
         Starting containerd container runtime...                               
         Starting LSB: disk temperature monitoring daemon...                    
         Starting A high performanc… and a reverse proxy server...              
         Starting OpenBSD Secure Shell server...                                
         Starting Permit User Sessions...                                       
[  OK  ] Finished dphys-swapfile - …mount, and delete a swap file.              
[  OK  ] Finished Permit User Sessions.                                         
         Starting Light Display Manager...                                      
         Starting Hold until boot process finishes up...                        
[  OK  ] Started LSB: disk temperature monitoring daemon.                       
         Starting Authorization Manager...                                      
[  OK  ] Started User Login Management.                                         
[  OK  ] Started BeagleBoard.org Code Server.                                   
[  OK  ] Started OpenBSD Secure Shell server.                                   
[  OK  ] Started Authorization Manager.                                         
         Starting Save/Restore Sound Card State...                              
[  OK  ] Finished Save/Restore Sound Card State.                                
[  OK  ] Reached target Sound Card.                                             
[FAILED] Failed to start Light Display Manager.                                 
                                                                                
Debian GNU/Linux 11 BeaglePlay ttyS2                                            
                                                                                
BeagleBoard.org Debian Bullseye Xfce Image 2023-02-04                           
Support: https://bbb.io/debian                                                  
default username:password is [debian:temppwd]                                   
                                                                                
BeaglePlay login: root                                                          
Password:                                                                       
                                                                                
The programs included with the Debian GNU/Linux system are free software;       
the exact distribution terms for each program are described in the              
individual files in /usr/share/doc/*/copyright.                                 
                                                                                
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent               
permitted by applicable law.                                                    
Last login: Tue Jul  9 20:18:26 UTC 2024 on ttyS2                               
root@BeaglePlay:~# ifconfig eth0                                                
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500                      
        inet6 fe80::3608:e1ff:fe84:fa08  prefixlen 64  scopeid 0x20<link>       
        ether 34:08:e1:84:fa:08  txqueuelen 1000  (Ethernet)                    
        RX packets 0  bytes 0 (0.0 B)                                           
        RX errors 0  dropped 0  overruns 0  frame 0                             
        TX packets 28  bytes 5314 (5.1 KiB)                                     
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0              
                                                                                
root@BeaglePlay:~# 

I can send dmesg output if needed. It’s possible I didn’t restore /etc/systemd/network/eth0.network to its original form (I unfortunately made some edits before I thought to save off the original). Any more ideas?

Which kernel is it? uname -r?

On mainline for the network phy, we’ve moved from mdio-gpio to mdio: arm64: dts: ti: k3-am625-beagleplay: Use the builtin mdio bus - kernel/git/torvalds/linux.git - Linux kernel source tree

and then a reset fix… arm64: dts: ti: k3-am625-beagleplay: Fix Ethernet PHY RESET GPIOs - kernel/git/torvalds/linux.git - Linux kernel source tree

One option, would be to test a mainline kernel, this will pull in a 6.10-rc7

sudo apt-get install bbb.io-kernel-6.10-k3

There will be a backup copy of: /etc/systemd/network/eth0.network at /etc/bbb.io/templates/eth0-DHCP.network for reference: bb-usb-gadgets/suite/bookworm/debian/eth0-DHCP.network · main · BeagleBoard.org / repos-arm64 · GitLab

Haven’t seen a PHY fail like on a BeaglePlay yet…

Regards,

Old uname -r was ‘5.10.153-ti-arm64-r86’

I installed the new kernel (6.10-rc7) and the ethernet came up. Woot!

Is there a way to turn off random MAC address assignment? I have a lot of configuration in my test lab that I have to change when the IPv4 address changes.

I assume this is coming from this, so it’s a driver config option?:
[ 2.862443] am65-cpsw-nuss 8000000.ethernet: Use random MAC address

BTW - Thanks very much for the help!

Awesome, glad it came up!

Is it actually coming up random, or just the driver being vocal for no reason? I’ve got a dhcp table for mine, so i just haven’t noticed they changed…

We should be able to override it in the link section of systemd-network: systemd.link

thinking…

/etc/systemd/network/10-eth0.link
[Match]
Name=eth0

[Link]
MACAddressPolicy=none
MACAddress=11:22:33:44:55:66

Regards,

OK - so I double-checked, and it looks like the MAC has been consistent between runs.
(So I guess it’s just the driver being vocal for no reason.)

I’m not sure why my DHCP server dished out a new address, but it looks like I’m set.
Thanks.

1 Like