Skip to content

Instantly share code, notes, and snippets.

@ljfranklin
Last active September 20, 2020 12:08
Show Gist options
  • Save ljfranklin/99d8c4560d2ddf9e01a49c45bee5c09c to your computer and use it in GitHub Desktop.
Save ljfranklin/99d8c4560d2ddf9e01a49c45bee5c09c to your computer and use it in GitHub Desktop.
iPXE SNP configuration failure
DEBUG='embedded,' \
DEBUG+='netdevice,' \
DEBUG+='netdev_settings,' \
DEBUG+='image,' \
DEBUG+='dhcp,' \
DEBUG+='efi_acpi,' \
DEBUG+='efi_autoboot,' \
DEBUG+='efi_block,' \
DEBUG+='efi_bofm,' \
DEBUG+='efi_debug,' \
DEBUG+='efi_download,' \
DEBUG+='efi_driver,' \
DEBUG+='efi_entropy,' \
DEBUG+='efi_fbcon,' \
DEBUG+='efi_file,' \
DEBUG+='efi_guid,' \
DEBUG+='efi_image,' \
DEBUG+='efi_init,' \
DEBUG+='efi_local,' \
DEBUG+='efi_pci,' \
DEBUG+='efi_pxe,' \
DEBUG+='efi_reboot,' \
DEBUG+='efi_smbios,' \
DEBUG+='efi_snp_hii,' \
DEBUG+='efi_snp,' \
DEBUG+='efi_strings,' \
DEBUG+='efi_time,' \
DEBUG+='efi_timer,' \
DEBUG+='efi_uaccess,' \
DEBUG+='efi_umalloc,' \
DEBUG+='efi_usb,' \
DEBUG+='efi_utils,' \
DEBUG+='efi_watchdog,' \
DEBUG+='efidrvprefix,' \
DEBUG+='efiprefix,' \
DEBUG+='iscsi,' \
DEBUG+='nii,' \
DEBUG+='open,' \
DEBUG+='scsi,' \
DEBUG+='snp,' \
DEBUG+='snpnet' \
make EXTRA_CFLAGS="-mno-unaligned-access" ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- bin-arm32-efi/snp.efi
U-Boot 2020.07-dirty (Sep 14 2020 - 08:08:51 -0400) for ODROID-XU3/XU4/HC1/HC2
CPU: Exynos5422 @ 800 MHz
DRAM: 2 GiB
MMC: EXYNOS DWMMC: 0, EXYNOS DWMMC: 2
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Model: Odroid XU3/XU4/HC1/HC2 based on Exynos5422
Type: hc1
In: serial
Out: serial
Err: serial
Boot device: MMC(2)
Net: No ethernet found.
Hit any key to stop autoboot: 2  1  0
switch to partitions #0, OK
mmc2 is current device
Scanning mmc 2:1...
Found U-Boot script /boot.scr
2474 bytes read in 18 ms (133.8 KiB/s)
## Executing script at 50000000
starting USB...
Bus ehci@12110000: USB EHCI 1.00
Bus xhci@12000000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
Bus xhci@12400000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus ehci@12110000 for devices... 1 USB Device(s) found
scanning bus xhci@12000000 for devices... 1 USB Device(s) found
scanning bus xhci@12400000 for devices... 2 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
scanning usb for ethernet devices... 1 Ethernet Device(s) found
232416 bytes read in 41 ms (5.4 MiB/s)
14754 bytes read in 23 ms (626 KiB/s)
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
Card did not respond to voltage select!
Scanning disk mmc@12200000.blk...
Disk mmc@12200000.blk not ready
Scanning disk mmc@12220000.blk...
Found 3 disks
EFI handle 0xb9968f10 systab 0xbe95d688
EFI does not provide protocol ConsoleControl
EFI protocol ef9fc172-a1b2-4693-b327-6d32fc416042 is at 0xbe9b1b54
EFI does not provide protocol AcpiTable
EFI protocol 8b843e20-8132-4852-90cc-551a4e4a7f1c is at 0xbe9b1b14
EFI does not provide configuration table eb9d2d30-2d88-11d3-9a16-0090273fc14d
EFI configuration table eb9d2d31-2d88-11d3-9a16-0090273fc14d is at 0xb893d000
EFI image base address 0xb887e000
EFI image device path /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(2)/SD(0)/HD(1,MBR,0x6bd839b2,0x800,0x79800)
EFI found no autoboot device
iPXE initialising devices...EFI timer started at 32 ticks per second
EFIDRV connecting our drivers
SNP /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(001e0631d38b,1) is an SNP device
EFIDRV /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(001e0631d38b,1) has driver "SNP"
EFIDRV /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(001e0631d38b,1) disconnecting existing drivers
EFIDRV /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(001e0631d38b,1) connecting new drivers
SNP /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(001e0631d38b,1) is an SNP device
EFIDRV /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(001e0631d38b,1) has driver "SNP"
EFIDRV /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(001e0631d38b,1) DRIVER_START
EFIDRV /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(001e0631d38b,1) is not supported by driver "NII": Error 0x7f684083 (http://ipxe.org/7f684083)
SNP /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(001e0631d38b,1) is an SNP device
EFIDEV /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(001e0631d38b,1) has no parent supporting PciIo: Error 0x7f45e08e (http://ipxe.org/7f45e08e)
EFIDEV /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(001e0631d38b,1) is not a PCI device: Error 0x7f45e08e (http://ipxe.org/7f45e08e)
EFIDEV /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(001e0631d38b,1) could not get underlying device information
NETDEV net0 registered (phys SNP-0xb9977500 hwaddr 00:1e:06:31:d3:8b)
SNPDEV 0xb88b70d4 installed for net0 as device /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(001e0631d38b,1)/MAC(001e0631d38b,1)
SNP /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(001e0631d38b,1) registered as net0
NETDEV net0 link is up
SNPDEV 0xb88b70d4 link is up
EFIDRV /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(001e0631d38b,1) using driver "SNP"
ok
iPXE 1.20.1+ (g4bd0) -- Open Source Network Boot Firmware -- http://ipxe.org
Features: DNS HTTP iSCSI TFTP AoE EFI Menu
Press Ctrl-B for the iPXE command line..
iPXE> ifstat
net0: 00:1e:06:31:d3:8b using SNP on SNP-0xb9977500 (closed)
[Link:up, TX:0 TXE:0 RX:0 RXE:0]
iPXE> ifopen net0
NETDEV net0 opening
SNP net0 could not set station address before initialising: Error 0x7f594083 (http://ipxe.org/7f594083)
SNP net0 could not set station address after initialising: Error 0x7f594083 (http://ipxe.org/7f594083)
SNP net0 could not set receive filters 0x00 (have 0x00): Error 0x7f594083 (http://ipxe.org/7f594083)
SNP net0 could not set receive filters 0x07 (have 0x00): Error 0x7f594083 (http://ipxe.org/7f594083)
SNP net0 could not set receive filters 0x15 (have 0x00): Error 0x7f594083 (http://ipxe.org/7f594083)
SNP net0 could not set receive filters 0x05 (have 0x00): Error 0x7f594083 (http://ipxe.org/7f594083)
SNP net0 could not set receive filters 0x01 (have 0x00): Error 0x7f594083 (http://ipxe.org/7f594083)
SNPDEV 0xb88b70d4 link is up
iPXE> NETDEV net0 failed to receive 0x0: The socket is not connected (http://ipxe.org/380f6093)
NETDEV net0 failed to receive 0x0: The socket is not connected (http://ipxe.org/380f6093)
NETDEV net0 failed to receive 0x0: The socket is not connected (http://ipxe.org/380f6093)
NETDEV net0 failed to receive 0x0: The socket is not connected (http://ipxe.org/380f6093)
##### FREEZES #####
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment