[coreboot] how Coreboot keeps the right offsets of the sections

Stefan Reinauer stefan.reinauer at coreboot.org
Fri Feb 11 02:36:56 CET 2011


* Peter Stuge <peter at stuge.se> [110209 20:44]:
> > I checked the content of build/coreboot.rom and the last byte was
> > 0x0a!! Which is written probably on the top of our EEPROM. Right?
> 
> > but src/arch/i386/init/ldscript.ld specifies the last byte as 0x00!!
> > SECTIONS {
> > 	_ROMTOP = 0xfffffff0;
> > 	. = _ROMTOP;
> > 	.resetvector . : {
> > 		*(.reset)
> >                 . = 15 ;
> >                 BYTE(0x00);
> > 	}
> > }
> > 
> > Please help me with this puzzle. Thank you.
> 
> What is the concrete problem? You should not rule out that there are
> binutils bugs. Just be happy that the reset vector has the right
> opcodes.

cbfstool updates those memory regions.





More information about the coreboot mailing list