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 9F2BAC433F5 for ; Thu, 14 Oct 2021 20:43:59 +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 E6AC461151 for ; Thu, 14 Oct 2021 20:43:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E6AC461151 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org 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 E9C2483675; Thu, 14 Oct 2021 22:43:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="oC/KJVwI"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 58C328364E; Thu, 14 Oct 2021 22:43:54 +0200 (CEST) Received: from mail-ua1-x92a.google.com (mail-ua1-x92a.google.com [IPv6:2607:f8b0:4864:20::92a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E97648364E for ; Thu, 14 Oct 2021 22:43:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-ua1-x92a.google.com with SMTP id i22so13871420ual.10 for ; Thu, 14 Oct 2021 13:43:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=sD2f8zWacsZp9q+Rff/zAmWpWLcGG6HAk3jAuqlx/Jo=; b=oC/KJVwIAz39dBaZ8FJYBi4zeRa7qeYZcWBGq4ZeIAdmmAbPG3kRvASDV12tlZaqgz f0eZHmj+uX2fCbI6sgVFNTGXQ6AVX0m6tIf99i/Im1j8W/ZcmqU2rjmOPMUxcy/AZKbc 5XxRvzjBeQbN/hSPpQgPm5ryx/rZCCXnpJyFM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=sD2f8zWacsZp9q+Rff/zAmWpWLcGG6HAk3jAuqlx/Jo=; b=75XqLvBIQlEo4TKgp89PNm/usv/S84JztAN69gO4/nathJ9ToIaR673qq7aekmacTF 9FOC2J/jr8ZcAQ8dpZmBeoBWl8k+JMbqhM8KexzcoBgxlBqGmk9bEjEix6+WQgB9Qq3r 6HehJk+5a6wXUZeKezQ0xWTMXfpq0i+6EALSLWszf7BtB/SAZag5jKoJsQvvuV9QI0W7 5EmQ8n5ZxpTne+Yvwzh6wCs3GXtO9qGghEIr7sRWTvWmg/6xqMsCQxxUgv1rpVlHTo/q vhVBjUwvN6AQTHH8TrwEGHdGD0zoPbkKBi5dH2F528XC9/5PwkjGKJ6sSkDJJVIGpbZz NDGQ== X-Gm-Message-State: AOAM533500ZGYBGVkydFikb+CwVTWbmY29eUatHI9zt17L+GjW3Wkga4 9Z0PDJ1gCBG0vmWeXLTeQvRII8G/p3e50I1BDH5kSQ== X-Google-Smtp-Source: ABdhPJzsIVMte8QBuewNhQ8bFkMn/xjo1cpDtEihHAN6SW0QgokbPkc0tAuQ4cdDLtBm0S84sn9wx8lN/DLgH7JAV/4= X-Received: by 2002:a67:e998:: with SMTP id b24mr9799048vso.58.1634244229068; Thu, 14 Oct 2021 13:43:49 -0700 (PDT) MIME-Version: 1.0 References: <7675B66B-B9D2-4BDE-AB7F-9625B4203EFF@benettiengineering.com> In-Reply-To: <7675B66B-B9D2-4BDE-AB7F-9625B4203EFF@benettiengineering.com> From: Simon Glass Date: Thu, 14 Oct 2021 14:43:38 -0600 Message-ID: Subject: Re: External dts building To: Giulio Benetti Cc: Tom Rini , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Giulio, On Thu, 14 Oct 2021 at 13:23, Giulio Benetti wrote: > > Hi Simon, > > > Il giorno 14 ott 2021, alle ore 20:24, Simon Glass h= a scritto: > > > > =EF=BB=BFHi, > > > >> On Thu, 14 Oct 2021 at 07:46, Tom Rini wrote: > >> > >>> On Thu, Oct 14, 2021 at 02:53:30AM +0200, Giulio Benetti wrote: > >>> > >>> Hello All, > >>> > >>> is there a way to pass a dts file without touching the arch/arm/boot/= dts/Makefile? > >>> > >>> On Buildroot we support the possibility to pass an external dts by co= pying it to the uboot sources to > >>> be built but since uboot version 2020.01 it doesn=E2=80=99t work anym= ore. > >>> > >>> So I=E2=80=99ve proposed a patch to prepend the dts file in the Makef= ile above, but this has drawbacks, like we reconfigure(it keeps adding file= s every time). > >>> > >>> So I ask you, is there a more canonical way already to achieve this? > >> > >> Not exactly, and it's something we're very much actively discussing > >> right now. > > > > 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 ar= ch/arm/dts/Makefile > Before version 2020.01 worked, but not after it. What board are you building? Regards, Simon