Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: Add 128MiB OpenBMC flash layout

This is an alternate layout used by OpenBMC systems that require more
space on the BMC's flash. In addition to more space for the rootfs, it
supports a larger u-boot and Linux kernel FIT image.

The division of space is as follows:

u-boot + env: 1MB
kernel/FIT: 9MB
rwfs: 86MB
rofs: 32MB

Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>

authored by

Brad Bishop and committed by
Joel Stanley
4caa4e30 d52ce2be

+32
+32
arch/arm/boot/dts/openbmc-flash-layout-128.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + 3 + partitions { 4 + compatible = "fixed-partitions"; 5 + #address-cells = <1>; 6 + #size-cells = <1>; 7 + 8 + u-boot@0 { 9 + reg = <0x0 0xe0000>; // 896KB 10 + label = "u-boot"; 11 + }; 12 + 13 + u-boot-env@e0000 { 14 + reg = <0xe0000 0x20000>; // 128KB 15 + label = "u-boot-env"; 16 + }; 17 + 18 + kernel@100000 { 19 + reg = <0x100000 0x900000>; // 9MB 20 + label = "kernel"; 21 + }; 22 + 23 + rofs@a00000 { 24 + reg = <0xa00000 0x5600000>; // 86MB 25 + label = "rofs"; 26 + }; 27 + 28 + rwfs@6000000 { 29 + reg = <0x6000000 0x2000000>; // 32MB 30 + label = "rwfs"; 31 + }; 32 + };