* [PATCH 1/4] ARM: dts: at91: sama5d2_ptc_ek: fix bootloader env offsets
2018-10-02 13:20 [PATCH 0/4] ARM: dts: at91: even nand memory partitions Tudor Ambarus
@ 2018-10-02 13:20 ` Tudor Ambarus
2018-10-02 13:20 ` [PATCH 2/4] ARM: dts: at91: at91sam9x5cm: even nand memory partitions Tudor Ambarus
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Tudor Ambarus @ 2018-10-02 13:20 UTC (permalink / raw)
To: nicolas.ferre, ludovic.desroches, alexandre.belloni, robh+dt,
mark.rutland, linux-arm-kernel, devicetree, linux-kernel
Cc: Tudor Ambarus
The offsets for the bootloader environment and its redundant partition
were inverted. Fix the addresses to match our nand flash map available at:
http://www.at91.com/linux4sam/pub/Linux4SAM/SambaSubsections//demo_nandflash_map_lnx4sam5x.png
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
---
arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts b/arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts
index b10dccd0958f..bb08f8344128 100644
--- a/arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts
+++ b/arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts
@@ -91,13 +91,13 @@
reg = <0x40000 0xc0000>;
};
- bootloaderenv@0x100000 {
- label = "bootloader env";
+ bootloaderenvred@0x100000 {
+ label = "bootloader env redundant";
reg = <0x100000 0x40000>;
};
- bootloaderenvred@0x140000 {
- label = "bootloader env redundant";
+ bootloaderenv@0x140000 {
+ label = "bootloader env";
reg = <0x140000 0x40000>;
};
--
2.9.4
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH 2/4] ARM: dts: at91: at91sam9x5cm: even nand memory partitions
2018-10-02 13:20 [PATCH 0/4] ARM: dts: at91: even nand memory partitions Tudor Ambarus
2018-10-02 13:20 ` [PATCH 1/4] ARM: dts: at91: sama5d2_ptc_ek: fix bootloader env offsets Tudor Ambarus
@ 2018-10-02 13:20 ` Tudor Ambarus
2018-10-02 13:20 ` [PATCH 3/4] ARM: dts: at91: sama5d3_xplained: " Tudor Ambarus
2018-10-02 13:20 ` [PATCH 4/4] ARM: dts: at91: sama5d4_xplained: " Tudor Ambarus
3 siblings, 0 replies; 5+ messages in thread
From: Tudor Ambarus @ 2018-10-02 13:20 UTC (permalink / raw)
To: nicolas.ferre, ludovic.desroches, alexandre.belloni, robh+dt,
mark.rutland, linux-arm-kernel, devicetree, linux-kernel
Cc: Tudor Ambarus
sam9x5cm, sama5d2_ptc_ek, sama5d3_xplained and sama5d4_xplained nand
flashes have a common memory map. Even the nand memory partitions to
match our nand flash map available at:
http://www.at91.com/linux4sam/pub/Linux4SAM/SambaSubsections//demo_nandflash_map_lnx4sam5x.png
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
---
arch/arm/boot/dts/at91sam9x5cm.dtsi | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/at91sam9x5cm.dtsi b/arch/arm/boot/dts/at91sam9x5cm.dtsi
index 993eabe1cf7a..c4cc9cc945fa 100644
--- a/arch/arm/boot/dts/at91sam9x5cm.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5cm.dtsi
@@ -85,12 +85,22 @@
uboot@40000 {
label = "u-boot";
- reg = <0x40000 0x80000>;
+ reg = <0x40000 0xc0000>;
};
- ubootenv@c0000 {
+ ubootenvred@100000 {
+ label = "U-Boot Env Redundant";
+ reg = <0x100000 0x40000>;
+ };
+
+ ubootenv@140000 {
label = "U-Boot Env";
- reg = <0xc0000 0x140000>;
+ reg = <0x140000 0x40000>;
+ };
+
+ dtb@180000 {
+ label = "device tree";
+ reg = <0x180000 0x80000>;
};
kernel@200000 {
--
2.9.4
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH 3/4] ARM: dts: at91: sama5d3_xplained: even nand memory partitions
2018-10-02 13:20 [PATCH 0/4] ARM: dts: at91: even nand memory partitions Tudor Ambarus
2018-10-02 13:20 ` [PATCH 1/4] ARM: dts: at91: sama5d2_ptc_ek: fix bootloader env offsets Tudor Ambarus
2018-10-02 13:20 ` [PATCH 2/4] ARM: dts: at91: at91sam9x5cm: even nand memory partitions Tudor Ambarus
@ 2018-10-02 13:20 ` Tudor Ambarus
2018-10-02 13:20 ` [PATCH 4/4] ARM: dts: at91: sama5d4_xplained: " Tudor Ambarus
3 siblings, 0 replies; 5+ messages in thread
From: Tudor Ambarus @ 2018-10-02 13:20 UTC (permalink / raw)
To: nicolas.ferre, ludovic.desroches, alexandre.belloni, robh+dt,
mark.rutland, linux-arm-kernel, devicetree, linux-kernel
Cc: Tudor Ambarus
sama5d3_xplained, sam9x5cm, sama5d2_ptc_ek and sama5d4_xplained nand
flashes have a common memory map. Even the nand memory partitions to
match our nand flash map available at:
http://www.at91.com/linux4sam/pub/Linux4SAM/SambaSubsections//demo_nandflash_map_lnx4sam5x.png
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
---
arch/arm/boot/dts/at91-sama5d3_xplained.dts | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
index 02c1d2958d78..322a744e4363 100644
--- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
@@ -297,12 +297,17 @@
bootloader@40000 {
label = "bootloader";
- reg = <0x40000 0x80000>;
+ reg = <0x40000 0xc0000>;
};
- bootloaderenv@c0000 {
+ bootloaderenvred@100000 {
+ label = "bootloader env redundant";
+ reg = <0x100000 0x40000>;
+ };
+
+ bootloaderenv@140000 {
label = "bootloader env";
- reg = <0xc0000 0xc0000>;
+ reg = <0x140000 0x40000>;
};
dtb@180000 {
--
2.9.4
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH 4/4] ARM: dts: at91: sama5d4_xplained: even nand memory partitions
2018-10-02 13:20 [PATCH 0/4] ARM: dts: at91: even nand memory partitions Tudor Ambarus
` (2 preceding siblings ...)
2018-10-02 13:20 ` [PATCH 3/4] ARM: dts: at91: sama5d3_xplained: " Tudor Ambarus
@ 2018-10-02 13:20 ` Tudor Ambarus
3 siblings, 0 replies; 5+ messages in thread
From: Tudor Ambarus @ 2018-10-02 13:20 UTC (permalink / raw)
To: nicolas.ferre, ludovic.desroches, alexandre.belloni, robh+dt,
mark.rutland, linux-arm-kernel, devicetree, linux-kernel
Cc: Tudor Ambarus
sama5d4_xplained, ssam9x5cm, sama5d2_ptc_ek and sama5d3_xplained nand
flashes have a common memory map. Even the nand memory partitions to
match our NAND flash map available at:
http://www.at91.com/linux4sam/pub/Linux4SAM/SambaSubsections//demo_nandflash_map_lnx4sam5x.png
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
---
arch/arm/boot/dts/at91-sama5d4_xplained.dts | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts b/arch/arm/boot/dts/at91-sama5d4_xplained.dts
index 7d554b9ab27f..43aef56ac74a 100644
--- a/arch/arm/boot/dts/at91-sama5d4_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d4_xplained.dts
@@ -232,12 +232,17 @@
bootloader@40000 {
label = "bootloader";
- reg = <0x40000 0x80000>;
+ reg = <0x40000 0xc0000>;
};
- bootloaderenv@c0000 {
+ bootloaderenvred@100000 {
+ label = "bootloader env redundant";
+ reg = <0x100000 0x40000>;
+ };
+
+ bootloaderenv@140000 {
label = "bootloader env";
- reg = <0xc0000 0xc0000>;
+ reg = <0x140000 0x40000>;
};
dtb@180000 {
--
2.9.4
^ permalink raw reply [flat|nested] 5+ messages in thread