AnsweredAssumed Answered

Kernel Linux-3.10.17-rt11-yocto-preempt not started in imx6 quad sd board

Question asked by maurice on Dec 11, 2014
Latest reply on Dec 16, 2014 by igorpadykov

Hello,

 

I compiled with yocto and dora branch the kernel 3.10.17 for imx6q sd board. But the kernel jhas not started.

 

Do you know why?

 

There my boot environment :

Boot environment

U-Boot > printenv

baudrate=115200

boot_fdt=try

bootargs=console=ttymxc0,115200 root=/dev/nfs ip=dhcp nfsroot=:,v3,tcp

bootcmd=mmc dev ${mmcdev};if mmc rescan; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi

bootdelay=1

bootfile=imx6qsabresd.dtb

bootscript=echo Running bootscript from mmc ...; source

console=ttymxc0

ethact=FEC

ethaddr=00:04:9f:02:70:e5

ethprime=FEC

fdt_addr=0x18000000

fdt_file=/boot/imx6qsabresd.dtb

fdt_high=0xffffffff

get_cmd=dhcp

initrd_high=0xffffffff

ip_dyn=yes

loadaddr=0x12000000

loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};

loadfdt=ext2load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}

loaduimage=ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}

mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot}

mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootm ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootm; else ech;

mmcdev=1

mmcpart=1

mmcroot=/dev/mmcblk0p1 rootwait rw

netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp

netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${uimage}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ;

script=boot.scr

uimage=/boot/uImage

update_sd_firmware=if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if mmc dev ${mmcdev}; then if ${get_cmd} ${update_sd_firmware_filename}; then setexpr fw_sz ${filesize} / 0x200;i

 

Environment size: 2059/8188 bytes

 

and the message on my prompt

boot prompt

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

Reset cause: POR

Board: MX6-SabreSD

DRAM:  1 GiB

MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2

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

** Unrecognized filesystem type **

913896 bytes read in 123 ms (7.1 MiB/s)

Booting from mmc ...

22882 bytes read in 78 ms (286.1 KiB/s)

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

   Image Name:   Linux-3.10.17-rt11-yocto-preempt

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    913832 Bytes = 892.4 KiB

   Load Address: 12000000

   Entry Point:  12000000

   Verifying Checksum ... OK

## Flattened Device Tree blob at 18000000

   Booting using the fdt blob at 0x18000000

   XIP Kernel Image ... OK

   Using Device Tree in place at 18000000, end 18008961

 

Starting kernel ...

 

undefined instruction

pc : [<12000028>]          lr : [<4ff7a008>]

sp : 4f5769c0  ip : ffffffff     fp : 4201e9c0

r10: 12c2eb04  r9 : 4f576f38     r8 : 14c2eb01

r7 : 00000000  r6 : 12000000     r5 : 4ffba7d8  r4 : 00000000

r3 : 00005962  r2 : 18000000     r1 : 00000f98  r0 : 18000000

Flags: nZCv  IRQs off  FIQs off  Mode SVC_32

Resetting CPU ...

 

resetting ...

 

Thank you

Maurice

Outcomes