imx8mm boot rom event buffer readout Hi, I'm currently trying to get mainline u-boot v2025.01 running on an i.MX8MM on a custom board. However, we're stuck in the boot loader and don't get output via serial interface. So, I connected a J-Link base and read out the registers. Found out that SPL obviously returns to Boot ROM (as the PC is in the Boot ROM range when halting the Cortex-A53), so I wanted to read out the ROM event log buffer to get more info. Having found this post (https://community.nxp.com/t5/i-MX-Processors/ROM-Event-on-i-MX8M/m-p/1989877), I tried also with 0x9E0 as address, but the output doesn't seem to make sense: --- Cortex-A53 identified. J-Link>halt PC = 00000000000160C4 CPSR = 600003CD (AArch64, EL3h (SP_EL3) mode, IRQ masked, FIQ masked) SP = 0000000000901F40 ELR_EL1 = 2280006102140688 ELR_EL2 = A700010002088A08 ELR_EL3 = 0000000000016390 SP_EL0 = 01C0000202200002 SP_EL1 = 030C001080440040 SP_EL2 = 000000002002F0F3 SP_EL3 = 0000000000901F40 R0 = 000000000090CC90, R1 = 0000000000000006 R2 = 0000000000901DFB, R3 = 0000000000000000 R4 = 000000000000C1DC, R5 = 0000000000901DFC R6 = 0000000000000000, R7 = 0000000000000000 R8 = 0000000000000000, R9 = 0000000000000180 R10 = 0000000000000047, R11 = 0000000000000000 R12 = 000000000090B5E0, R13 = 000000000090B528 R14 = 0000000000004000, R15 = 000000000090B5E0 R16 = 0000000000000000, R17 = 0000000000000000 R18 = 0000000000000000, R19 = 0000000030350480 R20 = 000000000000000F, R21 = 000000000090E6D8 R22 = 000000000090C000, R23 = 0000000030350480 R24 = 0000000000000002, R25 = 0000000000910000 R26 = 0000000030390070, R27 = 0000000072000000 R28 = 0000000000000000, R29 = 0000000000901F40 R30 = 00000000000160C4, R31 = 0000000000000000 JMISC = 0000000000000008 J-Link>mem32 0x9E0 4 000009E0 = 0090E558 00000000 0090E6D8 00000000 J-Link> --- Is 0x9E0 the correct buffer address also for ixm8m Mini (not only for Nano)? AN12853 is not very clear in this regard... If this is correct, the read data doesn't make sense to me since the first 8 bits should be the ROM event ID (starting with 0x01), but were read as 0x00? Or did I make some mistake in interpreting here? Kind regards, Markus PS: I already added this question to https://community.nxp.com/t5/i-MX-Processors/ROM-Event-on-i-MX8M/m-p/1989877, but since this post is marked as "solved", I created a new post, fearing that otherwise it would not be found... Re: imx8mm boot rom event buffer readout Thanks for clarifying! Could successfully read from 0x0090E558 and the values there seem to make sense. Kind regards, Markus Re: imx8mm boot rom event buffer readout Hello, Please note that i.MX mSCALE series includes all i.MX8M family processors: i.MX8MM, i.MX8MQ, i.MX8MN, i.MX8MPlus Also, it is actually incorrect, please note that OCRAM address 0x9E0 read will return the address where the ROM log is stored. So in your log 0x90E558 is the correct address where the ROM log is stored. Best regards/Saludos, Aldo.
記事全体を表示