
6 Jun
2019
6 Jun
'19
3:58 a.m.
Subject: Re: [U-Boot] i.MX8MM mapped register access causes crashes
On Wed, Jun 5, 2019 at 10:52 PM Peng Fan peng.fan@nxp.com wrote:
You need to pass an arg after `md 0x302d0000`. Default it will dump a lot registers, might 40 registers. It surely will crash, because there are only a few registers in GPT1 which is the address you are dumping.
Other suggestion is to make sure that the clock for the peripheral you are trying to access is turned on.
Dump `md 0x302d0000 1` will surely work, but dump `md 0x302d0000 100` will surely crash. The clock already on. It is that GPT1 does not have 100 registers, and trigger error when dumping non-existed registers.
Regards, Peng