Good day!
We configured i.MX 8DXL EVK Rev B0 using an image based on repo https://github.com/nxp-imx/meta-imx-orangebox
However, the network interface failed via the board's ethernet interface (100Base-T) to receive IPv4 address via DHCP. It keeps on getting APIPA/private IP - 169.*.*.*.
# ifconfig
eth0 Link encap:Ethernet HWaddr DE:74:25:E9:86:C2
inet addr:169.254.202.241 Bcast:169.254.255.255 Mask:255.255.0.0
inet6 addr: fe80::ca67:595:9aaa:6f6d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3780 (3.6 KiB) TX bytes:3002 (2.9 KiB)
Interrupt:80
Tried to update/add static IP for etho on /etc/network/interfaces but still receives the APIPA IP.
The LAN we are using is verified to work properly either direct on the router or using another switch.
The network devices are able to issue DHCP IPs and connect to the internet.
How can we force the DHCP/IPv4 to the board?
Anything we possibly missed on the config.
Thank you in advance for kind help.
Solved! Go to Solution.
Hi @imx8dxl-OB
Yes please share your steps. I'm sharing my steps here as I built the image and tested DHCP, and it worked fine:
$ repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-mickledore -m imx-6.1.36-2.1.0_orangebox.xml
$ repo sync
$ source ./sources/meta-imx-orangebox/tools/setup.sh bld-orangebox
$ bitbake imx-image-core
Then program the generated imx-boot-imx8dxl-orangebox-sd.bin-flash_spl and imx8dxl-orangebox/imx-image-core-imx8dxl-orangebox.wic.zst to eMMC or SD
Thanks,
Ebony
Hi,
Thank you for your interest in NXP Semiconductor products,
What is the branch you built BSP with?
Did you say that you have tried other routers?
The most likely situation is a firewall setting on the router side that cannot answer/listen to the board, followed by there are not IP addresses available.
If this none of this has helped, I'd try to perform this.
Regards
Hi @JosephAtNXP,
Thank you for your response.
We used this BSP 6.1.36-2.1.0.
Yes, tried other router also. The network setup/devices we're using works with the other NXP i.MX8 board that we setup recently (using different repo i.MX Linux Yocto Project BSP 6.1.22_2.0.0 Release https://github.com/nxp-imx/meta-imx) - the i.MX 8XLite EVK and able to get an IP via DHCP.
Unfortunately, flushing the arp from the new box - i.MX 8DXL EVK Rev B0 still unable to get an IP.
Regards,
Hi @imx8dxl-OB
Please share the detailed steps of how you configurated the Yocto BSP and compiled the image.
Thanks,
Ebony
Thanks @JosephAtNXP and @ebony_zhu
I'll share the detailed steps @ebony_zhu once I get the info from our engineering.
If it helps, we use this repository - https://github.com/nxp-imx/meta-imx-orangebox to build the image
and flush to SD with the command unzstd -f --stdout ./sample.img | sudo dd of=dev/sda bs=1M conv=fsync
I'll update accordingly.
Hi @imx8dxl-OB
Yes please share your steps. I'm sharing my steps here as I built the image and tested DHCP, and it worked fine:
$ repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-mickledore -m imx-6.1.36-2.1.0_orangebox.xml
$ repo sync
$ source ./sources/meta-imx-orangebox/tools/setup.sh bld-orangebox
$ bitbake imx-image-core
Then program the generated imx-boot-imx8dxl-orangebox-sd.bin-flash_spl and imx8dxl-orangebox/imx-image-core-imx8dxl-orangebox.wic.zst to eMMC or SD
Thanks,
Ebony
Hi @ebony_zhu,
We tried the steps you shared and results to an error.
Kindly see attached log file.
Is it possible to provide an image to us? Also, is it feasible to do diagnostic on the board specifically
the ethernet/network interface?
Thank you
Hi @imx8dxl-OB
The supported Linux host distributions are:
Ubuntu 20.04 (LTS)
Ubuntu 22.04 (LTS)
Fedora 38
CentOS Stream 8
Debian GNU/Linux 11 (Bullseye)
Debian GNU/Linux 12 (Bookworm)
OpenSUSE Leap 15.4
AlmaLinux 8
AlmaLinux 9
Rocky 9
If your host is not one of those, please compile the BSP with docker: https://github.com/nxp-imx/imx-docker
Thanks,
Ebony
Will do share and thanks @ebony_zhu
One thing to take note and was observed is that using the default image (boots via emmc) that comes with the box have the same behavior of unable to get IP and just have the private/APIPA IP.
Setting static using /etc/network/interface results also to private/APIPA IP.
Thank you
Many thanks @ebony_zhu
DHCP/IP works now on the box using the image shared.
Programmed it to eMMC as advised.
Hi,
Now we're sure that's a configuration for orangebox image that may be missing but I can't provide further information due to orangebox is an internal product.
Please contact your sales person for this matter.
Thank you!