[LinuxBIOS] reset16 vs reset32

Stefan Reinauer stepan at coresystems.de
Fri Aug 17 21:23:40 CEST 2007

* Marc Jones <marc.jones at amd.com> [070817 20:19]:
> I am running into a build problem with a ROM that contains normal, 
> fallback, and failover images. I get the following error.
> /usr/bin/ld: section .data [00000000fffbfff0 -> 00000000fffc07ff] overlaps 
> section .reset [00000000fffbfff0 -> 00000000fffbffff]
> /usr/bin/ld: linuxbios: section .data lma 0xfffbfff0 overlaps previous 
> sections

> Which means that the ldscript calculations is wrong (see attached 
> ldscript.ld).

Those calculations are horrible. It usually just means your
ROM_IMAGE_SIZE is too small though.

> What is the difference between reset16 and reset32? Why does 
> reset32.lds do a calculation? Reset always needs to be at 0xFFFFFFF0.

reset32 is the code running after the reset vector after switching to
pmode. IIRC. I wiped that part from my brain after we got rid of that
design flaw in v3. ;-)


coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866

More information about the coreboot mailing list