kernel 3.10 on imx6solo

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

kernel 3.10 on imx6solo

968 Views
shilpasb
Contributor I

Hi ,

I am porting kernel 3.10 on imx6solo processor for a customized module. With the default configuration in imx6dl-sabresd.dts  and .dtsi files , I am flashing uImage and the .dtb file. but the kernel is stopping at "strating kernel...........".  What should be taken care for the initial booting?

I am not able to proceed further. please help me in booting the board.

0 Kudos
5 Replies

740 Views
igorpadykov
NXP Employee
NXP Employee

Hi shilpa

for new board it is necessary run DDR test, obtain new DDR settings and then change

Uboot dcd table, refer to attached file sect.1.3.1 Changing the DCD Table for i.MX 6 DDR3LPDDR2

Initialization

https://community.freescale.com/docs/DOC-96412

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

740 Views
shilpasb
Contributor I

Hi igorpadykov,

Thanks for the reply. To be clear, i am able to boot (u-boot-2009)  kernel 3.0.35 on the same board (imx6solo)

It works absolutely fine for me. Now I am using the same u-boot-2009 with kernel 3.10 images (uImage and .dtb). The log is copied below

================================================

U-Boot 2009.08-svn391 (Mar 27 2015 - 17:32:48)

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

Thermal sensor with ratio = 177

Temperature:   54 C, calibration data 0x5624bd7d

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   : 198000000Hz

emi_slow clock: 99000000Hz

ddr clock     : 396000000Hz

usdhc1 clock  : 198000000Hz

usdhc2 clock  : 198000000Hz

usdhc3 clock  : 198000000Hz

usdhc4 clock  : 198000000Hz

nfc clock     : 24000000Hz

Board: i.MX6DL/Solo-SABRESD: unknown-board Board: 0x61011 [POR ]

Boot Device: SD

I2C:   ready

DRAM:  512 MB

MMC:   FSL_USDHC: 0,FSL_USDHC: 1

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

MX6Solo MAGIK-2 U-Boot >

MX6Solo MAGIK-2 U-Boot >

MX6Solo MAGIK-2 U-Boot >  tftpboot 0x12000000 uImage

FEC: Link is Up 796d

Using FEC0 device

TFTP from server 10.20.1.25; our IP address is 10.20.1.233

Filename 'uImage'.

Load address: 0x12000000

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

done

Bytes transferred = 5397880 (525d78 hex)

MX6Solo MAGIK-2 U-Boot >  tftpboot 0x18000000 imx6dl-magik2.dtb

FEC: Link is Up 796d

Using FEC0 device

TFTP from server 10.20.1.25; our IP address is 10.20.1.233

Filename 'imx6dl-magik2.dtb'.

Load address: 0x18000000

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

done

Bytes transferred = 48589 (bdcd hex)

MX6Solo MAGIK-2 U-Boot > bootm 0x12000000 - 0x18000000

Argc : 4

do bootm function

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

   Image Name:   Linux-3.10.17

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    5397816 Bytes =  5.1 MB

   Load Address: 10008000

   Entry Point:  10008000

   Verifying Checksum ... OK

bootm_start

## Flattened Device Tree blob at 18000000

   Booting using the fdt blob at 0x18000000

   of_flat_tree at 0x18000000 size 0x0000c000, size: 49152

bootm_load_os in do_bootm

  OS Type_name Kernel Image ... , comp: 0

   Loading Kernel Image ... OK

OK

   kernel loaded at 0x10008000, end = 0x1052dd38

Image_type in do_bootm: 2

boot_fn

bootmap_base: 10000000boot_relocate_fdt

Relocate fdt

   Loading Device Tree to 107f1000, end 107fffff ... OK

Ret: 0

Starting kernel ...

=======================================

I have added few printfs to make some points clear and few changes in u-boot to get the fdt image.

Do i still need to run the DDR test?

or

Am i missing something in kernel or u-boot.?

Regards,

0 Kudos

740 Views
igorpadykov
NXP Employee
NXP Employee

Hi shilpa

on my opinion u-boot-2009 can not be used with kernel 3.10,

however I would suggest to post this to meta-fsl-arm mailing list, so that someone

familiar with such configuration could try to assist you.

https://lists.yoctoproject.org/listinfo/meta-freescale

~igor

740 Views
shilpasb
Contributor I

Thanks Igor,

I made some changes in u-boot which is able to detect the DTB image and read it, but failing in loading.

As you said, I will post it on the link given above.

-Shilpa

0 Kudos

740 Views
shilpasb
Contributor I

Hi Igor,

Thanks for the input. I changed u-boot-2009 to u-boot-2013, and it woked fine for me.

-Shilpa

0 Kudos