diff mbox series

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

Message ID 20221124113329.3162008-4-bmeng.cn@gmail.com
State Accepted
Commit 5d1c8342aeaaa13a32e86571ec054ed3582c0d67
Delegated to: Bin Meng
Headers show
Series [1/5] x86: bayleybay: Adjust CONFIG_TEXT_BASE | expand

Commit Message

Bin Meng Nov. 24, 2022, 11:33 a.m. UTC
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@gmail.com>
---

 configs/dfi-bt700-q7x-151_defconfig         | 2 +-
 configs/theadorable-x86-dfi-bt700_defconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Stefan Roese Nov. 25, 2022, 6:03 a.m. UTC | #1
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@gmail.com>

Reviewed-by: Stefan Roese <sr@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
diff mbox series

Patch

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