From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400c:c05::231; helo=mail-vk0-x231.google.com; envelope-from=anatol.pomozov@gmail.com; receiver=edk2-devel@lists.01.org Received: from mail-vk0-x231.google.com (mail-vk0-x231.google.com [IPv6:2607:f8b0:400c:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5A08F210D691C for ; Sun, 13 May 2018 07:28:59 -0700 (PDT) Received: by mail-vk0-x231.google.com with SMTP id g83-v6so5992259vkc.6 for ; Sun, 13 May 2018 07:28:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=kUM4/sNos7px5ETTsSZckaB8Ort7LPVUOQA/XHCpxMA=; b=foKj4n0z1L9Askh/dtuIkh9vJi3nz32MbD0uc0o9nIW1gOsp2wnv6xX6n2bYgXPXb3 jw85h4tK07jMRXFZfWmpafZD41zrok9z+D7jX28pJgb9eN6SBbvqKjG3tOlDH0jcb9XT kbmQPixoNrbGl/JuYaaty7VUXlSV8r4gUlETc2hxCxwZ1xBc9itSGJj07/JIfzlT3W9c EodPK+JY7I3VanBp0ADfteRHDVSK4HRbqH5r7iXcMeaY889YW5vt6SDcLeURKWlj7fR/ 9/lfPtxHXRJCa5UnNOSfCsEdc98QmxXe5c+IU+bS6jOEj8MgRlLgEjbcI5TbNyzluXSa 65eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=kUM4/sNos7px5ETTsSZckaB8Ort7LPVUOQA/XHCpxMA=; b=gpp+nGwLk5T5wQPjRMcqSn7M3dBYBgyFwMrV7EwTfOlCjXhHq04EuOE1zZ13YzyCE8 0LdmcwrPprzLPrn//BoDT6k+iaCzVZmjeQKvkvl0jDPyX5QpAw9xO/VRuUq9+oXYngTJ JXKW1+1DLn3yqwkpV5eDaYRRUa2urPt5eHgq4Io1G6BjPSATz2j0CpytIvqJNpqYLsfr Bw2jj6ADhI8M7Qr3+m3IdWYJNQAVI/7/SlfP+wi9ACTbIpPaYkM9mRExhCnK+jDJQPh+ epJmqLXS9j6LVZRD/1/vBNW+U1s28cIAoJHrRd7huBfCo2t1CE4Ff26bUXkWgJLHzdi1 8Fpw== X-Gm-Message-State: ALKqPwd6LUF2sJLVE/bZz40WjcYmGvPbyMcnYT3C/BlUu1SRQbPpa53A NEsHAxSB0lyRVz2vfichuQ1N+3vw3ICzhPtgZQsJzmq2 X-Google-Smtp-Source: AB8JxZrSaLw752Py60Fg8D/SHZDqSjivf46PgrTeZ4idJAEn4gNvp9Nkh83HlHSXpaVPoDz83jqqq0SRGk/32NyAeM8= X-Received: by 2002:a1f:29d8:: with SMTP id p207-v6mr8117319vkp.130.1526221737651; Sun, 13 May 2018 07:28:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.21.205 with HTTP; Sun, 13 May 2018 07:28:57 -0700 (PDT) From: Anatol Pomozov Date: Sun, 13 May 2018 07:28:57 -0700 Message-ID: To: edk2-devel@lists.01.org Subject: Enabling network interface for Realtek8168 chip X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2018 14:28:59 -0000 Content-Type: text/plain; charset="UTF-8" Hello I have a HP Chromebox (codename "zako") that is a small-form factor nice x86 computer useful for experiments. I installed firmware from Matt Davo - the firmware is Coreboot + UEFI payload. UEFI compiled from this sourcecode fork https://github.com/MattDevo/edk2 At my cromebox I have an ethernet contoller that is identified by Linux `lspci` as "01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)" I want to use ethernet network from an UEFI application. I use LocateHandle() to find a SimpleNetworkProtocol for me. Network works fine with QEMU and Intel e1000e controller. But at real hardware at Chromebox LocateHandle() handle returns error EFI_NOT_FOUND. It sounds like the realtek driver is not enabled at UEFI firmware level. Does anyone have pointers how to enable or implement Realtek8168 driver in edk2?