[meta-freescale] Kernel 3.5.7 hangs

Lauren Post RAA013 at freescale.com
Tue Nov 5 12:43:22 PST 2013


I think you might be seeing issues with the new toolchain 4.8.   There were some ARM errata workarounds in defconfig in 3.10 to fix issues with new gcc toolchain.  Also the new eglibc has performance issues we are patching in our beta release.

Try building on 4.7 toolchain which was I believe the same one that 3.5.7 was tested against.

Best to switch to 3.10 as that will go GA not 3.5.7 which was stopped to move to an LTS kernel.  I think 3.10.9 is almost ready to be fully upstreamed into dora branch.   So until it is merged, use the master branch.


From: meta-freescale-bounces at yoctoproject.org [mailto:meta-freescale-bounces at yoctoproject.org] On Behalf Of Doug Schwanke
Sent: Tuesday, November 05, 2013 12:19 PM
To: meta-freescale at yoctoproject.org
Subject: [meta-freescale] Kernel 3.5.7 hangs

I am trying to build kernel 3.5.7  Yocto 'Dora' using imx6qsabresd.  Everything builds without an error and I get a new uImage, as shown below.  However,  the kernel hangs while starting up.  Some folks in the imx community have tried using  CONFIG_EARLY_PRINTK=y, but there are no messages printed by kernel.

# I first clean before changing versions in order to clean up the 3.0.35 files...

bitbake -c cleansstate linux-imx

# change from 3.0.35 to 3.5.7 by adding the following line to my local.config

PREFERRED_VERSION_linux-imx_mx6 = "3.5.7"

# rebuild kernel

bitbake linux-imx

# rebuild image

bitbake core-image-minimal


Output files...

tmp/deploy/images/imx6qsabresd/u-boot.imx -> u-boot-imx6qsabresd-v2013.10-r0.imx*

tmp/deploy/images/imx6qsabresd/u-boot-imx6qsabresd.imx -> u-boot-imx6qsabresd-v2013.10-r0.imx*


tmp/deploy/images/imx6qsabresd/uImage -> uImage--3.5.7-r0-imx6qsabresd-20131104212852.bin



tmp/deploy/images/imx6qsabresd/uImage-imx6qsabresd.bin -> uImage--3.5.7-r0-imx6qsabresd-20131104212852.bin

tmp/deploy/images/imx6qsabresd/uImage-imx6q-sabresd.dtb -> uImage--3.5.7-r0-imx6q-sabresd-20131104212852.dtb


U-Boot 2013.10 (Nov 04 2013 - 09:49:56)

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

Reset cause: POR

Board: MX6-SabreSD

DRAM:  1 GiB


*** Warning - bad CRC, using default environment

No panel detected: default to HDMI

Display: HDMI (1024x768)

In:    serial

Out:   serial

Err:   serial

Net:   FEC [PRIME]

Hit any key to stop autoboot:  0

mmc1 is current device

reading boot.scr

** Unable to read file boot.scr **

reading uImage

4686224 bytes read in 218 ms (20.5 MiB/s)

Booting from mmc ...

reading imx6q-sabresd.dtb

46128 bytes read in 20 ms (2.2 MiB/s)

## Booting kernel from Legacy Image at 12000000 ...

   Image Name:   Linux-3.5.7-1.0.0+g3285970

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    4686160 Bytes = 4.5 MiB

   Load Address: 10008000

   Entry Point:  10008000

   Verifying Checksum ... OK

## Flattened Device Tree blob at 18000000

   Booting using the fdt blob at 0x18000000

   Loading Kernel Image ... OK

   Using Device Tree in place at 18000000, end 1800e42f

Starting kernel ...

(hangs here...)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20131105/a1028e53/attachment.html>

More information about the meta-freescale mailing list