Goodmorning everybody,
I'm using GEA M6425 module with an i.MX257 uC. My bootloader u-boot is version 2009 (reported in Makefile).
I have "mmcinit" command, but I haven't got "mmc read" or "mmc write" commands. How to enable them?
Note, in my include/configs/mx25_3stack.h file I enabled:
#define CONFIG_FSL_MMC
#define CONFIG_MMC
#define CONFIG_CMD_MMC
#define CONFIG_DOS_PARTITION
#define CONFIG_CMD_FAT
#define CONFIG_MMC_BASE 0x0
Kind regards
Solved! Go to Solution.
Yes, you're right,
As I wrote above, the minum version with MMC dircet acces is 2009.03. I should update my u-boot, but this requires a porting of several propertary drivers board-dependent. So, I need to find another way.
You could use U-boot 2013.07 instead. It supports 'mmc read/write' by default on mx25pdk.
Yes, you're right,
As I wrote above, the minum version with MMC dircet acces is 2009.03. I should update my u-boot, but this requires a porting of several propertary drivers board-dependent. So, I need to find another way.
Hello,aldobiziak,
Please add a line in mx25_3stack.h file:
/*
* MMC Configs
* */
#ifdef CONFIG_CMD_MMC
#define CONFIG_MMC 1
#define CONFIG_GENERIC_MMC
#define CONFIG_IMX_MMC
#define CONFIG_SYS_FSL_ESDHC_NUM 2
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
#define CONFIG_SYS_MMC_ENV_DEV 0
#define CONFIG_IMX_ESDHC_V1
#define CONFIG_DOS_PARTITION 1
#define CONFIG_CMD_FAT 1
#define CONFIG_BOOT_PARTITION_ACCESS
#endif
Try it ,please !
Regards,
Weidong
Hello Weidong,
I tried to add CONFIG_BOOT_PARTITION_ACCESS and the other options, but They aren't available on u-boot 2009.01 . Probably the only one soution is to update my u-boot to 2009.03 version. This is the minimum version with MMC direct access.