summaryrefslogtreecommitdiffstats
path: root/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0002-colibri-vf-fix-mmc-boot.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-toradex-extras/recipes/u-boot/u-boot-toradex/0002-colibri-vf-fix-mmc-boot.patch')
-rw-r--r--meta-toradex-extras/recipes/u-boot/u-boot-toradex/0002-colibri-vf-fix-mmc-boot.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0002-colibri-vf-fix-mmc-boot.patch b/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0002-colibri-vf-fix-mmc-boot.patch
new file mode 100644
index 0000000..25476dd
--- /dev/null
+++ b/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0002-colibri-vf-fix-mmc-boot.patch
@@ -0,0 +1,14 @@
1diff -Naur git.orig/include/configs/colibri_vf.h git/include/configs/colibri_vf.h
2--- git.orig/include/configs/colibri_vf.h 2016-07-15 12:05:41.263873456 +0300
3+++ git/include/configs/colibri_vf.h 2016-07-15 12:06:19.759874976 +0300
4@@ -161,8 +161,8 @@
5 "sdargs=root=/dev/mmcblk0p2 rw rootwait\0" \
6 "sdboot=run setup; setenv bootargs ${defargs} ${sdargs} " \
7 "${setupargs} ${vidargs}; echo Booting from MMC/SD card...; " \
8- "load mmc 0:2 ${kernel_addr_r} /boot/${kernel_file} && " \
9- "load mmc 0:2 ${fdt_addr_r} /boot/${soc}-colibri-${fdt_board}.dtb && " \
10+ "load mmc 0:1 ${kernel_addr_r} /${kernel_file} && " \
11+ "load mmc 0:1 ${fdt_addr_r} /${soc}-colibri-${fdt_board}.dtb && " \
12 "run fdt_fixup && bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \
13
14 #define NFS_BOOTCMD \