On 04/25/2017 07:53 AM, Malte Thiel wrote:
Good day,
Hello,
How can I add my own dts file to the arch/arm/boot/dts folder? Within
my yocto installation the whole path for the dts files is:
tmp/work/sm2_imx6-poky-linux-gnueabi/linux-yocto-custom/4.1.15-2/git/arch/arm/boot/dts
As you can see it lies within the "tmp" folder. Hence, I do not want
to copy it manually into this branch. I tried playing around with
"appendsrcfiles" while creating an extra recipe "add-screen-dts":
recipetool appendsrcfiles --destdir arch/arm/boot/dts
../../sources/meta-own add-screen-dts
../../sources/meta-own/recipes-own/images/sm2-imx6-133-1280x800-single-lvds-SCX1001255GGU17.dts
However, I do not have any success here. Thanks for helping me out!
I believe you should enter to linux source directory posted above and
place your dts there.
Then you should prepare patch (using git format-patch for example). This
patch should be
placed in your meta layer into linux/linux-yocto-custom directory. At
last, add this patch to
SRC_URI variable in form of: file://patch-name.patch into your
linux-yocto-custom.bb recipe.
At least that's the way I would do it. Let me know if it is not clear
enough.
--
Maciej Pijanowski
Embedded Systems Engineer
http://3mdeb.com | @3mdeb_com
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto