AnsweredAssumed Answered

i.MX6Q Reset Lock Up

Question asked by Paul DeMetrotion on Jan 15, 2016
Latest reply on Jan 22, 2016 by Paul DeMetrotion

I am developing a Yocto kernel for a custom device based on the i.MX6Q. This board works fine when powered cold. If I try to reboot the board form the kernel or reset it from the u-boot prompt, it will almost always lock up at the "Starting kernel ..." message. Occasionally it will reboot successfully. Using an emulator, I have determined that the kernel jumps to the panic function but not always from the same spot in the code. Any one seen this issue before?


Is DDR re-initialized after each reset?


Here is my output:


U-Boot 2014.04 (Jan 14 2016 - 09:35:26)



CPU:   Freescale i.MX6Q rev1.2 at 792 MHz

CPU:   Temperature 38 C, calibration data: 0x5534cc69

Reset cause: POR

Board: SBC35-C398Q

Boot Device: SD

I2C:   ready

DRAM:  2 GiB


*** Warning - bad CRC, using default environment



Unable to allocate framebuffer memory

In:    serial

Out:   serial

Err:   serial

mmc0 is current device

Net:   Phy not found


Normal Boot

Hit any key to stop autoboot:  0

reading zImage

5938056 bytes read in 279 ms (20.3 MiB/s)

reading imx6q-c398.dtb

40261 bytes read in 21 ms (1.8 MiB/s)

Kernel image @ 0x10800000 [ 0x000000 - 0x5a9b88 ]

## Flattened Device Tree blob at 18000000

   Booting using the fdt blob at 0x18000000

   Using Device Tree in place at 18000000, end 1800cd44



Starting kernel ...