Michael Brown
92d15eff30
[Settings] Remove assumption that all settings have DHCP tag values
Allow for settings to be described by something other than a DHCP option
tag if desirable. Currently used only for the MAC address setting.
Separate out fake DHCP packet creation code from dhcp.c to fakedhcp.c.
Remove notion of settings from dhcppkt.c.
Rationalise dhcp.c to use settings API only for final registration of the
DHCP options, rather than using {store,fetch}_setting throughout.
17 anni fa
Michael Brown
eae6ac3d0b
[Settings] Convert code in src/usr to use settings API.
17 anni fa
Michael Brown
b08a6f5300
[Command] Add "sanboot" command.
17 anni fa
Michael Brown
74fd544101
Added the embedded pxelinux payload patch from hpa.
17 anni fa
Michael Brown
218651e125
Display name and status of each file as it is downloaded.
18 anni fa
Michael Brown
710c6c1be1
Error message cleanups.
18 anni fa
Michael Brown
d4947c05b2
Allow images to hold references to the originating URI.
Some shuffling around of the image management code; this needs tidying up.
18 anni fa
Michael Brown
43013da9bf
Quick hack to get AoE back in to the tree, on a par with the current
iSCSI hack.
18 anni fa
Holger Lubitz
1ec846b038
make netboot() static
18 anni fa
Michael Brown
487dc5be56
Fix up iscsiboot missing prototype warnings
18 anni fa
Michael Brown
b94420a52b
Ready to start testing
18 anni fa
Marty Connor
9b3c4e4d79
Warnings purge: src/arch/i386, src/core/disk.c, ramdisk, autoboot
18 anni fa
Michael Brown
4b08f4cf0f
Quick hack to get image booting working again
18 anni fa
Michael Brown
160e66dbb9
Typo
18 anni fa
Michael Brown
73b09ecba6
Use stdio.h instead of vsprintf.h
18 anni fa
Michael Brown
49fc8dcdc3
Use dhcp(), imgfetch() etc. to boot rather than dhcp_test().
18 anni fa
Michael Brown
d9ba8f790b
Add route() function to display routing table.
18 anni fa
Michael Brown
78ded6604a
Try booting from the "boot" network device first (i.e. the one which we
were loaded from). The code to identify this device isn't present yet,
but the code to act upon the knowledge is.
18 anni fa
Michael Brown
55e590ab3a
Move header file for usr/autoboot.c to include/usr
18 anni fa
Michael Brown
d24b80acf2
Added network interface management commands
18 anni fa
Michael Brown
98b6154c3e
Add "name" field to network device, to facilitate netdev commands.
18 anni fa
Michael Brown
0c03bb5a9a
Make open() and close() an official part of the netdevice API.
Call netdevice's poll() and transmit() methods only when device is open.
18 anni fa
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.
18 anni fa
Michael Brown
22511400c7
Added generic function for calculating ACPI table checksum
19 anni fa
Michael Brown
6b6096d28b
Strip down i386 PCI configuration space I/O to the bare minimum. A
typical build will now include 880 bytes of PCI support code, compared to
2327 bytes in Etherboot 5.4.
(There is a slight cost of around 5 extra bytes per access to a
non-constant config space address; this should be an overall win.
Driver-specific accesses will usually be to constant addresses, for
which there is no additional cost.)
19 anni fa
Michael Brown
f25731d08f
Split "iSCSI as a SCSI device" out from "iSCSI as a TCP protocol".
19 anni fa
Michael Brown
23c494d14e
Added basic code for implementing co-operative multitasking.
Yes, you really can do it in 65 bytes.
19 anni fa