diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-02-24 00:56:40 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-02-24 00:56:40 -0300 |
commit | 7fb550684b5eca45e75575e265b17ec9db1384b8 (patch) | |
tree | db1f8ee43b22e764ce5289572374b60c4ccf76a1 /libre-testing/uboot-udoo/0001-parabola-arm-modifications.patch | |
parent | 1bb82c08642b54b742968bcb141c14cc2365c967 (diff) | |
download | abslibre-7fb550684b5eca45e75575e265b17ec9db1384b8.tar.gz abslibre-7fb550684b5eca45e75575e265b17ec9db1384b8.tar.bz2 abslibre-7fb550684b5eca45e75575e265b17ec9db1384b8.zip |
uboot-udoo: add new package to [libre-testing]
Diffstat (limited to 'libre-testing/uboot-udoo/0001-parabola-arm-modifications.patch')
-rw-r--r-- | libre-testing/uboot-udoo/0001-parabola-arm-modifications.patch | 40 |
1 files changed, 40 insertions, 0 deletions
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 <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 " \ |