[U-Boot] mx25pdk does not boot with 3ff46cc42b9d7

Fabio Estevam festevam at gmail.com
Mon Jan 5 23:30:27 CET 2015


Hi Bill,

On Mon, Jan 5, 2015 at 8:25 PM, Bill Pringlemeir <bpringlemeir at nbsps.com> wrote:

> $ git show 3ff46cc42b9d73d01c86df9044257
>
> /*
>  * Default/weak exception vectors relocation routine
>  *
>  * This routine covers the standard ARM cases: normal (0x00000000),
>  * high (0xffff0000) and VBAR. SoCs which do not comply with any of
>  * the standard cases must provide their own, strong, version.
>  */
>
> The code looks correct.  However, the imx25 has the HAB and some default
> vectors set up.  Do you assume they overwrite the HAB vectors?  For the
> imx25, the 'V bit = 0' for the physical HAB ROM location, but it can be
> remapped to 0xffff0000.  However, there is nothing there (0xffff0000)
> initially and this only makes sense with the MMU enabled.
>
> I am not sure what happened before; why it worked.  Maybe you could
> define an empty relocate_vectors() in the imx25 board file and see if
> everything is ok?  I don't think that a write to the ROM code will BUS
> error?  If a write BUS errors, then the empty routine will work/boot.
> However, u-boot will not be handling the vectors unless we hook in the
> IRAM at 0x7801FFFF, where I guess the ROM code (at address zero)
> branches too.

I have just fixed by using the same approach done on mx27 with its own
relocate.S:
arch/arm/cpu/arm926ejs/mx27/relocate.S

Will submit the patch shortly.

Thanks


More information about the U-Boot mailing list