From dc1353a336d85ab28091e3cba3f288b1575e25a0 Mon Sep 17 00:00:00 2001 From: Yannis Damigos Date: Wed, 30 Mar 2022 23:03:00 +0300 Subject: [PATCH] boards/odroid_go: Fix update partitions size Update partitions size to utilize the entire flash Signed-off-by: Yannis Damigos --- .../hardkernel/odroid_go/odroid_go_appcpu.dts | 23 ++++++++++--------- .../hardkernel/odroid_go/odroid_go_procpu.dts | 23 ++++++++++--------- 2 files changed, 24 insertions(+), 22 deletions(-) diff --git a/boards/hardkernel/odroid_go/odroid_go_appcpu.dts b/boards/hardkernel/odroid_go/odroid_go_appcpu.dts index 1733da93f74..0b1ff7ddda0 100644 --- a/boards/hardkernel/odroid_go/odroid_go_appcpu.dts +++ b/boards/hardkernel/odroid_go/odroid_go_appcpu.dts @@ -40,27 +40,28 @@ read-only; }; - /* Reserve 1024kB for the application in slot 0 */ + /* Reserve 2048kB for the application in slot 0 */ slot0_partition: partition@10000 { label = "image-0"; - reg = <0x00010000 0x00100000>; + reg = <0x00010000 0x00200000>; }; - /* Reserve 1024kB for the application in slot 1 */ - slot1_partition: partition@110000 { + /* Reserve 2048kB for the application in slot 1 */ + slot1_partition: partition@210000 { label = "image-1"; - reg = <0x00110000 0x00100000>; + reg = <0x00210000 0x00200000>; }; - /* Reserve 256kB for the scratch partition */ - scratch_partition: partition@210000 { - label = "image-scratch"; - reg = <0x00210000 0x00040000>; + /* Reserve 64kB for the scratch partition */ + scratch_partition: partition@410000 { + label = "image-scratch"; + reg = <0x00410000 0x00010000>; }; - storage_partition: partition@250000 { + /* Reserve the remaining 12160kB for the storage partition */ + storage_partition: partition@420000 { label = "storage"; - reg = <0x00250000 0x00006000>; + reg = <0x00420000 0x00BE0000>; }; }; }; diff --git a/boards/hardkernel/odroid_go/odroid_go_procpu.dts b/boards/hardkernel/odroid_go/odroid_go_procpu.dts index c7de3a9c576..a3cbe29bfa2 100644 --- a/boards/hardkernel/odroid_go/odroid_go_procpu.dts +++ b/boards/hardkernel/odroid_go/odroid_go_procpu.dts @@ -183,27 +183,28 @@ read-only; }; - /* Reserve 1024kB for the application in slot 0 */ + /* Reserve 2048kB for the application in slot 0 */ slot0_partition: partition@10000 { label = "image-0"; - reg = <0x00010000 0x00100000>; + reg = <0x00010000 0x00200000>; }; - /* Reserve 1024kB for the application in slot 1 */ - slot1_partition: partition@110000 { + /* Reserve 2048kB for the application in slot 1 */ + slot1_partition: partition@210000 { label = "image-1"; - reg = <0x00110000 0x00100000>; + reg = <0x00210000 0x00200000>; }; - /* Reserve 256kB for the scratch partition */ - scratch_partition: partition@210000 { - label = "image-scratch"; - reg = <0x00210000 0x00040000>; + /* Reserve 64kB for the scratch partition */ + scratch_partition: partition@410000 { + label = "image-scratch"; + reg = <0x00410000 0x00010000>; }; - storage_partition: partition@250000 { + /* Reserve the remaining 12160kB for the storage partition */ + storage_partition: partition@420000 { label = "storage"; - reg = <0x00250000 0x00006000>; + reg = <0x00420000 0x00BE0000>; }; }; };