Machine with no Ethernet

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Machine with no Ethernet

2,272 次查看
moose
Contributor IV

Hello, how do I remove ethernet support from my machine configuration in yocto? My machine is based on imx8mn-evk, which includes a line to specify wifi and Bluetooth but not ethernet.

MACHINE_FEATURES += "wifi bluetooth bcm43455 bcm4356 nxp8987-sdio"

I also searched imx-base.inc, but I didn't see a reference for ethernet.

Currently, the image works on my hardware; however, there are a few error messages related to UBOOT and kernel trying to access ethernet, but I don't have ethernet on my board. Just wifi. Any ideas?

0 项奖励
回复
5 回复数

2,244 次查看
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

Are they removed from u-boot and linux device trees?

Regards

0 项奖励
回复

2,241 次查看
moose
Contributor IV

Yes, they are. Below is the u-boot message I get:

moose_0-1693252843642.png

 

0 项奖励
回复

2,211 次查看
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Could you provide .dtb to confirm it?

Also, try removing support from board config, see this.

Regards

0 项奖励
回复

2,158 次查看
moose
Contributor IV

@JosephAtNXP I can confirm that both dts and board config files do not have ethernet enabled. Within our board dts we have:

&fec1{
    status = "disabled";
};

 

and in our board config we have:

CONFIG_FEC_MXC=n
CONFIG_PHYLIB=n
CONFIG_PHY_ATHEROS=n
CONFIG_DM_ETH=n

 

Happy to share files over a private message. Thx! 

0 项奖励
回复

2,088 次查看
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

I made it work with the diff attached.

Check:

 

Net:   CPU Net Initialization Failed
No ethernet found.
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  0
u-boot ==> pri ipaddr
## Error: "ipaddr" not defined
u-boot ==> pri ethprime
ethprime=eth1
u-boot ==> mdio
Unknown command 'mdio' - try 'help'
u-boot ==>

 

Thank you!

0 项奖励
回复