Read bootrom log imx8mq

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Read bootrom log imx8mq

326 Views
marekb
Contributor III

Hi,

 

I want to check bootrom log events on imx8mq processor. Following AN12853 I understand that imx8mq have:
ROM event ID definition version 2

and ROM event ID format version 1 so it means bits 24:31 are valid.

I found base address of OCRAM in ATF and it should be 0x900000. Buffer should start at 0x9E0.

SO when booted board and in u-boot I run:

md.l 0x9009E0 1 I got:

u-boot=> md.l 0x9009e0 1
009009e0: 23d1786f ox.#

so from above log should be 0x23d1 (as only 16 bits are valid). But it doesn't make sense to me as in begnning of appnote is written that:

ROM even entry have bites 0-4 ROM event ID which is only 4 bits and not byte. Maybe I overlooked something? Thanks.

0 Kudos
Reply
0 Replies