Skip to content

IQ-9075: Ethernet not working #3200

Description

I tried to build and test the new image for IQ-9075-EVK based on an open source boot sequence and FIT image: meta-qcom/ci/iq-9075-evk-open-fw-spl.yml
but I can't get the Ethernet port to work.

Bellow the step I use to reproduce the issue:

# I am building in a ubuntu 24.04 docker.
# Get source
mkdir qualcomm && cd qualcomm
git clone https://github.com/qualcomm-linux/meta-qcom.git
cd meta-qcom
git rev-parse HEAD
# cf53a39cc03ba0214dfdddd4ac3b239956da847c
cd ..

# Build yocto image
TARGET="meta-qcom/ci/iq-9075-evk-open-fw-spl.yml:meta-qcom/ci/kernel-fit-image.yml:meta-qcom/ci/base.lock.yml"
kas shell ${TARGET} --update
bitbake -c build core-image-base

By default ethernet is not detected, because kernel modules are missing.
I tried to add:

diff --git a/recipes-bsp/packagegroups/packagegroup-machine-essential.bb b/recipes-bsp/packagegroups/packagegroup-machine-essential.bb
index cacc9aa7..e6ab4cc3 100644
--- a/recipes-bsp/packagegroups/packagegroup-machine-essential.bb
+++ b/recipes-bsp/packagegroups/packagegroup-machine-essential.bb
@@ -221,12 +221,14 @@ RRECOMMENDS:${PN}-qcom-qcs9100-soc += " \
     ${PN}-board-generic \
     ${PN}-qcom-generic \
     kernel-module-ath11k-pci \
+    kernel-module-at24 \
     kernel-module-camcc-sa8775p \
     kernel-module-dispcc0-sa8775p \
     kernel-module-dispcc1-sa8775p \
     kernel-module-gpucc-sa8775p \
     kernel-module-phy-qcom-sgmii-eth \
     kernel-module-pwrseq-qcom-wcn \
+    kernel-module-qca808x \
     kernel-module-stmmac-platform \
     kernel-module-videocc-sa8775p \

But despite everything, the cable is not being detected.

Issue: The ethernet interface always remains in "NO-CARRIER" state even if ("working" ethernet) cable is plugged.

root@iq-9075-evk-open-fw-spl:~# ip addr add 192.168.0.2/24 dev end0
root@iq-9075-evk-open-fw-spl:~# ip a show end0
2: end0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq qlen 1000
    link/ether 38:43:3a:46:44:3a brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.2/24 scope global end0
       valid_lft forever preferred_lft forever

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions