Booting 4.1.15 device tree

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

Booting 4.1.15 device tree

1,312 Views
manjunathjoshi
Contributor V

Hello all,

I am finding some difficulty in booting 4.1.15 kernel with customized device tree for sabresd board. The issue is, when device tree is loading there is a hang.

Below are the logs,

switch to partitions #0, OK
mmc0 is current device
     6616512 bytes read in 328 ms (19.2 MiB/s)
reading imx6qp-sabresd.dtb
47155 bytes read in 20 ms (2.2 MiB/s)
## Booting kernel from Legacy Image at 12000000 ...
   Image Name:   Linux-4.1.15-svn443
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6616448 Bytes = 6.3 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 1800e832

The bootcmd is

setenv bootcmd 'mmc dev 0;fatload mmc 0 0x12000000 uImage;fatload mmc 0 0x18000000 imx6qp-sabresd.dtb;bootm 0x12000000 - 0x18000000'

The important thing is, board has quad plus i.mx6 processor.

Please suggest.

0 Kudos
3 Replies

1,017 Views
art
NXP Employee
NXP Employee

Most likely, your custom .dtb file is either wrong, corrupted or located in the wrong place. Please check. Also, refer to the attached document.


Have a great day,
Artur

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

0 Kudos

1,017 Views
manjunathjoshi
Contributor V

Hello Artur,

The issue is solved with

1. Proper calibration of DDR

2. Using proper bootargs.

Thanks for the reply.

0 Kudos

1,017 Views
raimundszabo
Contributor II

Hi Manjunath,

Coud you please explain how you did exactly? I got similar problem. :smileysad:
Thanks a lot.

Kind Regards,

Raimund

0 Kudos