From 5d1c8342aeaaa13a32e86571ec054ed3582c0d67 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Thu, 24 Nov 2022 15:58:17 +0800 Subject: [PATCH] x86: dfi-bt700: Adjust CONFIG_TEXT_BASE 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: fff00000 000aac90 u-boot-with-ucode-ptr fffa0000 00010000 intel-vga fffaac90 00001df0 u-boot-dtb-with-ucode fffaca80 00019800 u-boot-ucode Let's adjust CONFIG_TEXT_BASE to allow more space for U-Boot codes. Signed-off-by: Bin Meng Reviewed-by: Stefan Roese --- 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 -- 2.39.5