Hi Breno, On Tue, May 7, 2019 at 5:19 PM Breno Matheus Lima <[email protected]> wrote: > > According to hab.c code we have to notify the ROM code if the MMU is > enabled or not. This is achieved by setting the "pu_irom_mmu_enabled" > to 0x1. > > The current address in hab.c code is wrong for i.MX6SL, according to ROM > map file the correct address is 0x00901c60. > > As we are writing in the wrong address the ROM code is not flushing the > caches when needed, and the following HAB event is observed in certain > scenarios: > > --------- HAB Event 1 ----------------- > event data: > 0xdb 0x00 0x14 0x41 0x33 0x18 0xc0 0x00 > 0xca 0x00 0x0c 0x00 0x01 0xc5 0x00 0x00 > 0x00 0x00 0x07 0xe4 > > STS = HAB_FAILURE (0x33) > RSN = HAB_INV_SIGNATURE (0x18) > CTX = HAB_CTX_COMMAND (0xC0) > ENG = HAB_ENG_ANY (0x00) > > Update MX6SL_PU_IROM_MMU_EN_VAR to address this issue. > > Reported-by: Frank Zhang <[email protected]> > Signed-off-by: Breno Lima <[email protected]> > Reviewed-by: Ye Li <[email protected]>
Thanks for the fix. Reviewed-by: Fabio Estevam <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

