Am Mittwoch, den 23.09.2009, 14:35 -0600 schrieb Myles Watson:
I had similar changes here already, but messed around with That Other Selfboot Bug[tm] and thus have nothing finished yet
I hope you get the fix committed before I find it the hard way :)
The issue is that the loader doesn't properly cope with the case that the payload overlaps with coreboot and starts at a lower address.
That happens on some AMD boards (with RAMBASE at 2MB, for whatever reason) and FILO (which has a huge .bss section that moves well into coreboot's memory).
Any other configuration should not run into this issue, and for AMD, it should be enough to move RAMBASE to somewhere else (both 1MB and 4MB worked for me) as a workaround.
Regards, Patrick