Setup Summary
Board: Apalis i.MX8 + Ixora carrier board
Host PC: Ubuntu 22.04
Goal: Boot Apalis i.MX8 using DHCP + TFTP + NFS (network boot)
Connection: Direct Ethernet cable from host PC to Ixora RJ45 port
Host Configuration
Network Interface
-
Connected interface:
enxbe54cf79c3ea -
Static IP:
192.168.10.1/24
DHCP Configuration (/etc/dhcp/dhcpd.conf)
subnet 192.168.10.0 netmask 255.255.255.0 {
default-lease-time 86400;
max-lease-time 86400;
option broadcast-address 192.168.10.255;
option domain-name "colibri.net";
option domain-name-servers ns1.example.org;
option ip-forwarding off;
option routers 192.168.10.1;
option subnet-mask 255.255.255.0;
interface enxbe54cf79c3ea;
range 192.168.10.32 192.168.10.254;
}
host apalis {
hardware ethernet 00:14:2d:ed:2e:a5; # Apalis MAC address
fixed-address 192.168.10.2;
next-server 192.168.10.1; # Host TFTP/NFS server
filename "boot.scr";
option host-name "apalis";
option root-path "192.168.10.1:/srv/nfs/rootfs,wsize=1024,rsize=1024,v3";
}
NFS Configuration (/etc/exports)
/srv/nfs/rootfs 192.168.10.2(no_root_squash,no_subtree_check,rw)
Apalis U-Boot Configuration
Default U-Boot network variables:
ipaddr=192.168.10.2
serverip=192.168.10.1
netmask=255.255.255.0
When running:
Apalis iMX8 # run bootcmd_dhcp
Output:
No ethernet found.
Linux (after boot) Output
ip link show
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:14:2d:ed:2e:a5 brd ff:ff:ff:ff:ff:ff
dmesg | grep -i eth
fec 5b040000.ethernet: Adding to iommu group 0
mdio_bus 5b040000.ethernet-1: MDIO device at address 7 is missing.
fec 5b040000.ethernet eth0: registered PHC device 0
fec 5b040000.ethernet eth0: Unable to connect to phy
ping 192.168.10.1
ping: sendto: Network is unreachable
Problem Summary
-
The Ethernet PHY is not detected by the Apalis i.MX8.
-
The interface
eth0stays DOWN, even with a cable plugged in. -
U-Boot also fails to detect any Ethernet device (
No ethernet found). -
The host side (Ubuntu) interface is UP, but never receives a DHCP request.
What I’ve Tried
-
Verified cable and host port (works fine with another device).
-
Ensured DHCP and NFS are properly configured and active.
-
Confirmed Apalis MAC address in DHCP matches the one from U-Boot.
-
Tried both straight and crossover cables.
Question
Has anyone faced “Unable to connect to PHY” or “No ethernet found” on Apalis i.MX8 before?
Could this be related to:
-
A missing device tree configuration for the PHY?
-
Power rail not enabled for the Ethernet transceiver?
-
U-Boot not probing the FEC interface correctly?
Any advice or hints on how to debug PHY detection on Apalis i.MX8 would be greatly appreciated.