RE: How to make .dtb from .dts file (how to set include path for #include .. ?)

2021-02-23 Thread ckim
Hello Ahmad, Thanks for the kind reply. I've checked adding a .dts file in the directory and adding it in the Makefile there, and doing "make dts" at the build top does the job. As you said, I think I can just do with this method. Thank you! Best regards, Chan > -Original Message- >

Aw: How to make .dtb from .dts file (how to set include path for #include .. ?)

2021-02-23 Thread Martin Herdeis
  Hello Chan,   haven't tried to build dtb myselfe yet but maybe this helps:   https://bootlin.com/pub/conferences/2013/elce/petazzoni-device-tree-dummies/petazzoni-device-tree-dummies.pdf https://www.youtube.com/watch?v=m_NyYEBxfn8

Re: How to make .dtb from .dts file (how to set include path for #include .. ?)

2021-02-23 Thread Ahmad Fatoum
Hello Chan, On 23.02.21 09:37, c...@etri.re.kr wrote: > I don't know how I should let the preprocessing kick in. > > I tried (because there is > include/dt-bindings/interrupt-controller/arm-gic.h) > > $ dtc -i include -I dts -O dtb -o juno.dtb > arch/arm64/boot/dts/arm/juno.dts > > But it

How to make .dtb from .dts file (how to set include path for #include .. ?)

2021-02-23 Thread ckim
Hello all, In linux kernel source, there are many .dts files (device tree source) For example there is a file ./arch/arm64/boot/dts/arm/juno.dts. To tried to make juno.dtb from juno.dts but I don't know how to do it. (by the way, once I did make for the kernel build, junno.dtb file seems to