From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by mx.groups.io with SMTP id smtpd.web11.6522.1580735656058480432 for ; Mon, 03 Feb 2020 05:14:16 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=lRXiHAJk; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.221.66, mailfrom: pete@akeo.ie) Received: by mail-wr1-f66.google.com with SMTP id u6so4784329wrt.0 for ; Mon, 03 Feb 2020 05:14:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akeo-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jAbZz+L1SDzUh0l7YfLbXHmBEz/TfeokDii3nBOKtwg=; b=lRXiHAJk/6MakZHJ8eHZOrNMxvIfwEeZkYiBLR/Crr9Ckz3yqvwt4gZEXaFSylMg8V 6JYa1kpz2le4oaKEdPCpkq80oCdhNkZNkONwcxLRNpEf/sk2MzPp79ovghUZ2FHhMT0x 6kxoGbkhX9ebIBnf4b0AEOpmYDppDh0X7z7/qRiQIyf0BwGJ0BneCBK2I/c3iT35ii37 toSLBY5/hxk9OWJzFxAQxmYyo6oLuBIZbObAqLArRgXb9+OjF2T3VOQ7Aw9Egc1p31NM 5LohilyenbEeC6t4vpoSL7lVyPCv6WHxUsPzusfoqYq6aFVGilvtvCDLM4d9mkw7nXtV IyvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jAbZz+L1SDzUh0l7YfLbXHmBEz/TfeokDii3nBOKtwg=; b=AqI8Cl3QJj2VDyNwWxSNWpG94a8fdgDNsKIwj2CocLf9crP8bERic2nVngdQTu8UUj s3DfQL/LrGiUcIwFxV68ztPg3rOy/qcQ0XtL6fPzub9vhLGTZfQtITt3yR1XmPA8wxh2 xwoRBMB1S+8VSLRAKNBU0bBP/lnPZAd+wKkt4lbjC3eK00Vzke1aJMbz0JCubwkc+NNd 7gQPqodTapNPpkHArUuazHFEYVhloHfele6yyaGFw35RC/mpqldW7xqKYU5NmpzEJwRR gV1cy9MAabryWSkq4Tf96gxulL8uQZxAu5ocFkWB9L43eZ3//2GpBZio2XB6by7DgNd7 e9dQ== X-Gm-Message-State: APjAAAXVw71bGx0paoOj2hEwOuSR2VPiLdcKi4oadR2+9NKk8tu/T9/N dNkFWIHdS+QqBX3S/k4tbLFd87Q6Dj4= X-Google-Smtp-Source: APXvYqwxJSZ0XvFxZ7AK1Cbya5tdkqNaqDbVZMbPZN12NykgWmyy6vPv6uS6md+5ckVuOrSvzx8PfQ== X-Received: by 2002:a5d:4052:: with SMTP id w18mr9545970wrp.112.1580735654508; Mon, 03 Feb 2020 05:14:14 -0800 (PST) Return-Path: Received: from localhost.localdomain ([84.203.49.247]) by smtp.gmail.com with ESMTPSA id k10sm1176950wrd.68.2020.02.03.05.14.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Feb 2020 05:14:13 -0800 (PST) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif@nuviainc.com, philmd@redhat.com, lintonrjeremy@gmail.com Subject: [edk2-platforms][PATCH v3 3/3] Platform/RPi4: Enable Broadcom Genet stub driver Date: Mon, 3 Feb 2020 13:13:58 +0000 Message-Id: <20200203131358.16796-4-pete@akeo.ie> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20200203131358.16796-1-pete@akeo.ie> References: <20200203131358.16796-1-pete@akeo.ie> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Jeremy Linton This adds the required references to use the Genet stub driver in order to dynamically populate the MAC address for OS consumption. Signed-off-by: Pete Batard --- Platform/RaspberryPi/RPi4/RPi4.dsc | 5 +++++ Platform/RaspberryPi/RPi4/RPi4.fdf | 1 + 2 files changed, 6 insertions(+) diff --git a/Platform/RaspberryPi/RPi4/RPi4.dsc b/Platform/RaspberryPi/RPi4/RPi4.dsc index b3a114b6e0ed..bd3800c1d653 100644 --- a/Platform/RaspberryPi/RPi4/RPi4.dsc +++ b/Platform/RaspberryPi/RPi4/RPi4.dsc @@ -402,6 +402,7 @@ [PcdsFixedAtBuild.common] gRaspberryPiTokenSpaceGuid.PcdExtendedMemoryBase|0x40000000 gBcm27xxTokenSpaceGuid.PcdBcm27xxRegistersAddress|0xfc000000 gBcm283xTokenSpaceGuid.PcdBcm283xRegistersAddress|0xfe000000 + gBcmNetTokenSpaceGuid.PcdBcmGenetRegistersAddress|0xfd580000 # PCIe specific addresses gBcm27xxTokenSpaceGuid.PcdBcm27xxPciRegBase|0xfd500000 @@ -648,6 +649,10 @@ [Components.common] # Networking stack # !include NetworkPkg/Network.dsc.inc + Silicon/Broadcom/Drivers/Net/BcmGenetDxe/BcmGenetDxe.inf { + + NULL|Platform/RaspberryPi/Library/PlatformPcdLib/PlatformPcdLib.inf + } # # RNG diff --git a/Platform/RaspberryPi/RPi4/RPi4.fdf b/Platform/RaspberryPi/RPi4/RPi4.fdf index 2bcfdb3244f6..db393d47bcea 100644 --- a/Platform/RaspberryPi/RPi4/RPi4.fdf +++ b/Platform/RaspberryPi/RPi4/RPi4.fdf @@ -269,6 +269,7 @@ [FV.FvMain] # Networking stack # !include NetworkPkg/Network.fdf.inc + INF Silicon/Broadcom/Drivers/Net/BcmGenetDxe/BcmGenetDxe.inf # # RNG -- 2.21.0.windows.1