[U-Boot] [PATCH] ARM: mx6: Enable MMC FS boot support

Peng Fan van.freenix at gmail.com
Thu Apr 28 04:24:55 CEST 2016


Hi Marek,

On Thu, Apr 28, 2016 at 01:06:07AM +0200, Marek Vasut wrote:
>Enable support for booting U-Boot image from filesystem instead of some
>random offset on the SD card. This makes the board usable by putting the
>u-boot.img to first partition of the SD card and writing the SPL this way:
>$ dd if=u-boot-with-spl.imx of=/dev/sdX seek=2 bs=512

I once want to enable this for i.MX6UL, but was rejected.
Anyway I prefer load u-boot.img from filesystem.

>
>Signed-off-by: Marek Vasut <marex at denx.de>
>Cc: Stefano Babic <sbabic at denx.de>

Acked-by: Peng Fan <van.freenix at gmail.com>

Regards,
Peng.
>---
> include/configs/wandboard.h | 2 ++
> 1 file changed, 2 insertions(+)
>
>diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h
>index 99f5c0c..fbce730 100644
>--- a/include/configs/wandboard.h
>+++ b/include/configs/wandboard.h
>@@ -14,6 +14,8 @@
> 
> #define CONFIG_SPL_LIBCOMMON_SUPPORT
> #define CONFIG_SPL_MMC_SUPPORT
>+#define CONFIG_SPL_FAT_SUPPORT
>+#define CONFIG_SPL_EXT_SUPPORT
> #include "imx6_spl.h"
> 
> #define MACH_TYPE_WANDBOARD		4412
>-- 
>2.7.0
>
>_______________________________________________
>U-Boot mailing list
>U-Boot at lists.denx.de
>http://lists.denx.de/mailman/listinfo/u-boot


More information about the U-Boot mailing list