Commit 8dec60e7 authored by Troy Lee's avatar Troy Lee Committed by Joel Stanley

ARM: dts: aspeed: Grow u-boot partition 64MiB OpenBMC flash layout

Aspeed AST2600 u-boot requires 600KiB+ flash space. Sharing the same
openbmc-flash-layout-64.dtsi requires to resize the flash partition.

The updated flash layout as follows:
- u-boot: 896 KiB
- u-boot-env: 128 KiB
- kernel: 9MiB
- rofs: 32 MiB
- rwfs: 22 MiB
Signed-off-by: default avatarTroy Lee <troy_lee@aspeedtech.com>
Reviewed-by: default avatarJoel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210316085932.2601-1-troy_lee@aspeedtech.comSigned-off-by: default avatarJoel Stanley <joel@jms.id.au>
parent 959ff7f6
...@@ -163,37 +163,7 @@ flash@0 { ...@@ -163,37 +163,7 @@ flash@0 {
m25p,fast-read; m25p,fast-read;
label = "bmc"; label = "bmc";
spi-max-frequency = <50000000>; spi-max-frequency = <50000000>;
#include "openbmc-flash-layout-64.dtsi"
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
u-boot@0 {
reg = <0x0 0xe0000>; // 896KB
label = "u-boot";
};
u-boot-env@e0000 {
reg = <0xe0000 0x20000>; // 128KB
label = "u-boot-env";
};
kernel@100000 {
reg = <0x100000 0x900000>; // 9MB
label = "kernel";
};
rofs@a00000 {
reg = <0xa00000 0x2000000>; // 32MB
label = "rofs";
};
rwfs@6000000 {
reg = <0x2a00000 0x1600000>; // 22MB
label = "rwfs";
};
};
}; };
}; };
......
...@@ -9,27 +9,27 @@ partitions { ...@@ -9,27 +9,27 @@ partitions {
#size-cells = <1>; #size-cells = <1>;
u-boot@0 { u-boot@0 {
reg = <0x0 0x60000>; // 384KB reg = <0x0 0xe0000>; // 896KB
label = "u-boot"; label = "u-boot";
}; };
u-boot-env@60000 { u-boot-env@e0000 {
reg = <0x60000 0x20000>; // 128KB reg = <0xe0000 0x20000>; // 128KB
label = "u-boot-env"; label = "u-boot-env";
}; };
kernel@80000 { kernel@100000 {
reg = <0x80000 0x500000>; // 5MB reg = <0x100000 0x900000>; // 9MB
label = "kernel"; label = "kernel";
}; };
rofs@580000 { rofs@a00000 {
reg = <0x580000 0x2a80000>; // 42.5MB reg = <0xa00000 0x2000000>; // 32MB
label = "rofs"; label = "rofs";
}; };
rwfs@3000000 { rwfs@6000000 {
reg = <0x3000000 0x1000000>; // 16MB reg = <0x2a00000 0x1600000>; // 22MB
label = "rwfs"; label = "rwfs";
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment