All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Update riscv's SYS_BOOTM_LEN to the most commonly used value.
@ 2025-07-14 13:33 Martin Herren
  2025-07-14 13:33 ` [PATCH 1/3] riscv: Set SYS_BOOTM_LEN explicitly to 0x800000 Martin Herren
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Martin Herren @ 2025-07-14 13:33 UTC (permalink / raw)
  To: u-boot
  Cc: Martin Herren, Andreas Schwab, Anup Patel, Atish Patra, Bin Meng,
	Chia-Wei, Wang, Conor Dooley, Cyril Jean, E Shattow, Green Wan,
	Hal Feng, Heinrich Schuchardt, Ilias Apalodimas, Jerome Forissier,
	Junhui Liu, Kongyang Liu, Leo Yu-Chi Liang, Maksim Kiselev,
	Marek Vasut, Martin Schwan, Mattijs Korpershoek, Michal Simek,
	Minda Chen, Padmarao Begari, Palmer Dabbelt, Paul Walmsley,
	Peter Robinson, Rick Chen, Sean Anderson, Simon Glass, Sumit Garg,
	Thomas Bonnefille, Tom Rini, Wei Fu, Yao Zi, Yixun Lan,
	Yuri Zaporozhets


The most commonly used SYS_BOOTM_LEN for riscv is 0x4000000 which is
used in 25 of the current defconfigs.

The previous default config value of 0x800000 was only used in 8
defconfigs.

This patch sets the default to this value.

Command used to get the stats of the used values on RISCV defconfigs:

```
grep -l "CONFIG_RISCV=y" configs/* | \
 xargs -I {} sh -c "grep -H CONFIG_SYS_BOOTM_LEN {} || echo {}:DEFAULT" | \
 cut -d ':' -f 2 | sort | uniq -c
```

Changes in v2:
- Resubmit using another mail provider to prevent mangling and signature
  attachement.

Martin Herren (3):
  riscv: Set SYS_BOOTM_LEN explicitly to 0x800000
  riscv: Set SYS_BOOTM_LEN default to 0x4000000
  riscv: Remove default SYS_BOOTM_LEN from defconfig

 boot/Kconfig                            | 2 +-
 configs/ae350_rv32_defconfig            | 1 -
 configs/ae350_rv32_falcon_defconfig     | 1 -
 configs/ae350_rv32_falcon_xip_defconfig | 1 -
 configs/ae350_rv32_spl_defconfig        | 1 -
 configs/ae350_rv32_spl_xip_defconfig    | 1 -
 configs/ae350_rv32_xip_defconfig        | 1 -
 configs/ae350_rv64_defconfig            | 1 -
 configs/ae350_rv64_falcon_defconfig     | 1 -
 configs/ae350_rv64_falcon_xip_defconfig | 1 -
 configs/ae350_rv64_spl_defconfig        | 1 -
 configs/ae350_rv64_spl_xip_defconfig    | 1 -
 configs/ae350_rv64_xip_defconfig        | 1 -
 configs/ibex-ast2700_defconfig          | 1 -
 configs/k230_canmv_defconfig            | 1 +
 configs/microchip_mpfs_icicle_defconfig | 1 +
 configs/milkv_duo_defconfig             | 1 -
 configs/qemu-riscv32_defconfig          | 1 -
 configs/qemu-riscv32_smode_defconfig    | 1 -
 configs/qemu-riscv32_spl_defconfig      | 1 -
 configs/qemu-riscv64_defconfig          | 1 -
 configs/qemu-riscv64_smode_defconfig    | 1 -
 configs/qemu-riscv64_spl_defconfig      | 1 -
 configs/sifive_unleashed_defconfig      | 1 -
 configs/sifive_unmatched_defconfig      | 1 -
 configs/sipeed_licheerv_nano_defconfig  | 1 -
 configs/sipeed_maix_bitm_defconfig      | 1 +
 configs/sipeed_maix_smode_defconfig     | 1 +
 configs/starfive_visionfive2_defconfig  | 1 -
 configs/th1520_lpi4a_defconfig          | 1 -
 configs/xilinx_mbv32_defconfig          | 1 +
 configs/xilinx_mbv32_smode_defconfig    | 1 +
 configs/xilinx_mbv64_defconfig          | 1 +
 configs/xilinx_mbv64_smode_defconfig    | 1 +
 34 files changed, 9 insertions(+), 26 deletions(-)


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH 0/3] Update riscv's SYS_BOOTM_LEN to the most commonly used value.
@ 2025-07-12  8:26 Martin Herren
  0 siblings, 0 replies; 12+ messages in thread
From: Martin Herren @ 2025-07-12  8:26 UTC (permalink / raw)
  To: u-boot
  Cc: Martin Herren, Andreas Schwab, Anup Patel, Atish Patra, Bin Meng,
	Chia-Wei, Wang, Conor Dooley, Cyril Jean, E Shattow, Green Wan,
	Hal Feng, Heinrich Schuchardt, Ilias Apalodimas, Jaehoon Chung,
	Jerome Forissier, Junhui Liu, Kongyang Liu, Leo Yu-Chi Liang,
	Maksim Kiselev, Marek Vasut, Martin Schwan, Mattijs Korpershoek,
	Michal Simek, Minda Chen, Padmarao Begari, Palmer Dabbelt,
	Paul Walmsley, Peter Robinson, Rick Chen, Sean Anderson,
	Simon Glass, Sughosh Ganu, Sumit Garg, Thomas Bonnefille,
	Tom Rini, Wei Fu, Yao Zi, Yixun Lan, Yuri Zaporozhets

[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]


The most commonly used SYS_BOOTM_LEN for riscv is 0x4000000 which is
used in 25 of the current defconfigs.

The previous default config value of 0x800000 was only used in 8
defconfigs.

This patch sets the default to this value.

Command used to get the stats of the used values on RISCV defconfigs:

```
grep -l "CONFIG_RISCV=y" configs/* | \
 xargs -I {} sh -c "grep -H CONFIG_SYS_BOOTM_LEN {} || echo {}:DEFAULT" | \
 cut -d ':' -f 2 | sort | uniq -c
```


Martin Herren (3):
  riscv: Set SYS_BOOTM_LEN explicitly to 0x800000
  riscv: Set SYS_BOOTM_LEN default to 0x4000000
  riscv: Remove default SYS_BOOTM_LEN from defconfig

 boot/Kconfig                            | 2 +-
 configs/ae350_rv32_defconfig            | 1 -
 configs/ae350_rv32_falcon_defconfig     | 1 -
 configs/ae350_rv32_falcon_xip_defconfig | 1 -
 configs/ae350_rv32_spl_defconfig        | 1 -
 configs/ae350_rv32_spl_xip_defconfig    | 1 -
 configs/ae350_rv32_xip_defconfig        | 1 -
 configs
/ae350_rv64_defconfig            | 1 -
 configs/ae350_rv64_falcon_defconfig     | 1 -
 configs/ae350_rv64_falcon_xip_defconfig | 1 -
 configs/ae350_rv64_spl_defconfig        | 1 -
 configs/ae350_rv64_spl_xip_defconfig    | 1 -
 configs/ae350_rv64_xip_defconfig        | 1 -
 configs/ibex-ast2700_defconfig          | 1 -
 configs/k230_canmv_defconfig            | 1 +
 configs/microchip_mpfs_icicle_defconfig | 1 +
 configs/milkv_duo_defconfig             | 1 -
 configs/qemu-riscv32_defconfig          | 1 -
 configs/qemu-riscv32_smode_defconfig    | 1 -
 configs/qemu-riscv32_spl_defconfig      | 1 -
 configs/qemu-riscv64_defconfig          | 1 -
 configs/qemu-riscv64_smode_defconfig    | 1 -
 configs/qemu-riscv64_spl_defconfig      | 1 -
 configs/sifive_unleashed_defconfig      | 1 -
 configs/sifive_unmatched_defconfig      | 1 -
 configs/sipeed_licheerv_nano_defconfig  | 1 -
 configs/sipeed_maix_bitm_defconfig      | 1 +
 configs/sipeed_maix_smode_defconfig     | 1 +

 configs/starfive_visionfive2_defconfig  | 1 -
 configs/th1520_lpi4a_defconfig          | 1 -
 configs/xilinx_mbv32_defconfig          | 1 +
 configs/xilinx_mbv32_smode_defconfig    | 1 +
 configs/xilinx_mbv64_defconfig          | 1 +
 configs/xilinx_mbv64_smode_defconfig    | 1 +
 34 files changed, 9 insertions(+), 26 deletions(-)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 322 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-07-17  5:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-14 13:33 [PATCH 0/3] Update riscv's SYS_BOOTM_LEN to the most commonly used value Martin Herren
2025-07-14 13:33 ` [PATCH 1/3] riscv: Set SYS_BOOTM_LEN explicitly to 0x800000 Martin Herren
2025-07-16 10:33   ` Conor Dooley
2025-07-14 13:33 ` [PATCH 2/3] riscv: Set SYS_BOOTM_LEN default to 0x4000000 Martin Herren
2025-07-14 13:33 ` [PATCH 3/3] riscv: Remove default SYS_BOOTM_LEN from defconfig Martin Herren
2025-07-15 11:27 ` [PATCH 0/3] Update riscv's SYS_BOOTM_LEN to the most commonly used value Michal Simek
2025-07-16  1:35   ` E Shattow
2025-07-16 10:11     ` Martin Herren
2025-07-16 16:23       ` E Shattow
2025-07-16 17:00     ` Tom Rini
2025-07-17  5:10       ` Leo Liang
  -- strict thread matches above, loose matches on Subject: below --
2025-07-12  8:26 Martin Herren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.