How to remove eth0,eth1,eth2 PHY ls1021a

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

How to remove eth0,eth1,eth2 PHY ls1021a

1,229 次查看
jiye
Contributor V

Hi,

My standalone ls1021a does not need eth0,eth1,eth2 PHY interface. How am I able to remove it from my kernel ?

should I only need to remove these definitions from the packages/linux/linux/arch/arm/boot/dts#  ls1021a.dts file?

What are the steps I need to implement?

SDK:1906

标签 (1)
0 项奖励
回复
3 回复数

1,144 次查看
bpe
NXP Employee
NXP Employee

This question is not fully clear.  Do you want to remove only connected PHYs, or eth* network interfaces themselves?

Regards,

Platon

0 项奖励
回复

1,144 次查看
jiye
Contributor V

Correct me if I am wrong.

The ls1021a-twr has eth0,eth1,eth2 physical interface on the board with 3 different mac addresses. That's why when you get into the kernel and do a ifconfig you can see eth0,eth1 and eth2

pastedImage_1.png

in the uboot

pastedImage_2.png

 pastedImage_3.png

How can I remove all of these from my system I do not need them to be part of my system as my customized system does not have ethernet ports anymore.

Do I need to change things in the dtsi file and uboot binary then recompile them ?

0 项奖励
回复

1,144 次查看
bpe
NXP Employee
NXP Employee

If you don't want network connectivity at all, it should be sufficient to add a "disabled" property to all Device Tree

nodes that represent  network adapters.

Hope this helps,

Platon

0 项奖励
回复