]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: som-db5800-som-6867: Adjust CONFIG_TEXT_BASE
authorBin Meng <bmeng.cn@gmail.com>
Thu, 24 Nov 2022 08:19:54 +0000 (16:19 +0800)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 14 Dec 2022 04:04:51 +0000 (12:04 +0800)
At present U-Boot no longer builds as a complete rom for som-db5800-som-6867.

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

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

  <none>     fff00000  0009f7c8  u-boot-with-ucode-ptr
  <none>     fff90000  00010000  intel-vga
  <none>     fff9f7c8  00001aae  u-boot-dtb-with-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/som-db5800-som-6867_defconfig

index 5d401e6c2d7e9e881d5b0cdd78bb5164d35fc6d8..f6b2109e2bd3c1c3a8425ea37ca91f2130e366ed 100644 (file)
@@ -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