mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 19:59:34 -04:00
arm64: dts: renesas: rz{g2l,g2lc}-smarc-som: Update partition table for spi-nor flash
Update partition table for spi-nor flash, so that we can flash bootloaders
in Linux by executing the below commands:
flash_erase /dev/mtd0 0 0
flash_erase /dev/mtd1 0 0
mtd_debug write /dev/mtd0 0 ${BL2_FILE_SIZE} ${BL2_IMAGE}
mtd_debug write /dev/mtd1 512 ${FIP_FILE_SIZE} ${FIP_IMAGE}
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20241004173235.74307-3-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
committed by
Geert Uytterhoeven
parent
c0f2ec5683
commit
91dcdfbc5b
@@ -341,11 +341,18 @@ partitions {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
boot@0 {
|
||||
reg = <0x00000000 0x2000000>;
|
||||
read-only;
|
||||
partition@0 {
|
||||
label = "bl2";
|
||||
reg = <0x00000000 0x0001d000>;
|
||||
};
|
||||
user@2000000 {
|
||||
|
||||
partition@1d000 { /* fip is at offset 0x200 */
|
||||
label = "fip";
|
||||
reg = <0x0001d000 0x1fe3000>;
|
||||
};
|
||||
|
||||
partition@2000000 {
|
||||
label = "user";
|
||||
reg = <0x2000000 0x2000000>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -259,11 +259,18 @@ partitions {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
boot@0 {
|
||||
reg = <0x00000000 0x2000000>;
|
||||
read-only;
|
||||
partition@0 {
|
||||
label = "bl2";
|
||||
reg = <0x00000000 0x0001d000>;
|
||||
};
|
||||
user@2000000 {
|
||||
|
||||
partition@1d000 { /* fip is at offset 0x200 */
|
||||
label = "fip";
|
||||
reg = <0x0001d000 0x1fe3000>;
|
||||
};
|
||||
|
||||
partition@2000000 {
|
||||
label = "user";
|
||||
reg = <0x2000000 0x2000000>;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user