Skip to contentSkip to conversation

x86: bayleybay: Adjust CONFIG_TEXT_BASE

PATCH In review Bin Meng 3 participants 10 messages Nov 24, 2022 – Dec 14, 2022

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/5 x86: bayleybay: Adjust CONFIG_TEXT_BASE

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.

---

 configs/bayleybay_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/bayleybay_defconfig +1 -1
index 5f43f4c0ee..3556fe6b12 100644
@@ -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
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH 2/5 x86: minnowmax: Adjust CONFIG_TEXT_BASE

At present U-Boot no longer builds as a complete rom for minnowmax.

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

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

  <none>     fffa1390  00019800  u-boot-ucode
  <none>     fffb0000  00010000  intel-vga
  <none>     fffbab90  00000539  fdtmap

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

---

 configs/minnowmax_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/minnowmax_defconfig +1 -1
index 66f3036313..e501cc55fb 100644
@@ -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
Signature · 1 line
2.34.1
Reviewed-by on v1 2/5
#2 lore raw

Re: [PATCH 2/5] x86: minnowmax: Adjust CONFIG_TEXT_BASE

Quoted 14 lines · Bin Meng

At present U-Boot no longer builds as a complete rom for minnowmax.

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

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

  <none>     fffa1390  00019800  u-boot-ucode
  <none>     fffb0000  00010000  intel-vga
  <none>     fffbab90  00000539  fdtmap
Quoted 7 lines

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

---

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

I cannot test this though since things seem to be broken since:

915047048f0 lib: sha256: Add support for hardware specific sha256_process

Regards,
Simon

author
#3 lore raw

Re: [PATCH 2/5] x86: minnowmax: Adjust CONFIG_TEXT_BASE

Hi Simon,

Quoted 21 lines · Simon Glass
Quoted 19 lines · Bin Meng

At present U-Boot no longer builds as a complete rom for minnowmax.

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

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

  <none>     fffa1390  00019800  u-boot-ucode
  <none>     fffb0000  00010000  intel-vga
  <none>     fffbab90  00000539  fdtmap

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

---

Quoted 9 lines
Quoted 2 lines
 configs/minnowmax_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

I cannot test this though since things seem to be broken since:

915047048f0 lib: sha256: Add support for hardware specific sha256_process

Did you mean boot testing on minnowmax?

Regards,
Bin

#4 lore raw

Re: [PATCH 2/5] x86: minnowmax: Adjust CONFIG_TEXT_BASE

Hi Bin,

Quoted 28 lines · Bin Meng

Hi Simon,

Quoted 24 lines · Simon Glass
Quoted 21 lines · Bin Meng

At present U-Boot no longer builds as a complete rom for minnowmax.

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

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

  <none>     fffa1390  00019800  u-boot-ucode
  <none>     fffb0000  00010000  intel-vga
  <none>     fffbab90  00000539  fdtmap

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

---

 configs/minnowmax_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 8 lines
Quoted 6 lines

I cannot test this though since things seem to be broken since:

915047048f0 lib: sha256: Add support for hardware specific sha256_process

Did you mean boot testing on minnowmax?

Yes that's right. I have a problem with coral too. I will try another bisect but that is what it hit the first time.

Regards,
Simon

Quoted 3 lines

Regards,
Bin

author
#5 lore raw

PATCH 3/5 x86: conga-qeval20-qa3-e3845: Adjust CONFIG_TEXT_BASE

In reply to Bin Meng

At present U-Boot no longer builds as a complete rom for all the configs of conga-qeval20-qa3-e3845.

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

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

  <none>     fff00000  000a7cb0  u-boot-with-ucode-ptr
  <none>     fffa0000  00010000  intel-vga
  <none>     fffa7cb0  00001c1a  u-boot-dtb-with-ucode
  <none>     fffa98d0  00019800  u-boot-ucode

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

---

 configs/conga-qeval20-qa3-e3845-internal-uart_defconfig   | 2 +-
 configs/conga-qeval20-qa3-e3845_defconfig                 | 2 +-
 configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig | 2 +-
 configs/theadorable-x86-conga-qa3-e3845_defconfig         | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
configs/conga-qeval20-qa3-e3845-internal-uart_defconfig +1 -1
index 0d904675f7..54189b916a 100644
@@ -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
configs/conga-qeval20-qa3-e3845_defconfig +1 -1
index 6fed3f2ecd..b5b1416cff 100644
@@ -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
configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig +1 -1
index 22544c0913..6752d110b1 100644
@@ -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
configs/theadorable-x86-conga-qa3-e3845_defconfig +1 -1
index 8741ecbb2d..336ba4605c 100644
@@ -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
Signature · 1 line
2.34.1
author
#6 lore raw

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

In reply to Bin Meng

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.

---

 configs/dfi-bt700-q7x-151_defconfig         | 2 +-
 configs/theadorable-x86-dfi-bt700_defconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
configs/dfi-bt700-q7x-151_defconfig +1 -1
index f9b1bae413..63b8c8f92d 100644
@@ -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
configs/theadorable-x86-dfi-bt700_defconfig +1 -1
index 4755b4754f..fea35cd915 100644
@@ -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
Signature · 1 line
2.34.1
Reviewed-by on v1 4/5
#7 lore raw

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

Quoted 10 lines · Bin Meng

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:

Quoted 8 lines
   <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.

Thanks,
Stefan

Quoted 22 lines

---

  configs/dfi-bt700-q7x-151_defconfig         | 2 +-
  configs/theadorable-x86-dfi-bt700_defconfig | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
configs/dfi-bt700-q7x-151_defconfig +1 -1
index f9b1bae413..63b8c8f92d 100644
@@ -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
configs/theadorable-x86-dfi-bt700_defconfig +0 -0
index 4755b4754f..fea35cd915 100644

configs/theadorable-x86-dfi-bt700_defconfig line 5

Quoted 6 lines
configs/theadorable-x86-dfi-bt700_defconfig +1 -1
@@ -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

Signature · 3 lines
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: [email protected]
author
#8 lore raw

PATCH 5/5 x86: som-db5800-som-6867: Adjust CONFIG_TEXT_BASE

In reply to Bin Meng

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.

---

 configs/som-db5800-som-6867_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/som-db5800-som-6867_defconfig +1 -1
index 5d401e6c2d..f6b2109e2b 100644
@@ -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
Signature · 1 line
2.34.1
author
#9 lore raw
In reply to Bin Meng
Quoted 15 lines · Bin Meng

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
Quoted 8 lines

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

---

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

series applied to u-boot-x86, thanks!