On Tue, Aug 06, 2013 at 02:05:05PM +0300, Oleksandr Tyshchenko wrote: > Add support to boot Linux directly from U-Boot SPL via eMMC > (or RAW SD Cards) and FAT SD Cards. Jump into full U-Boot if > a corresponding button is pressed. > > Also define new CONFIG_BOOTCOMMAND to add ability for full U-Boot > to boot Linux via eMMC (or RAW SD cards) and FAT SD Cards in > case of using CONFIG_SPL_OS_BOOT feature. Set MMCDEV_DEFAULT to 1 > in CONFIG_EXTRA_ENV_SETTINGS, since the target device is mmc1 (eMMC). > > Also enable the spl command in the full U-Boot so the kernel > parameter area snapshot can be created. > > Signed-off-by: Oleksandr Tyshchenko <oleksandr.tyshche...@ti.com>
My only question is: > @@ -43,9 +49,11 @@ > #endif > > /* ENV related config options */ > -#define CONFIG_ENV_IS_IN_MMC 1 > +#define CONFIG_ENV_IS_NOWHERE 1 /* for now */ > +#ifdef CONFIG_ENV_IS_IN_MMC > #define CONFIG_SYS_MMC_ENV_DEV 1 /* SLOT2: eMMC(1) */ > #define CONFIG_ENV_OFFSET 0xE0000 > +#endif > #define CONFIG_CMD_SAVEENV > > #define CONFIG_SYS_PROMPT "OMAP4430 SDP # " Why are we taking env in eMMC support away by default? Is this related to using the boot partitions? If so, shouldn't we re-work this to fit that use as well (maybe use the 2nd boot partition for env?). Thanks. -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot