Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp764398pxb; Wed, 20 Jan 2021 21:46:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJwQCcaU+RNXUrwO7TTWTjRAUOsvR+MMf9jX6XBg3S1L91u9kjv1pblrNfekNJpR0XDojqTa X-Received: by 2002:a17:906:94d2:: with SMTP id d18mr8130809ejy.94.1611207978949; Wed, 20 Jan 2021 21:46:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611207978; cv=none; d=google.com; s=arc-20160816; b=MepmQ+JnaDZSebMnz6bPKjqiFnuMT78r0dbR38PKcw3EEGOmcqvwtPMD4kFtrugUIx 0/gg5/R6ssoIL1qNnehErMtAgQvE39Pvuh6SHNT3D7JS+Y/tW3PY3TjOd56yG+8snr7U e4lY9voZwB+pQQpp4JPQOt0hFRZ4ngPqCKJKh/QmWKPvKAqeNwPPkkWvmZPnwIhIxrHx h58bnhgeRppaZx+EBzPMHWh1a1CWhCcLv7OdSmJr1qEynuBoPeRKVrjAcI8khs7BW1wl NptIEfaHwPHaquSl+9UKhfvNrDkRIib+V8d3n0337xvZY4aG9lVedWr6HlnTwZWZLpyM SI7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=FxeqQLlBiVEtjte3uU6yOLE+0q+1Ny/d8SvyqMBGIDI=; b=gCHDVt0wyNt12mDJbh2+2Sfeyd3GoclH38VMPZz+2cEKfEWHlHC4HyZDFuJVq9vFZv ZME7y/PQG24dqWz9J3h0OYdThZQ1eCaRMZ97rSh39oG7222h/GDjzFiD3sUYpSDflaPS N7MgpW/I0g+sWCmLvet2H8yGlTBz3h9l8maAGVV2XosMdcke4EkR7K7NLOFSEJJTVa6R Yb04/QDWBZOGNV6zgi1ybFNJ45iI5QL2WxircwWsUNIJG9ivTCL3vhR6zQzfa0/JAWsp /uOrequ2G24l3BuXlRDtlU7hMs2iO21Kc9XKM3fRKXntIM2SVINJzHXLnfsUyjXKg1BG 7vEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q3kMn01P; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f2si1405232ejb.553.2021.01.20.21.45.55; Wed, 20 Jan 2021 21:46:18 -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=@linaro.org header.s=google header.b=Q3kMn01P; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726765AbhAUFpQ (ORCPT + 99 others); Thu, 21 Jan 2021 00:45:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726666AbhAUFoY (ORCPT ); Thu, 21 Jan 2021 00:44:24 -0500 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BFA3C061575 for ; Wed, 20 Jan 2021 21:43:43 -0800 (PST) Received: by mail-pf1-x42a.google.com with SMTP id t29so831524pfg.11 for ; Wed, 20 Jan 2021 21:43:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=FxeqQLlBiVEtjte3uU6yOLE+0q+1Ny/d8SvyqMBGIDI=; b=Q3kMn01PavYDRljikwVmoQ58SNnRJItCYD6sarzeW8s8LO0t0IMFKCLlz3eNSN8ckC EIldqudUpuGq9Kivpeh1G1+cWWyjJ7vJh810dS7exPn3x9dz5f70bNpgF/puARWHqx3H gV5CLBdl1frMxKC4ERSA3ryWH7z/TupbULZGeRQe0YkqSxVCmEAOJTzpFcSiJ1iRWbvj qWDPUHJTtl5dEwUOPvUzEbTv9upx+/XrPuGBB0uEFYzqQGYZWHfTs0jnf/WjyJyj3WIc F7yD7B0f8bVNCKx4NfrFChEsoq4AuqsF+2KshGjUW7bMUbaiyHcLGAEz+cF9rM5CsKbz tXfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=FxeqQLlBiVEtjte3uU6yOLE+0q+1Ny/d8SvyqMBGIDI=; b=Lus7Jfvxm8zR0VqRwRKTDghSeqY859u6Ld/2uIv242NoUvhCwi5QYOj5z+Ok9MEJ3Y lDF8jOYVpLs09HM8SLm0TxPc0km1meuruU79tdikdhTg/nfHHDZ4vb+z1o/l5fsnKacK mmnznxpWsinNqi2gJfulTZPyX4JGQo1Va9vwCk3X4h67iSc5iaaNiStBHRPhMyt7QibK 4fft0zCwfRwx1AH5Z6py2x+cVUk+JWzegclJARfMvNYyNyV/EgAQXtJ35hJN3m20gfL/ qN0Kovt7UKJ28jBSzjchkzcmWPTFOkkWrLTyvgCDSCNqVRQviB0M1jyvimu2gQA6BRIL /rxA== X-Gm-Message-State: AOAM532po4VD07SJWcQ6tmo3AoEGhw2+9a9jyXg6H9OGvPGuwgWx301/ pdJ1pwXfmEupkGyOeE6AZxU+nHIWKq2vKg== X-Received: by 2002:a63:ca51:: with SMTP id o17mr12851031pgi.314.1611207823111; Wed, 20 Jan 2021 21:43:43 -0800 (PST) Received: from localhost ([122.172.59.240]) by smtp.gmail.com with ESMTPSA id k9sm4200309pji.8.2021.01.20.21.43.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Jan 2021 21:43:42 -0800 (PST) Date: Thu, 21 Jan 2021 11:13:40 +0530 From: Viresh Kumar To: Frank Rowand Cc: David Gibson , Rob Herring , Pantelis Antoniou , Vincent Guittot , Masahiro Yamada , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bill Mills , anmar.oueja@linaro.org Subject: Re: [PATCH V5 5/5] of: unittest: Statically apply overlays using fdtoverlay Message-ID: <20210121054340.e4do45uvdns5bl5f@vireshk-i7> References: <696c137461be8ec4395c733c559c269bb4ad586e.1611124778.git.viresh.kumar@linaro.org> <20210121005145.GF5174@yekko.fritz.box> <7d6adfd9-da1e-d4ca-3a04-b192f0cf36b0@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Frank, On 20-01-21, 23:34, Frank Rowand wrote: > It should be possible to apply this same concept to copying overlay_base.dts > to overlay_base_base.dts, removing the "/plugin/;" from overlay_base_base.dts > and using an additional rule to use fdtoverlay to apply overlay.dtb on top > of overlay_base_base.dtb. Are you suggesting to then merge this with testcases.dtb to get static_test.dtb or keep two output files (static_test.dtb from testcases.dtb + overlays and static_test2.dtb from overlay_base.dtb and overlay.dtb) ? Asking because as I mentioned earlier, overlay_base.dtb doesn't have __overlay__ property for its nodes and we can't apply that to testcases.dtb using fdtoverlay. > Yes, overlay_base_base is a terrible name. Just used to illustrate the point. > > I tried this by hand and am failing miserably. But I am not using the proper > environment (just a quick hack to see if the method might work). So I would > have to set things up properly to really test this. > > If this does work, it would remove my objections to you trying to transform > the existing unittest .dts test data files (because you would not have to > actually modify the existing .dts files). -- viresh