From 7fb550684b5eca45e75575e265b17ec9db1384b8 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 24 Feb 2016 00:56:40 -0300 Subject: uboot-udoo: add new package to [libre-testing] --- .../0001-parabola-arm-modifications.patch | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 libre-testing/uboot-udoo/0001-parabola-arm-modifications.patch (limited to 'libre-testing/uboot-udoo/0001-parabola-arm-modifications.patch') diff --git a/libre-testing/uboot-udoo/0001-parabola-arm-modifications.patch b/libre-testing/uboot-udoo/0001-parabola-arm-modifications.patch new file mode 100644 index 000000000..d2bf83216 --- /dev/null +++ b/libre-testing/uboot-udoo/0001-parabola-arm-modifications.patch @@ -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 + + #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 " \ -- cgit v1.2.3