From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 7DF5E7803CD for ; Wed, 17 Jan 2024 21:36:20 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=GIqqYGzdS1K1miQBRVnRgqTSz0ePHUh3nfBzybWsQE4=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1705527379; v=1; b=uN/lStzKIzMbYOrw5kNa6foY40YWZ2kqwuQPSpucLG0mlBtgOlWqx7oBhE0A51n/F2dsx6hj 63gd4g4u5D9fbpA+zbUdDGY+9U4Z0hYVfYY5janKRQs+Fyzt0zR2CvvIfkvl6uvfzXZ51W/OuR8 K6BXr9vweYClSD/A6YPhT0ts= X-Received: by 127.0.0.2 with SMTP id Rov3YY7687511xNXTSaOCN0v; Wed, 17 Jan 2024 13:36:19 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.627.1705527378297448850 for ; Wed, 17 Jan 2024 13:36:18 -0800 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4DC2611FB; Wed, 17 Jan 2024 13:37:03 -0800 (PST) X-Received: from u200865.usa.arm.com (unknown [10.119.39.253]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1335C3F73F; Wed, 17 Jan 2024 13:36:17 -0800 (PST) From: "Jeremy Linton" To: devel@edk2.groups.io Cc: ardb+tianocore@kernel.org, quic_llindhol@quicinc.com, Jeremy Linton Subject: [edk2-devel] [PATCH v2 0/5] Platform/RaspberryPi: Various minor fixes Date: Wed, 17 Jan 2024 15:36:09 -0600 Message-ID: <20240117213614.4188518-1-jeremy.linton@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,jeremy.linton@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: iUwjC1N1pYQvK92BHEIUdakOx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b="uN/lStzK"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io This includes a change to always initialize the PL011 to the configured baud (which should be 115200 for the SBSA UART), which fixes linux's assumption that SBSA UARTs are pre-programmed for 115200. This in turn (re)enables the PL011 when the console is on the miniuart per the config.txt file. Also included is another spin with the DT/XHCI reset patch which puts removal of the DT node that causes linux to reset the XHCI controller, as well as an additional patch that updates the DT to match the PCIe MMIO window we have programmed. This cures much of the problem with the PCIe/XHCI configuration when booted in DT mode on linux. There is also a few menu visibility/section tweaks to assure ACPI/DT specific settings show up at the appropriate time. As well as a minor fix to work around a bogus compiler warning. v1->v2: Ard's review comments. Convert PCIe MMIO address to use the fixedPCDs defined elsewhere Hardcode 115200 for the SBSA UART =09 Jeremy Linton (5): Platform/RaspberryPi/DualSerialPortLib: Always configure the pl011 Silicon/Broadcom/BcmGenetDxe: Suppress some bogus compiler warnings Platform/RaspberryPi: Cleanup menu visibility Platform/RaspberryPi: Give the user control over the XHCI mailbox Platform/RaspberryPi: Update PCIe MMIO window for DT .../RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 10 +++++ .../Drivers/ConfigDxe/ConfigDxe.inf | 1 + .../Drivers/ConfigDxe/ConfigDxeHii.uni | 5 +++ .../Drivers/ConfigDxe/ConfigDxeHii.vfr | 21 +++++++-- Platform/RaspberryPi/Drivers/FdtDxe/FdtDxe.c | 26 +++++++++++ .../RaspberryPi/Drivers/FdtDxe/FdtDxe.inf | 7 +++ .../DualSerialPortLib/DualSerialPortLib.c | 44 ++++++++++++------- Platform/RaspberryPi/RPi3/RPi3.dsc | 6 +++ Platform/RaspberryPi/RPi4/RPi4.dsc | 7 +++ Platform/RaspberryPi/RaspberryPi.dec | 1 + .../Drivers/Net/BcmGenetDxe/GenericPhy.c | 2 + .../Drivers/Net/BcmGenetDxe/SimpleNetwork.c | 3 ++ 12 files changed, 115 insertions(+), 18 deletions(-) --=20 2.43.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113960): https://edk2.groups.io/g/devel/message/113960 Mute This Topic: https://groups.io/mt/103796306/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-