[meta-freescale] [u-boot-fslc][PATCH] embestmx6boards: Change default bootenv configuration
Daiane Angolini
daiane.list at gmail.com
Wed Oct 22 05:16:09 PDT 2014
On Wed, Oct 22, 2014 at 9:29 AM, Gary Thomas <gary at mlbassoc.com> wrote:
> On 2014-10-22 04:53, Daiane Angolini wrote:
>>
>> Change CONFIG_MMCROOT and CONFIG_SYS_MMC_ENV_DEV in
>> order to have a smooth boot process with sdcard image
>> built from meta-fsl-arm-extra.
>>
>> Signed-off-by: Daiane Angolini <daiane.angolini at freescale.com>
>> ---
>> include/configs/embestmx6boards.h | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/include/configs/embestmx6boards.h
>> b/include/configs/embestmx6boards.h
>> index 185edbe..4005fe9 100644
>> --- a/include/configs/embestmx6boards.h
>> +++ b/include/configs/embestmx6boards.h
>> @@ -23,7 +23,7 @@
>>
>> #define CONFIG_MXC_UART_BASE UART2_BASE
>> #define CONFIG_CONSOLE_DEV "ttymxc1"
>> -#define CONFIG_MMCROOT "/dev/mmcblk1p2"
>> +#define CONFIG_MMCROOT "/dev/mmcblk0p2"
>>
>> #define PHYS_SDRAM_SIZE (1u * 1024 * 1024 * 1024)
>>
>> @@ -297,7 +297,7 @@
>> /* RiOTboard */
>> #define CONFIG_DEFAULT_FDT_FILE "imx6dl-riotboard.dtb"
>> #define CONFIG_SYS_FSL_USDHC_NUM 3
>> -#define CONFIG_SYS_MMC_ENV_DEV 2 /* SDHC4 */
>> +#define CONFIG_SYS_MMC_ENV_DEV 0 /* SDHC4 */
>
>
> Shouldn't you update this comment to reflect the appropriate SD
> controller, or was it incorrect before?
You should be right. I´m going to double check and send v2. Thanks
Daiane
>
>> #define CONFIG_ENV_OFFSET (6 * 64 * 1024)
>> #define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
>> #elif defined(CONFIG_ENV_IS_IN_SPI_FLASH)
>>
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
More information about the meta-freescale
mailing list