Displaying 13 results from an estimated 13 matches for "byprotocol".
2015 Jul 03
2
EFI: PXE: "My IP is 0.0.0.0"
...Presumably the UDP and TCP handles _should_ be the same...
--
-Gene
<<<
OK now it works.
Everything is done within efi_create_binding(EFI_GUID *bguid, EFI_GUID *pguid)
from image_DeviceHandle I get the right DevPath handle, I parse it and I get the MAC address.
Next I LibLocateHandle(ByProtocol, bguid, NULL, &nr_handles, &handles)
what gives me all the handles that include the Service Binding Protocol "bguid".
For each of this handles I get the DevPath handle and I parse it looking for the matching MAC address.
The bguid handle with the right MAC is used for binding.
So...
2015 Mar 12
2
Problems PXE booting syslinux.efi on HP EliteBook 2560p / 8460p
...sferred, it nevers asks for ldlinux.e64, and immediately gives up.
I have traced the problem to:
/syslinux-6.03/efi/udp.c\core_udp_open()
/syslinux-6.03/efi/main.c\efi_create_binding(&Udp4ServiceBindingProtocol, &Udp4Protocol);
/syslinux-6.03/gnu-efi/gnu-efi-3.0/lib/hand.c\LibLocateHandle(ByProtocol, bguid, NULL, &nr_handles, &handles);
When LibLocateHandle() try to locate EFI_UDP4_SERVICE_BINDING_PROTOCOL it fails with
EFI_NOT_FOUND (14) which looks like an HP firmware issue.
Newer versions of the HP Elitebook family like 2570p and 8470p PXE boot syslinux.efi correctly.
Unfortunatel...
2015 Aug 13
3
[syslinux:master] efi/pxe: Reuse handle
...uct efi_binding *b;
> EFI_STATUS status;
> - EFI_HANDLE protocol, child, *handles = NULL;
> - UINTN i, nr_handles = 0;
> + EFI_HANDLE protocol, child;
>
> b = malloc(sizeof(*b));
> if (!b)
> return NULL;
>
> - status = LibLocateHandle(ByProtocol, bguid, NULL, &nr_handles, &handles);
> + status = uefi_call_wrapper(BS->OpenProtocol, 6, pxe_handle,
> + bguid, (void **)&sbp,
> + image_handle, pxe_handle,
> + EFI_OPEN_PROTOCOL_GE...
2015 Jul 05
0
EFI: PXE: "My IP is 0.0.0.0"
...should_ be the same...
> --
> -Gene
> <<<
>
> OK now it works.
> Everything is done within efi_create_binding(EFI_GUID *bguid, EFI_GUID *pguid)
> from image_DeviceHandle I get the right DevPath handle, I parse it and I get the MAC address.
> Next I LibLocateHandle(ByProtocol, bguid, NULL, &nr_handles, &handles)
> what gives me all the handles that include the Service Binding Protocol "bguid".
> For each of this handles I get the DevPath handle and I parse it looking for the matching MAC address.
> The bguid handle with the right MAC is used f...
2015 Mar 05
0
Problem boot PXE UEFI on HP ML350 Gen9
> Hi All,
>
> My PXE configurations works fine for a bios PXE (the server in legacy
> mode) but hangs in an EUFI mode. Look like it can transfer the bootx64.efi
> but not the next one ldlinux.e64
>
>
> Any ideas?
>
> Thanks
>
Latest updates (including firmware) for the HP ML350 Gen9 were released
on 2014DEC19 (v1.21); I would suggest double-checking
2011 Aug 22
1
[PATCH] protocol.h: Remove unused locate_protocol()
...erface)
-{
- return uefi_call_wrapper(boot->LocateProtocol, 3, protocol,
- registration, interface);
-}
-
-/**
* locate_handle - Search for handles that support @protocol
* @type: the search type, which handles are returned
* @protocol: the protocol to search by (only valid if @type is ByProtocol)
--
1.7.4.4
2015 Aug 26
4
[PATCH 0/3] efi: A few warning fixes
From: Sylvain Gault <sylvain.gault at gmail.com>
I don't know if I should merge those trivial warning fix into one commit. I
can reformat it as requested. Those are a few warning fixes for the efi part.
The code involved has mainly been introduced in recent commits.
Sylvain Gault (3):
efi: fix warnings about argument types
efi: fix pointer-type mismatch assigment warning
efi: fix
2015 Mar 12
0
Problems PXE booting syslinux.efi on HP EliteBook 2560p / 8460p
...linux.e64, and immediately gives up.
>
> I have traced the problem to:
>
> /syslinux-6.03/efi/udp.c\core_udp_open()
> /syslinux-6.03/efi/main.c\efi_create_binding(&Udp4ServiceBindingProtocol, &Udp4Protocol);
> /syslinux-6.03/gnu-efi/gnu-efi-3.0/lib/hand.c\LibLocateHandle(ByProtocol, bguid, NULL, &nr_handles, &handles);
>
> When LibLocateHandle() try to locate EFI_UDP4_SERVICE_BINDING_PROTOCOL it fails with
> EFI_NOT_FOUND (14) which looks like an HP firmware issue.
> Newer versions of the HP Elitebook family like 2570p and 8470p PXE boot syslinux.efi cor...
2015 Jul 02
2
EFI: PXE: "My IP is 0.0.0.0"
OK there are problems.
From
https://sourceforge.net/p/edk2/mailman/message/31604654/
""In current EDKII implementation, all the network servicebinding protocols for a
NIC device are installed together on the NIC's device handle, so you can get all
of them when you have chosen a special NIC handle.""
Unfortunately there are PCs with UEFI implementations not following the
2015 Mar 05
4
Problem boot PXE UEFI on HP ML350 Gen9
Hi All,
My PXE configurations works fine for a bios PXE (the server in legacy
mode) but hangs in an EUFI mode. Look like it can transfer the bootx64.efi
but not the next one ldlinux.e64
Any ideas?
Thanks
Software>
syslinux ver 6.3
atftp 7.1
Log server side
>> Booting Embedded LOM 1 Port 1 : HP Ethernet 1Gb 4-port 331i Adapter -
NIC (PXE IPv4)
>> Booting PXE over
2015 Jul 22
13
[PULL 0/8] MultiFS suppport for BIOS and EFI
So last week I was wondering if XFS was still working -- even with its
last on-disk structure changes -- and it _suprisingly_ worked as
expected. Right, now I can finally get rid of GRUB and use Syslinux to
boot my Linux on EFI from a rootfs with xfs. Shit, I have two
partitions (the first one being the required ESP) so there is no way to
access the other partitions since because Syslinux does not
2015 Sep 24
0
[PATCH] com32/disk: add UEFI support
...ndles that support EFI_BLOCK_IO_PROTOCOL */
+static EFI_STATUS find_all_block_devs(EFI_HANDLE **bdevs,
+ unsigned long *bdevsno)
+{
+ EFI_STATUS status;
+ unsigned long len = 0;
+
+ *bdevsno = 0;
+
+ status = uefi_call_wrapper(BS->LocateHandle, 5, ByProtocol,
+ &BlockIoProtocol, NULL, &len, NULL);
+ if (EFI_ERROR(status) && status != EFI_BUFFER_TOO_SMALL) {
+ printf("%s: failed to locate BlockIo device handles\n", __func__);
+ return status;
+ }
+
+ *bdevs = malloc(len);
+...
2015 Jun 03
5
[PATCH 0/1] EFI PXE DHCP/proxyDHCP issues fix
...FI_PXE_BASE_CODE *bc;
EFI_PXE_BASE_CODE_DHCPV4_PACKET* pkt_v4;
unsigned int pkt_len = sizeof(EFI_PXE_BASE_CODE_PACKET);
EFI_STATUS status;
EFI_HANDLE *handles = NULL;
UINTN nr_handles = 0;
uint8_t hardlen;
uint32_t ip;
char dst[256];
status = LibLocateHandle(ByProtocol, &PxeBaseCodeProtocol,
NULL, &nr_handles, &handles);
if (status != EFI_SUCCESS)
return;
/* Probably want to use IPv4 protocol to decide which handle to use */
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[0],
&PxeBaseCodePr...