mbox series

[0/2] Enable distroboot as a boot option for am62x

Message ID 20221220183819.515667-1-martyn.welch@collabora.com
Headers show
Series Enable distroboot as a boot option for am62x | expand

Message

Martyn Welch Dec. 20, 2022, 6:38 p.m. UTC
The am62x config currently doesn't enable distroboot as an option for
booting. Add this as a further option after the existing mechanisms have
failed.

Whilst working on this it was found that boot detection was failing on
the am625-sk when attempting to boot from raw offsets on an SD card.
Boot mode is updated to correctly detect the boot mode from the SoC boot
config.

Martyn Welch (2):
  arm64:mach-k3 am625_init: Correct boot mode detection
  configs: Enable distroboot on am625

 arch/arm/mach-k3/am625_init.c   | 19 +++++++++----------
 configs/am62x_evm_a53_defconfig |  2 +-
 include/configs/am62x_evm.h     | 26 +++++++++++++++++++++++++-
 3 files changed, 35 insertions(+), 12 deletions(-)

Comments

Bryan Brattlof Dec. 21, 2022, 4:56 p.m. UTC | #1
Hi Martyn!

On December 20, 2022 thus sayeth Martyn Welch:
> The am62x config currently doesn't enable distroboot as an option for
> booting. Add this as a further option after the existing mechanisms have
> failed.
> 
> Whilst working on this it was found that boot detection was failing on
> the am625-sk when attempting to boot from raw offsets on an SD card.
> Boot mode is updated to correctly detect the boot mode from the SoC boot
> config.
> 
> Martyn Welch (2):
>   arm64:mach-k3 am625_init: Correct boot mode detection
>   configs: Enable distroboot on am625

Reviewed-by: Bryan Brattlof <bb@ti.com>

I'm excited to start getting rid of these custom boot scripts

I was looking at 'Standard Boot'[0] as my solution :)

~Bryan

[0] https://u-boot.readthedocs.io/en/latest/develop/bootstd.html