[PATCH 4/5] x86: dfi-bt700: Adjust CONFIG_TEXT_BASE

Stefan Roese sr at denx.de
Fri Nov 25 07:03:32 CET 2022


On 2022-11-24 12:33, Bin Meng wrote:
> At present U-Boot no longer builds as a complete rom for all the
> configs of dfi-bt700.
> 
>      BINMAN  .binman_stamp
>    Wrote map file './rom.map' to show errors
>    binman: Section '/binman/rom': contents size 0x80e836 (8448054) exceeds section size 0x800000 (8388608)
> 
> Checking rom.map we see 'intel-vga' section is overlapped with
> other sections:
> 
>    <none>     fff00000  000aac90  u-boot-with-ucode-ptr
>    <none>     fffa0000  00010000  intel-vga
>    <none>     fffaac90  00001df0  u-boot-dtb-with-ucode
>    <none>     fffaca80  00019800  u-boot-ucode
> 
> Let's adjust CONFIG_TEXT_BASE to allow more space for U-Boot codes.
> 
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> ---
> 
>   configs/dfi-bt700-q7x-151_defconfig         | 2 +-
>   configs/theadorable-x86-dfi-bt700_defconfig | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/configs/dfi-bt700-q7x-151_defconfig b/configs/dfi-bt700-q7x-151_defconfig
> index f9b1bae413..63b8c8f92d 100644
> --- a/configs/dfi-bt700-q7x-151_defconfig
> +++ b/configs/dfi-bt700-q7x-151_defconfig
> @@ -1,5 +1,5 @@
>   CONFIG_X86=y
> -CONFIG_TEXT_BASE=0xFFF00000
> +CONFIG_TEXT_BASE=0xFFE00000
>   CONFIG_NR_DRAM_BANKS=8
>   CONFIG_ENV_SIZE=0x1000
>   CONFIG_ENV_OFFSET=0x6EF000
> diff --git a/configs/theadorable-x86-dfi-bt700_defconfig b/configs/theadorable-x86-dfi-bt700_defconfig
> index 4755b4754f..fea35cd915 100644
> --- a/configs/theadorable-x86-dfi-bt700_defconfig
> +++ b/configs/theadorable-x86-dfi-bt700_defconfig
> @@ -1,5 +1,5 @@
>   CONFIG_X86=y
> -CONFIG_TEXT_BASE=0xFFF00000
> +CONFIG_TEXT_BASE=0xFFE00000
>   CONFIG_NR_DRAM_BANKS=8
>   CONFIG_ENV_SIZE=0x2000
>   CONFIG_ENV_OFFSET=0x6EC000

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list