fallback reset_vector offset

Eric W. Biederman ebiederman at lnxi.com
Tue Jan 25 17:57:00 CET 2005


YhLu <YhLu at tyan.com> writes:

> The problem solved.
> 
> I switch the auto.c... before reset.inc in MB Config.lb
> 
> Also add two inc in it
> 
> mainboardinit arch/i386/lib/jmp_auto_out.inc
> after auto.c segment
> 
> mainboardinit arch/i386/lib/jmp_auto.inc
> in old auto.c position
> 
> please advise where to put these two inc.
> 
> jmp_auto_out.inc
> /* -*- asm -*- */
> 
>         /* clear boot_complete flag */
>         xorl    %ebp, %ebp
>         jmp     __main
> 
> jmp_auto.inc
> 
> /* -*- asm -*- */
>         jmp     __fpu_start


Progress however unless I am mistaken this will fail miserably on
an 8111 that only enables 64KiB of ROM by default.

I think all of failover.c needs to be put in the magic position,
if we are going to allow arbitrary memory size code.

Eric



More information about the coreboot mailing list