booting elf from ROM

Andrew Kohlsmith akohlsmith-linuxbios at benshaw.com
Tue Nov 19 08:27:01 CET 2002


> > The copy moves 0x12fab dwords (304kb?) from 0x04000 to 0x3fbb4154 (what
> > on earth does this address represent?!)
>
> Can you send us the "objdump -p" of your ELF file ??

$ objdump -p natsemi.elf

natsemi.elf:     file format elf32-i386

Program Header:
    LOAD off    0x00000060 vaddr 0x00400000 paddr 0x00400000 align 2**5
         filesz 0x00007209 memsz 0x0000b560 flags rwx


Just to make sure I didn't do anything wrong, I compiled eepro100.ebi as used 
in the smartcore-p5 config.etherboot.  It doesn't look much different:

$ objdump -p eepro100.ebi

eepro100.ebi:     file format elf32-i386

Program Header:
    LOAD off    0x00000060 vaddr 0x00400000 paddr 0x00400000 align 2**5
         filesz 0x00006f49 memsz 0x00009ae0 flags rwx


For the record, I don't plan on using etherboot (the platform uses PCMCIA for 
network access) -- I will change BOOT_ROM=1 to BOOT_IDE=1 and boot from IDE 
(first by placing the kernel at a known offset, then hopefully by booting 
from GRUB/LILO if I can figure it out (does GRUB or LILO as an elf executable 
work at this time?).  At this time, though, I can't even get a simple boot 
from ROM.  :-(

Regards,
Andrew



More information about the coreboot mailing list