imx6q: port linux kernel 3.10.17 to custom hardware

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

imx6q: port linux kernel 3.10.17 to custom hardware

Jump to solution
1,545 Views
pj0585
Contributor III

Hi,

I have custom hardware that uses imx6Q. The design is based on imx6q sabre-sd.

I'm currently using 3.0.35 kernel (customized to support my hardware).

I would like to port the 3.10.17 kernel to support my hardware. I read that a new DTS file has to be defined.

What I would like to know:

    a) Is a new DTS file all that is needed?

    b) Is there any change required in the uboot and kernel boot arguments?

Any inputs will be of help.

-Pj

Labels (2)
0 Kudos
1 Solution
648 Views
igorpadykov
NXP Employee
NXP Employee

Hi Prasant

actually uboot for 3.10.17 (aka 2013.04-xx or 2014.nn-mm) is quite

different from 3.0.35 (u-boot-2009.08)

for dtb you can find many articles on web like below

http://www.informit.com/articles/article.aspx?p=1647051&seqNum=5

~igor

View solution in original post

0 Kudos
3 Replies
648 Views
igorpadykov
NXP Employee
NXP Employee

Hi Prasant

- in general yes, using device tree one can select what drivers will be used for

custom board

A Tutorial on the Device Tree (Zynq) -- Part I | xillybus.com

- this depends on board configuration, one can check

sect.5 Kernel Boot Parameters attached Release Notes

Best regards

igor

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

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

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

648 Views
pj0585
Contributor III

Hello igor,

Thanks for your response.

I think I did not word my questions clearly. I will re-word them.

What I meant was:

i) I have a ported uboot for my custom hardware that I use with Kernel 3.0.35. When I change my kernel to 3.10.17, Can I use my existing u-boot code or is there any change in the u-boot related to kernel 3.10.17?

One more question:

ii) How is dtb binary passed to kernel during boot?

-Pj

0 Kudos
649 Views
igorpadykov
NXP Employee
NXP Employee

Hi Prasant

actually uboot for 3.10.17 (aka 2013.04-xx or 2014.nn-mm) is quite

different from 3.0.35 (u-boot-2009.08)

for dtb you can find many articles on web like below

http://www.informit.com/articles/article.aspx?p=1647051&seqNum=5

~igor

0 Kudos