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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id B22E3C433EF for ; Mon, 20 Dec 2021 12:52:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C1ECB83071; Mon, 20 Dec 2021 13:52:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=walle.cc 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; secure) header.d=walle.cc header.i=@walle.cc header.b="kpl2JPEN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 07E9D8309A; Mon, 20 Dec 2021 13:52:41 +0100 (CET) Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2916F81DB4 for ; Mon, 20 Dec 2021 13:52:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=walle.cc Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=michael@walle.cc Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 81BF6223ED; Mon, 20 Dec 2021 13:52:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1640004757; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nqTfd54s6lI5OjOsGBaul0cd6YTAI+8cstoN0mlNq0k=; b=kpl2JPENJI7y7bQU7bbMaQ0KGa1ZayJTxSUiBtknlMZwCe8Y+bdS5n7UPWPxoMJmOzu3pW 0FGSzJhFskZVSLDTLrZmWe9lQXGCYLUpqz7JCuKeVwRXLxA4uAa558N1wF6FwLjKhY3Q7S xqnLF8MdGECbJuGG4E+ueP91N/39LsM= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 20 Dec 2021 13:52:37 +0100 From: Michael Walle To: "Sahil Malhotra (OSS)" Cc: ZHIZHIKIN Andrey , =?UTF-8?Q?C?= =?UTF-8?Q?l=C3=A9ment_Faure?= , Gaurav Jain , Pankaj Gupta , Priyanka Jain , u-boot@lists.denx.de, Varun Sethi , Ye Li Subject: Re: [PATCH 1/2] fsl-layerscape: add dtb overlay feature In-Reply-To: References: <20211117062347.24517-1-sahil.malhotra@oss.nxp.com> <20211117075314.3606691-1-michael@walle.cc> <21c98b3d9cead3f003718425d11137ec@walle.cc> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <537512dc76cbd87695d93bf7ea419a07@walle.cc> X-Sender: michael@walle.cc X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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 Sahil, Am 2021-12-10 07:33, schrieb Sahil Malhotra (OSS): >> DT nodes can be statically disabled if we know that they are held by >> HAB and >> are not released to NS World. >> >> OP-TEE does set the status itself via dt_enable_secure_status(), which >> should present the properly configured FDT when U-Boot takes over. > Yes, OP-TEE set the status by dt_enable_secure_status() in DTB overlay > which gets merged with DTB provided for Linux bootup and then Linux > boots with merged DTB. > But u-boot uses the DTB embedded in its image. How can we modify that > DTB or merge DTB overlay passed by OP-TEE with uboot DTB ? But then u-boot has the "wrong" dtb. What is the reason, there is an overlay instead of a whole dtb? what if the overlay doesn't match the dtb? -michael