[coreboot] AMD Family 15h and 16h: ASSERTION ERROR

Peter Stuge peter at stuge.se
Wed Apr 18 13:28:44 CEST 2018


Mike Banon wrote:
> APIC 00: ** Enter AmdInitLate [00020004]
> [1] ASSERTION ERROR: file
> 'src/vendorcode/amd/agesa/f15tn/Proc/Common/CommonReturns.c', line 187
> [2] ASSERTION ERROR: file
> 'src/vendorcode/amd/agesa/f15tn/Proc/CPU/cpuGeneralServices.c', line
> 776
> ^^^ these two lines repeat 9 times, one after another.
> 
> FILE at [1] :
> Line 181 - * ASSERT if this routine is called.
> Line 182 - *
> Line 183 - */
> Line 184 - VOID
> Line 185 - CommonAssert ( VOID )
> Line 186 - {
> Line 187 - ASSERT (FALSE);
> Line 188 - }
> 
> FILE at [2] :
> Line 775: InitApicIdCpuIdLo =
> FamilyServices->CoreIdPositionInInitialApicId (FamilyServices,
> StdHeader);
> Line 776: ASSERT (InitApicIdCpuIdLo < CoreIdPositionMax);
> 
> ^^^ What does it mean, and why is it failing?

The first one means that there is a call to CommonAssert() somewhere
in the code between AmdInitLate and the call site of the second
function, cpuGeneralServices.c line 776. CommonAssert() always
asserts when called, the question is where it is being called.

The second one seems to suggest that the APIC hasn't been configured
completely right, because the CoreIdPosition value is not smaller
than CoreIdPositionMax. Maybe that comparison should be <= ? Maybe
the Max number is wrong? Don't know.


> APIC 00: ** Enter AmdS3Save [0002000b]
> Manufacturer: 1c
> SF: Unsupported EON ID 0x7016
> SF: Unsupported manufacturer!
> Manufacturer: 1c
> SF: Unsupported EON ID 0x7016
> SF: Unsupported manufacturer!
> AmdS3Save() returned AGESA_SUCCESS
> [3] ASSERTION ERROR: file 'src/drivers/amd/agesa/state_machine.c', line 309
..
> Could you please tell, why these errors are happening?

Here it seems the AmdS3Save() code doesn't support the EON SPI flash
chip in the system. Don't trust the message that it is about the
manufacturer, because manufacturer 1c is already recognized as EON. I
would guess that the error message was copypasted and that it's the
particular 0x7016 flash chip which isn't supported - again, guessing.


//Peter



More information about the coreboot mailing list