[U-Boot] Fwd: i.MX28 u-boot SPL fail

Fabio Estevam festevam at gmail.com
Sat Feb 21 15:03:01 CET 2015


Hi Marco,

[Please keep the list on Cc.]


On Sat, Feb 21, 2015 at 11:13 AM, Marco Cavallini
<cavallini.koan at gmail.com> wrote:

> Hi Fabio,
> I moved to u-boot GIT master today (21 Feb 2015)
> I set up my DDR settings, defined the following:
> #define CONFIG_SPL_SERIAL_SUPPORT
> #define CONFIG_SYS_MXS_VDD5V_ONLY
> #define DEBUG
>
> This is the output log which hangs with "Undefined Ins"
> What is missing?
>
>
>
> SPL: Serial Console Initialised
> SPL: Initialising Power Block
> SPL: Switching CPU clock to 24MHz XTAL
> SPL: Setting auto-restart bit
> SPL: Setting VDDD 25mV below DC-DC converters
> SPL: Setting VDDA 25mV below DC-DC converters
> SPL: Setting VDDIO 25mV below DC-DC converters
> SPL: Starting 5V input detection comparator
> SPL: Starting battery voltage measurement logic
> SPL: Initialisating LRADC
> SPL: Enabling LRADC battery measurement
> SPL: LRADC channel 7 is present - configuring
> SPL: LRADC channel 7 configuration complete
> SPL: Configuring power source
> SPL: Pre-Configuring power block
> SPL: Battery Voltage = 752mV
> SPL: Battery Voltage = 752mV
> SPL: Battery Voltage = 4192mV
> SPL: Battery Voltage too high
> SPL: Configuring power block to boot from 5V input
> SPL: 5V VDD good
> SPL: Booting from 5V supply
> SPL: Powering up 4P2 regulator
> SPL: Configuring common 4P2 regulator params
> SPL: Enabling 4P2 regulator
> SPL: Charging 4P2 capacitor
> SPL: Disabling 4P2 DC-DC Input
> SPL: Setting 4P2 brownout level
> SPL: Battery Voltage = 0mV
> SPL: Switching DC-DC converters to 4P2
> SPL: Enabling 4P2 DC-DC Input
> SPL: 4P2 regulator powered-up
> SPL: Switching CPU core clock source to PLL
> SPL: Initialising battery brown-out level to 3.0V
> SPL: Switching VDDD to DC-DC converters
> SPL: Enabling output rail protection
> SPL: Setting VDDIO to 3V3 (brownout @ 3v15)
> SPL: Setting VDDD to 1V5 (brownout @ 1v0)
> SPL: Initialising FRAC0
> SPL: FRAC0 Initialised
> SPL: Configuring VDDA
> SPL: Initialising mx28 SDRAM Controller
> SPL: Setting mx28 board specific SDRAM parameters
> SPL: Applying SDRAM parameters
> SPL: Setting CPU and HBUS clock frequencies
> LLC
> Undefined Ins

Can you share your patch? What are the "Setting mx28 board specific
SDRAM parameters" you did?

Also, how do you power your board? Are you using battery?


More information about the U-Boot mailing list