summaryrefslogtreecommitdiff
path: root/recipes-kernel
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-11-10 11:26:59 -0600
committerAndrii Pientsov <andrii.pientsov@globallogic.com>2021-11-18 10:02:36 +0200
commit130ab6fd5153fa528e2e33a501d9ecffed55067b (patch)
tree509239701eee390b7112fe2e5f8d181edf9bccd1 /recipes-kernel
parent1782a7c121964fae19649ae29e073fd872222001 (diff)
downloadmeta-multitech-atmel-130ab6fd5153fa528e2e33a501d9ecffed55067b.tar.gz
meta-multitech-atmel-130ab6fd5153fa528e2e33a501d9ecffed55067b.tar.bz2
meta-multitech-atmel-130ab6fd5153fa528e2e33a501d9ecffed55067b.zip
Cannot use same stanza names at at91sam9x5cm.dtsi or partition order is incorrect
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mtcdt.dts16
1 files changed, 11 insertions, 5 deletions
diff --git a/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mtcdt.dts b/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mtcdt.dts
index 2ee2e86..f485baa 100644
--- a/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mtcdt.dts
+++ b/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mtcdt.dts
@@ -220,19 +220,27 @@
atmel,pmecc-cap = <4>;
atmel,nand-has-dma;
+ /* To ensure correct partition ordering, we must delete
+ * at91sam9x5cm.dtsi partitions and not use the same names
+ * for the stanzas. */
+ /delete-node/ at91bootstrap@0;
+ /delete-node/ uboot@40000;
+ /delete-node/ ubootenv@c0000;
+ /delete-node/ kernel@200000;
+ /delete-node/ rootfs@800000;
+
nand@0 {
label = "NANDFlash";
reg = <0x0 0x10000000>;
};
- at91bootstrap@0 {
+ at91bootstrapMT@0 {
label = "at91bootstrap";
reg = <0x0 0x40000>;
};
- uboot@40000 {
+ ubootMT@40000 {
label = "u-Boot";
reg = <0x40000 0x80000>;
};
- /delete-node/ ubootenv@c0000;
ubootconfig0@c0000 {
label = "u-Boot Config";
reg = <0xc0000 0xa0000>;
@@ -241,7 +249,6 @@
label = "u-Boot Redundant Config";
reg = <0x160000 0xa0000>;
};
- /delete-node/ kernel@200000;
uImage@200000 {
label = "uImage";
reg = <0x200000 0x600000>;
@@ -254,7 +261,6 @@
label = "OEM Config";
reg = <0x1000000 0x800000>;
};
- /delete-node/ rootfs@800000;
rootfs@1800000 {
label = "Rootfs";
reg = <0x1800000 0x8000000>;