Message ID | 20210304163158.3514648-1-aford173@gmail.com |
---|---|
State | Accepted |
Commit | 136284a3cf282585b600b10bba2286518263df20 |
Delegated to: | Lokesh Vutla |
Headers | show |
Series | configs: omap3_logic: Enable CONFIG_SPL_ALLOC_BD | expand |
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 >
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
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
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>