[PATCH 4/4] ARM: tqma53: call SoC lowlevel function early

Eric Bénard eric at eukrea.com
Wed Apr 10 15:37:10 EDT 2013


Hi Sacha,

Le Wed,  3 Apr 2013 09:09:40 +0200,
Sascha Hauer <s.hauer at pengutronix.de> a écrit :

> With CONFIG_MMU_EARLY enabled the board does not survive the call
> to imx53_init_lowlevel(). This should not happen, but the reasons
> are currently unknown. This works on other boards like the i.MX53
> QSB.
> This patch moves the call to imx53_init_lowlevel to
> barebox_arm_reset_vector() which is executed with MMU disabled.
> 
FWIW : on the QSB I also met this kind of problem :
- when the board is configured for serial download boot (bootmode 0
  & 1 = 1) : barebox fails to execute if MMU is enabled
- when the board is configured for usual SDCard boot and the SDCard is
  not inserted, the bootrom falls back to serial download mode and
  then barebox runs fine even with MMU enabled.

Best regards,
Eric



More information about the barebox mailing list