AnsweredAssumed Answered

Kernel 3.14.28 resets after uncompressing image

Question asked by Isaac Nickaein on Oct 14, 2015
Latest reply on Oct 19, 2015 by igorpadykov

Hi,

 

I am trying to use Freescale kernel 3.14.28 on Ka-Ro TX6U-8030 which has i.MX6DL as the core processor. I have been able to boot this module with Freescale kernel 3.10.17 after doing some minor tweaks (e.g. fixing ethernet interrupts) in the DTB provided by Ka-Ro.

 

To switch to kernel 3.14.28, I have downloaded the kernel source published by Freescale from:

 

http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/snapshot/rel_imx_3.14.28_1.0.0_ga.tar.bz2

 

configured it using

 

make imx_v7_defconfig

 

and compiled it by

 

make -j4 LOADADDR=0x10008000 uImage

 

just like how I built kernel 3.10. The problem is that the module reboots after uncompressing this kernel. You can find the bootlog (mostly U-boot messages) in the following (the kernel is compiled with CONFIG_DEBUG_LL and CONFIG_EARLY_PRINTK settings enabled):

 

 

U-Boot 2013.07-00787-g36ed10c (Mar 24 2015 - 16:02:12)

 

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

Reset cause: POR

Board: Ka-Ro TX6U-8010

I2C:   ready

DRAM:  1 GiB

VDDCORE set to 1421mV

VDDSOC  set to 1421mV

VDDIO   set to 3307mV

NAND:  128 MiB

MMC:   FSL_SDHC: 0, FSL_SDHC: 1

Temperature:   50 C, calibration data 0x59c50969

CPU clock set to 792.000 MHz

Baseboard: stk5-v3

MAC addr from fuse: 00:0c:c6:7b:f8:e8

Net:   FEC

Hit any key to stop autoboot:  0

FEC Waiting for PHY auto negotiation to complete... done

Using FEC device

TFTP from server 10.1.1.238; our IP address is 10.1.1.65

Filename 'uImage'.

Load address: 0x18000000

Loading: #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         ############################################

         379.9 KiB/s

done

Bytes transferred = 5216960 (4f9ac0 hex)

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

   Image Name:   Linux-3.14.28

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    5216896 Bytes = 5 MiB

   Load Address: 10008000

   Entry Point:  10008000

   Verifying Checksum ... OK

## Flattened Device Tree blob at 11000000

   Booting using the fdt blob at 0x11000000

   Loading Kernel Image ... OK

   Loading Device Tree to 4ef3f000, end 4ef4b619 ... OK

 

Starting kernel ...

 

Uncompressing Linux... done, booting the kernel.

 

 

U-Boot 2013.07-00787-g36ed10c (Mar 24 2015 - 16:02:12)

 

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

Reset cause: SOFT

Board: Ka-Ro TX6U-8010

I2C:   ready

DRAM:  1 GiB

VDDCORE set to 1421mV

VDDSOC  set to 1421mV

VDDIO   set to 3307mV

NAND:  128 MiB

MMC:   FSL_SDHC: 0, FSL_SDHC: 1

Invalid color depth: '1080' in video_mode; using default: '24'

Invalid video mode: mxcfb0:dev=lcd,BT1120-1080I50,if=BT1120,fbpix=RGB32

Supported video modes are: VGA ETV570 ET0350 ET0430 ET0500 ETQ570 ET0700 ET070001DM6

Temperature:   51 C, calibration data 0x59c50969

CPU clock set to 792.000 MHz

Baseboard: stk5-v3

MAC addr from fuse: 00:0c:c6:7b:f8:e8

Net:   FEC

Hit any key to stop autoboot:  0

TX6DL U-Boot >

 

 

There is a ~1 second delay after "Uncompressing Linux... done, booting the kernel." message and after that, as you can see, the module restarts.

 

I've also attached the bootlog for the kernel 3.10 as a reference.

Original Attachment has been moved to: kernel310.txt.zip

Outcomes