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 10086C761AF for ; Sun, 2 Apr 2023 02:02:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C7BF185ABA; Sun, 2 Apr 2023 04:02:07 +0200 (CEST) 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="gL9yLYEy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 95D1D80ADE; Sun, 2 Apr 2023 04:01:52 +0200 (CEST) Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) (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 51E7C80ADE for ; Sun, 2 Apr 2023 04:01:46 +0200 (CEST) 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-pl1-x62b.google.com with SMTP id le6so24949899plb.12 for ; Sat, 01 Apr 2023 19:01:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1680400904; 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=zRX5BAW5l1afOhwXypKCDC2pVFv84t4m9b1oVgb+/8o=; b=gL9yLYEypay5HaD/496d1ldSk1yCU2xpWonmnD0G2ZjJAoIlRJKzbSuDlIY63W2qC7 9nSj4Oa3BcxY+h1D7q3NsmrO/Sh3b1867BmhTddUjSOdgaGRuT6V/FhbX5geT5cBjz94 oW4154+ftgR6VX+bomL+A1CrlKrumdZuy4ccU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680400904; 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=zRX5BAW5l1afOhwXypKCDC2pVFv84t4m9b1oVgb+/8o=; b=JSfc8KB0FCHjcIfmSXbAF9otaFt1akYi1CSGsUMZ9eRM8HWRr2CtDeNWx96gErf8l8 84t8zr8DfnsfvaWCeseXLrOujOmHj5hBkrGU4vkrX30x6AkG1u/yf9MrgTEA/1pP2eQp v9Er7LCJyztVhbFAiYqZaLRLroJd/9SMleRTxTkaNYAAoiui7kZdVfPN0SFm5FScLcAP 1F8okFTV7BNLyInTvszv0bXdLFy3ycvnqSaxmeQG/+xOuiIXOIUFHtUE7SHwY1vbkbMA KK3CS1GmVCKcLUUtvjO3eYg5cZhzSwHvsnk1YokVOHo1cCAUSphhdp2bW3/+I+CJdfe9 iSNw== X-Gm-Message-State: AAQBX9fnBfgU7GeSbJR2qM1s3ir477qPSaJhiCtHYfvAzIJLiWApHmxO n8va3KsBKrh+qjMfwCH77OLut9cz4RAhlqYd+kk= X-Google-Smtp-Source: AKy350bYjLjuUO+JdHEwIn8e7L4fpwfD6hfkMDWSqUJoj/wGGVaTFP1JqjXK+wdiRy8ncYRN4AaCLg== X-Received: by 2002:a17:903:24d:b0:19e:ecaf:c4b4 with SMTP id j13-20020a170903024d00b0019eecafc4b4mr38990702plh.4.1680400904295; Sat, 01 Apr 2023 19:01:44 -0700 (PDT) Received: from localhost.localdomain ([27.110.126.54]) by smtp.gmail.com with ESMTPSA id ja5-20020a170902efc500b00199203a4fa3sm3950342plb.203.2023.04.01.19.01.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Apr 2023 19:01:43 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 2/4] vbe: Use the correct image filename in the test Date: Sun, 2 Apr 2023 14:01:25 +1200 Message-Id: <20230402020127.2307419-2-sjg@chromium.org> X-Mailer: git-send-email 2.40.0.348.gf938b09366-goog In-Reply-To: <20230402020127.2307419-1-sjg@chromium.org> References: <20230402020127.2307419-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.8 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 --- (no changes since v1) 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 d1c9d0548ae0..ed12d3a46186 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.40.0.348.gf938b09366-goog