openwrt/package/kernel
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
..
ath10k-ct mac80211: partly revert force-mac80211 loss detection 2023-07-05 12:40:34 +02:00
bcm27xx-gpu-fw bcm27xx-gpu-fw: update to latest version 2022-05-17 15:11:22 +02: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 treewide: opt-out of tree-wide mold usage 2023-07-04 20:25:41 +02:00
leds-ws2812b kernel: leds-ws2812b: fix build with Linux >= 5.18 2023-07-08 15:10:12 +01:00
linux kernel: netsupport: kmod-sched: Add act_skbmod 2023-08-15 16:11:45 +02:00
mac80211 hostapd: remove config_id parameters from hostapd.conf 2023-08-10 22:27:59 +02:00
mt76 mt76: update to the latest version 2023-07-26 11:21:50 +02:00
mt7621-qtn-rgmii mt7621-qtn-rgmii: enable RGMII connected Quantenna QV840 2020-07-08 16:07:05 +02:00
mwlwifi mwlwifi: fix 6.1 Kernel support 2023-08-10 16:34:07 +02:00
nat46 nat46: bump to latest git HEAD 2023-05-12 03:15:33 +02:00
qca-nss-dp kernel: qca-nss-dp: port FDB roaming fix 2023-07-01 14:22:37 +02:00
qca-ssdk kernel: qca-ssdk: update to 12.4.5.r1 2023-06-26 16:17:37 +02:00
rtc-rv5c386a kernel: Make use of KERNEL_MAKE 2022-12-17 20:12:31 +01:00
rtl8812au-ct rtl8812au-ct: bump to fix kernel 6.1 compile 2023-08-19 16:38:48 +02: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-05-24 00:56:54 +02:00
ubootenv-nvram kernel: ubootenv-nvram: driver for RAM backed environments 2023-08-20 01:14:06 +02:00