[U-Boot] [PATCH v3 0/3] efi_loader: fix simple network protocol

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Oct 20 19:54:55 UTC 2018


We should not call eth_rx() before the network interface is initialized.
The services of the simple network protocol should check the state of
the network adapter.

Provide a correctly aligned transmit buffer not depending on
CONFIG_EFI_LOADER_BOUNCE_BUFFER.

Correct the unit test.

Add and correct comments.

Without this patch i.mx6 system Wandboard Quad rev B1 fails to execute
bootefi selftest.

---
v3:
	split the patch into a series
v2:
	match EFI_ENTRY() and EFI_EXIT() in efi_network_timer_notify()
	update comments
---

Heinrich Schuchardt (3):
  efi_selftest: fix simple network protocol test
  efi_loader: correctly aligned transmit buffer
  efi_loader: fix simple network protocol

 lib/efi_loader/efi_net.c            | 415 +++++++++++++++++++++++-----
 lib/efi_selftest/efi_selftest_snp.c |  16 +-
 2 files changed, 357 insertions(+), 74 deletions(-)

-- 
2.19.0



More information about the U-Boot mailing list