qualcommax: ipq807x: uboot-envtools: yuncore ax880 master
authorIsaev Ruslan <legale.legale@gmail.com>
Sat, 27 Apr 2024 22:49:46 +0000 (01:49 +0300)
committerRobert Marko <robimarko@gmail.com>
Tue, 30 Apr 2024 11:51:15 +0000 (13:51 +0200)
There was no config in the uboot-envtools package, so there is no
generated /etc/fw_env.config for the fw_printenv and fw_setenv utils.
Since uboot-envtools 2024.01, there is a way to make these utils work
without /etc/fw_env.config if the DT has an env partition with the prop.:

compatible = "u-boot,env";

So, this commit adds the prop. above to the appsblenv:0 partition
in the yuncore ax880 DTS file.

Signed-off-by: Isaev Ruslan <legale.legale@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15305
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-ax880.dts

index 5364daad4547410027ddf6c87da6d466fe07c1d9..23e89a9ae42d31d22e8194d4d525dc7c2e532379 100644 (file)
                        };
 
                        partition@480000 {
                        };
 
                        partition@480000 {
+                               compatible = "u-boot,env";
                                label = "0:appsblenv";
                                reg = <0x480000 0x10000>;
                        };
                                label = "0:appsblenv";
                                reg = <0x480000 0x10000>;
                        };