mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
Nokia RX-51: Call bootm in test script only when image is valid
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>
This commit is contained in:
parent
fd986d6021
commit
7506965885
@ -180,7 +180,7 @@ EOF
|
|||||||
|
|
||||||
# Generate bootmenu for OneNAND booting
|
# Generate bootmenu for OneNAND booting
|
||||||
cat > bootmenu_nand << EOF
|
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_1;
|
||||||
setenv bootmenu_delay 1;
|
setenv bootmenu_delay 1;
|
||||||
setenv bootdelay 1;
|
setenv bootdelay 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user