summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-11-01 19:06:42 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-12-02 09:46:00 +0100
commitda45ff9a615d49d14adaabd209a35740de407f08 (patch)
treefda76b775687390d4ea4aed97515c40780bb25db /commands
parent8454bc0fcc61d9d8baa7ba8f31c79a66564ea3af (diff)
downloadbarebox-da45ff9a615d49d14adaabd209a35740de407f08.tar.gz
barebox-da45ff9a615d49d14adaabd209a35740de407f08.tar.xz
ARM: i.MX8M: support saving BootROM event log before clobbering OCRAM
The ROM event log[1] is a data structure populated by the i.MX BootROM on i.MX6 and later. It's found by dereferencing a 32-bit address at a fixed location within the BootROM. If valid, this address will point into the On-Chip SRAM. On the i.MX8M, we load the ARM trusted firmware into the On-Chip SRAM and may end up overwriting the BootROM event log, before the user has a chance to parse it. Thus save the BootROM log into the newly defined i.MX scratch space for later usage. [1]: NXP AN12853 "i.MX ROMs Log Events" Rev. 0 - May 2020 Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20221101180643.244270-5-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
0 files changed, 0 insertions, 0 deletions