On Mon, May 13, 2013 at 08:36:24PM +0200, Peter Korsgaard wrote:
> This patch series adds falcon boot mode for MMC (raw and FAT), similar to
> the existing nand support.
>
> As an example, it adds falcon boot support for the am335x evm board, which
> is the platform that has been used to test the series (FAT and raw).
>
> Changes since V2:
> - Drop RFC and adjust am335x nand MTDPARTS_DEFAULT settings according to
> Tom Rini's feedback.
>
> Changes since V1:
> - Adjusted am335x parameters according to Tom Rini's feedback. Added spl
> command for easy kernel parameter area snapshot creation.
>
>
> Peter Korsgaard (6):
> spl_mmc: return error from mmc_load_image_{raw,fat} rather than
> hanging
> spl_mmc: mmc_load_image_fat(): Add filename argument and move fat
> init out
> spl_mmc: add Falcon mode support for FAT variant
> spl_mmc: mmc_load_image_raw(): Add sector argument
> spl_mmc: add Falcon mode support for raw variant
> am335x: enable falcon boot mode for mmc (raw and fat) and nand
>
> README | 18 +++++++++
> board/ti/am335x/board.c | 9 +++++
> drivers/mmc/spl_mmc.c | 91
> ++++++++++++++++++++++++++++++------------
> include/configs/am335x_evm.h | 30 ++++++++++++--
> 4 files changed, 119 insertions(+), 29 deletions(-)Applied to u-boot/master, with the following additional patch: From b6144dfce98c6a893a411052256b81b5afc6e5c4 Mon Sep 17 00:00:00 2001 From: Tom Rini <[email protected]> Date: Fri, 7 Jun 2013 14:16:43 -0400 Subject: [PATCH 1/1] devkit8000: Add SPL_OS for MMC support Signed-off-by: Tom Rini <[email protected]> --- include/configs/devkit8000.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h index 788227d..3b74d7c 100644 --- a/include/configs/devkit8000.h +++ b/include/configs/devkit8000.h @@ -360,6 +360,14 @@ #define CONFIG_CMD_SPL_NAND_OFS (CONFIG_SYS_NAND_SPL_KERNEL_OFFS+\ 0x400000) #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x280000 + +#define CONFIG_SPL_FAT_LOAD_KERNEL_NAME "uImage" +#define CONFIG_SPL_FAT_LOAD_ARGS_NAME "args" + +#define CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR 0x500 /* address 0xa0000 */ +#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x8 /* address 0x1000 */ +#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 8 /* 4KB */ + #define CONFIG_SYS_SPL_ARGS_ADDR (PHYS_SDRAM_1 + 0x100) #endif /* __CONFIG_H */ -- 1.7.9.5 Otherwise this series breaks building of devkit8000. -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

