We’re using Apalis customized board with IMX8X SOM, and IDE we’re using is QNX momentics, it’s a named license, we were able to download the required BSP for the the board and Hardware team has identified the interfaces available in the board(board was sent by the client) now the challenge is we’ve to write the test code for the available interfaces, while checking the ethernet part got to know that there are 2 ethernets in board one is direct ethernet other is through KSZ9131 but not able to find the pin configuration for ETH) in data sheet and IMX8 =schematics only given about the ETH1 nothings is given about ETH0 but in BSP build file it’s given as
Start the mx8xp driver (ENET0)
echo " → Starting MX8XP Ethernet driver on ENET0…"
mount -T io-pkt -o deviceindex=0,mac=genmac-random -m
devnp-mx8xp.so
Ensure that fec0 interface is available
if_up -r 10 -p fec0
Bring fec0 up
ifconfig fec0 up
Set static IP
ifconfig fec0 192.168.1.10 netmask 255.255.255.0
Get IP from DHCP for fec0 device
dhclient -m -lf /dev/shmem/dhclient.leases -pf /dev/shmem/dhclient.pid -nw fec0
and
Start the mx8xp driver (ENET1)
echo " → Starting MX8XP Ethernet driver on ENET1…"
mount -T io-pkt -o deviceindex=1,mac=genmac-random -m
devnp-mx8xp.so
Ensure that fec1 interface is available
if_up -r 10 -p fec1
Bring fec1 up
ifconfig fec1 up
Set static IP
ifconfig fec1 192.168.1.11 netmask 255.255.255.0
Get IP from DHCP for fec1 device
dhclient -m -lf /dev/shmem/dhclient.leases -pf /dev/shmem/dhclient.pid -nw fec1
so please help me finding eth0
(It’s a confidential project so won’t be able to disclose the client info)