[PATCH] configs: omap3_logic: Enable CONFIG_SPL_ALLOC_BD

Adam Ford aford173 at gmail.com
Sat Mar 13 16:34:40 CET 2021


On Thu, Mar 4, 2021 at 10:32 AM Adam Ford <aford173 at gmail.com> wrote:
>
> With bd_info dropped from the data section, the Logic PD OMAP3 boards
> and AM3517 fail to boot. Enabling CONFIG_SPL_ALLOC_BD restores
> them.
>
> Fixes: 38d6b7ebdaee ("spl: Drop bd_info in the data section")
> Signed-off-by: Adam Ford <aford173 at gmail.com>
>

With the pending 2021.04 release coming soon, we need this patch
applied or the boards won't boot.  Any chance they can be applied
before the release?

thanks

adam

> diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig
> index bae0e0af35..0bc7bf74f9 100644
> --- a/configs/am3517_evm_defconfig
> +++ b/configs/am3517_evm_defconfig
> @@ -15,6 +15,7 @@ CONFIG_DEFAULT_DEVICE_TREE="am3517-evm"
>  CONFIG_DISTRO_DEFAULTS=y
>  CONFIG_BOOTDELAY=10
>  # CONFIG_USE_BOOTCOMMAND is not set
> +CONFIG_SPL_ALLOC_BD=y
>  CONFIG_SPL_SYS_MALLOC_SIMPLE=y
>  CONFIG_SPL_SEPARATE_BSS=y
>  # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
> diff --git a/configs/omap35_logic_defconfig b/configs/omap35_logic_defconfig
> index ec0ba110b8..fa751e3bf0 100644
> --- a/configs/omap35_logic_defconfig
> +++ b/configs/omap35_logic_defconfig
> @@ -19,6 +19,7 @@ CONFIG_USE_PREBOOT=y
>  CONFIG_PREBOOT="setenv preboot;saveenv;"
>  CONFIG_DEFAULT_FDT_FILE="logicpd-torpedo-35xx-devkit.dtb"
>  CONFIG_SYS_CONSOLE_INFO_QUIET=y
> +CONFIG_SPL_ALLOC_BD=y
>  CONFIG_SPL_SYS_MALLOC_SIMPLE=y
>  CONFIG_SPL_SEPARATE_BSS=y
>  # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
> diff --git a/configs/omap35_logic_somlv_defconfig b/configs/omap35_logic_somlv_defconfig
> index 3c9f0027bc..e6655c7828 100644
> --- a/configs/omap35_logic_somlv_defconfig
> +++ b/configs/omap35_logic_somlv_defconfig
> @@ -18,6 +18,7 @@ CONFIG_USE_PREBOOT=y
>  CONFIG_PREBOOT="setenv preboot;saveenv;"
>  CONFIG_DEFAULT_FDT_FILE="logicpd-som-lv-35xx-devkit.dtb"
>  CONFIG_SYS_CONSOLE_INFO_QUIET=y
> +CONFIG_SPL_ALLOC_BD=y
>  CONFIG_SPL_SYS_MALLOC_SIMPLE=y
>  CONFIG_SPL_SEPARATE_BSS=y
>  # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
> diff --git a/configs/omap3_logic_defconfig b/configs/omap3_logic_defconfig
> index 4e37237b86..5414880baa 100644
> --- a/configs/omap3_logic_defconfig
> +++ b/configs/omap3_logic_defconfig
> @@ -18,6 +18,7 @@ CONFIG_ANDROID_BOOT_IMAGE=y
>  CONFIG_USE_PREBOOT=y
>  CONFIG_PREBOOT="setenv preboot;saveenv;"
>  CONFIG_SYS_CONSOLE_INFO_QUIET=y
> +CONFIG_SPL_ALLOC_BD=y
>  CONFIG_SPL_SYS_MALLOC_SIMPLE=y
>  CONFIG_SPL_SEPARATE_BSS=y
>  # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
> diff --git a/configs/omap3_logic_somlv_defconfig b/configs/omap3_logic_somlv_defconfig
> index 5947f4bc60..3edd6d126b 100644
> --- a/configs/omap3_logic_somlv_defconfig
> +++ b/configs/omap3_logic_somlv_defconfig
> @@ -19,6 +19,7 @@ CONFIG_USE_PREBOOT=y
>  CONFIG_PREBOOT="setenv preboot;saveenv;"
>  CONFIG_DEFAULT_FDT_FILE="logicpd-som-lv-37xx-devkit.dtb"
>  CONFIG_SYS_CONSOLE_INFO_QUIET=y
> +CONFIG_SPL_ALLOC_BD=y
>  CONFIG_SPL_SYS_MALLOC_SIMPLE=y
>  CONFIG_SPL_SEPARATE_BSS=y
>  # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
> --
> 2.25.1
>


More information about the U-Boot mailing list