imx6q: port linux kernel 3.10.17 to custom hardware

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

imx6q: port linux kernel 3.10.17 to custom hardware

跳至解决方案
1,923 次查看
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

标签 (2)
0 项奖励
回复
1 解答
1,026 次查看
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 项奖励
回复
3 回复数
1,026 次查看
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!

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

1,026 次查看
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 项奖励
回复
1,027 次查看
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 项奖励
回复