From: Bruno Kremel <bruno.kremel@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Include kernel's dtsi from customised dts in buiuldroot-external
Date: Tue, 22 Aug 2017 01:01:10 +0200 [thread overview]
Message-ID: <87h8x0le4p.fsf@gmail.com> (raw)
In-Reply-To: 87inhgle9f.fsf@gmail.com
Hello All,
I have set up buildroot external for Toradex Colibri iMX6 board. I would
like to customise kernel default dts, so I have made a copy of this dts
to my external board/toradex/colibiri-imx6 and then in the defconfig I
set up the path to custom dts:
BR2_LINUX_KERNEL_USE_CUSTOM_DTS=y
BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="$(BR2_EXTERNAL)/board/toradex/colibri-imx6/imx6dl-colibri-mcp-25.dts"
This successfully makes buildroot use my modified dts file. But this
file inludes some kernel dtsi files.
Namely:
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include "imx6dl.dtsi"
#include "imx6qdl-colibri.dtsi"
These are however not found by dts compiler during build and I end up
with dtc failing on undefined symbols in devicetree.
How can I specify dts include path such that it will use kernel dtsi
files or what is the correct way to include these from external?
Thanks
Bruno
next parent reply other threads:[~2017-08-21 23:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87inhgle9f.fsf@gmail.com>
2017-08-21 23:01 ` Bruno Kremel [this message]
2017-08-22 5:59 ` [Buildroot] Include kernel's dtsi from customised dts in buiuldroot-external Baruch Siach
2017-08-22 8:31 ` Bruno Kremel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h8x0le4p.fsf@gmail.com \
--to=bruno.kremel@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox