How to remove eth0,eth1,eth2 PHY ls1021a

cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove eth0,eth1,eth2 PHY ls1021a

180 Views
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

Labels (1)
0 Kudos
3 Replies

95 Views
bpe
NXP TechSupport
NXP TechSupport

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

Regards,

Platon

0 Kudos

95 Views
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 Kudos

95 Views
bpe
NXP TechSupport
NXP TechSupport

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 Kudos