Jump to content

BPi P2-Zero Ethernet enable


bask

Recommended Posts

Hello,

I'm using a Banana Pi P2-Zero based on H3 and I want to get Ethernet running. To no avail so far...

 

When building the image, I use this parameters:

BOARD=bananapim2zero BRANCH=current RELEASE=jammy BUILD_MINIMAL=no BUILD_DESKTOP=no

 

I use the customize-image.sh script, but I don't change anything related to the drivers (or so I think). There are no patches, overlays or anything like that.

 

I saw this topic but this solution doesn't help:

 

I also tried something like this but it didn't help either:

/dts-v1/;
/plugin/;

/ {
    compatible = "allwinner,sun8i-h3";
    fragment@0 {
        target = <&emac>;
        __overlay__ {
            status = "okay";
            pinctrl-names = "default";
            pinctrl-0 = <&emac_rgmii_pins &emac_clk_out_pins>;
            phy-mode = "rgmii";
        };
    };
};

 

Using ifconfig -a  I only see lo and wlan. The LEDs at the ethernet socket are on constantly.

I am sure that the hardware is working properly because ethernet works on the ready image from the Internet. Unfortunately, I can't use this image

 

Does anyone know how to enable this ethernet?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines