fallback reset_vector offset

Eric W. Biederman ebiederman at lnxi.com
Mon Jan 24 20:10:01 CET 2005


YhLu <YhLu at tyan.com> writes:

> sometime the linuxbios.strip for fallback reset_vector will have 15 more
> offset.
> 
> here I set ROM_IMAGE_SIZE 0x19200, and the linuxbios.strip will be 15 bytes
> longer.  weird?
> 
> 00191f0: 0000 0000 0000 0000 0000 0000 0000 e900
> 0019200: eeca fffe 0000 e900 ef18 fffe 0000 0000

You are probably exceeding the 64K jump limit, to the start of the
romcc code.  I trigger a very weird ld case when that happens so the
code will not compile.  It was the best I could do.

If you want to look at what it would take to arbitrarily relax that limit
be my guest.  If I could get a linker section to allocate space backwards
this would be trivial to fix, as it is...

Eric



More information about the coreboot mailing list