From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by mx.groups.io with SMTP id smtpd.web11.6689.1579780827756452750 for ; Thu, 23 Jan 2020 04:00:28 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=uhw6JiVo; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.221.68, mailfrom: pete@akeo.ie) Received: by mail-wr1-f68.google.com with SMTP id w15so2787762wru.4 for ; Thu, 23 Jan 2020 04:00:27 -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=uhw6JiVoJFBFmZWyx9OfPLNBalcRm8xUo0gwrtB09Aph+uKjLHJ4umEpElW2Ft0g9D sIW/2a6CV/ObnRXOQj2wjLz7Kju20ai2qxkmxymbcmRQISJVoopY6wFTnBYk4iGMmqpf GMqN6r7bmZuGDKnoyItlRb/mMf0gHF7ng+wvZ3AgwXGWCdkC8y6BUCRDL9syC5+cT4RH WzypEo60jSMvo7HPGVQ6Llp3+r0rfcxoz7QywiS4I44EYYYGtw31BTw0LsDHX546krSM U3WDRaw5GA8KgLZENURMb4UuIvGZufjsrWTVmsKQKXatDh3h/pVLu3q8bapHBXJ/pM/5 1Rdg== 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=tlYN86Lb0QSzCyCY7Mw9Vg6SRZmZzzdCvuXMLiWokwVQa9h85XcsthVImTJ00HEAb7 6EP0VSb/6W9BnhAVpRU9kJsTzw4srQ6WWTuAlFEtjXFpkQjoiR5HILBkAdTZCRNG0c4T ba6yFymwJ9i8m0MP79eqJUJn3dLrCaoLNukege1ZqIdVL+daKyPSLJfozAXYjc8V+Iyy q4t9e72WfBRNu4GR1n4iOmIguJFoWxTubRP+AZU4CwKzNwXIPpQXGWecHIV+he+QLkDX XTvdDecGmJVRRKoO+K6qdLTKG3X0JOUJzkrJRcE0pDmfoqtaymSqu39Ns6Yeg22DCngb kqtQ== X-Gm-Message-State: APjAAAUNkKLb9zN9GJIW1dgIe7F/3IMQCnZZv1UxBq8BdYNN+OY5MXyu WB3oaZ1nPQkUUXo8jthp5k7Bj+++tCw= X-Google-Smtp-Source: APXvYqwrq2CKvOgzRubhv3ql+0KCrmAZ9oo9pO/CTE7HFE6S89niBO01Di66dLBQUMcNv+5WiqYFxQ== X-Received: by 2002:a05:6000:118e:: with SMTP id g14mr18220450wrx.39.1579780822562; Thu, 23 Jan 2020 04:00:22 -0800 (PST) Return-Path: Received: from localhost.localdomain ([84.203.95.128]) by smtp.gmail.com with ESMTPSA id t1sm2492281wma.43.2020.01.23.04.00.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jan 2020 04:00:22 -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 3/3] Platform/Rpi4: Enable Broadcom Genet stub driver Date: Thu, 23 Jan 2020 12:00:05 +0000 Message-Id: <20200123120007.4784-4-pete@akeo.ie> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20200123120007.4784-1-pete@akeo.ie> References: <20200123120007.4784-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