openwrt/package/kernel
Bjørn Mork c241885687 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>
(cherry picked from commit b2e810f495)
2024-08-07 12:12:30 +02:00
..
ath10k-ct mac80211: partly revert force-mac80211 loss detection 2023-07-26 13:29:44 +02:00
bcm27xx-gpu-fw bcm27xx-gpu-fw: update to latest version 2024-01-26 12:13:36 +01:00
bcm63xx-cfe bcm63xx-cfe: update to the latest master 2021-06-22 13:27:41 +02:00
bpf-headers bpf-headers: fix package category 2023-03-04 17:18:56 +01:00
broadcom-wl kernel: broadcom-wl: multiple fix to make the package compilable again 2023-05-12 03:15:45 +02:00
button-hotplug button-hotplug: simplify build 2022-10-24 20:49:34 +02:00
cryptodev-linux treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
dtc/patches package: kernel: dtc: Add DTO support 2017-11-06 16:39:41 +01:00
gpio-button-hotplug gpio-button-hotplug: do not error on interrupt attached keys 2023-05-18 17:11:43 +02:00
gpio-nct5104d kernel: gpio-nct5104d: drop unused variables in nct5104d_gpio_init 2023-05-12 03:15:35 +02:00
lantiq ltq-ptm: Fix netdev ioctls with kernel > 5.15 2024-07-28 23:56:35 +02:00
leds-gca230718 filogic: Add LED driver for GCA230718 2024-07-08 22:51:11 +02:00
leds-ws2812b kernel: add driver package for WS2812B LEDs 2022-12-16 21:41:57 +08:00
linux kernel: update deprecated license information 2024-07-10 23:07:36 +02:00
mac80211 mac80211: Update to version 6.1.102-1 2024-07-29 23:09:51 +02:00
mt76 mt76: mt7996: select required kernel and hostap options 2024-07-08 21:13:26 +02:00
mt7621-qtn-rgmii mt7621-qtn-rgmii: enable RGMII connected Quantenna QV840 2020-07-08 16:07:05 +02:00
mwlwifi mwlwifi: update to version 10.4.10-20231120 2023-12-14 21:45:18 +01:00
nat46 nat46: bump to latest git HEAD 2023-05-12 03:15:33 +02:00
qca-nss-dp qca-nss-dp: fix oops in nss_dp_probe 2023-06-12 22:10:18 +02:00
qca-ssdk kernel: qca-ssdk: backport support for building as kernel module 2023-05-23 23:52:58 +02:00
rtc-rv5c386a kernel: Make use of KERNEL_MAKE 2022-12-17 20:12:31 +01:00
rtl8812au-ct rtl8812au-ct: Ignore address errors 2023-01-09 00:23:22 +01:00
trelay package: drop PKG_VERSION for purely local packages 2020-07-15 18:33:56 +02:00
ubnt-ledbar ubnt-ledbar: depend on mediatek and ramips subtargets 2023-06-08 15:33:14 +02:00
ubootenv-nvram kernel: ubootenv-nvram: driver for RAM backed environments 2024-08-07 12:12:30 +02:00