Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] dts: compiling aarch64 vendored dts files?
Date: Tue, 16 May 2017 23:04:44 +0200	[thread overview]
Message-ID: <87ziec7btf.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <CA+h8R2pXBkv6juGSt3wdZtEjuVP=Q6ixTi51-6+tJDVNgw5acA@mail.gmail.com> (Christian Stewart's message of "Mon, 15 May 2017 22:15:38 -0400")

>>>>> "Christian" == Christian Stewart <christian@paral.in> writes:

 > Hi Thomas, All,
 > I can't figure out a correct way of configuring Buildroot to compile a
 > DTS under a vendor directory in the kernel:

 > /arch/arm64/boot/dts/nexell/s5p6818-artik710-raptor-rev03.dts
 >                                        ^

 > The source I'm trying to build is here:

 > https://github.com/SamsungARTIK/linux-artik/tree/A710/v4.4/arch/arm64/boot/dts/nexell

 > The issue is that unlike most arches, arm64 has the dts files under
 > subdirectories - in this case, nexell. I've tried:

 >  - BR2_LINUX_KERNEL_INTREE_DTS_NAME="s5p6818-artik710-raptor-rev03"
 >  - BR2_LINUX_KERNEL_INTREE_DTS_NAME="nexell-s5p6818-artik710-raptor-rev03"
 >  - BR2_LINUX_KERNEL_INTREE_DTS_NAME="nexell/s5p6818-artik710-raptor-rev03"

 > The developers recommend using "make dtbs" in the kernel, which
 > probably finds these automatically. AFAIK there is no mechanism in
 > Buildroot to allow running something like this.

What error are you getting exactly? We have a number of aarch64
defconfigs using this feature without problems:

git grep 'INTREE_DTS_NAME=.*/' configs
configs/arm_foundationv8_defconfig:BR2_LINUX_KERNEL_INTREE_DTS_NAME="arm/foundation-v8"
configs/arm_juno_defconfig:BR2_LINUX_KERNEL_INTREE_DTS_NAME="arm/juno arm/juno-r1 arm/juno-r2"
configs/nexbox_a95x_defconfig:BR2_LINUX_KERNEL_INTREE_DTS_NAME="amlogic/meson-gxbb-nexbox-a95x amlogic/meson-gxl-nexbox-a95x"
configs/raspberrypi3_64_defconfig:BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2710-rpi-3-b broadcom/bcm2837-rpi-3-b"

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2017-05-16 21:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-16  2:15 [Buildroot] dts: compiling aarch64 vendored dts files? Christian Stewart
2017-05-16 21:04 ` Peter Korsgaard [this message]
2017-05-16 21:50   ` Christian Stewart

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=87ziec7btf.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.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