ttwrplus: updated flash memory partitions

pull/218/head
Silvano Seva 2023-11-18 16:04:08 +01:00
rodzic 09587ab6c8
commit faffbfb930
1 zmienionych plików z 36 dodań i 17 usunięć

Wyświetl plik

@ -258,34 +258,53 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
/* Reserve 64kB for the bootloader */ /* Reserve 32kB for the bootloader */
boot_partition: partition@0 { boot_partition: partition@0 {
label = "mcuboot"; label = "tinyuf2";
reg = <0x00000000 0x00010000>; reg = <0x00000000 0x00008000>;
read-only; read-only;
}; };
/* Reserve 1024kB for the application in slot 0 */ /* Reserve 4kB for the partition table */
table_partition: partition@8000 {
label = "partition-table";
reg = <0x00008000 0x00009000>;
};
/* Reserve 20kB for non-volatile storage */
nvs_partition: partition@9000 {
label = "nvs";
reg = <0x00009000 0x0000e000>;
};
/* Reserve 8kB for otadata partition */
otadata_partition: partition@e000 {
label = "otadata";
reg = <0x0000e000 0x00010000>;
};
/* Reserve 2048kB for ota_0 partition */
slot0_partition: partition@10000 { slot0_partition: partition@10000 {
label = "image-0"; label = "ota_0";
reg = <0x00010000 0x00100000>; reg = <0x00010000 0x00210000>;
}; };
/* Reserve 1024kB for the application in slot 1 */ /* Reserve 2048kB for ota_1 partition */
slot1_partition: partition@110000 { slot1_partition: partition@210000 {
label = "image-1"; label = "ota_1";
reg = <0x00110000 0x00100000>; reg = <0x00210000 0x00410000>;
}; };
/* Reserve 256kB for the scratch partition */ /* Reserve 256kB for uf2 partition */
scratch_partition: partition@210000 { uf2_partition: partition@410000 {
label = "image-scratch"; label = "uf2";
reg = <0x00210000 0x00040000>; reg = <0x00410000 0x00450000>;
}; };
storage_partition: partition@250000 { /* Reserve 11968kB for storage partition (ffat) */
label = "storage"; storage_partition: partition@450000 {
reg = <0x00250000 0x00006000>; label = "ffat";
reg = <0x00450000 0x00bb0000>;
}; };
}; };
}; };