blob: d2bf83216d844af1995e89d4c0802a2262fbe229 (
plain)
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
|
diff -Nur u-boot-2015.01.orig/include/configs/udoo.h u-boot-2015.01/include/configs/udoo.h
--- u-boot-2015.01.orig/include/configs/udoo.h 2015-01-12 12:39:08.000000000 -0200
+++ u-boot-2015.01/include/configs/udoo.h 2016-02-24 00:50:18.771357005 -0300
@@ -98,9 +98,14 @@
#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
-#define CONFIG_DEFAULT_FDT_FILE "imx6q-udoo.dtb"
+/* Enable extlinux boot support */
+#define CONFIG_CMD_PXE
+#define CONFIG_MENU
+#define BOOT_TARGET_DEVICES(func)
+#include <config_distro_bootcmd.h>
#define CONFIG_EXTRA_ENV_SETTINGS \
+ BOOTENV \
"script=boot.scr\0" \
"image=zImage\0" \
"console=ttymxc1\0" \
@@ -111,9 +116,11 @@
"fdt_addr=0x18000000\0" \
"boot_fdt=try\0" \
"ip_dyn=yes\0" \
+ "devtype=mmc\0" \
+ "devnum=0\0" \
"mmcdev=0\0" \
"mmcpart=1\0" \
- "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
+ "mmcroot=/dev/mmcblk0p1 rw rootwait\0" \
"update_sd_firmware_filename=u-boot.imx\0" \
"update_sd_firmware=" \
"if test ${ip_dyn} = yes; then " \
@@ -178,6 +185,7 @@
#define CONFIG_BOOTCOMMAND \
"mmc dev ${mmcdev}; if mmc rescan; then " \
+ "run scan_dev_for_boot;" \
"if run loadbootscript; then " \
"run bootscript; " \
"else " \
|