1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
From 74ffd57e80fd3f4e2d2d0b60e42a3b570aeb9c97 Mon Sep 17 00:00:00 2001
From: Samuli Piippo <samuli.piippo@qt.io>
Date: Mon, 15 May 2017 15:31:36 +0300
Subject: [PATCH] Make sdboot default on all boards
... and remove console=tty1 from kernel args
---
include/configs/apalis_imx6.h | 5 +++--
include/configs/colibri_imx6.h | 5 +++--
include/configs/colibri_imx7.h | 2 +-
include/configs/colibri_vf.h | 2 +-
4 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
index fa40c629c3..ad0284de8a 100644
--- a/include/configs/apalis_imx6.h
+++ b/include/configs/apalis_imx6.h
@@ -177,8 +177,9 @@
#ifdef CONFIG_TDX_EASY_INSTALLER
#define CONFIG_BOOTCOMMAND "run distro_bootcmd"
#else
-#define CONFIG_BOOTCOMMAND "run emmcboot; echo; echo emmcboot failed; " \
- "run distro_bootcmd; usb start; " \
+#define CONFIG_BOOTCOMMAND "run sdboot; echo; echo sdboot failed; " \
+ "run emmcboot; echo; echo emmcboot failed; " \
+ "run distro_bootcmd; usb start; " \
"setenv stdout serial,vga; setenv stdin serial,usbkbd"
#endif
diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h
index fda171bd9e..df49efc9ef 100644
--- a/include/configs/colibri_imx6.h
+++ b/include/configs/colibri_imx6.h
@@ -157,8 +157,9 @@
#ifdef CONFIG_TDX_EASY_INSTALLER
#define CONFIG_BOOTCOMMAND "run distro_bootcmd"
#else
-#define CONFIG_BOOTCOMMAND "run emmcboot; echo; echo emmcboot failed; " \
- "run distro_bootcmd; usb start; " \
+#define CONFIG_BOOTCOMMAND "run sdboot; echo; echo sdboot failed; " \
+ "run emmcboot ; echo ; echo emmcboot failed ; " \
+ "run distro_bootcmd; usb start; " \
"setenv stdout serial,vga; setenv stdin serial,usbkbd"
#endif
diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h
index 6c91951878..4200512fea 100644
--- a/include/configs/colibri_imx7.h
+++ b/include/configs/colibri_imx7.h
@@ -128,7 +128,7 @@
#define CONFIG_BOOTCOMMAND "setenv fdtfile ${soc}-colibri-${fdt_board}.dtb && " \
"run bootcmd_mmc0; run ubiboot; run distro_bootcmd"
#else
-#define CONFIG_BOOTCOMMAND "run ubiboot; " \
+#define CONFIG_BOOTCOMMAND "run sdboot; run ubiboot; " \
"setenv fdtfile ${soc}-colibri-${fdt_board}.dtb && run distro_bootcmd"
#endif
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index 0579bfdc4e..65a5dada5f 100644
--- a/include/configs/colibri_vf.h
+++ b/include/configs/colibri_vf.h
@@ -155,7 +155,7 @@
"ubi read ${fdt_addr_r} dtb && " \
"run fdt_fixup && bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \
-#define CONFIG_BOOTCOMMAND "run ubiboot; " \
+#define CONFIG_BOOTCOMMAND "run sdboot; run ubiboot; " \
"setenv fdtfile ${soc}-colibri-${fdt_board}.dtb && run distro_bootcmd;"
#define BOOTENV_RUN_NET_USB_START ""
|