imx6 3.10.17_1.0.0_ga build device tree

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

imx6 3.10.17_1.0.0_ga build device tree

跳至解决方案
2,552 次查看
yannickc
Contributor I

Dear all,

I have to do modifications in device tree for the sabresd board I have. As I'm new in dts I do many mistakes before get a correct one.

The problem is that I have to build again all the kernel with bitbake to have my new dtb file and it takes more than 15 minutes each time.

How can I simply build my dts file to generate only the dtb ?

Best regards,

Yannick

标签 (3)
0 项奖励
回复
1 解答
1,475 次查看
AnsonHuang
NXP Employee
NXP Employee

Hi, Yannick

     I ran it in the linux-2.6-imx/ directory, it is the first dir when you clone a git repository.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,475 次查看
AnsonHuang
NXP Employee
NXP Employee

Hi, Yannick

     What is your build command? As far as I know, to only build a dtb file, you can just build it without building kernel, they can be build separately, see below my build command for i.mx6q sabresd board's dtb, hope it helps.

make ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- imx6q-sabresd.dtb;

0 项奖励
回复
1,475 次查看
yannickc
Contributor I

Hi,

Thank you for your quick answer.

I run "bitbake core-image-base". I've already tried to use make command but i've got an error when it is executed. From which directory I should run your command ?

Yannick

0 项奖励
回复
1,476 次查看
AnsonHuang
NXP Employee
NXP Employee

Hi, Yannick

     I ran it in the linux-2.6-imx/ directory, it is the first dir when you clone a git repository.

0 项奖励
回复
1,475 次查看
yannickc
Contributor I

Hi,

I'm sorry for this very late answer. I was busy on other subject. Thank you very much it works for me.

Yannick

0 项奖励
回复