From 3c7a83614b6ec9a1dd76c2313d17343b17f4eeb0 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Fri, 28 Sep 2018 14:31:49 +0200 Subject: 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 Acked-by: Philippe Schenker --- include/configs/colibri_t20.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/configs') 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" -- cgit v1.2.3