imx6 3.10.17_1.0.0_ga build device tree

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

imx6 3.10.17_1.0.0_ga build device tree

Jump to solution
2,166 Views
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

Labels (3)
0 Kudos
1 Solution
1,089 Views
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.

View solution in original post

0 Kudos
4 Replies
1,089 Views
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 Kudos
1,089 Views
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 Kudos
1,090 Views
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 Kudos
1,089 Views
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 Kudos