summaryrefslogtreecommitdiffstats
path: root/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-Update-default-args-for-apalis-imx6.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-Update-default-args-for-apalis-imx6.patch')
-rw-r--r--meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-Update-default-args-for-apalis-imx6.patch57
1 files changed, 0 insertions, 57 deletions
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-Update-default-args-for-apalis-imx6.patch b/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-Update-default-args-for-apalis-imx6.patch
deleted file mode 100644
index b7c7d63..0000000
--- a/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-Update-default-args-for-apalis-imx6.patch
+++ /dev/null
@@ -1,57 +0,0 @@
1From 94531a3ecaea073316b9e4c341085ce5e277bd9f Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@digia.com>
3Date: Mon, 27 Oct 2014 14:53:25 +0200
4Subject: [PATCH] Update default args for apalis imx6
5
6Boot from sd card by default, disable kernel logs from tty1, and
7disable cursor blinking.
8---
9 include/configs/apalis_imx6.h | 15 ++++++++-------
10 1 file changed, 8 insertions(+), 7 deletions(-)
11
12diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
13index e7d0d20..a1d425d 100644
14--- a/include/configs/apalis_imx6.h
15+++ b/include/configs/apalis_imx6.h
16@@ -251,14 +251,14 @@
17 "&& setenv dtbparam \" - ${fdt_addr_r}\" && true\0"
18
19 #define SD_BOOTCMD \
20- "sdargs=ip=off root=/dev/mmcblk1p2 rw,noatime rootfstype=ext3 " \
21- "rootwait\0" \
22+ "drive=2\0" \
23 "sdboot=run setup; " \
24- "setenv bootargs ${defargs} ${sdargs} ${setupargs} " \
25+ "setenv bootargs ${defargs} ip=off root=/dev/mmcblk${drive}p2 " \
26+ "rw,noatime rootfstype=ext3 rootwait ${setupargs} " \
27 "${vidargs}; echo Booting from SD card in 8-bit slot...; " \
28- "run sddtbload; load mmc 1:1 ${kernel_addr_r} " \
29+ "run sddtbload; load mmc ${drive}:1 ${kernel_addr_r} " \
30 "${boot_file} && bootm ${kernel_addr_r} ${dtbparam}\0" \
31- "sddtbload=setenv dtbparam; load mmc 1:1 ${fdt_addr_r} " \
32+ "sddtbload=setenv dtbparam; load mmc ${drive}:1 ${fdt_addr_r} " \
33 "${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && true\0"
34
35 #define USB_BOOTCMD \
36@@ -278,7 +278,8 @@
37 #define FDT_FILE "imx6q-apalis_v1_0-eval.dtb"
38 #endif
39 #define CONFIG_EXTRA_ENV_SETTINGS \
40- "bootcmd=run emmcboot ; echo ; echo emmcboot failed ; " \
41+ "bootcmd=run sdboot ; echo ; echo sdboot failed ; " \
42+ "run emmcboot ; echo ; echo emmcboot failed ; " \
43 "run nfsboot ; echo ; echo nfsboot failed ; " \
44 "usb start ;" \
45 "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \
46@@ -299,7 +300,7 @@
47 "|| setenv drive 2; load ${interface} ${drive}:1 " \
48 "${kernel_addr_r} flash_blk.img\0" \
49 "setup=setenv setupargs fec_mac=${ethaddr} " \
50- "consoleblank=0 no_console_suspend=1 console=tty1 " \
51+ "consoleblank=0 no_console_suspend=1 vt.global_cursor_default=0 " \
52 "console=${console},${baudrate}n8\0 " \
53 "setupdate=run setsdupdate || run setusbupdate || run setethupdate;" \
54 " source ${kernel_addr_r}\0" \
55--
561.9.1
57