mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/5] ARM: i.MX8M: implement bootrom log viewing command
@ 2022-11-01 18:06 Ahmad Fatoum
  2022-11-01 18:06 ` [PATCH 1/5] ARM: asm: set aside new arm_mem_scratch space Ahmad Fatoum
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ahmad Fatoum @ 2022-11-01 18:06 UTC (permalink / raw)
  To: barebox

The ROM event log of the i.MX8M* can help with debugging boot
failures as it lists various information about boot mode, image,
fallback and recovery as well as timestamps when some actions along
the boot process occurred.

This adds a new bootrom -l command that supports reading this out.

Ahmad Fatoum (5):
  ARM: asm: set aside new arm_mem_scratch space
  ARM: i.MX8M: esdctl: export imx8m_barebox_earlymem_size
  ARM: i.MX8M: define imx8mX_scratch_space() helper
  ARM: i.MX8M: support saving BootROM event log before clobbering OCRAM
  ARM: i.MX8M: implement bootrom log viewing command

 arch/arm/include/asm/barebox-arm.h          |   7 +
 arch/arm/mach-imx/Kconfig                   |   4 +
 arch/arm/mach-imx/Makefile                  |   1 +
 arch/arm/mach-imx/atf.c                     |   3 +
 arch/arm/mach-imx/bootrom-cmd.c             | 220 ++++++++++++++++++++
 arch/arm/mach-imx/esdctl.c                  |  11 +-
 arch/arm/mach-imx/include/mach/esdctl.h     |   3 +
 arch/arm/mach-imx/include/mach/imx8m-regs.h |   8 +
 arch/arm/mach-imx/include/mach/romapi.h     |  11 +
 arch/arm/mach-imx/include/mach/xload.h      |  11 +
 arch/arm/mach-imx/romapi.c                  |  26 +++
 arch/arm/mach-imx/xload-common.c            |  10 +
 commands/Kconfig                            |   8 +
 13 files changed, 320 insertions(+), 3 deletions(-)
 create mode 100644 arch/arm/mach-imx/bootrom-cmd.c

-- 
2.30.2




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

end of thread, other threads:[~2022-12-02  8:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-01 18:06 [PATCH 0/5] ARM: i.MX8M: implement bootrom log viewing command Ahmad Fatoum
2022-11-01 18:06 ` [PATCH 1/5] ARM: asm: set aside new arm_mem_scratch space Ahmad Fatoum
2022-11-01 18:06 ` [PATCH 2/5] ARM: i.MX8M: esdctl: export imx8m_barebox_earlymem_size Ahmad Fatoum
2022-11-01 18:06 ` [PATCH 3/5] ARM: i.MX8M: define imx8mX_scratch_space() helper Ahmad Fatoum
2022-11-01 18:06 ` [PATCH 4/5] ARM: i.MX8M: support saving BootROM event log before clobbering OCRAM Ahmad Fatoum
2022-11-01 18:06 ` [PATCH 5/5] ARM: i.MX8M: implement bootrom log viewing command Ahmad Fatoum
2022-12-02  8:46 ` [PATCH 0/5] " Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox