Jump to content

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


Rolf Bakker

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?

Link to comment
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.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines