diff options
Diffstat (limited to 'meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-colibri-imx6-enable-sdboot-by-default.patch')
-rw-r--r-- | meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-colibri-imx6-enable-sdboot-by-default.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-colibri-imx6-enable-sdboot-by-default.patch b/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-colibri-imx6-enable-sdboot-by-default.patch new file mode 100644 index 0000000..0743128 --- /dev/null +++ b/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-colibri-imx6-enable-sdboot-by-default.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 10ebeba59e6fd25352aa44ecd85913126ec45afe Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> | ||
3 | Date: Wed, 24 Feb 2016 15:39:52 +0200 | ||
4 | Subject: [PATCH] colibri imx6: enable sdboot by default | ||
5 | |||
6 | remove console from tty1 | ||
7 | --- | ||
8 | include/configs/colibri_imx6.h | 5 +++-- | ||
9 | 1 file changed, 3 insertions(+), 2 deletions(-) | ||
10 | |||
11 | diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h | ||
12 | index c545334..eb0dfa9 100644 | ||
13 | --- a/include/configs/colibri_imx6.h | ||
14 | +++ b/include/configs/colibri_imx6.h | ||
15 | @@ -242,7 +242,8 @@ | ||
16 | |||
17 | #define FDT_FILE "imx6dl-colibri-eval-v3.dtb" | ||
18 | #define CONFIG_EXTRA_ENV_SETTINGS \ | ||
19 | - "bootcmd=run emmcboot ; echo ; echo emmcboot failed ; " \ | ||
20 | + "bootcmd=run sdboot ; echo ; echo sdboot failed ; " \ | ||
21 | + "run emmcboot ; echo ; echo emmcboot failed ; " \ | ||
22 | "run nfsboot ; echo ; echo nfsboot failed ; " \ | ||
23 | "usb start ;" \ | ||
24 | "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \ | ||
25 | @@ -261,7 +262,7 @@ | ||
26 | "setsdupdate=setenv interface mmc; setenv drive 1; mmc rescan; " \ | ||
27 | "load ${interface} ${drive}:1 ${kernel_addr_r} flash_blk.img\0" \ | ||
28 | "setup=setenv setupargs fec_mac=${ethaddr} " \ | ||
29 | - "consoleblank=0 no_console_suspend=1 console=tty1 " \ | ||
30 | + "consoleblank=0 no_console_suspend=1 " \ | ||
31 | "console=${console},${baudrate}n8\0 " \ | ||
32 | "setupdate=run setsdupdate || run setusbupdate || run setethupdate;" \ | ||
33 | " source ${kernel_addr_r}\0" \ | ||
34 | -- | ||
35 | 1.9.1 | ||
36 | |||