Typically you need set ROM_IMAGE_SIZE to 0x15000 so you can leave some space (24Kbytes) for fallback payload.

 

YH

 

 


From: linuxbios-bounces@openbios.org [mailto:linuxbios-bounces@openbios.org] On Behalf Of San Mehat
Sent: Monday, September 12, 2005 8:22 PM
To: linuxbios@openbios.org
Subject: [LinuxBIOS] Section Overlaps & Offset miscalculation

 

Greetings,

I'm currently trying to build a ck804 based amd bios and am having the following issue:


/usr/bin/ld: section .reset [fffdfff0 -> fffdffff] overlaps section .rom [fffd858b -> fffe263f]

When i increase 'ROM_IMAGE_SIZE' from 0x10000 to 0x20000 the problem goes away, however it looks like the offsets are being incorrectly computed
(the reset vector jump goes off into la-la land).

Any ideas?..

thanks
-san