Hi all,
I am able to build Coreboot with FSP Baytrail release binary(BAYTRAIL_FSP_GOLD_004_22-MAY-2015.fd).
But I am unable to build with FSP Baytrail debug binary (BAYTRAIL_FSP_GOLD_004_22-MAY-2015_DEBUG.fd) and it throws the below error says that binary size is large and fails to add into image.
The sections containing CBFSes are: COREBOOT Performing operation on 'COREBOOT' region... Created CBFS (capacity = 2096856 bytes) Performing operation on 'COREBOOT' region... Performing operation on 'COREBOOT' region... CBFS fsp.bin Performing operation on 'COREBOOT' region... E: Not enough space for content. E: Could not add [fsp, 294912 bytes (288 KB)@0x1bff00]; too big? E: Failed to add '../intel/fsp/baytrail/BAYTRAIL_FSP_D.fd' into ROM image. E: Failed while operating on 'COREBOOT' region! E: The image will be left unmodified. make: *** [build/coreboot.pre] Error 1
Can you please anyone help me on this?
Thanks in advance, Kathappan
L&T Technology Services Ltd
www.LntTechservices.comhttp://www.lnttechservices.com/
This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
Hello Kathappan,
As my understanding is (I might be wrong, please, others correct), you should have the whole Coreboot + BYT-I FSP build of maximum 2MB (last/top 2MB on the top of 8MB board SPI flash). The line:
*E: Could not add [fsp, 294912 bytes (288 KB)@0x1bff00]; too big?*
Says that you are trying to add some entity (fsp) of size 288KB on the 0x200000 - 0x1BFF00 = 256KB + 256B.
The other line:
*E: Failed to add '../intel/fsp/baytrail/BAYTRAIL_FSP_D.fd' into ROM image.*
Implies that your BAYTRAIL_FSP_D.fd image is 288KB size wide, so you left too narrow space for FSP image to fit in Coreboot build.
You need to go back to Coreboot .config (to run make menuconfig) and understand what additional Coreboot features you need to deprecate/exclude (to make more space), in order to make this last region at least minimum of 288KB or bigger/wider.
Zoran
On Fri, May 6, 2016 at 7:39 AM, Kathappan E <Kathappan.E@lnttechservices.com
wrote:
Hi all,
I am able to build Coreboot with FSP Baytrail release binary( *BAYTRAIL_FSP_GOLD_004_22-MAY-2015.fd*).
But I am unable to build with FSP Baytrail debug binary ( *BAYTRAIL_FSP_GOLD_004_22-MAY-2015_DEBUG.fd*) and it throws the below error says that binary size is large and fails to add into image.
*The sections containing CBFSes are: COREBOOT*
*Performing operation on 'COREBOOT' region...*
*Created CBFS (capacity = 2096856 bytes)*
*Performing operation on 'COREBOOT' region...*
*Performing operation on 'COREBOOT' region...*
- CBFS fsp.bin*
*Performing operation on 'COREBOOT' region...*
*E: Not enough space for content.*
*E: Could not add [fsp, 294912 bytes (288 KB)@0x1bff00]; too big?*
*E: Failed to add '../intel/fsp/baytrail/BAYTRAIL_FSP_D.fd' into ROM image.*
*E: Failed while operating on 'COREBOOT' region!*
*E: The image will be left unmodified.*
*make: *** [build/coreboot.pre] Error 1*
Can you please anyone help me on this?
Thanks in advance,
Kathappan
*L&T Technology Services Ltd*
www.LntTechservices.com http://www.lnttechservices.com/
This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
-- coreboot mailing list: coreboot@coreboot.org https://www.coreboot.org/mailman/listinfo/coreboot
On Fri, May 6, 2016 at 12:39 AM, Kathappan E Kathappan.E@lnttechservices.com wrote:
Hi all,
I am able to build Coreboot with FSP Baytrail release binary(BAYTRAIL_FSP_GOLD_004_22-MAY-2015.fd).
But I am unable to build with FSP Baytrail debug binary (BAYTRAIL_FSP_GOLD_004_22-MAY-2015_DEBUG.fd) and it throws the below error says that binary size is large and fails to add into image.
The sections containing CBFSes are: COREBOOT
Performing operation on 'COREBOOT' region...
Created CBFS (capacity = 2096856 bytes)
Performing operation on 'COREBOOT' region...
Performing operation on 'COREBOOT' region...
CBFS fsp.bin
Performing operation on 'COREBOOT' region...
E: Not enough space for content.
E: Could not add [fsp, 294912 bytes (288 KB)@0x1bff00]; too big?
E: Failed to add '../intel/fsp/baytrail/BAYTRAIL_FSP_D.fd' into ROM image.
E: Failed while operating on 'COREBOOT' region!
E: The image will be left unmodified.
make: *** [build/coreboot.pre] Error 1
Can you please anyone help me on this?
You likely need to adjust the FSP_LOC kconfig variable to match the debug FSP binary. Most likely the debug binary is large and not linked at the same address which in this case breaks building because there's not enough flash space.
Thanks in advance,
Kathappan
L&T Technology Services Ltd
www.LntTechservices.com
This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
-- coreboot mailing list: coreboot@coreboot.org https://www.coreboot.org/mailman/listinfo/coreboot