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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF3B9C433EF for ; Tue, 19 Oct 2021 14:17:52 +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 3D31760F9E for ; Tue, 19 Oct 2021 14:17:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3D31760F9E 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 463B880F9D; Tue, 19 Oct 2021 16:17:50 +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="QtBXdwJO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 299C680F5F; Tue, 19 Oct 2021 16:17:43 +0200 (CEST) Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (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 A92D380323 for ; Tue, 19 Oct 2021 16:17:38 +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-qt1-x82f.google.com with SMTP id t2so33909qtn.12 for ; Tue, 19 Oct 2021 07:17:38 -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=vRUayOOSQSAyzcyI9qUCA/4DYkIzvWQhM/zouT42Y/0=; b=QtBXdwJO2Y6Cxkhxx9F2KftHG9Gr3/wEE4Nt1aWQ8TpRMuMGwRl1+jYrz57eCWfn5Q sDPcLOxidDuR48cWW8z1dFGaOcLj82Y2Y5mPRQycNwuFsRcVhiOA1fBJDc4C01/+riAj 3zqhXUSPgnCCsfCpJdyXuFRsEUbNSFseZLe6U= 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=vRUayOOSQSAyzcyI9qUCA/4DYkIzvWQhM/zouT42Y/0=; b=uJZBDAYj00PD/QUE4FK6PX9/rGwTzblvziKOMdG+IugwvQD6gq07WHA/nv5dk4FPLU IJws1prra0gAtcu/s/OLGet+oHc5sHxMHWbyN9yazG5AsgPsmIhe/JhaYsZWIVww4KGM r1VD09Av5zB73odl9nqf6dY130Tc1vJH218NK3ZfHmpb00lLFqqhyvTCaNMhPdWkuysX yc2C/k8eVwn9TArTlC/74tIl3KLknoYMHIUeELtpJjpZe0kOc1GRTxDrX+bYfG4tTEQV xIs5JYDoCp6ffOz9yVYHJ+kRdNy72rU3xBTFNUwIxtu5CCPAhJbbhJ3kDvM1F0Akxtxv XE2A== X-Gm-Message-State: AOAM531wEk9nDeIX4Hn7kj69m/dvYqr7Eq65mFmodjXoynvrsqHNQdoM 4PWSWjqw4xlSUrPh3+LoG4wicg== X-Google-Smtp-Source: ABdhPJwvKCObNXkPBd/kP8rZdTDFAzR5lgKz1JN4svkbsg9bRrbFXw+m7YaPbErjNyqbTw8YWBatGQ== X-Received: by 2002:ac8:5a41:: with SMTP id o1mr177317qta.21.1634653057435; Tue, 19 Oct 2021 07:17:37 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-b5ac-d4ae-96e7-5d3d.res6.spectrum.com. [2603:6081:7b01:cbda:b5ac:d4ae:96e7:5d3d]) by smtp.gmail.com with ESMTPSA id b127sm7995871qkg.42.2021.10.19.07.17.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Oct 2021 07:17:36 -0700 (PDT) Date: Tue, 19 Oct 2021 10:17:33 -0400 From: Tom Rini To: Simon Glass Cc: Ilias Apalodimas , Patrick Delaunay , Patrice Chotard , Liviu Dudau , Thomas Fitzsimmons , Matthias Brugger , Michal Simek , Pali =?iso-8859-1?Q?Roh=E1r?= , Marek =?iso-8859-1?Q?Beh=FAn?= , Bin Meng , Heinrich Schuchardt , Stefan Roese , Tim Harvey , Harald Seiler , Sughosh Ganu , Priyanka Jain , Vladimir Oltean , Andre Przywara , Ramon Fried , Nicolas Saenz Julienne , Peter Robinson , "Ivan T. Ivanov" , Marek Szyprowski , Zong Li , Leo Yu-Chi Liang , Sean Anderson , Rick Chen , Green Wan , T Karthik Reddy , Ashok Reddy Soma , Rasmus Villemoes , Alper Nebi Yasak , AKASHI Takahiro , Wasim Khan , Alexandru Gagniuc , Nandor Han , Pratyush Yadav , Steffen Jaeckel , Heiko Schocher , Asherah Connor , U-Boot Mailing List , U-Boot STM32 Subject: Re: [PATCH v4] sandbox: Remove OF_HOSTFILE Message-ID: <20211019141733.GD7964@bill-the-cat> References: <20211019130725.171193-1-ilias.apalodimas@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xW1fcKycK9wPgARZ" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-Mailman-Approved-At: Tue, 19 Oct 2021 16:17:48 +0200 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 --xW1fcKycK9wPgARZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 19, 2021 at 08:03:07AM -0600, Simon Glass wrote: > Hi Ilias, >=20 > On Tue, 19 Oct 2021 at 07:07, Ilias Apalodimas > wrote: > > > > OF_HOSTFILE is used on sandbox configs only. Although it's pretty > > unique and not causing any confusions, we are better of having simpler > > config options for the DTB. > > > > So let's replace that with the existing OF_BOARD. U-Boot would then > > have only three config options for the DTB origin. > > - OF_SEPARATE, build separately from U-Boot > > - OF_BOARD, board specific way of providing the DTB > > - OF_EMBED embedded in the u-boot binary(should not be used in producti= on > > > > Signed-off-by: Ilias Apalodimas > > --- > > Note that this must be applied on top of > > https://lore.kernel.org/u-boot/20211011210016.135929-1-ilias.apalodimas= @linaro.org/ > > changes since v3: > > - fix xilinx platforms based on xilinx_zynq_virt_defconfig > > changes since v2: > > - Rebased on top of the updated OF_BOARD patchset > > Changes since v1: > > - Added internal error value on board_fdt_blob_setup(). Arguably > > we can just check against NULL and simplify this even more if we > > don't care about the errno > > - OF_BOARD is now default for sandbox builds > > Makefile | 6 ++--- > > arch/arm/mach-stm32mp/boot_params.c | 3 ++- > > arch/sandbox/cpu/cpu.c | 27 +++++++++++++-------- > > arch/sandbox/include/asm/u-boot-sandbox.h | 8 ------ > > board/AndesTech/ax25-ae350/ax25-ae350.c | 2 ++ > > board/Marvell/octeontx/board-fdt.c | 3 ++- > > board/Marvell/octeontx2/board-fdt.c | 3 ++- > > board/Marvell/octeontx2/board.c | 3 ++- > > board/armltd/vexpress64/vexpress64.c | 7 ++++-- > > board/broadcom/bcmstb/bcmstb.c | 3 ++- > > board/emulation/qemu-arm/qemu-arm.c | 3 ++- > > board/emulation/qemu-ppce500/qemu-ppce500.c | 3 ++- > > board/emulation/qemu-riscv/qemu-riscv.c | 3 ++- > > board/highbank/highbank.c | 3 ++- > > board/raspberrypi/rpi/rpi.c | 8 ++++-- > > board/sifive/unleashed/unleashed.c | 3 ++- > > board/sifive/unmatched/unmatched.c | 3 ++- > > board/socrates/socrates.c | 4 ++- > > board/xen/xenguest_arm64/xenguest_arm64.c | 7 ++++-- > > board/xilinx/common/board.c | 3 ++- > > configs/sandbox64_defconfig | 1 - > > configs/sandbox_defconfig | 1 - > > configs/sandbox_flattree_defconfig | 1 - > > configs/sandbox_noinst_defconfig | 1 - > > configs/sandbox_spl_defconfig | 1 - > > configs/tools-only_defconfig | 1 - > > doc/develop/devicetree/control.rst | 7 +++--- > > dts/Kconfig | 10 +------- > > include/fdtdec.h | 4 ++- > > lib/fdtdec.c | 14 +++++------ > > scripts/Makefile.spl | 4 +-- > > 31 files changed, 81 insertions(+), 69 deletions(-) > > >=20 > For some reason this still does not apply for me on -master. Can you > please confirm the hash you are using? The hunk for scripts/Makefile.spl still fails (it failed on v3 as well), but is easily fixed-up, fwiw. --=20 Tom --xW1fcKycK9wPgARZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFu03kACgkQFHw5/5Y0 tyzgtwv+M2hSIPO2EaxJtkyAYFVVOA9C1zrwoF5Ga+/AIPcDZJhaKDS/xNtP2rxN wwnJrjt89q0hh8jSAh2nFBQ1f2hsrA3SG+v7DEQSOXaB/+uwBDlT/esNzEmjp7l/ a7eEQU9vAJCh6m5Ld2hFrI74DXR9/WcTWVQDQf045Z0NZVv1EXkPv6Nm/I0PSPl7 G5Je74hyS+o/EDziaFCXRUnqLTUmsw7VBtIvqwZYMW0pgz6NI3i3b54Opx80zX87 GM6M6cy+7MuT7NYOckJlaO27pk+/Xf6mADN8ti8rCbl9rlBqzW64hc+anpCmx2mN mBiGGlqWxkkPWQJWzk4Io6++4TFrC6FJ4llHfuf4CI/qcyQUmjalAXDm/Fq0abpR S4J6sKjrhSvKULtLXQbc5ojnIXZlhwqcBE+ZPoahM5kGSDCL3dQKcT4tvIdUgdEx 7xkdXpy5vpOsOchtAAWxTgZFt7AsjAkkzPSLtw29uD9B3fal2nw2ncvH4es6QytS k/mAR7Mm =Ufn8 -----END PGP SIGNATURE----- --xW1fcKycK9wPgARZ--