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 6741EC64EC7 for ; Wed, 1 Mar 2023 03:34:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1F8AA85BF8; Wed, 1 Mar 2023 04:34:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="NCOe+qRN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0B9E685C06; Wed, 1 Mar 2023 04:34:32 +0100 (CET) Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) (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 9C4BB85BF8 for ; Wed, 1 Mar 2023 04:34:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd2b.google.com with SMTP id b16so4876188iof.11 for ; Tue, 28 Feb 2023 19:34:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1677641667; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=H3aq0aHl7wxvxE7NRV9yvP+ciNX9ZgLxTEDSjQfjYko=; b=NCOe+qRNg+77Q4ysAnNGJ3u/g+J1SthqsPzqAnEtJIDH3tbdZFjZx3iemKUb0C/qZj srNzA68wpjGYkneYlVQaiozSDOPBbCwf7Rs10S1n3uXPbQWQ/EZ7uP2k8nNY4+ok0FAr 46SApNHSurqgqrF0RfSb2RGIcLojBjpgMa7as= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677641667; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=H3aq0aHl7wxvxE7NRV9yvP+ciNX9ZgLxTEDSjQfjYko=; b=OPpqn/CKeWF4Iq259MVniEtJ4askU2sej5GKa0OKdtFECu9kEXTrTYEmFCtExSqMKw PQpNTVRUJdmFl40KJMfF6pGFcoT/LAVqXNXAGdt3BH46RMNIjLrU5aSlx2g/8IQ/j7Oo 0GqtJq4Fc+VDwt5hmxaqXauc1b4Qyc8aXs9CUhQKchAJ/JUlJLg6P/BIFCCEqAwlrkiV PI7k3g9tU3oVAyaplWAeDEmAOfgcvaLhcbwyAIRIvILCj2ivKgaojN4oHAvwcsKdmv7w dgFCJNIcjLIXU0o4JG5bnJ/gqOkNfnU7unLSCfQzGOxdh7P93SrZqED19W+nrE0wPF8b /XHg== X-Gm-Message-State: AO0yUKWN5t/5ABegv2dNTXDQouW2gxy+Hte+drIi6Mm87TM8BEMy/8kd lVx7R52TLMzMWff05XWnEC3uPcNE+xyZYfo6 X-Google-Smtp-Source: AK7set8LE69NhI4v6DITx6YSwZ3VTCCDb9Ww3NjFDz/VbKJ3CYwsjD+GvorCtbEMeEmfnqzvSUE5Bg== X-Received: by 2002:a6b:ec08:0:b0:74c:c84a:5e12 with SMTP id c8-20020a6bec08000000b0074cc84a5e12mr3788353ioh.13.1677641667247; Tue, 28 Feb 2023 19:34:27 -0800 (PST) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id z15-20020a92da0f000000b003152eec4057sm3267134ilm.27.2023.02.28.19.34.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 19:34:26 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH 1/3] vbe: Use the correct image filename in the test Date: Tue, 28 Feb 2023 20:34:19 -0700 Message-Id: <20230301033421.2490995-2-sjg@chromium.org> X-Mailer: git-send-email 2.39.2.722.g9855ee24e9-goog In-Reply-To: <20230301033421.2490995-1-sjg@chromium.org> References: <20230301033421.2490995-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 At present this inadvertently relies on having a symlink to the correct file from the current directory. Use the correct path to fix this. Signed-off-by: Simon Glass --- test/py/tests/test_vbe_vpl.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/py/tests/test_vbe_vpl.py b/test/py/tests/test_vbe_vpl.py index d1c9d0548ae..ed12d3a4618 100644 --- a/test/py/tests/test_vbe_vpl.py +++ b/test/py/tests/test_vbe_vpl.py @@ -15,6 +15,7 @@ def test_vbe_vpl(u_boot_console): #cmd = [cons.config.build_dir + fname, '-v'] ram = os.path.join(cons.config.build_dir, 'ram.bin') fdt = os.path.join(cons.config.build_dir, 'arch/sandbox/dts/test.dtb') + image_fname = os.path.join(cons.config.build_dir, 'image.bin') # Enable firmware1 and the mmc that it uses. These are needed for the full # VBE flow. @@ -24,12 +25,13 @@ def test_vbe_vpl(u_boot_console): cons, f'fdtput -t s {fdt} /bootstd/firmware1 status okay') u_boot_utils.run_and_log( cons, f'fdtput -t s {fdt} /mmc3 status okay') + u_boot_utils.run_and_log( + cons, f'fdtput -t s {fdt} /mmc3 filename {image_fname}') # Remove any existing RAM file, so we don't have old data present if os.path.exists(ram): os.remove(ram) - flags = ['-p', os.path.join(cons.config.build_dir, 'image.bin'), '-w', - '-s', 'state.dtb'] + flags = ['-p', image_fname, '-w', '-s', 'state.dtb'] cons.restart_uboot_with_flags(flags) # Make sure that VBE was used in both VPL (to load SPL) and SPL (to load -- 2.39.2.722.g9855ee24e9-goog