u-boot/lib/efi_selftest
Heinrich Schuchardt 5ca23ed5bc efi_loader: supply EFI network test
This patch provides an EFI application to check the correct function
of the Simple Network Protocol implementation.

It sends a DHCP request and analyzes the DHCP offer.

Different error conditions including a 10s timeout are checked.

A successful execution will look like this:

=> bootefi nettest
Scanning disk ide.blk#0...
Found 1 disks
WARNING: Invalid device tree, expect boot to fail
Network test
DHCP Discover
DHCP reply received from 192.168.76.2 (52:55:c0:a8:4c:02)
as broadcast message.
OK. The test was completed successfully.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
2017-10-09 07:00:36 +02:00
..
efi_selftest.c efi_selftest: make tests easier to read 2017-10-09 07:00:23 +02:00
efi_selftest_console.c efi_selftest: allow printing MAC addresses 2017-10-09 07:00:35 +02:00
efi_selftest_events.c efi_loader: wrong type in wait_for_event 2017-10-09 07:00:30 +02:00
efi_selftest_exitbootservices.c efi_selftest: make tests easier to read 2017-10-09 07:00:23 +02:00
efi_selftest_snp.c efi_loader: supply EFI network test 2017-10-09 07:00:36 +02:00
efi_selftest_tpl.c efi_loader: wrong type in wait_for_event 2017-10-09 07:00:30 +02:00
efi_selftest_util.c efi_loader: supply EFI network test 2017-10-09 07:00:36 +02:00
Kconfig efi_selftest: provide an EFI selftest application 2017-09-18 23:53:57 +02:00
Makefile efi_loader: supply EFI network test 2017-10-09 07:00:36 +02:00