ARM: stm32: env: Enable scan and start for AB schema on STM32MP15 DHSOM
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v1 Latest posting 2/22 patches 4 repliesIn review
- v1 posting 1/22 patches 2 repliesSuperseded
Patches in v1 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | config_distro_bootcmd: make possible to substitute 'part list' in distro_bootcmdinclude/ | +6 | 2 replies | |
| 2/2 | ARM: stm32: env: Enable scan and start for AB schema on STM32MP15 DHSOMconfigs/ include/ | +36 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Patrice Chotard |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RESEND PATCH 0/2] ARM: stm32: env: Enable scan and start for AB schema on STM32MP15 DHSOM
For the STM32MP15 DHSOM, change the default environment so an AB schema on a device can be detected.
The first patch makes possible to substitute the 'part list' command inside 'scan_dev_for_boot_part' with a custom board specific implementation.
The second patch uses the change of the first patch to plug the board specific code for booting from AB into the standard boot of all boot targets at the STM32MP15 DHSOM.
The detection works by looking for the partitions with specific lables. The name of those partitions are in the variables and its defaults:
* dh_ab_partname_primary=rootfs-a
* dh_ab_partname_secondary=rootfs-b
To prevent being hanging at bootcmd, enable "CONFIG_BOOT_RETRY" and "CONFIG_RESET_TO_RETRY", but the timer will only be activated, if the AB partitions are detected.
Pascal Zimmermann (2):
config_distro_bootcmd: make possible to substitute 'part list' in
distro_bootcmd
ARM: stm32: env: Enable scan and start for AB schema on STM32MP15
DHSOM
configs/stm32mp15_dhsom.config | 3 +++ include/config_distro_bootcmd.h | 7 +++++- include/configs/stm32mp15_dh_dhsom.h | 33 ++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-)
---
Cc: Marek Vasut <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signature · 1 line
2.30.2