All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] configs: omap3_logic: Enable CONFIG_SPL_ALLOC_BD
@ 2021-03-04 16:31 Adam Ford
  2021-03-13 15:34 ` Adam Ford
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Ford @ 2021-03-04 16:31 UTC (permalink / raw)
  To: u-boot

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@gmail.com>

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] configs: omap3_logic: Enable CONFIG_SPL_ALLOC_BD
  2021-03-04 16:31 [PATCH] configs: omap3_logic: Enable CONFIG_SPL_ALLOC_BD Adam Ford
@ 2021-03-13 15:34 ` Adam Ford
  2021-03-15  9:10   ` Lokesh Vutla
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Ford @ 2021-03-13 15:34 UTC (permalink / raw)
  To: u-boot

On Thu, Mar 4, 2021 at 10:32 AM Adam Ford <aford173@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@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
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] configs: omap3_logic: Enable CONFIG_SPL_ALLOC_BD
  2021-03-13 15:34 ` Adam Ford
@ 2021-03-15  9:10   ` Lokesh Vutla
  0 siblings, 0 replies; 3+ messages in thread
From: Lokesh Vutla @ 2021-03-15  9:10 UTC (permalink / raw)
  To: u-boot



On 13/03/21 9:04 pm, Adam Ford wrote:
> On Thu, Mar 4, 2021 at 10:32 AM Adam Ford <aford173@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@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?
>
Applied to u-boot-ti/for-rc

Thanks and regards,
Lokesh

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-15  9:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-04 16:31 [PATCH] configs: omap3_logic: Enable CONFIG_SPL_ALLOC_BD Adam Ford
2021-03-13 15:34 ` Adam Ford
2021-03-15  9:10   ` Lokesh Vutla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.