summaryrefslogtreecommitdiff
path: root/libre-testing/uboot-udoo/0001-parabola-arm-modifications.patch.testing1
diff options
context:
space:
mode:
Diffstat (limited to 'libre-testing/uboot-udoo/0001-parabola-arm-modifications.patch.testing1')
-rw-r--r--libre-testing/uboot-udoo/0001-parabola-arm-modifications.patch.testing140
1 files changed, 40 insertions, 0 deletions
diff --git a/libre-testing/uboot-udoo/0001-parabola-arm-modifications.patch.testing1 b/libre-testing/uboot-udoo/0001-parabola-arm-modifications.patch.testing1
new file mode 100644
index 000000000..d2bf83216
--- /dev/null
+++ b/libre-testing/uboot-udoo/0001-parabola-arm-modifications.patch.testing1
@@ -0,0 +1,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 " \