| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Store and reuse handle found with EFI_LOADED_IMAGE_PROTOCOL for
EFI_PXE_BASE_CODE_PROTOCOL and EFI_UDP4_SERVICE_BINDING_PROTOCOL
This caused machines with multiple NICs to not reliably attach to the
correct NIC handle.
gnu-efi LoadedImageProtocol PxeBaseCodeProtocol Udp4ServiceBindingProtocol
Reported-By: Holger Baust <holger.baust@freenet.ag>
Reported-By: Michael Glasgow <glasgow@beer.net>
Reported-By: Da Shi Cao <dscao999@gmail.com>
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
|
|
|
|
| |
Filter (by setting a minimum option number) the options based on pkt_type.
DHCPDiscover/PXEReply should only contain info about client ID, boot
server and PXELINUX options.
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
|
|
|
| |
This prevented a proxyDHCP/PXEReply from overriding the IPInfo.serverip,
most often stored in BOOTP field siaddr or DHCP option 54.
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
|
|
|
| |
Add packet type so we can eventually only grab certain data elements from
the DHCP packets appropriately
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
| |
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
|
|
|
|
|
| |
parse_dhcp() does this also, seeming to set a bad value for some clients.
Fixes some deaf clients.
Signed-off-by: Patrick Masotta <masottaus@yahoo.com>
[gene.cumm@gmail.com: Just move existing code]
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
EFI allows us to have access to more DHCP-related packets. Choose the
packet with the highest priority for the third to parse.
Signed-off-by: Patrick Masotta <masottaus@yahoo.com>
[gene.cumm@gmail.com: Only change the third parsing iteration;
reflow to better fit code standards; don't reparse DhcpAck]
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
| |
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
|
|
|
|
|
| |
For the SERIAL directive, allow octal (0###) and hexidecimal (0x###)
notation on the port and flow control arguments.
Two of the old ASM getint/parseint callers
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
|
|
|
|
| |
A lot more items have identical dependencies; regroup. Certain items make
more sense to build first; resequence. Group library dependencies before
COM32 directories
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
| |
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code was passing sizeof(const char *) - not the length of the string
or the size of the buffer - as the length to strncmp(). These two cases
don't need the length, so switch to strcmp.
Fixes the warning: argument to 'sizeof' in 'strncmp' call is the same
expression as the second source; did you mean to provide an explicit
length?
Signed-off-by: Jonathan Boeing <jonathan.n.boeing@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code was passing sizeof(char *) - not the length of the buffer - to
memset. Change the function to take the length of the buffer as a
parameter.
Fixes the warning: argument to 'sizeof' in 'memset' call is the same
expression as the destination; did you mean to provide an explicit
length?
Signed-off-by: Jonathan Boeing <jonathan.n.boeing@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code was passing sizeof(char *) - not the length of the buffer - to
memset. Change the function to take the length of the buffer as a
parameter.
Fixes the warning: argument to 'sizeof' in 'memset' call is the same
expression as the destination; did you mean to provide an explicit
length?
Signed-off-by: Jonathan Boeing <jonathan.n.boeing@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code was passing sizeof(char *) - not the length of the buffer - to
strlcpy and snprintf. Change the function to take the length of the
buffer as a parameter.
Fixes the warning: argument to 'sizeof' in 'snprintf' call is the same
expression as the destination; did you mean to provide an explicit
length?
Signed-off-by: Jonathan Boeing <jonathan.n.boeing@gmail.com>
|
|
|
|
|
|
|
|
| |
When building efi64, there's a size mismatch between the uint32_t
variable (32 bits) and the -1UL (64 bits). This fixes the warning:
large integer implicitly truncated to unsigned type
Signed-off-by: Jonathan Boeing <jonathan.n.boeing@gmail.com>
|
|
|
|
|
|
|
| |
Fixes the warning: format '%x' expects argument of type 'unsigned int', but
argument 2 has type 'size_t'
Signed-off-by: Jonathan Boeing <jonathan.n.boeing@gmail.com>
|
|
|
|
| |
Signed-off-by: Jonathan Boeing <jonathan.n.boeing@gmail.com>
|
|
|
|
| |
Signed-off-by: Jonathan Boeing <jonathan.n.boeing@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the kernel is relocatable and the protected mode code will not fit
in the initially determined location, that code will be moved to the
next available location. However, beginning with commit 8f470e7b, the
code is moved to the initially determined location instead of the next
available location because prot_mode_base is no longer updated to the
correct location. Since whdr->code32_start is updated, it is pointing
to the wrong execution start location, random code is executed and
the machine is rebooted.
Restore the old behavior by assigning prot_mode_base the value of
base. Tested on a machine that exposed this behavior.
Signed-off-by: Scot Doyle <lkml14@scotdoyle.com>
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Michal Soltys <soltys@ziu.info>
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
|
|
|
|
| |
This can be useful to force boot even if checksums of GPT header and/or
partition list are invalid. This works independently from 'strict'
option.
Signed-off-by: Michal Soltys <soltys@ziu.info>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of calling it just once after the examination of both headers
(the 2nd one only if necessary) - call it per each header during
examination.
Thus in unlikely situation of passing crc check on primary gpt header
and at the same time failing sanity checks, it will also try backup
header.
Signed-off-by: Michal Soltys <soltys@ziu.info>
|
|
|
|
|
|
|
| |
It's relatively simple to just apply the geodsp1s_f.bin force drive 80h
after applying the plain geodsp1s.img.xz
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
|
|
| |
Remove 1 spelling error
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
|
|
|
| |
Move library dependendcies to a variable; Add another _f (Force DL == 80h)
variant.
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
|
|
|
|
| |
Print drive number at start. Print '!' before data when an error is
encountered (but continue). Several macros to change codesize. Code
refactoring to reduce size.
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
| |
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
|
|
|
| |
mk-lba-img.pl misdirects a status message about len/tail such that it hits
stdout (which may be our file) instead of stderr.
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|
|
|
|
|
|
|
| |
Correct base's type to match its initialization from prot_mode_base and
passage to syslinux_memmap_find(). Tested with extlinux.
Signed-off-by: Scot Doyle <lkml14@scotdoyle.com>
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
|\
| |
| |
| | |
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
|
| |
| |
| |
| | |
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
|
| |
| |
| |
| | |
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
|
| |
| |
| |
| | |
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
|
| |
| |
| |
| | |
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
|
| |
| |
| |
| | |
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
|
| |
| |
| |
| | |
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
|
| |
| |
| |
| | |
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
|
| |
| |
| |
| |
| |
| | |
Not expecting them does not cause any problems, they are ignored by Lua anyway.
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
|
| |
| |
| |
| |
| |
| | |
This also enables manual unloading of files by callig f:__gc().
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
|
| |
| |
| |
| | |
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Light userdata don't have individual metatables, thus they aren't
suitable for type checking. Also, a200ad6d replaced relying on reused
memory (from luaL_checkstring) with writing to uninitialized pointers;
copy the filename instead into freshly allocated memory.
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
|
| |
| |
| |
| | |
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
|
| |
| |
| |
| | |
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
|
| |
| |
| |
| | |
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
|
| |
| |
| |
| | |
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
|
| |
| |
| |
| | |
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
|
| |
| |
| |
| | |
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
|