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
Boot Device: SD
DRAM: 2 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment
Unable to allocate framebuffer memory
mmc0 is current device
Net: Phy not found
Hit any key to stop autoboot: 0
5938056 bytes read in 279 ms (20.3 MiB/s)
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 ...