openwrt/package
Bjørn Mork b2e810f495 kernel: ubootenv-nvram: driver for RAM backed environments
The vendor U-Boot implementaion on Telenor branded ZyXEL EX5700
devices does not store its environment on flash. It is instead
kept in a memory region.  This is persistent over reboots, but
not over power cycling.

The dual partition failsafe system used by the vendor U-Boot
requires the OS to modify a variable in this memory environment.
This driver allows the ordinary uboot-envtools to access a
memory region like it was a partition on NOR flash.

The specific vendor U-Boot adds a "no-map" /reserved-memory
section and a top level /ubootenv node pointing to the memory
environment.  The driver uses this device specific fact to
locate the region.  The matching and probing code will likely
have to be adjusted for any other devices to be supported.

Example partial device tree:

 / {
    ..
    ubootenv {
        memory-region = <&uenv>;
        compatible = "ubootenv";
    };
    ..
    reserved-memory {
        ..
        uenv: ubootenv@7ffe8000 {
            no-map;
            reg = <0 0x7ffe8000 0 0x4000>;
        };

Signed-off-by: Bjørn Mork <bjorn@mork.no>
2023-08-20 01:14:06 +02:00
..
base-files base-files: fix duplicate wifi radio sections when using phy renaming 2023-07-17 14:33:57 +02:00
boot ipq807x: add support for Netgear RAX120v2 2023-08-19 17:12:46 +02:00
devel tracecmd: update to v3.2 2023-08-01 13:29:40 +02:00
firmware ipq807x: add support for Netgear RAX120v2 2023-08-19 17:12:46 +02:00
kernel kernel: ubootenv-nvram: driver for RAM backed environments 2023-08-20 01:14:06 +02:00
libs mbedtls: Update to version 2.28.4 2023-08-11 11:03:08 +02:00
network hostapd: revert upstream commit to fix #13156 2023-08-18 23:45:16 +02:00
system uci: update to git HEAD 2023-08-10 23:09:37 +02:00
utils packages: nvram: add asus,rt-ac3100 to set_wireless_led_behaviour quirk 2023-08-19 11:03:11 +02:00
Makefile build: generate index.json 2023-05-09 23:56:49 +02:00