diff options
author | Daniel Golle <daniel@makrotopia.org> | 2019-03-01 01:55:16 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-03-01 03:36:32 +0100 |
commit | 858aebc0ef112204aa3008630980b6eff21e4a2a (patch) | |
tree | 9b60cc07d5c2351a34a65b6f1f8726fd474611c6 | |
parent | b2bf3745ff7e5e2fbf3b7b0e488cfaa5b3cca87c (diff) | |
download | upstream-858aebc0ef112204aa3008630980b6eff21e4a2a.tar.gz upstream-858aebc0ef112204aa3008630980b6eff21e4a2a.tar.bz2 upstream-858aebc0ef112204aa3008630980b6eff21e4a2a.zip |
oxnas: unify MTD partition names
Use 'u-boot' and 'u-boot-env' like the majority of OpenWrt targets
does...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
4 files changed, 13 insertions, 8 deletions
diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-cloudengines-pogoplug-pro.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-cloudengines-pogoplug-pro.dts index 029e1aa17d..999276e5ad 100644 --- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-cloudengines-pogoplug-pro.dts +++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-cloudengines-pogoplug-pro.dts @@ -80,13 +80,13 @@ }; partition@40000 { - label = "uboot"; + label = "u-boot"; reg = <0x00040000 0x00380000>; read-only; }; partition@3c0000 { - label = "uboot_env"; + label = "u-boot-env"; reg = <0x003c0000 0x00080000>; }; diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg212.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg212.dts index a265742896..feb95ebb9f 100644 --- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg212.dts +++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg212.dts @@ -93,13 +93,13 @@ }; partition@40000 { - label = "uboot"; + label = "u-boot"; reg = <0x00040000 0x00380000>; read-only; }; partition@3c0000 { - label = "uboot_env"; + label = "u-boot-env"; reg = <0x003c0000 0x00080000>; }; diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts index 516774531f..1f88e76e50 100644 --- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts +++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts @@ -144,11 +144,16 @@ }; partition@40000 { - label = "u-boot"; - reg = <0x00040000 0x00200000>; + label = "uboot"; + reg = <0x00040000 0x001e0000>; read-only; }; + partition@220000 { + label = "uboot_env"; + reg = <0x00220000 0x00020000>; + }; + partition@240000 { label = "initrd"; reg = <0x00240000 0x00600000>; diff --git a/target/linux/oxnas/patches-4.14/020-nand-partitions-on-pogoplug-v3.patch b/target/linux/oxnas/patches-4.14/020-nand-partitions-on-pogoplug-v3.patch index a809845bce..1136240882 100644 --- a/target/linux/oxnas/patches-4.14/020-nand-partitions-on-pogoplug-v3.patch +++ b/target/linux/oxnas/patches-4.14/020-nand-partitions-on-pogoplug-v3.patch @@ -12,13 +12,13 @@ }; + partition@40000 { -+ label = "uboot"; ++ label = "u-boot"; + reg = <0x00040000 0x00380000>; + read-only; + }; + + partition@3c0000 { -+ label = "uboot_env"; ++ label = "u-boot-env"; + reg = <0x003c0000 0x00080000>; + }; + |