summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-09-28 14:31:49 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-09-28 15:48:13 +0200
commit3c7a83614b6ec9a1dd76c2313d17343b17f4eeb0 (patch)
treecc058dbc085b7b7c5a5c65a602c8541c411b5ccb
parent4780974715a682c72e0a21741a20a1cf4412fa91 (diff)
colibri_t20: fix sdboot
Currently, the Colibri T20 sdboot variable tries to load the kernel from the second MMC/SD device instance. However, given the Colibri T20 having on-module NAND flash the MMC/SD card is actually the primary instance. Fix this to load the kernel and device tree from the first (typically FAT) partition of the MMC/SD card as customary on all Toradex modules. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Philippe Schenker <philippe.schenker@toradex.com>
-rw-r--r--include/configs/colibri_t20.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h
index 71d253f3f3..6f53454baf 100644
--- a/include/configs/colibri_t20.h
+++ b/include/configs/colibri_t20.h
@@ -120,9 +120,9 @@
"rootwait\0" \
"sdboot=run setup; setenv bootargs ${defargs} ${mtdparts} ${sdargs} " \
"${setupargs} ${vidargs}; echo Booting from SD card...; " \
- "run sddtbload; load mmc 1:1 ${kernel_addr_r} ${boot_file} " \
+ "run sddtbload; load mmc 0:1 ${kernel_addr_r} ${boot_file} " \
"&& run fdt_fixup && bootz ${kernel_addr_r} - ${dtbparam}\0" \
- "sddtbload=setenv dtbparam; load mmc 1:1 ${fdt_addr_r} " \
+ "sddtbload=setenv dtbparam; load mmc 0:1 ${fdt_addr_r} " \
"${soc}-colibri-${fdt_board}.dtb " \
"&& setenv dtbparam ${fdt_addr_r}\0"