Hi,
I finally received a working BIOS Saviour and tried linuxbios the first time last night. I tried to exactly follow the EPIA-Howto but failed because I can't compile etherboot as described there:
First of all there's no line "CFLAGS+= -DPCIBIOS" to comment out in the etherboot-5.0.11 "Config" file - I assume it might be a typo in the howto and commented out the line "CFLAGS+= -DPCBIOS", but it won't work.
Anyways, I'm not able to compile the etherboot-5.0.[10,11] sources at all. I'm using a fresh upgraded debian "testing" with gcc-3.3.1
Simply doing a
--- tar xvjf etherboot-5.0.11.tar.bz2 cd etherboot-5.0.11/src make bin32/via-rhine.elf ---
throws tons of warnings and fails to link with messages like
--- bin32/via-rhine.o(.text+0x2e8): In function `rhine_probe1': : undefined reference to `currticks' ---
As I'm not familiar with C/GCC I have no idea where this may come from (wrong compiler version, wrong libs...?) I tried the etherboot-5.2.1 source package. Opposing to etherboot-5.0 there are no linuxbios options so I suppose they are not needed any more. The etherboot-5.2 package compiles fine (I'm doing a "make bin/via-rhine.elf").
From there on I'm following the EPIA-HOWTO again and the linuxbios build runs smoothly, flashing the romimage also was no problem. When booting, the linuxbios initialization seems to be ok, but after loading etherboot nothing seems to happen any more. The last lines on the serial console are:
--- Copying IRQ routing tables to 0xf0000...done. Verifing priq routing tables copy at 0xf0000...succeed Wrote linuxbios table at: 00000500 - 00000698 checksum 345e
Welcome to elfboot, the open sourced starter. January 2002, Eric Biederman. Version 1.2
37:init_bytes() - zkernel_start:0xfff00000 zkernel_mask:0x0000ffff Found ELF candiate at offset 0 Loading Etherboot version: 5.2.1 Dropping non PT_LOAD segment New segment addr 0x20000 size 0xf160 offset 0xb0 filesize 0x5bdc (cleaned up) New segment addr 0x20000 size 0xf160 offset 0xb0 filesize 0x5bdc Loading Segment: addr: 0x000000000ff7faa8 memsz: 0x000000000000f160 filesz: 0x0000000000005bdc Clearing Segment: addr: 0x000000000ff85684 memsz: 0x0000000000009584 Jumping to boot code at 0x20000 ---
Now, who can help be getting linuxbios/etherboot to work at all, or - better: boot from local IDE?
Do I need special config options for etherboot-5.2? I searched the mailinglist but did not find any indication...
What's wrong with my etherboot-5.0? Is my debian broken?
Thanks for your help,
Hubert
On Tue, Sep 16, 2003 at 06:51:00PM +0200, Hubert Denkmair wrote:
First of all there's no line "CFLAGS+= -DPCIBIOS" to comment out in the etherboot-5.0.11 "Config" file - I assume it might be a typo in the howto and commented out the line "CFLAGS+= -DPCBIOS", but it won't work.
Yeah, it must be a typo.
bin32/via-rhine.o(.text+0x2e8): In function `rhine_probe1': : undefined reference to `currticks'
Perhaps you don't have the -DCONFIG_TSC_CURRTICKS option in the Config.
Opposing to etherboot-5.0 there are no linuxbios options so I suppose they are not needed any more. The etherboot-5.2 package compiles fine (I'm doing a "make bin/via-rhine.elf").
Etherboot 5.2 has another Config file in arch/i386 directory. You have to edit this file too.
Now, who can help be getting linuxbios/etherboot to work at all, or - better: boot from local IDE?
You might want to look at FILO: http://te.to/~ts1/filo/ for booting from local filesystem on IDE disk.
We've had no real luck building etherboot here lately. I'm not sure what's wrong, but we get the same problems you do.
ron
Thank you for your answers,
I'm using filo now and although it doesn't work yet, I'm definitely gettig ahead :-)
Hubert