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 D5564C433F5 for ; Sat, 25 Sep 2021 00:41:42 +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 628C360F44 for ; Sat, 25 Sep 2021 00:41:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 628C360F44 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 8AF978352C; Sat, 25 Sep 2021 02:41:07 +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="snggHdzx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 93A5F83549; Sat, 25 Sep 2021 02:37:56 +0200 (CEST) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (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 9F69E83536 for ; Sat, 25 Sep 2021 02:37:12 +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-x733.google.com with SMTP id m7so13285661qke.8 for ; Fri, 24 Sep 2021 17:37:12 -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=EbR7+JDPgOat/v7RH4K1KOPcpYo6zpKnZspRQ05rNns=; b=snggHdzxKGtAZfNweYgJGcwh9ZCi9Fo8SeUT9Iox4HaPFCBSs2yZjiiEVVmRWayGPp 1N9dcioLP4JeS/FJCgfjaI01biKDHtLOIt4D3STCI3B08n9k/fV9Vn7RIJ57QkrQriGc miuIggRUb+iVL67UfQ6xUoEtajqh5ryjGM7Eg= 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=EbR7+JDPgOat/v7RH4K1KOPcpYo6zpKnZspRQ05rNns=; b=dCdQIAjAc1IDWYxy37bXo5FIJxUMgwC95up6572zu/DcBJ8iGUnwRStA/DrLUIPjaJ DxPPeM4S2lb3RzOREQ+ex++SifvWFk2NtSDUk8hKugY5p8DKRE1/kyW6DlREBkQdqTP3 JaLkAyFo4RcCOSRlz6cN6xQ14vHLwPVc5RYAJi4l5fX1Ioad4HqRKsnDMG2WeSmZYYCA WIUfEw9FL1mwerBHemTBc9o323ahnrawwSByNHLiOgF/4vKbquW4250zkoJKmwR7vwTg 17bg5zY5r+4zZFmzqORs3+8J9GNmeQrXxI8IPiEl/PLrugaWUQpu1cwr8wsmKT2wu30i 7Kpw== X-Gm-Message-State: AOAM533mA7Fv9qLwlI1mfJuS2mMq42c9XhIr+UfJeKS1bk7LZk6FGmKw BqWDVMQkRv0M4037eH87jtHoXVWuty6npA== X-Google-Smtp-Source: ABdhPJwrTaJImf8+SYd4NploZugKX0onBP0O9czBQ8NrHP3j3qIthyjLp3uHxkZ+jzset31aZDpReQ== X-Received: by 2002:a05:620a:bd4:: with SMTP id s20mr13783600qki.485.1632530230889; Fri, 24 Sep 2021 17:37:10 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-9907-3395-6a0a-dd86.res6.spectrum.com. [2603:6081:7b01:cbda:9907:3395:6a0a:dd86]) by smtp.gmail.com with ESMTPSA id d9sm7490463qko.111.2021.09.24.17.37.10 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 Sep 2021 17:37:10 -0700 (PDT) Date: Fri, 24 Sep 2021 20:37:08 -0400 From: Tom Rini To: Kristian Amlie Cc: u-boot@lists.denx.de, Liviu Dudau Subject: Re: [PATCH 1/1] ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. Message-ID: <20210925003708.GS31748@bill-the-cat> References: <20210907063751.32363-1-kristian.amlie@northern.tech> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GTcZWaq9rmc9jFqg" Content-Disposition: inline In-Reply-To: <20210907063751.32363-1-kristian.amlie@northern.tech> 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 --GTcZWaq9rmc9jFqg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 07, 2021 at 08:37:51AM +0200, Kristian Amlie wrote: > vexpress_ca9x4 is seemingly the only board except for qemu_arm which > is able to run U-Boot correctly, using the `-M vexpress-a9` option to > QEMU. Building for qemu_arm and running qemu-system-arm with the `-M > virt` argument has a number of downsides, most importantly that it > only supports virtio storage drivers. This significantly reduces its > usefulness in testing memory card and Flash solutions, especially when > the tested images are from a third party source. >=20 > So therefore we reintroduce the vexpress_ca9x4 board in this commit, > with the explicit goal of using it with QEMU. >=20 > A number of differences to note from the original: >=20 > * Since the board was apparently unmaintained, I have now set myself > as the maintainer. >=20 > * The board has been converted to use the driver model, which was the > reason it was removed in the first place. >=20 > * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed > in the same commit, are not necessary for the QEMU use case, and > have been omitted. >=20 > * An `mmc0` alias was introduced in the dts file. The mmc is not > detected correctly without this, now that it's based on the device > tree instead of the board's init function. >=20 > * A couple of other nodes were removed because they were problematic > when trying to run the UEFI bootmgr. Once again, the primary use > case here is QEMU, and these nodes are not needed for that to work. >=20 > * Unnecessary board init code has been removed, thanks to driver model > and device tree. >=20 > * `CONFIG_OF_EMBED` has been enabled. I know this goes against > recommended practice, but there doesn't seem to be any other way to > pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument > does not work, I suppose because U-Boot doesn't use the same > mechanics as the kernel when it's booting. >=20 > * Load addresses have been changed to fit QEMU use case. >=20 > People wanting to get a more detailed, yet somewhat isolated, diff > between this and the original, can run this command: >=20 > git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \ > $( git diff-tree --diff-filter=3DA -r --name-only HEAD~1 HEAD) >=20 > (Make sure to either check out this commit first, or replace HEAD with > the commit ID of this commit) >=20 > Signed-off-by: Kristian Amlie Applied to u-boot/next, thanks! --=20 Tom --GTcZWaq9rmc9jFqg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFObzQACgkQFHw5/5Y0 tyydEwv+ISVL0bJgnhVleOohWdS4/obkx/IZOz7MLQ609VteNzeJM/olV4rjgncL HJPlcqPVCyzy/VuSSPa/hqHNErAGAQE8aDfWrR/g7qDp+ZeJBy+5clwriSSkeAn/ Bk4pP+TBq41YD3ISM3cQ5eZpdPMMdl2wAPrxCDGR04VGFS/AHNN9GNpbnBu+HR9L x39S/4njuKEgDC+sGNZzPbTfgiNn9iBm3izPFUttLR6mYHM0bX5k2mEWfpgEs5kB JAqAEfooV6ntk7DP6mFB9TXs5qUQyCCBhfugxjVPQ5xEHYAT90fuU5LTYRhkZsWJ 94ejFWV4xtfIhZiV2lS93hYI3jueACbcA1xTkzAz9LCD75tb9H3dQoXMndHXHFU/ doHBSDpuCo8nbhsxucH+Gs5DfS1EK1cO7fEQXznKbJ0KL/Kdj146xVIrKLBqoVX4 ezyoOMetjjw0gtfHr2xMRw3BCqS3JSoXjp3bswItE2OYM2/EnghADNHXaicpP1r6 QX/5uV6P =CaKa -----END PGP SIGNATURE----- --GTcZWaq9rmc9jFqg--