mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-14 18:19:07 +01:00
apm821xx: wndr4700: fix uboot-env
With nvmem-layout, these probe errors go away. Add status = "disabled" as the u-boot env driver can't handle redundant environments properly. As a result, fw_printenv ends up not working right. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16618 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
387e5d57cc
commit
45ba1351d6
1 changed files with 10 additions and 15 deletions
|
|
@ -191,27 +191,22 @@
|
|||
partition@40000 {
|
||||
label = "u-boot-env-main";
|
||||
reg = <0x00040000 0x20000>; /* one block is 128k */
|
||||
read-only;
|
||||
status = "disabled";
|
||||
|
||||
nvmem-layout {
|
||||
compatible = "u-boot,env-redundant-count";
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
* Causes u_boot_env: probe of 4e4000000.ndfc:nand:partitions:partition@0:partition@60000
|
||||
* failed with error -17
|
||||
*
|
||||
* partition@60000 {
|
||||
* label = "u-boot-env-redundant";
|
||||
* reg = <0x00060000 0x20000>;
|
||||
* read-only;
|
||||
*
|
||||
* nvmem-layout {
|
||||
* compatible = "u-boot,env-redundant-count";
|
||||
* };
|
||||
* };
|
||||
*/
|
||||
partition@60000 {
|
||||
label = "u-boot-env-redundant";
|
||||
reg = <0x00060000 0x20000>;
|
||||
status = "disabled";
|
||||
|
||||
nvmem-layout {
|
||||
compatible = "u-boot,env-redundant-count";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
partition@180000 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue