Jump to content

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


Recommended Posts

Posted

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?

<
Posted

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.

Posted

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!

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

Important Information

Terms of Use - Privacy Policy - Guidelines