diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-10-05 02:36:16 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-10-05 02:36:16 -0300 |
commit | 712d4814bd655fb3ed8b9af602158cc6923acae7 (patch) | |
tree | b63eec3ed93130964a8f84558347bbe0fe95202b /libre/uboot-cubox-i-linux-libre/check_dtbs_subdir_fix.patch | |
parent | 765e537cf6fa34b3cd9e099623e2552e21501877 (diff) |
uboot-cubox-i-linux-libre: add new package to [libre]
Diffstat (limited to 'libre/uboot-cubox-i-linux-libre/check_dtbs_subdir_fix.patch')
-rw-r--r-- | libre/uboot-cubox-i-linux-libre/check_dtbs_subdir_fix.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libre/uboot-cubox-i-linux-libre/check_dtbs_subdir_fix.patch b/libre/uboot-cubox-i-linux-libre/check_dtbs_subdir_fix.patch new file mode 100644 index 000000000..34d1ff46b --- /dev/null +++ b/libre/uboot-cubox-i-linux-libre/check_dtbs_subdir_fix.patch @@ -0,0 +1,23 @@ +diff -ruN a/include/configs/mx6_cubox-i.h b/include/configs/mx6_cubox-i.h +--- a/include/configs/mx6_cubox-i.h 2015-06-30 15:34:48.000000000 +0000 ++++ b/include/configs/mx6_cubox-i.h 2015-08-28 05:48:43.225896471 +0000 +@@ -176,6 +176,7 @@ + "bootfile=auto\0" \ +- "bootenv=uEnv.txt\0" \ ++ "bootenv=uboot-cubox-i-linux-libre/uEnv.txt\0" \ + "boot_prefixes=/ /boot/\0" \ ++ "fdtfile_prefix=dtbs/linux-libre\0" \ + "console=ttymxc0\0" \ + "splashpos=m,m\0" \ + "fdt_high=0xffffffff\0" \ +@@ -220,7 +221,9 @@ + "fi;\0" \ + "loadbootenv=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${file_prefix}${bootenv};\0" \ + "loadfdt=if test ${boottype} = mmc; then " \ +- "load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${file_prefix}${fdt_file}; " \ ++ "if load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${file_prefix}${fdt_file}; then; else " \ ++ "load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${file_prefix}${fdtfile_prefix}${fdt_file}; " \ ++ "fi; " \ + "else " \ + "${get_cmd} ${fdt_addr} ${fdt_file}; " \ + "fi;\0 " \ |