boards/odroid_go: Fix update partitions size

Update partitions size to utilize the entire flash

Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
This commit is contained in:
Yannis Damigos 2022-03-30 23:03:00 +03:00 committed by Fabio Baltieri
commit dc1353a336
2 changed files with 24 additions and 22 deletions

View file

@ -40,27 +40,28 @@
read-only; read-only;
}; };
/* Reserve 1024kB for the application in slot 0 */ /* Reserve 2048kB for the application in slot 0 */
slot0_partition: partition@10000 { slot0_partition: partition@10000 {
label = "image-0"; label = "image-0";
reg = <0x00010000 0x00100000>; reg = <0x00010000 0x00200000>;
}; };
/* Reserve 1024kB for the application in slot 1 */ /* Reserve 2048kB for the application in slot 1 */
slot1_partition: partition@110000 { slot1_partition: partition@210000 {
label = "image-1"; label = "image-1";
reg = <0x00110000 0x00100000>; reg = <0x00210000 0x00200000>;
}; };
/* Reserve 256kB for the scratch partition */ /* Reserve 64kB for the scratch partition */
scratch_partition: partition@210000 { scratch_partition: partition@410000 {
label = "image-scratch"; label = "image-scratch";
reg = <0x00210000 0x00040000>; reg = <0x00410000 0x00010000>;
}; };
storage_partition: partition@250000 { /* Reserve the remaining 12160kB for the storage partition */
storage_partition: partition@420000 {
label = "storage"; label = "storage";
reg = <0x00250000 0x00006000>; reg = <0x00420000 0x00BE0000>;
}; };
}; };
}; };

View file

@ -183,27 +183,28 @@
read-only; read-only;
}; };
/* Reserve 1024kB for the application in slot 0 */ /* Reserve 2048kB for the application in slot 0 */
slot0_partition: partition@10000 { slot0_partition: partition@10000 {
label = "image-0"; label = "image-0";
reg = <0x00010000 0x00100000>; reg = <0x00010000 0x00200000>;
}; };
/* Reserve 1024kB for the application in slot 1 */ /* Reserve 2048kB for the application in slot 1 */
slot1_partition: partition@110000 { slot1_partition: partition@210000 {
label = "image-1"; label = "image-1";
reg = <0x00110000 0x00100000>; reg = <0x00210000 0x00200000>;
}; };
/* Reserve 256kB for the scratch partition */ /* Reserve 64kB for the scratch partition */
scratch_partition: partition@210000 { scratch_partition: partition@410000 {
label = "image-scratch"; label = "image-scratch";
reg = <0x00210000 0x00040000>; reg = <0x00410000 0x00010000>;
}; };
storage_partition: partition@250000 { /* Reserve the remaining 12160kB for the storage partition */
storage_partition: partition@420000 {
label = "storage"; label = "storage";
reg = <0x00250000 0x00006000>; reg = <0x00420000 0x00BE0000>;
}; };
}; };
}; };