Michael Brown
77a5cc6b13
[ELF] Add ability to boot ELF images generated by wraplinux and mkelfImage
...
Delete ELF as a generic image type. The method for invoking an
ELF-based image (as well as any tables that must be set up to allow it
to boot) will always depend on the specific architecture. core/elf.c
now only provides the elf_load() function, to avoid duplicating
functionality between ELF-based image types.
Add arch/i386/image/elfboot.c, to handle the generic case of 32-bit
x86 ELF images. We don't currently set up any multiboot tables, ELF
notes, etc. This seems to be sufficient for loading kernels generated
using both wraplinux and coreboot's mkelfImage.
Note that while Etherboot 5.4 allowed ELF images to return, we don't.
There is no callback mechanism for the loaded image to shut down gPXE,
which means that we have to shut down before invoking the image. This
means that we lose device state, protection against being trampled on,
etc. It is not safe to continue afterwards.
2008-06-09 13:50:00 +01:00
Stefan Hajnoczi
04bc50f025
[GDB] Add GDB stub for remote debugging
...
See http://etherboot.org/wiki/dev/gdbstub for documentation.
2008-06-05 00:45:50 +01:00
Stefan Hajnoczi
831db76ff7
[Serial] Split serial console from serial driver
2008-06-05 00:45:43 +01:00
Stefan Hajnoczi
842165ef76
[GDBSYM] Remove unused gdbsym.c
...
The GDBSYM config.h option was an attempt at QEMU GDB debugging. I have
removed the code since it is unused and may confuse people wanting to
use the GDB stub.
2008-06-05 00:45:32 +01:00
Michael Brown
0fbe484566
[IPv4] Add a config option for IPv4
...
IPv4 may not always be dragged into the link, so add a specific
configuration option for it.
2008-03-21 00:06:28 +00:00
Michael Brown
3e781eb87f
Merge branch 'xl0-timer'
2008-03-10 13:02:53 +00:00
Michael Brown
b08a6f5300
[Command] Add "sanboot" command.
2008-03-04 17:59:26 +00:00
Alexey Zaytsev
1935439f86
fix the rdtsc namimg
2008-03-02 05:19:29 +03:00
Alexey Zaytsev
4006d229e5
Introduce the new timer subsystem.
...
Timer subsystem initialization code in core/timer.c
Split the BIOS and RTDSC timer drivers from i386_timer.c
Split arch/i386/firmware/pcbios/bios.c into the RTSDC
timer driver and arch/i386/core/nap.c
Split the headers properly:
include/unistd.h - delay functions to be used by the
gPXE core and drivers.
include/gpxe/timer.h - the fimer subsystem interface
to be used by the timer drivers
and currticks() to be used by
the code gPXE subsystems.
include/latch.h - removed
include/timer.h - scheduled for removal. Some driver
are using currticks, which is
only for core subsystems.
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
2008-03-02 03:15:07 +03:00
Michael Brown
b87904ab20
Remove reference to COFF support. I can find no trace of ever having supported it.
2008-02-21 04:11:56 +00:00
Michael Brown
bf3d8fb1aa
Allowed HTTPS to be a separately configurable feature.
2007-07-30 03:01:04 +01:00
Michael Brown
e330db3c74
Dead code removal.
...
Kill off use of etherboot.h outside drivers/net.
2007-07-14 15:42:26 +01:00
Michael Brown
8f6a4e8140
Add gdbsym.c object to help with running gdb-to-qemu
2007-06-30 22:43:31 +01:00
Michael Brown
f13baeb330
Added missing config.[ch] lines for FTP protocol
2007-06-28 18:49:57 +01:00
Anselm Martin Hoffmeister
ed7dc02a95
hoffmeis: Preparations for syslog support (LOGSERVER in DHCP, linewise
...
output buffering defintions and the like)
2007-04-09 18:01:43 +00:00
Michael Brown
2cf1e33df1
Split bootsector execution code out into bootsector.c.
...
Added basic El Torito ISO image boot capability
2007-01-29 04:21:38 +00:00
Michael Brown
b07161f397
Placeholder bzImage support
2007-01-14 04:27:25 +00:00
Michael Brown
beb941ed81
Rename "boot" to "autoboot"
2007-01-14 00:06:23 +00:00
Michael Brown
f11900a9c6
I prefer IMAGE_XXX to XXX_IMAGE.
...
Add IMAGE_PXE to use the new image format framework. "kernel pxelinux.0"
now works.
2007-01-13 17:28:51 +00:00
Michael Brown
9952df9b52
Add "dhcp" command
2007-01-12 09:53:28 +00:00
Michael Brown
67aedf34fa
Use systematic names for XXX_IMAGE.
...
Add scripts as an image format (since it's trivial to do).
2007-01-12 09:00:48 +00:00
Michael Brown
9817f93094
Add basic "fetch" and "imgstat" commands.
2007-01-12 06:05:27 +00:00
Michael Brown
4fc9333159
Move include/image.h to include/gpxe/image.h
2007-01-11 16:04:36 +00:00
Michael Brown
d45c5e7ce7
Add "route" command (which currently only displays the routing table; it
...
can't modify it).
2007-01-10 20:51:14 +00:00
Michael Brown
d24b80acf2
Added network interface management commands
2007-01-10 01:55:07 +00:00
Michael Brown
84202d89f0
Split the (quick hack) boot logic out from main.c to autoboot.c, add a
...
"boot" command to attempt booting from within the command shell, fall back
to shell if boot fails for any reason.
2006-12-20 07:04:08 +00:00
Michael Brown
8f9336e0c1
Add "config" command to access config UI
2006-12-20 05:37:33 +00:00
Michael Brown
ec5789bf0c
Select required commands via config.h
2006-12-20 00:39:06 +00:00
Michael Brown
dbf3482ef5
Removed obsolete print_config()
2006-08-14 22:45:22 +00:00
Michael Brown
c10698b8b4
Add NULL_TRAP as a config option
2006-06-11 01:55:43 +00:00
Michael Brown
0479e9f541
relocate.o is now dragged in by the objects that require it; there is no
...
need for a CONFIG_RELOCATE.
2006-05-25 01:34:13 +00:00
Michael Brown
4e87543c74
Synced across updates from Etherboot 5.4 tree
2005-05-19 16:47:19 +00:00
Michael Brown
6e8f29d3cb
Image formats moved into the new config system
2005-05-17 13:33:49 +00:00
Michael Brown
cc980d1c94
Moved DOWNLOAD_PROTO_XXX options to config.h
2005-05-02 11:13:47 +00:00
Michael Brown
e1d6f3a8ac
Add NMB_RESOLVER
2005-05-01 10:58:49 +00:00
Michael Brown
d817e60d21
"dns_resolver" changed to "dns"
2005-04-30 14:49:41 +00:00
Michael Brown
6cd0fa5807
Added DNS resolver configuration option.
2005-04-30 14:39:21 +00:00
Michael Brown
ffe77e0683
This is, of course, the neater and much more obvious way to do it.
2005-04-18 12:45:31 +00:00
Michael Brown
cf79681b80
Fix BUILD_SERIAL.
...
Change from using #if to #ifdef, since #if can't cope with string
constants.
2005-04-18 12:43:18 +00:00
Michael Brown
85b00c4b72
Move RELOCATE into config.h
...
Move ISA probe address logic from config.c into isa.c, create header file
config/isa.h.
2005-04-18 11:00:42 +00:00
Michael Brown
f25383f4c4
Add ISA_PROBE_ADDRS list.
2005-04-16 09:35:17 +00:00
Michael Brown
6f37dc410a
print_drivers() is now unified.
2005-04-12 16:48:45 +00:00
Michael Brown
1937b39079
Drag in relocate unless NORELOCATE is defined, since it's now called
...
only via the initialisation function table.
2005-04-10 18:19:05 +00:00
Michael Brown
0ff80b477d
Merged mcb30-realmode-redesign back to HEAD
2005-04-08 15:01:17 +00:00
Michael Brown
3d6123e69a
Initial revision
2005-03-08 18:53:11 +00:00