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 X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DCA56C433F5 for ; Fri, 17 Sep 2021 17:55:17 +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 225F3610C7 for ; Fri, 17 Sep 2021 17:55:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 225F3610C7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.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 D79E283202; Fri, 17 Sep 2021 19:55:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com 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=konsulko.com header.i=@konsulko.com header.b="WLwp054Q"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A326583208; Fri, 17 Sep 2021 19:55:12 +0200 (CEST) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 3318B82D52 for ; Fri, 17 Sep 2021 19:55:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x735.google.com with SMTP id b64so20074175qkg.0 for ; Fri, 17 Sep 2021 10:55:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Oo5LRrUbOhyzbpzcnjXybNVDNindTYzJ8kI+MWFqovI=; b=WLwp054QAF/duHbn7jTrwEv6kJJ2r9m1qoSA0Ns7c40/eCE//DeimCuK3zfGiEjHfO RxOz+zLWLiq74re9mRdTZGf4nY6wgYyfGX33PW0+LDc8CokR4XkAj5705HlqVJoQalA1 5hWDhkd6Dfj02b13SP1/DXmv1yH5bVr1goUpE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Oo5LRrUbOhyzbpzcnjXybNVDNindTYzJ8kI+MWFqovI=; b=KyTZUeuBKYWciMOoEJBygFjH+Z2EoFt8z6uQWjwroiGcmw2cwa0nzhr+9heGy6RW0D 0YWjFlEff3r1/3fMwecRWWMahlG8M/WcXZNnGvfp51QR1C/XBulVHBVGLwcJNkjCBAax yiG7yF+LbkCDE7u6228iqRJLAbUU0Mawb5ahpRzRKdB++yRzuVXW0ZppPmYkLvKLl00B A4v3lwKOryYRW49+U+XllKidUaCSTxy68r4JJYArzQLtWPpUlk5W8oc6Yu2T8dRj5WLZ tjwXHPfn4FZ4BztCzyR5Gqtxl3R+U835eUxF1SYkWVcvaqdjb0wPicBPIjJcY/DFfGSq McmQ== X-Gm-Message-State: AOAM533oQFbdyC00o3U7/Ae9FFJYSfETlx+reoVhL8kV0EcLJ8dMjdcG /8frO7vkUWmm38zFKglXyPgEZA== X-Google-Smtp-Source: ABdhPJzlGd9BT9+0tqknRmzNc86mtlgRPJWeUaRziLLlVcVBL41JHwR+rvtkIG4vlBo/6dgo+oWDlg== X-Received: by 2002:a37:9f4d:: with SMTP id i74mr4851569qke.21.1631901307022; Fri, 17 Sep 2021 10:55:07 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-e4f8-f572-7f11-97be.res6.spectrum.com. [2603:6081:7b01:cbda:e4f8:f572:7f11:97be]) by smtp.gmail.com with ESMTPSA id n11sm4413963qtx.45.2021.09.17.10.55.05 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 17 Sep 2021 10:55:06 -0700 (PDT) Date: Fri, 17 Sep 2021 13:55:04 -0400 From: Tom Rini To: Simon Glass Cc: =?iso-8859-1?Q?Fran=E7ois?= Ozog , Jehannaz Khan , Mark Kettenis , Moiz Imtiaz , Moiz Imtiaz Khan , U-Boot Mailing List Subject: Re: Problem with U-boot | Configuration Signature not being checked while booting Message-ID: <20210917175504.GC8971@bill-the-cat> References: <561452b36639d218@bloch.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jy6Sn24JjFx/iggw" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) 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 --jy6Sn24JjFx/iggw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 17, 2021 at 10:21:38AM -0600, Simon Glass wrote: > Hi Fran=C3=A7ois, >=20 > On Wed, 15 Sept 2021 at 04:26, Fran=C3=A7ois Ozog wrote: > > > > > > > > Le mer. 15 sept. 2021 =C3=A0 12:13, Simon Glass a = =C3=A9crit : > >> > >> Hi Mark, > >> > >> On Sat, 11 Sept 2021 at 13:18, Mark Kettenis = wrote: > >> > > >> > > From: Moiz Imtiaz > >> > > Date: Sat, 11 Sep 2021 23:19:05 +0500 > >> > > > >> > > Hi Simon, > >> > > > >> > > Thanks for the reply. I already followed the steps mentioned in > >> > > "doc/uImage.FIT/beaglebone_vboot.txt". > >> > > > >> > > >I wonder if rpi is not using the devicetree compiled with U-Boot,= but > >> > > instead one provided by the earlier-stage firmware? > >> > > > >> > > Not sure, but seems like this is the case. I checked and there isn= 't any > >> > > dtb or dts for rpi4 (bcm2711-rpi-4-b) in arc/arm/dts in u-boot. I = tried to > >> > > add the dtb and other dts dtsi > >> > > files > >> > > from the raspberry pi Linux and compile them with CONFIG_OF_SEPARA= TE and > >> > > CONFIG_OF_EMBED (one at a time) *but it couldn't even boot the U-B= oot and > >> > > it would just give a blank screen*. I wonder why there isn't any d= evice > >> > > tree in the U-boot repo for RPI4. Is U-boot control FDT not suppor= ted by > >> > > RPI4? > >> > > >> > The issue with the rpi4 is that the addresses of devices move around > >> > based on the version of the Raspberry Pi firmware you're using. And > >> > possibly on the amount of memory on the board as well. So U-Boot > >> > pretty much has to use the device tree passed by the firmware since > >> > the device tree in the U-Boot tree would be wrong for many > >> > combinations of firmware and hardware. > >> > > >> > Simon, this sort of thing is exactly the reason why I think the idea > >> > of having all U-Boot configuration information in a single device tr= ee > >> > with the hardware description doesn't work everywhere. > >> > >> From my reading of this thread, it rather reinforces the need to > >> provide a way to give U-Boot the config it needs, in the devicetree. > >> > >> It seems that rpi is actually OK in this regard. If you think about > >> it, it would be pretty hopeless if first-stage firmware assumed that > >> it could provide a devicetree to whatever is next. For example, if > >> U-Boot evolves to support more devices, they could not be supported. > >> If UEFI is used, the devicetree would have no effect, since it doesn't > >> support devicetree. > > > > Please use EDK2 when you refer to it and not by the interface it implem= ents. And even if we read =E2=80=9CIf EDK2 is used=E2=80=9D this is false a= s Socionext has a platform that can select ACPI or DT for its EDK2 implemen= tation. >=20 > OK I will try to remember to use 'EDK2' to describe a UEFI > implementation. Since all the other UEFI implementations are > closed-source(?) I suppose it is the only one that is relevant here. Just for the record, AMI recently announced they will be supporting aarch64, and yes with ACPI. --=20 Tom --jy6Sn24JjFx/iggw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFE1nEACgkQFHw5/5Y0 tyxhpwv9FHIqQjYX6kZetZRZdHKpo3/NPHz31TZL0a8wJHlQ7TCOyD/rwuuKhFLZ qu71eyOj74o/1OXWeeTvuI4thaXoGQl1e0XAgPNeIhAWQn0ED9D6InoXdeCEpEGk dnSnHAQDVka+FBNl5RKr7axOilZWUbWTuuFdtVzG547aM7F6/N05KG1R3ad23vcq eilhIEFDmjaDtf5o1U0PlxSDl5fba+FpKneKQX6PUkGI5SgH5lWaazjMn589BGUy esMygQr99ed6Ueyr2r53MKxbPrAJSywo3VldYl7MEtMEJMlHaZLJVsOPAvdSl3p4 4bbHZ13dsstF+bH4Tl0Bn9ti5WIPK71iE82gyv8mV0r+Pj0F3cMJhESELl/j6Wbc iRmkk+lOXbMRNMJydUJdWqeVLI5Lsa/Zv8U/StkS+WK9Ub6juCbMN02BwBYS3G3O MWIr4y+h21VZC1ivn53nh+hRJ3pnbCsif1poBnq+lfvT8n6nG01CEqANEhWa1l9s uxneeYZD =vxZH -----END PGP SIGNATURE----- --jy6Sn24JjFx/iggw--