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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
1 1