* Marc Jones marc.jones@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. ;-)
Stefan