How to compile and create Device tree file(.dtb) alone

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to compile and create Device tree file(.dtb) alone

4,699件の閲覧回数
anandhakumarm
Contributor III

Hi all,

Im using LS2085A board and im using yocto sdk, does anyone how to compile this dtb file alone, since it is taking too much time to compile in bitbake fsl-image-minimal.. so i just want to know how to compile the dtb file alone. pls share some idea..

ラベル(1)
0 件の賞賛
返信
1 返信

2,156件の閲覧回数
bpe
NXP Employee
NXP Employee

If you have the Device Tree compiler installed on your Linux host:

dtc -I dts -O dtb <your_dts_file> > <your_dt_file>

If you do not have dtc on your host machine,  first bitbake dtc-native,

find the binaries under <your_sdk_dir>/tmp/work/i686/dtc-native/<dtc_version>/image/

and copy where appropriate on your host (typically /usr/bin/).

You may also need to specify where to locate include files with -i option.


Have a great day,
Platon

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

0 件の賞賛
返信