1 1
Rolf Bakker

How to make changes in sun50i-h5-nanopi-neo2.dts via the build environment?

Recommended Posts

I've got a working Vagrant Armbian Build environment.

 

Now I want to add the following to the sun50i-h5-nanopi-neo2.dts (provides network support in U-boot) and compile a new image.
 

&emac {
        pinctrl-names = "default";
        pinctrl-0 = <&emac_rgmii_pins>;
        status = "okay";
        phy = <&phy1>;
        phy-mode = "rgmii";
        phy1: ethernet-phy@1 {
                reg = <0>;
        };
};


Despite reading the docs, I still can't figure out how it's done. Maybe someone can point me in the right direction?

Share this post


Link to post
Share on other sites

build with CREATE_PATCHES="yes", edit kernel source when you are asked and use created patch (output/patch) for the future (patch/u-boot/u-boot-sunxi). You can also send the patch back to the build script that others can benefit from your work.

Share this post


Link to post
Share on other sites

It has been a while but I can confirm that it works.

I've seen that U-boot network support is now already included in the default Armbian.

 

Great!

Share this post


Link to post
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...
1 1