Hi all,

I have built a Yocto Linux image for Raspberry Pi CM4 and integrated two 
QCA7000 PLC modules over SPI.
The PLC drivers load correctly, but I am facing an issue related to Ethernet 
dependency.

Hardware / Software Details
Board: Raspberry Pi CM4
OS: Yocto Linux (custom image)
PLC: Qualcomm QCA7000 (2 modules over SPI)

Network Interfaces
eth0 → Onboard Ethernet
eth1, eth2 → PLC modules (QCA7000 over SPI)
wlan0 → Wi-Fi

Has anyone encountered a similar issue?
I want the PLC interfaces (eth1, eth2) to operate independently of Ethernet 
ON/OFF state and not be treated as wired internet interfaces.

I have configured the local.conf file

KERNEL_DEVICETREE:append = " \
overlays/qca7000-two-modules.dtbo \
"

Observed Logs and Behaviour:

When Ethernet is disabled:
The PLC module is detected, but the interface remains unstable.
networkctl shows the interface in a pending/off state:
Link File: n/a
Network File: n/a
Type: ether
State: off (pending)
Online state: unknown
MTU: 1500
QDisc: fq_codel
Speed: 10 Mbps, Half duplex

systemd-networkd: eth1: Gained IPv6LL
systemd-networkd: eth1: Link Down
systemd-networkd: eth1: Lost carrier
systemd-networkd: eth1: Link Up
systemd-networkd: eth1: Gained carrier
systemd-networkd: eth1: Lost carrier

When Ethernet is enabled:
The PLC module remains active.
Link File: n/a
Network File: n/a
Type: ether
State: degraded (pending)
Online state: unknown
MTU: 1500
IPv6 link-local address assigned
systemd-networkd: eth1: Gained carrier
systemd-networkd: eth1: Gained IPv6LL
systemd-networkd: eth1: Link Up
systemd-networkd: eth1: Lost carrier
systemd-networkd: eth1: Gained carrier

Please let me know if any additional information is needed to help resolve this 
issue.

Thank you.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#66116): https://lists.yoctoproject.org/g/yocto/message/66116
Mute This Topic: https://lists.yoctoproject.org/mt/116857249/21656
Mute #linux:https://lists.yoctoproject.org/g/yocto/mutehashtag/linux
Mute #raspberrypi:https://lists.yoctoproject.org/g/yocto/mutehashtag/raspberrypi
Mute #systemd:https://lists.yoctoproject.org/g/yocto/mutehashtag/systemd
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto
Mute #qca7000:https://lists.yoctoproject.org/g/yocto/mutehashtag/qca7000
Mute #kernel:https://lists.yoctoproject.org/g/yocto/mutehashtag/kernel
Mute #kirkstone:https://lists.yoctoproject.org/g/yocto/mutehashtag/kirkstone
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to