Skip to contentSkip to conversation

configs: omap3_logic: Enable CONFIG_SPL_ALLOC_BD

PATCH New Adam Ford 2 participants 3 messages Mar 4, 2021 – Mar 15, 2021

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 configs: omap3_logic: Enable CONFIG_SPL_ALLOC_BD

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")
configs/am3517_evm_defconfig +1 -0
index bae0e0af35..0bc7bf74f9 100644
@@ -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
configs/omap35_logic_defconfig +1 -0
index ec0ba110b8..fa751e3bf0 100644
@@ -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
configs/omap35_logic_somlv_defconfig +1 -0
index 3c9f0027bc..e6655c7828 100644
@@ -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
configs/omap3_logic_defconfig +1 -0
index 4e37237b86..5414880baa 100644
@@ -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
configs/omap3_logic_somlv_defconfig +1 -0
index 5947f4bc60..3edd6d126b 100644
@@ -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
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 1/1 configs: omap3_logic: Enable CONFIG_SPL_ALLOC_BD

Quoted 8 lines · Adam Ford

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")

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

Quoted 63 lines
configs/am3517_evm_defconfig +1 -0
index bae0e0af35..0bc7bf74f9 100644
@@ -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
configs/omap35_logic_defconfig +1 -0
index ec0ba110b8..fa751e3bf0 100644
@@ -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
configs/omap35_logic_somlv_defconfig +1 -0
index 3c9f0027bc..e6655c7828 100644
@@ -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
configs/omap3_logic_defconfig +1 -0
index 4e37237b86..5414880baa 100644
@@ -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
configs/omap3_logic_somlv_defconfig +1 -1
index 5947f4bc60..3edd6d126b 100644
@@ -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

#2 lore raw

PATCH 1/1 configs: omap3_logic: Enable CONFIG_SPL_ALLOC_BD

Quoted 6 lines · Adam Ford
Quoted 5 lines · Adam Ford

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.

Quoted 8 lines
Quoted 3 lines
Fixes 38d6b7ebdaee ("spl: Drop bd_info in the data section")

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