From: "Pali Rohár" <pali@kernel.org>
To: u-boot@lists.denx.de
Subject: [PATCH 5/9] Nokia RX-51: Call bootm in test script only when image is valid
Date: Sun, 4 Sep 2022 03:29:02 +0200 [thread overview]
Message-ID: <20220904012906.17718-6-pali@kernel.org> (raw)
In-Reply-To: <20220904012906.17718-1-pali@kernel.org>
When reading of image fails then do not call bootm. This prevents false
positive test result in case something bootable is present in memory.
Signed-off-by: Pali Rohár <pali@kernel.org>
---
test/nokia_rx51_test.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/nokia_rx51_test.sh b/test/nokia_rx51_test.sh
index abd1712fd791..d2417a98bf08 100755
--- a/test/nokia_rx51_test.sh
+++ b/test/nokia_rx51_test.sh
@@ -180,7 +180,7 @@ EOF
# Generate bootmenu for OneNAND booting
cat > bootmenu_nand << EOF
-setenv bootmenu_0 'uImage-2.6.28-omap1 from OneNAND=mtd read initfs \${kernaddr}; setenv bootargs; setenv setup_omap_atag 1; bootm \${kernaddr}';
+setenv bootmenu_0 'uImage-2.6.28-omap1 from OneNAND=setenv bootargs; setenv setup_omap_atag 1; mtd read initfs \${kernaddr} && bootm \${kernaddr}';
setenv bootmenu_1;
setenv bootmenu_delay 1;
setenv bootdelay 1;
--
2.20.1
next prev parent reply other threads:[~2022-09-04 1:30 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-04 1:28 [PATCH 0/9] Nokia RX-51: Small cleanups and UBI boot test case Pali Rohár
2022-09-04 1:28 ` [PATCH 1/9] Nokia RX-51: Remove label copy_kernel_start from lowlevel_init.S Pali Rohár
2022-09-15 21:54 ` Tom Rini
2022-09-04 1:28 ` [PATCH 2/9] Nokia RX-51: Do not clear unknown memory in lowlevel_init.S Pali Rohár
2022-09-15 21:54 ` Tom Rini
2022-09-04 1:29 ` [PATCH 3/9] Nokia RX-51: Set default SYS_LOAD_ADDR to 0x80008000 Pali Rohár
2022-09-15 21:54 ` Tom Rini
2022-09-04 1:29 ` [PATCH 4/9] Nokia RX-51: Change UBIFS volume size to 1870 LEBs in test script Pali Rohár
2022-09-15 21:55 ` Tom Rini
2022-09-04 1:29 ` Pali Rohár [this message]
2022-09-15 21:55 ` [PATCH 5/9] Nokia RX-51: Call bootm in test script only when image is valid Tom Rini
2022-09-04 1:29 ` [PATCH 6/9] Nokia RX-51: Fix documentation how to enable UBI support Pali Rohár
2022-09-15 21:55 ` Tom Rini
2022-09-04 1:29 ` [PATCH 7/9] Nokia RX-51: Do not set useless ARCH= in test script Pali Rohár
2022-09-15 21:55 ` Tom Rini
2022-09-04 1:29 ` [PATCH 8/9] Nokia RX-51: Add comment describing kernel image type into " Pali Rohár
2022-09-15 21:55 ` Tom Rini
2022-09-04 1:29 ` [PATCH 9/9] Nokia RX-51: Add booting from UBI " Pali Rohár
2022-09-15 18:34 ` Tom Rini
2022-09-15 18:57 ` Pali Rohár
2022-09-15 18:59 ` [PATCH v2] " Pali Rohár
2022-09-15 21:55 ` Tom Rini
2022-09-04 3:01 ` [PATCH 0/9] Nokia RX-51: Small cleanups and UBI boot test case Tony Dinh
2022-09-04 9:37 ` Pali Rohár
2022-09-04 19:28 ` Tony Dinh
2022-09-04 19:56 ` Tony Dinh
2022-09-04 21:58 ` Daniel Golle
2022-09-04 22:10 ` Pali Rohár
2022-09-05 21:35 ` Tony Dinh
2022-09-19 11:12 ` Alexander Dahl
2022-09-19 11:23 ` Pali Rohár
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220904012906.17718-6-pali@kernel.org \
--to=pali@kernel.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.