diff mbox series

[1/5] x86: bayleybay: Adjust CONFIG_TEXT_BASE

Message ID 20221124113329.3162008-1-bmeng.cn@gmail.com
State Accepted
Commit f38be3086837e3637fe588f6571c2d245261e5fb
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 bayleybay.

    BINMAN  .binman_stamp
  Wrote map file './rom.map' to show errors
  binman: Section '/binman/rom': contents size 0x814706 (8472326) exceeds section size 0x800000 (8388608)

Checking rom.map we see 'fdtmap' section is overlapped with
'intel-vga' and 'intel-fsp' sections:

  <none>     fffa2150  0002a000  u-boot-ucode
  <none>     fffb0000  00010000  intel-vga
  <none>     fffc0000  00038000  intel-fsp
  <none>     fffcc150  00000539  fdtmap

Let's adjust CONFIG_TEXT_BASE to allow more space for U-Boot codes.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 configs/bayleybay_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bin Meng Dec. 14, 2022, 3:51 a.m. UTC | #1
On Thu, Nov 24, 2022 at 7:33 PM Bin Meng <bmeng.cn@gmail.com> wrote:
>
> At present U-Boot no longer builds as a complete rom for bayleybay.
>
>     BINMAN  .binman_stamp
>   Wrote map file './rom.map' to show errors
>   binman: Section '/binman/rom': contents size 0x814706 (8472326) exceeds section size 0x800000 (8388608)
>
> Checking rom.map we see 'fdtmap' section is overlapped with
> 'intel-vga' and 'intel-fsp' sections:
>
>   <none>     fffa2150  0002a000  u-boot-ucode
>   <none>     fffb0000  00010000  intel-vga
>   <none>     fffc0000  00038000  intel-fsp
>   <none>     fffcc150  00000539  fdtmap
>
> Let's adjust CONFIG_TEXT_BASE to allow more space for U-Boot codes.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> ---
>
>  configs/bayleybay_defconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

series applied to u-boot-x86, thanks!
diff mbox series

Patch

diff --git a/configs/bayleybay_defconfig b/configs/bayleybay_defconfig
index 5f43f4c0ee..3556fe6b12 100644
--- a/configs/bayleybay_defconfig
+++ b/configs/bayleybay_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=0x6FF000