Closed AminSahebi closed 10 months ago
To avoid any confusion, I made a clean and fresh installation of Ubuntu 18.04 and started the build procedure from scratch,
I have faced the following error in the u-boot :
| make[1]: *** No rule to make target 'arch/arm64/boot/dts/compulab/iot-gate-imx8plus-m2tpm.dtb'. Stop.
| make: *** [/home/ubuntu/compulab-nxp-bsp/build-iot-gate-imx8plus/tmp/work-shared/iot-gate-imx8plus/kernel-source/Makefile:1430: compulab/iot-gate-imx8plus-m2tpm.dtb] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/ubuntu/compulab-nxp-bsp/sources/meta-bsp-imx8mp/recipes-kernel/linux/linux-compulab_5.15.71.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7649 tasks of which 7618 didn't need to be rerun and 1 failed.
Which I bypassed the issue by removing line 12 as indicated "iot-gate-imx8plus-m2tpm.dtb" in the following file:
meta-bsp-imx8mp/conf/machine/iot-gate-imx8plus.conf
the build is successful and deployed image on the device, however, still eth0 behaviour is the same.
[ 7.764131] fec 30be0000.ethernet eth0: Unable to connect to phy
[ 8.060441] fec 30be0000.ethernet eth0: Unable to connect to phy
Please try the latest CompuLab official Linux Debian release. https://www.compulab.com/wp-content/uploads/2023/03/iot-gate-imx8plus_debian-linux_2023-03-20.zip
Make it run from a removable media. While in Linux, issue cl-uboot and update the device bootloader. Reboot the device. Try using the eth0 in U-Boot and in Linux. Let me know about the results.
Hi @vraevsky and thank you for your reply,
I used uuu tool and download recovery u-boot (on your website) plus my customized image, then u-boot worked as expected. now I have eth0 and eth1 both working.
Many thanks
Hi @AminSahebi,
Thanks for the update & good luck.
Hi there,
I've been working on iot-gate-imxmp for a while, I just realized eth0 is not working anymore,
I was working on other applications to build a Linux image using Yocto, I didn't touch any network configuration, device-tree or network drivers and I realized now I see this error in u-boot logs:
I tried to clone and build the u-boot from scratch from the repository https://github.com/compulab-yokneam/u-boot-compulab and I created flash.bin and still, there is the same error.
This is the output of ethtool if helps,
and here ifconfig output,
dmesg output:
u-boot-env.txt
attached you can find also u-boot env,
any advice is much appreciated,