From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E658C433F5 for ; Thu, 14 Oct 2021 19:23:26 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9AF32611CC for ; Thu, 14 Oct 2021 19:23:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9AF32611CC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6CEE283665; Thu, 14 Oct 2021 21:23:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=aruba.it header.i=@aruba.it header.b="YrfnvTeW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D539B83666; Thu, 14 Oct 2021 21:23:21 +0200 (CEST) Received: from smtpcmd03117.aruba.it (smtpcmd03117.aruba.it [62.149.158.117]) by phobos.denx.de (Postfix) with ESMTP id F02DC83661 for ; Thu, 14 Oct 2021 21:23:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=giulio.benetti@benettiengineering.com Received: from smtpclient.apple ([146.241.216.221]) by Aruba Outgoing Smtp with ESMTPA id b6JxmRHtnDee6b6JxmN1e9; Thu, 14 Oct 2021 21:23:17 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1634239397; bh=KJ4Cn0f4qqS6fEerXI1zFXmQ1oQMp8kSVQcdqXftypo=; h=Content-Type:From:Mime-Version:Subject:Date:To; b=YrfnvTeWscAIUAdORjqZtdvWjCKHiKivKQRmBRfaWlneZqJrGIJWTUZUDkUjQlli9 cQnjibJbutLX8ZIReIEqM+Ps9DUyNHncGH78Fh0flRVWJmcf9jvm2UE+anPvXUI4Ah yosOY9VQqMem+szD+ev3tFKdp4nIF4zL67zpW/XyYkfnftsOib1ulZ9ubZ6aeA599e AmVFBm1EwLRxMT5BgYBHzblrfc98oiD9neBB0SQITHleVoD7ORwY8A2RjedwR/t5ef P9RzDsGESn0+8zlNqzLb3WwIp47upYQZWo9mJFp+wBiTk0OFBzXXWEKq8C5EhRqS9b UCLyozMCzT/Rw== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Giulio Benetti Mime-Version: 1.0 (1.0) Subject: Re: External dts building Date: Thu, 14 Oct 2021 21:23:16 +0200 Message-Id: <7675B66B-B9D2-4BDE-AB7F-9625B4203EFF@benettiengineering.com> References: Cc: Tom Rini , U-Boot Mailing List In-Reply-To: To: Simon Glass X-Mailer: iPhone Mail (18H17) X-CMAE-Envelope: MS4wfN+niJPvmTzHgvUnWI6McR7BOiMzvioDgia4G2WpXcuPR8guq/Po930Xn/Mvo/JvSYPQLCpNGy82hUK1WIvFO4LitsIXhKuoowfgFUUdrRLeOVgM/2OL d4KjgBsC/W0h9TLeR7Q1m0k6bn4Wmtzl1HcD4DeKMRgruZHMprHbdoV0o3Q+XRA3ZyS+kx3uqhuqwcHubx6I4CRp31Yan4W2wAFFQTNaZ4vGz0gaGawO97Tx DXSssQXFDokwXawUf3NLt5r9B4OwF/wUjfYrpsAiOwI= X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Hi Simon, > Il giorno 14 ott 2021, alle ore 20:24, Simon Glass ha s= critto: >=20 > =EF=BB=BFHi, >=20 >> On Thu, 14 Oct 2021 at 07:46, Tom Rini wrote: >>=20 >>> On Thu, Oct 14, 2021 at 02:53:30AM +0200, Giulio Benetti wrote: >>>=20 >>> Hello All, >>>=20 >>> is there a way to pass a dts file without touching the arch/arm/boot/dts= /Makefile? >>>=20 >>> On Buildroot we support the possibility to pass an external dts by copyi= ng it to the uboot sources to >>> be built but since uboot version 2020.01 it doesn=E2=80=99t work anymore= . >>>=20 >>> So I=E2=80=99ve proposed a patch to prepend the dts file in the Makefile= above, but this has drawbacks, like we reconfigure(it keeps adding files ev= ery time). >>>=20 >>> So I ask you, is there a more canonical way already to achieve this? >>=20 >> Not exactly, and it's something we're very much actively discussing >> right now. >=20 > Are you using 'make DEVICE_TREE=3Dxxx' ? Yes but it doesn=E2=80=99t work if you don=E2=80=99t add an entry into arch/= arm/dts/Makefile Before version 2020.01 worked, but not after it. Best regards Giulio >=20 > Regards, > Simon