How to remove eth0,eth1,eth2 PHY ls1021a

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to remove eth0,eth1,eth2 PHY ls1021a

1,245 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
Reply
3 Replies

1,160 Views
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 Kudos
Reply

1,160 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
Reply

1,160 Views
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 Kudos
Reply