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 411F0C433EF for ; Wed, 13 Oct 2021 17:36:24 +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 8796F610FE for ; Wed, 13 Oct 2021 17:36:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8796F610FE 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 D438A8360D; Wed, 13 Oct 2021 19:36:21 +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="Myy3LZCq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4B4A88360D; Wed, 13 Oct 2021 19:36:20 +0200 (CEST) Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) (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 5DE5883602 for ; Wed, 13 Oct 2021 19:36:16 +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-qv1-xf2f.google.com with SMTP id v2so2143098qve.11 for ; Wed, 13 Oct 2021 10:36:16 -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; bh=ylRA12NrPDi6XVn5axU4DahvD3CJkunA5ezGmfYN+zc=; b=Myy3LZCqSG4AaysNRm5xQL6lTbc4aTVrZEhBIVzR5Z8TkAAlB8cQU/74iCsoYelyVU arSyU5Up3w3qQWdJfTOoB4pbLm099m6jh62UGlNJpF2tkRGaSRDiUlbXpS4+P203kda5 wmbx0nveB5hSxL9QQA6nV5wHOqevFg0j8blbs= 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; bh=ylRA12NrPDi6XVn5axU4DahvD3CJkunA5ezGmfYN+zc=; b=vBBg5whLJJRJIPT8K0JiJAJktit+hP1grMMlOkjEppYFa4iUx9OHeG5msgEpdi7NYh iL1lg/xJHTvpoobkyo0XOwpRsaCCBVVIj1Sx+z+mmw90IPPaQuRRUOchoDrvA4c31GSB FdAXY5EUz5mQCHffVdTbj0bo7WQDw9H7WDQ8rXJsnUCWTAeWXFau1Wa2IrE4Z30ekqGT 54g8fMOXF36w1yGP8aJ2m5kRu/A5iRuJ/DOma2o6f9y9j+oWU2wib/aJeadM1AqzI4wk ArrlXjzqKFCJppMW4DyqgrevGfjtg0kRBeHXYH8xg6Swelb0mOBDOolSuOUwWXwsYMNf bZ3Q== X-Gm-Message-State: AOAM533odOmRbl1hujXwgjdNn/gmcLyLLtzI0hZL96dGSrb+/HF/7vAK fxdR8u6g3E5NccHEjud7vRXdWg== X-Google-Smtp-Source: ABdhPJwh26Gkn2oFDuycUvrcCFIYXE1tLVLVjlRLRxZ7uYuJZfuv1hVBYVbwPoYIJbbLzoe6uZdMog== X-Received: by 2002:a0c:e003:: with SMTP id j3mr583265qvk.42.1634146575131; Wed, 13 Oct 2021 10:36:15 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-e98d-c49f-f596-1fb5.res6.spectrum.com. [2603:6081:7b01:cbda:e98d:c49f:f596:1fb5]) by smtp.gmail.com with ESMTPSA id x6sm149514qts.79.2021.10.13.10.36.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Oct 2021 10:36:14 -0700 (PDT) Date: Wed, 13 Oct 2021 13:36:12 -0400 From: Tom Rini To: Simon Glass Cc: =?iso-8859-1?Q?Fran=E7ois?= Ozog , Albert Aribaud , Ilias Apalodimas , U-Boot Mailing List , QEMU Developers Subject: Re: [PATCH 02/16] arm: qemu: Explain how to extract the generate devicetree Message-ID: <20211013173612.GX7964@bill-the-cat> References: <20211013010120.96851-1-sjg@chromium.org> <20211013010120.96851-3-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2wMstBBNMOiVTqn7" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett 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 --2wMstBBNMOiVTqn7 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 13, 2021 at 10:58:31AM -0600, Simon Glass wrote: > Hi Fran=E7ois, >=20 > On Tue, 12 Oct 2021 at 19:20, Fran=E7ois Ozog = wrote: > > > > > > > > Le mer. 13 oct. 2021 =E0 03:02, Simon Glass a =E9cri= t : > >> > >> QEMU currently generates a devicetree for use with U-Boot. Explain how= to > >> obtain it. > >> > >> Signed-off-by: Simon Glass > >> --- > >> > >> doc/board/emulation/qemu-arm.rst | 12 ++++++++++++ > >> 1 file changed, 12 insertions(+) > >> > >> diff --git a/doc/board/emulation/qemu-arm.rst b/doc/board/emulation/qe= mu-arm.rst > >> index 97b6ec64905..b458a398c69 100644 > >> --- a/doc/board/emulation/qemu-arm.rst > >> +++ b/doc/board/emulation/qemu-arm.rst > >> @@ -91,3 +91,15 @@ The debug UART on the ARM virt board uses these set= tings:: > >> CONFIG_DEBUG_UART_PL010=3Dy > >> CONFIG_DEBUG_UART_BASE=3D0x9000000 > >> CONFIG_DEBUG_UART_CLOCK=3D0 > >> + > >> +Obtaining the QEMU devicetree > >> +----------------------------- > >> + > >> +QEMU generates its own devicetree to pass to U-Boot and does this by = default. > >> +You can use `-dtb u-boot.dtb` to force QEMU to use U-Boot's in-tree v= ersion. > > > > this is for either Qemu experts or u-boot for Qemu maintainers. Not for= the kernel d=E9velopper as it is recipe for problems: could you add this w= arning ? >=20 > Yes I can do that...or would it be better to hide this in doc/develop > somewhere with a link here? Somewhere under doc/develop and an external link to the QEMU documentation on dumpdtb would be good, as it's (as you demonstrate throughout this series) a generic feature. --=20 Tom --2wMstBBNMOiVTqn7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFnGQUACgkQFHw5/5Y0 tyy4CAwAkHyWMu7siPbGg8Xl6iiJYjdC34XmM7nN/r9E09OknRLWPavUA6/1UrOC Oy42tCDDsKNEhjnuEUsltYG67pv7w7s+Gp2rkM3r1TuYlHPDgMQXTEzCwmC7CZl+ Rp7phC7Oum16QaEZky1Rm2budp/pUvd3IK4pxQurcsDhtSUi/Jwzr9uEstj0cK97 tlDDcm6bf0QiXa+JdtRGEdkV/AmpL4n6b3gSbrxfhi74xlSL2UYWsvbMiThRg1KQ rFhXRbXaDjulws/YHVGODW0OIa9md9jLs3sC053kIYccss3KvZgLGgW0BQAP9kGl VRllEomkkZxLmwHUscKj09itS+zcFgB5I0grvfp8HITQZ3S8nUZtve0zTVXIryXU csz6XvkE7sLfwZP6d54jz+YXx6psQSLXb/g4UMSwIEiKfHDx0sXPJLN/1/K2cKji NRc/tNlJsITsaijDl3D5V6MIcVD2CBYkeNEPJ++SrwI/RnvM1OvimIKJxJ7uC6Hf wsXgJiAy =qSlM -----END PGP SIGNATURE----- --2wMstBBNMOiVTqn7--