Booting a biosless machine (almost done).
Filip Zyzniewski <[email protected]>
| Newsgroups | gmane.network.etherboot.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I almost managed to run etherboot successfully on a Compaq T1000
(Windows based terminal). It has no BIOS.
Some specs:
cpu: cyrix geode 233mmx
ram: 32MB
nic: mx98715
serial port etc
This is how:
In src/arch/i386/Config:
CFLAGS += -DNO_DELAYED_INT
CFLAGS += -DCONFIG_PCI_DIRECT
CFLAGS += -DCONFIG_TSC_CURRTICKS
CFLAGS += -DIGNORE_E820_MAP
CFLAGS += -DFLATTEN_REAL_MODE
CFLAGS += -DLINUXBIOS
In src/firmware/linuxbios/linuxbios.c
(beginning of get_memsizes())
meminfo.basememsize = 0x0000027f;
meminfo.memsize = 0x00007c00;
meminfo.map_count = 1;
meminfo.map[0].addr = 0x00000000;
meminfo.map[0].size = 0x01000000;
meminfo.map[0].type = E820_RAM;
On a serial console I get:
CPU 237 Mhz
Etherboot 5.4.0 (GPL) http://etherboot.org
Drivers: Tulip Images: NBI ELF
Protocols: DHCP TFTP
Relocating _text from: [00100030,00113af0) to [00eec540,00f00000)
Probing pci nic...
[mx98715]
mx98715: [chip: Macronix 98715 PMAC] rev 32 at F800
mx98715: Vendor=10D9 Device=0531
mx98715: 00:80:64:11:91:BF at ioaddr F800
mx98715: EEPROM default media type 10baseT.
Searching for server (DHCP)...\
Me: 10.1.6.17, DHCP: 212.191.65.1, TFTP: 10.1.6.7, Gateway 10.1.0.1
Loading 10.1.6.7:/boot/netkernel XXXX(ELF)0907K done
And then it powers off.
What memory map do you think I should provide?
Would it be a good idea to prepare etherboot to boot on biosless
machines (-D option in Config etc)?
This is how I prepared an image:
mkelf-linux --format=elf --target=linux --append="console=ttyS0,38400N8"
--output=/boot/netkernel arch/i386/boot/bzImage --ip=rom --rootdir=rom
Sadly I don't know x86 architecture good enough to hack it myself :(.
bye,
Filip Zyzniewski
Ekatalog
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click