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 E25D1C4332F for ; Fri, 23 Dec 2022 00:37:07 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DD4DC85378; Fri, 23 Dec 2022 01:37:05 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (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="ZE1U2bSL"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 511BA851FF; Fri, 23 Dec 2022 01:37:04 +0100 (CET) Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (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 9654085378 for ; Fri, 23 Dec 2022 01:37:01 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x832.google.com with SMTP id x11so2667995qtv.13 for ; Thu, 22 Dec 2022 16:37:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=UuSIYxqWXs/sMRbf1JkH3yhxDnnFO7tvoxcOkKvjDHA=; b=ZE1U2bSLTG+A1l8e5heqaEeMEUdcGNjLSRhRjRFaGI4j6W5mxec0m6UcnffE3gInhC ofD0FpLomU4dbkJk8P+ZL6gMbAkycV/ODykROwFaKR5RWCMZwGR5EuTQFMCQdUXUWNw9 xfmqxAnw1goG0fouqyjG9kFA+Rf8eOHVKgsqk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=UuSIYxqWXs/sMRbf1JkH3yhxDnnFO7tvoxcOkKvjDHA=; b=EWfsbK3ll1OONKvN+YLNcNHUjtWsD5QUdfTtHgwjX3wIsfqa6ASU5ld3RJksUdSx29 NBx/LI+4xx4gw550OwEWLdBeeQ4eA6e8jiOQ0oFe7hFivNIYujqq4Dl9kbOXtHIu2uyg 5chI5HTTL4HQEYokJauTRNgoyg4o7QVr6zWshuE054+ZautC5PZgOhV5A4Q9YBKn7Sh4 xj3KNuafMBpwhPMIdJEEYKqxfPEIfPdIdxnCwhlwuSoxJ74ekPYIoQCcVMwlX8E+duys O9cV8gvX4G8y9TJlpLVGaXlH/RlpBVPhUd1mxcCtYzpeB0k9pC4CkUZ9+Hf78eOjkyie hZmg== X-Gm-Message-State: AFqh2krpejwPOJx/yab6KHZ3e4sLxAGI95Rm/GULH1odeKdE8EnGRbqY Fz2ZASTYLd1s2SzHV8tzdufk9BrJzdoTn+jrJ+c= X-Google-Smtp-Source: AMrXdXuOzYpBb88Q+Pi1GfNmDDoMHawJ9p3O6ubxT6DDe6lhFszNOr6yNNOikoshC8KHDQGvjJPM+A== X-Received: by 2002:ac8:5ec5:0:b0:3a7:e7e7:566 with SMTP id s5-20020ac85ec5000000b003a7e7e70566mr10016504qtx.66.1671755820385; Thu, 22 Dec 2022 16:37:00 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-0489-d0bf-dcad-62f5.res6.spectrum.com. [2603:6081:7b00:6400:489:d0bf:dcad:62f5]) by smtp.gmail.com with ESMTPSA id l14-20020ac8148e000000b003996aa171b9sm1123851qtj.97.2022.12.22.16.36.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Dec 2022 16:37:00 -0800 (PST) Date: Thu, 22 Dec 2022 19:36:58 -0500 From: Tom Rini To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: u-boot@lists.denx.de Subject: Re: Broken commit d433c74eecdce1e4952ef4e8c712a9289c0dfcc2 Message-ID: <20221223003658.GP3787616@bill-the-cat> References: <20220805142124.6swsha6aj62f33e3@pali> <20221216215639.vj4kffhcresvamqp@pali> <20221222025415.GH3787616@bill-the-cat> <20221222074947.iqulzr3s77j5jbva@pali> <20221222142927.GK3787616@bill-the-cat> <20221222171306.2nzlippi6zcyhpiz@pali> <20221222173332.GM3787616@bill-the-cat> <20221222175640.kqtofoxaupfchfby@pali> <20221222182250.GO3787616@bill-the-cat> <20221222210242.opzl5qmregv6atyx@pali> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="j78uRJd+tBkXN2rP" Content-Disposition: inline In-Reply-To: <20221222210242.opzl5qmregv6atyx@pali> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean --j78uRJd+tBkXN2rP Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 22, 2022 at 10:02:42PM +0100, Pali Roh=E1r wrote: > On Thursday 22 December 2022 13:22:50 Tom Rini wrote: > > I suspect that how we fire up QEMU means that the issue you're > > noting isn't triggered since we don't boot it from flash but instead > > pass the binary. >=20 > Yes, this sounds like that problematic part is not tested. To spot this > issue some end-to-end test is needed... For flash setup - booting > directly from the qemu flash (execute in place) without initialized RAM > and letting u-boot to do it. For SD card setup - booting via BootROM > (like it is on the real HW). Seems that SD card BootROM is not available > on internet and no idea if it can be dumped from some Freescale CPU (it > is even legal to do it?). So some alternative bootrom implementation for > such testing is needed... which is lot of work. We do some things like this already, for other QEMU platforms (the flash_impl variable is set to the shell script to create a flash image) but, it's unlikely to be worth expending the effort here, the ROM QEMU uses here isn't the Freescale one, but from openhackware. --=20 Tom --j78uRJd+tBkXN2rP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmOk+CcACgkQFHw5/5Y0 tyyvHAv9FfZPmb6uiNGeLwWEuj5uxGgnv+MHiHvE9CPgnAgccxyFIwMjOkCciUcM CBPsMOeGZnXK3WJz8b9uzY8EkwZwYMPtGf0iWzDhSH4dtFPGvEoqbROLn0bheZFw 27Jgdge7ze0JSOdBp4HbYY6dnLuwsFdxdGubfBmmDO8Us4MS5K6W8zURjbakoL9M iKuQgcF8d6UJ37o5hRgwBWuvX0kL34QzlNL08jrUh4yJqYI4IH8vg+J3IltgZU5P z/B5JJPPDZmYuCgPtNwh4lU+eousfJzP1QnF4tBHRH8bEnpIHIHKHhtPeHS2BJ54 4acVq9dofNgtyryXbeSTkysUS/4hFdkoaGr91xSVs/xcJGWhSm3B5kqSDwTCEYt1 Ywd2i3Xau9dIdZMJvnrXBV0rTCFBU9qsac74mQK/oKVpzO9rKxMCvMoO+bMiWz+j t45uyjTzeEUZdUX/V6ceUBJ28xxYmnU4epqEsvMHovQxZkSIGodt6KAZ7N9mcVhQ svOy7MIV =zEuu -----END PGP SIGNATURE----- --j78uRJd+tBkXN2rP--