AnsweredAssumed Answered

imx6q-kernel not starting

Question asked by BHUPESH PATIL on Feb 28, 2014
Latest reply on Mar 6, 2014 by BHUPESH PATIL

I am working on the custom board using iMX6q. Following is hardware detail

 

a. Processor name : MCIMX6Q6AVT10AC

b. Nor Flash : S29GL01GS

c. DDR3 memory : MT41K128M16

d. emmc card : N2M400JD

e. ARM Audio Codec : SGTL500

f. UART : MAX3232

g. LVDS Display : PD050VL1


I am using NOR flash as a booting device. I  am using SABRE AI bsp. The uboot is modified according to hardware and is functional. Kernel image is also downloaded into the flash. The kernel gets loaded but execution is not happening .


Following is the console

 

U-Boot 2009.08 (Feb 27 2014 - 21:39:10)

 

 

CPU: Freescale i.MX6 family TO1.2 at 792 MHz

Thermal sensor with ratio = 179

Temperature:   42 C, calibration data 0x56b4b27d

mx6q pll1: 792MHz

mx6q pll2: 528MHz

mx6q pll3: 480MHz

mx6q pll8: 50MHz

ipg clock     : 66000000Hz

ipg per clock : 66000000Hz

uart clock    : 80000000Hz

cspi clock    : 60000000Hz

ahb clock     : 132000000Hz

axi clock   : 264000000Hz

emi_slow clock: 132000000Hz

ddr clock     : 528000000Hz

usdhc1 clock  : 198000000Hz

usdhc2 clock  : 198000000Hz

usdhc3 clock  : 198000000Hz

usdhc4 clock  : 198000000Hz

nfc clock     : 24000000Hz

Board: i.MX6Q-SABREAUTO: unknown-board Board: 0x63012 [POR]

Boot Device: NOR

I2C:   Hello i am  in I2c DRIVER

ready

MX6Q Configuring I2C2...

i2c pinmux set

I2C2 Clock enabled

Calling Audio Code...Hello i am  in I2c DRIVER

i2c_read chip: 0x0a addr: 0x0000 alen: 2 len: 2

CR=a0

Audio dev id: 0xa0

Audio dev id: 0x11

DRAM:   2 GB

Calling Display Flash Config Fn

Executing Flash init

Calling Get Size

BANK_BASE = 0x08000000

Executing Get_size

flash detect cfi

fwc addr 08000000 cmd f0 f0 8bit x 8 bit

fwc addr 08000000 cmd ff ff 8bit x 8 bit

fwc addr 08000055 cmd 98 98 8bit x 8 bit

is= cmd 51(Q) addr 08000010 is= 0 51

fwc addr 08000555 cmd 98 98 8bit x 8 bit

is= cmd 51(Q) addr 08000010 is= 0 51

Error in ___Flash_Detect_cfi

fwc addr 08000000 cmd f0 f0f0 16bit x 8 bit

fwc addr 08000000 cmd ff ffff 16bit x 8 bit

fwc addr 080000aa cmd 98 9898 16bit x 8 bit

is= cmd 51(Q) addr 08000020 is= 0051 5151

fwc addr 08000aaa cmd 98 9898 16bit x 8 bit

is= cmd 51(Q) addr 08000020 is= 0051 5151

Error in ___Flash_Detect_cfi

fwc addr 08000000 cmd f0 00f0 16bit x 16 bit

fwc addr 08000000 cmd ff 00ff 16bit x 16 bit

fwc addr 080000aa cmd 98 0098 16bit x 16 bit

is= cmd 51(Q) addr 08000020 is= 0051 0051

is= cmd 52(R) addr 08000022 is= 0052 0052

is= cmd 59(Y) addr 08000024 is= 0059 0059

device interface is 1

found port 2 chip 2 port 16 bits chip 16 bits

CFI_CMDSET_AMD_STANDARD

CFI_CMDSET_AMD_EXTENDED

fwc addr 08000000 cmd f0 00f0 16bit x 16 bit

fwc addr 08000aaa cmd aa 00aa 16bit x 16 bit

fwc addr 08000554 cmd 55 0055 16bit x 16 bit

fwc addr 08000aaa cmd 90 0090 16bit x 16 bit

fwc addr 08000000 cmd f0 00f0 16bit x 16 bit

fwc addr 080000aa cmd 98 0098 16bit x 16 bit

flash_fixup_amd

manufacturer is 2

manufacturer id is 0x1

device id is 0x227e

device id2 is 0x0

cfi version is 0x3135

fwc addr 08000000 cmd f0 00f0 16bit x 16 bit

Flash: 128 MB

MMC:   FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3

Hello i am  in I2c DRIVER

In:    serial

Out:   serial

Err:   serial

Net:   got MAC address from IIM: 00:00:00:00:00:00

FEC0 [PRIME]

Hit any key to stop autoboot:  0

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

   Image Name:   Linux-3.0.35-2666-gbdde708

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    3866700 Bytes =  3.7 MB

   Load Address: 10008000

   Entry Point:  10008000

   Verifying Checksum ... OK

   Loading Kernel Image ... OK

OK

 

 

Starting kernel ...

What could be reason that kernel gets hang?

Outcomes