Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iPXE and USB-C
2017-01-16, 12:05 (This post was last modified: 2017-01-16 12:06 by speleo14.)
Post: #6
RE: iPXE and USB-C
Sorry for the long post...

(2017-01-13 18:13)NiKiZe Wrote:  The usb drivers is not included by default in the ipxe build,
so with something like:
Code:
make bin-x86_64-efi/ipxe--ecm--ncm.efi DEBUG=xhci

OK, I tried that.
I used ipxe-26050fd and built with "make bin-x86_64-efi/ipxe--ecm--ncm.efi DEBUG=xhci".

And this is the ouptut for different nics:

Dell USB-C nic:
Code:
Starting ipxe--ecm--ncm.efi
Using load option ''
iPXE inititalising devices...XHCI 0000:00:14.0 has 64 slots 8 intrs 24 ports
XHCI 0000:00:14.0 USB legacy support already disabled
XHCI 0000:00:14.0 timed out waiting for completion
XHCI 0000:00:14.0 could not enable new slot: Connection timed out (http://ipxe.org/4c094092)
XHCI 0000:00:14.0 timed out waiting for completion
XHCI 0000:00:14.0 could not enable new slot: Connection timed out (http://ipxe.org/4c094092)
XHCI 0000:07:00.0 has 64 slots 8 intrs 4 ports
XHCI 0000:07:00.0 USB legacy support already disabled
XHCI 0000:7d:00.0 has 64 slots 8 intrs 4 ports
XHCI 0000:7d:00.0 USB legacy support already disabled
ok

iPXE 1.0.0+ -- Open Source Network Boot Firmware -- http://ipxe.org
Features: DNS HTTP iSCSI TFTP SRP AoE EFI Menu

Could not open net0: Input/output error (http://ipxe.org/1d6a4698)
No more network devices

Error: Protocol error returned from ipxe--ecm--ncm.efi
Error: Not Found from LocateDevicePath
Error: Not Found from LocateDevicePath
Error: Not Found from LocateDevicePath
Error: Not Found from LocateDevicePath

* Hit any key to continue *

LMP USB-C nic:
Code:
Starting ipxe--ecm--ncm.efi
Using load option ''
iPXE inititalising devices...XHCI 0000:00:14.0 has 64 slots 8 intrs 24 ports
XHCI 0000:00:14.0 USB legacy support already disabled
XHCI 0000:00:14.0 timed out waiting for completion
XHCI 0000:00:14.0 could not enable new slot: Connection timed out (http://ipxe.org/4c094092)

XHCI 0000:07:00.0 has 64 slots 8 intrs 4 ports
XHCI 0000:07:00.0 USB legacy support already disabled
XHCI 0000:07:00.0 timed out waiting for completion
assert(( readl ( xhci->op + XHCI_OP_CRCR ) & XHCI_CRCR_CRR ) == 0) failed at drivers/usb/xhci.c line 1763
XHCI 0000:07:00.0 could not enable new slot: Connection timed out (http://ipxe.org/4c094092)
XHCI 0000:7d:00.0 has 64 slots 8 intrs 4 ports
XHCI 0000:7d:00.0 USB legacy support already disabled
ok

iPXE 1.0.0+ -- Open Source Network Boot Firmware -- http://ipxe.org
Features: DNS HTTP iSCSI TFTP SRP AoE EFI Menu

Could not open net0: Input/output error (http://ipxe.org/1d6a4698)
No more network devices

assert(( readl ( xhci->op + XHCI_OP_CRCR ) & XHCI_CRCR_CRR ) == 0) failed at drivers/usb/xhci.c line 1441
Error: Protocol error returned from ipxe--ecm--ncm.efi
Error: Not Found from LocateDevicePath
Error: Not Found from LocateDevicePath
Error: Not Found from LocateDevicePath
Error: Not Found from LocateDevicePath

* Hit any key to continue *

Apple USB-C-USB-A adapter, Apple USB-A nic:
Code:
Starting ipxe--ecm--ncm.efi
Using load option ''
iPXE inititalising devices...XHCI 0000:00:14.0 has 64 slots 8 intrs 24 ports
XHCI 0000:00:14.0 USB legacy support already disabled
XHCI 0000:00:14.0 timed out waiting for completion
XHCI 0000:00:14.0 could not enable new slot: Connection timed out (http://ipxe.org/4c094092)
XHCI 0000:00:14.0 timed out waiting for completion
XHCI 0000:00:14.0 could not enable new slot: Connection timed out (http://ipxe.org/4c094092)
XHCI 0000:07:00.0 has 64 slots 8 intrs 4 ports
XHCI 0000:07:00.0 USB legacy support already disabled
XHCI 0000:7d:00.0 has 64 slots 8 intrs 4 ports
XHCI 0000:7d:00.0 USB legacy support already disabled
ok

iPXE 1.0.0+ -- Open Source Network Boot Firmware -- http://ipxe.org
Features: DNS HTTP iSCSI TFTP SRP AoE EFI Menu

Could not open net0: Input/output error (http://ipxe.org/1d6a4698)
No more network devices

Error: Protocol error returned from ipxe--ecm--ncm.efi
Error: Not Found from LocateDevicePath
Error: Not Found from LocateDevicePath
Error: Not Found from LocateDevicePath
Error: Not Found from LocateDevicePath

* Hit any key to continue *

Apple Thunderbolt3-Thunderbolt2 adapter, Apple Thunderbolt nic:
Code:
Starting ipxe--ecm--ncm.efi
Using load option ''
iPXE inititalising devices...XHCI 0000:00:14.0 has 64 slots 8 intrs 24 ports
XHCI 0000:00:14.0 USB legacy support already disabled
XHCI 0000:00:14.0 timed out waiting for completion
XHCI 0000:00:14.0 could not enable new slot: Connection timed out (http://ipxe.org/4c094092)
XHCI 0000:00:14.0 timed out waiting for completion
XHCI 0000:00:14.0 could not enable new slot: Connection timed out (http://ipxe.org/4c094092)
XHCI 0000:07:00.0 has 64 slots 8 intrs 4 ports
XHCI 0000:07:00.0 USB legacy support already disabled
XHCI 0000:7d:00.0 has 64 slots 8 intrs 4 ports
XHCI 0000:7d:00.0 USB legacy support already disabled
ok

iPXE 1.0.0+ -- Open Source Network Boot Firmware -- http://ipxe.org
Features: DNS HTTP iSCSI TFTP SRP AoE EFI Menu

net0: 68:5B:35:d0:64:91 using 14e4-1682 on 0000:0a:00.0 (open)
[link:down, TX:0 TXE:0 RX:0 RXE:0]
[link status: Down (http://ipxe.org/38086193)]
Waiting for link up on net0................. Down (http://ipxe.org/38086193)
Could not open net1: Input/output error (http://ipxe.org/1d6a4698)
No more network devices

Error: Protocol error returned from ipxe--ecm--ncm.efi
Error: Not Found from LocateDevicePath
Error: Not Found from LocateDevicePath
Error: Not Found from LocateDevicePath
Error: Not Found from LocateDevicePath

* Hit any key to continue *

Different build, without the --ecm--ncm: "make bin-x86_64-efi/ipxe.efi DEBUG=xhci"
Same outcome for everything except
Apple USB-C-USB-A adapter, Apple USB-A nic, where I get:
Code:
Starting ipxe.efi
Using load option ''
iPXE inititalising devices... ok

iPXE 1.0.0+ -- Open Source Network Boot Firmware -- http://ipxe.org
Features: DNS HTTP iSCSI TFTP SRP AoE EFI Menu

net0: 70:11:24:8c:aa:d7 using NII on NII-0000:00:14.0 (open)
[link:up, TX:0 TXE:0 RX:0 RXE:0]

Configuring (net0 70:11:24:8c:aa:d7)..................... No configuration methods succeeded (http://ipxe.org/040ee186)
Could not open net1: Input/output error (http://ipxe.org/1d6a4698)
No more network devices

Error: Protocol error returned from ipxe.efi

* Hit any key to continue *



And now it gets weird: I also tried an older build (ipxe-fd95c78) from november 16 (built with "make bin-x86_64-efi/ipxe.efi"), and this one works, but only sometimes. Sometimes it doesn't, and I also get the "No configuration methods succeeded" error... I'd say it works for around once in 5 or 10 times. Huh



EDIT: about the ifstat, it seems as if I can't get into the iPXE command line. Nothing happens when I press ctrl-B.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
iPXE and USB-C - speleo14 - 2017-01-12, 12:58
RE: iPXE and USB-C - NiKiZe - 2017-01-12, 19:02
RE: iPXE and USB-C - speleo14 - 2017-01-13, 08:31
RE: iPXE and USB-C - NiKiZe - 2017-01-13, 18:13
RE: iPXE and USB-C - speleo14 - 2017-01-14, 23:07
RE: iPXE and USB-C - speleo14 - 2017-01-16 12:05
RE: iPXE and USB-C - speleo14 - 2017-02-23, 12:05
RE: iPXE and USB-C - NiKiZe - 2017-02-23, 23:06
RE: iPXE and USB-C - speleo14 - 2017-02-24, 10:10
RE: iPXE and USB-C - NiKiZe - 2017-02-24, 21:12
RE: iPXE and USB-C - speleo14 - 2017-02-27, 12:26
RE: iPXE and USB-C - NiKiZe - 2017-02-27, 19:23
RE: iPXE and USB-C - speleo14 - 2017-03-01, 09:06
RE: iPXE and USB-C - gzebedin - 2017-12-01, 11:03
RE: iPXE and USB-C - NiKiZe - 2017-12-01, 12:28
RE: iPXE and USB-C - gzebedin - 2017-12-01, 12:50



User(s) browsing this thread: 1 Guest(s)