Michał Żygowski has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42512 )
Change subject: mb/pcengines/apu1/mainboard.c: fix apu1 serial number counting ......................................................................
Patch Set 1:
Patch Set 1:
Patch Set 1:
While this woraround might work, it seems to be solving the wrong problem and being possibly unreliable to me. Might this be related to the resource allocator changes?
To be honest, I don't know what is the source of original problem, so this workaround is done only to fix serial number issue. I will just add that every NIC shows this problem - secondary bus number is shifted 8 bits left. That's why I suggested that it might be related to enumeration phase already. What exactly do you mean by resource allocator changes?
Many changes has been introduce to the coreboot's resource allocator (the code that enumerates devices, assigng resources for MMIO, IO, etc.). I would try to move the AGESA header includes as Kyösti suggests to see if it helps.