Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1462250pxb; Fri, 22 Jan 2021 17:10:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJxUY6tOEuYcZvekSahDo4XUKfH3yNlPWc9u/I7SrsWcxFhqnjptDidpCTWPJHboyqT9/7Gb X-Received: by 2002:a17:906:1c0a:: with SMTP id k10mr261085ejg.138.1611364207392; Fri, 22 Jan 2021 17:10:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611364207; cv=none; d=google.com; s=arc-20160816; b=mMmZtp/qv6KuJ+0l6CR/MOuH3Sl/1MTexMhp1RVW1w7OkX/USTRUW163W3WbVEkBr/ eTninSVzTLQOrR1mgz2v5tuNbknmPan+wQIbDLWQFzHSZfKTtQMGyRDTM94nslahfS7Z aZvSdiV3POEx7OSU9QRriAs3ANNCcXJZYXJLTTM7ExYvzrPVclMZdJOuibiEyK4m8KyQ +YBm86Np7EuTG93IBFmmdkt/HWWSmsTMw72UeO+jJ3zB4pVSc/TPzatEx6DAjw+aQvIS wvq9gGELiP2Dm0caRzhwfYlivEZg0NKqyTN5IAYKKk7uQK8mxmSXx+WrQmEdd2NxF+En Rekw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=cNHCiuiNqNRT9jqhdXRz83P5gjiqzGS6dGXEBkx55/U=; b=x2tyheKKDIBGR47+iLGO8DcBHO/cNeniVQMfV+DZQKX498GKc114770URJiYrPutMA zTNfsaHSmykIZZrsFi19JdR42kPJ4qLuQr37PAlbweWLwaYzXGFZ38DQGispS+bhXzv9 zpFaRPpQpwfCPAmddGFVcniT3voD/VO9XSnKjSrXQehSTsBUM3gb7jQS8sG5U700+8rm OF4FRgVlwYfLzTmFJbIsaevorpMJATT86LnlbobwhDGmZppMWmpNR8r0/oaciP3aMvrh NhawwClWaRJ5S2SdjtDjSWZ28FP+I8CocCyVqEQI1EqiikIHYYO1Z5riCxYkzY96Z0ZM xn+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gibson.dropbear.id.au header.s=201602 header.b=E3WJV5yC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a8si2013472ejk.646.2021.01.22.17.09.42; Fri, 22 Jan 2021 17:10:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gibson.dropbear.id.au header.s=201602 header.b=E3WJV5yC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726352AbhAWBFy (ORCPT + 99 others); Fri, 22 Jan 2021 20:05:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726013AbhAWBFu (ORCPT ); Fri, 22 Jan 2021 20:05:50 -0500 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EC38C0613D6; Fri, 22 Jan 2021 17:05:13 -0800 (PST) Received: by ozlabs.org (Postfix, from userid 1007) id 4DMybT2gT5z9sVF; Sat, 23 Jan 2021 12:05:09 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1611363909; bh=cw4MJLoL4iCYdM34JKiLrZohbnz8a07QlIEgA33G1Lg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=E3WJV5yCmEgsdFeCJX2WLmNnOkWru83EjhgZ6mIX6OUppMEX9ltVeFDhUDFcF29s2 xgQTAXCZh3P7iCW8ALyRUDswiY0tlWOSh1NMdIfrBLW6vp9Udjo2dIV8wnLFyfBraD noIXHdxx6i3IKcINyJIv0yugH/26KkU2kNSQ8VFc= Date: Sat, 23 Jan 2021 11:35:18 +1100 From: David Gibson To: Viresh Kumar Cc: Frank Rowand , Rob Herring , Pantelis Antoniou , Masahiro Yamada , Vincent Guittot , linux-kernel@vger.kernel.org, anmar.oueja@linaro.org, Bill Mills , devicetree@vger.kernel.org, Michal Marek Subject: Re: [PATCH V6 2/6] scripts: dtc: Build fdtoverlay tool Message-ID: <20210123003518.GG4400@yekko.fritz.box> References: <2dfec4acb1bfbab08b431908ace0a77cc3279434.1611312122.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UKNXkkdQCYZ6W5l3" Content-Disposition: inline In-Reply-To: <2dfec4acb1bfbab08b431908ace0a77cc3279434.1611312122.git.viresh.kumar@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --UKNXkkdQCYZ6W5l3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 22, 2021 at 04:20:32PM +0530, Viresh Kumar wrote: > We will start building overlays for platforms soon in the kernel and > would need fdtoverlay going forward. Lets start building it. >=20 > The fdtoverlay program applies (or merges) one or more overlay dtb Saying "merges" here is probably misleading, since as I mentioned elsewhere fdtoverlay can *not* merge overlays, only apply them to a base tree. > blobs to a base dtb blob. The kernel build system would later use > fdtoverlay to generate the overlaid blobs based on platform specific > configurations. >=20 > Signed-off-by: Viresh Kumar > --- > scripts/dtc/Makefile | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) >=20 > diff --git a/scripts/dtc/Makefile b/scripts/dtc/Makefile > index 4852bf44e913..5f19386a49eb 100644 > --- a/scripts/dtc/Makefile > +++ b/scripts/dtc/Makefile > @@ -1,13 +1,17 @@ > # SPDX-License-Identifier: GPL-2.0 > # scripts/dtc makefile > =20 > -hostprogs-always-$(CONFIG_DTC) +=3D dtc > +hostprogs-always-$(CONFIG_DTC) +=3D dtc fdtoverlay > hostprogs-always-$(CHECK_DT_BINDING) +=3D dtc > =20 > dtc-objs :=3D dtc.o flattree.o fstree.o data.o livetree.o treesource.o \ > srcpos.o checks.o util.o > dtc-objs +=3D dtc-lexer.lex.o dtc-parser.tab.o > =20 > +libfdt-objs :=3D fdt.o fdt_ro.o fdt_wip.o fdt_sw.o fdt_rw.o fdt_strerror= =2Eo fdt_empty_tree.o fdt_addresses.o fdt_overlay.o > +libfdt =3D $(addprefix libfdt/,$(libfdt-objs)) > +fdtoverlay-objs :=3D $(libfdt) fdtoverlay.o util.o > + > # Source files need to get at the userspace version of libfdt_env.h to c= ompile > HOST_EXTRACFLAGS +=3D -I $(srctree)/$(src)/libfdt > =20 --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --UKNXkkdQCYZ6W5l3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEdfRlhq5hpmzETofcbDjKyiDZs5IFAmALb0QACgkQbDjKyiDZ s5L25hAAzgErhIoUSWmqgWOJ/RWsxTyC1cH+mViBKq1puH2Uyezry9uiouop3tMo upioTF0UnWcchq2AQCdEEa2XcnrFKNg/pVM3/qS4lqY2X0fZQN3gNwH6rh2/AzP4 TPjFv7ITQUtVuJtthzVXV7jnvRX1r2TyniP3NDI6nokopMjZYHyzxaz6d305wnjY m6vCID+g7im9gDzNacN3vLU9l1Z863Fss03PXIKyBOkzTjm6i8V1sxAnUAHKS9Mp 7BE/YHz5ulHfw7iUIXMmVXJV1V4464qlRD+kt03AjcvrtIgQP59v54Pxo/EUjM/c j0H8GyVUsP3XODKMDyI8Dv/dChsYmfVFIuk1QpHNLeeLwh6pLmpAJO5aqiuzYcMi Z3O/CPyXXGYOO5kAyJZ6fkVP/BtaRe8IOyhQ92V0QllPIu8mKG9O/JVm5Uu+2qTY ZAOrZHhQTjFhPJkq33N6BVV6+DcdLrPzChCzxtsx4jg2gGSI2FZVsMzbbFtrdZRP C6DhhTjx/wP6/S32YdQdUje4/K3ocPH1Yr3xRYUgJAamwLApENhnKpQYIZV0/vfh uLulef1EV1Fb13vxdku4sVKE3Fsrs4ytIFo54W/0TzsIcmD/rVQPH7hiF5c9tGib TtaEgvRpI0Q10HTL+UApmHvtiT9JX6yAxDXE0QfIlBb4gl3lJ1w= =J/iO -----END PGP SIGNATURE----- --UKNXkkdQCYZ6W5l3--