<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2-platforms.git/Platform/RaspberryPi/Drivers, branch master</title>
<subtitle>EDK II sample platform branches and tags (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2-platforms.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/'/>
<updated>2026-08-31T16:09:59+00:00</updated>
<entry>
<title>Platform/RaspberryPi: Fix mailbox tag struct alignment for GET_MAC_ADDRESS</title>
<updated>2026-08-31T16:09:59+00:00</updated>
<author>
<name>valtzu</name>
<email>valtzu@gmail.com</email>
</author>
<published>2026-08-30T20:13:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=c8295e076affae5cf04fd4234db13a0e025f44e1'/>
<id>urn:sha1:c8295e076affae5cf04fd4234db13a0e025f44e1</id>
<content type='text'>
The mailbox property interface expects every tag's value buffer to be
padded to a 32-bit boundary so the following tags and the end tag stay
aligned.

Commit 61708392042b ("RPiFirmwareDxe: Fix and consolidate incorrect
pragma pack blocks") wrapped every mailbox tag struct in a module-wide
#pragma pack(1). RPI_FW_MAC_ADDR_TAG then no longer rounds up to a
multiple of 4: the packed tag is 10 bytes (6-byte MAC address + 4-byte
"UINT32 Padding"), which leaves the trailing end tag misaligned. Recent
VideoCore firmware rejects such a request with a 0x80000001 partial
response, so RpiFirmwareGetMacAddress () fails and callers fall back to
an all-zero MAC address.

None of these tag structs actually need packing - they are all built
from UINT32 fields and are laid out identically packed or not. The sole
exception was RPI_FW_SERIAL_TAG's UINT64, which would otherwise be
padded to an 8-byte boundary inside the tag body. Drop the #pragma pack
block entirely, express the serial as UINT32[2] (read back with CopyMem)
and remove the now-unneeded RPI_FW_MAC_ADDR_TAG padding member; the
enclosing command struct's natural alignment keeps the end tag aligned.

Signed-off-by: valtzu &lt;valtzu@gmail.com&gt;
</content>
</entry>
<entry>
<title>Platform/RaspberryPi: Revert "use DEBUG for DXE driver"</title>
<updated>2026-05-07T09:47:01+00:00</updated>
<author>
<name>Ard Biesheuvel</name>
<email>ardb@kernel.org</email>
</author>
<published>2026-04-17T11:47:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=b5e92aa284c59a22e7e38f79125a20f774ab7027'/>
<id>urn:sha1:b5e92aa284c59a22e7e38f79125a20f774ab7027</id>
<content type='text'>
This reverts commit 29203d6aa8d2197be9401dd96c112ccb320708d0.

Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>use DEBUG for DXE driver</title>
<updated>2026-04-09T07:53:13+00:00</updated>
<author>
<name>Raymond Yang</name>
<email>yangrongwei@hotmail.com</email>
</author>
<published>2025-08-31T16:24:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=29203d6aa8d2197be9401dd96c112ccb320708d0'/>
<id>urn:sha1:29203d6aa8d2197be9401dd96c112ccb320708d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Platform/RaspberryPi: Add support for Raspberry Pi Zero 2 W</title>
<updated>2025-11-06T18:00:05+00:00</updated>
<author>
<name>Ard Biesheuvel</name>
<email>ardb@kernel.org</email>
</author>
<published>2025-11-06T17:36:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=26fd2e72d51d2bf851d16bc5becc21d35378142d'/>
<id>urn:sha1:26fd2e72d51d2bf851d16bc5becc21d35378142d</id>
<content type='text'>
Add support for the Raspberry Pi variant Zero 2 W, which is based on the
same SoC as the Raspberry Pi 3. This is needed in order to correctly
identify the SoC peripherals such as the MMC/SD controller.

Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>Platform/RaspberryPi: Update uses of SMBIOS type 4 and 7 structures</title>
<updated>2025-09-30T09:01:11+00:00</updated>
<author>
<name>Sarah Walker</name>
<email>Sarah.Walker2@arm.com</email>
</author>
<published>2025-08-05T08:31:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=0e9f8bdd3a5519f1efb4b8a6639291e11f1a0238'/>
<id>urn:sha1:0e9f8bdd3a5519f1efb4b8a6639291e11f1a0238</id>
<content type='text'>
Use SMBIOS_CACHE_SIZE, SMBIOS_CACHE_SIZE2 and AArch64 PROCESSOR_ID_DATA
structures.

Signed-off-by: Sarah Walker &lt;Sarah.Walker2@arm.com&gt;
</content>
</entry>
<entry>
<title>Platform/RaspberryPi: migrate RPi3/RPi4 to MdePkg BaseFdtLib</title>
<updated>2025-06-02T10:08:39+00:00</updated>
<author>
<name>Leif Lindholm</name>
<email>leif.lindholm@oss.qualcomm.com</email>
</author>
<published>2025-05-29T17:46:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=33853296a35c79a6994b571469f1c8f5214065e0'/>
<id>urn:sha1:33853296a35c79a6994b571469f1c8f5214065e0</id>
<content type='text'>
EmbeddedPkg FdtLib is getting deleted. Migrate RPI to MdePkg BaseFdtLib
which is the replacement.

Signed-off-by: Leif Lindholm &lt;leif.lindholm@oss.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>GLOBAL: Align MDEPKG_NDEBUG dependent code with edk2 debug macro changes</title>
<updated>2024-11-06T10:27:54+00:00</updated>
<author>
<name>Mike Beaton</name>
<email>mjsbeaton@gmail.com</email>
</author>
<published>2024-10-23T22:04:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=75c66eaf2e052192255588f1694a2de5888afb62'/>
<id>urn:sha1:75c66eaf2e052192255588f1694a2de5888afb62</id>
<content type='text'>
edk2 commit ae83c6b7fd83a5906e016a32027c1bcd792a624e updates the 'null'
variants of the DebugLib macros (used when MDEPKG_NDEBUG is defined) so
that they explicitly discard their parameters using `if (FALSE)` code
blocks. These are understood as marking the contained code as referenced
but unused by all supported compilers. This avoids the need for additional
MDEPKG_NDEBUG dependent code in c files, to conditionally hide static
methods or functions which are only used in debug macros. Now, such code
can and must be removed.

This commit updates the relevant MDEPKG_NDEBUG code in c files throughout
edk2-platforms (there are only some 20 instances).

We also fix a couple of cases where the wrapped variables had incorrectly
not been marked STATIC.

Since the RELEASE builds of all platforms which used this kind of code
break after the above-mentioned edk2 commit, it is considered preferable
to have one single cross-platform commit to edk2-platforms which resolves
this, rarther than spreading the fix across multiple commits.

Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Mike Beaton &lt;mjsbeaton@gmail.com&gt;
</content>
</entry>
<entry>
<title>Platform/RaspberryPi/RPiFirmwareDxe: Fix and consolidate incorrect pragma pack blocks</title>
<updated>2024-10-03T08:46:18+00:00</updated>
<author>
<name>valtzu</name>
<email>valtzu@gmail.com</email>
</author>
<published>2024-10-02T07:21:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=61708392042bbcafc4368a9dd8cf316c3b591dff'/>
<id>urn:sha1:61708392042bbcafc4368a9dd8cf316c3b591dff</id>
<content type='text'>
This fixes serial number on RPi4 – it is now the actual serial number instead of MAC address.

Signed-off-by: valtzu &lt;valtzu@gmail.com&gt;
</content>
</entry>
<entry>
<title>Update code to be more C11 compliant by using __func__</title>
<updated>2024-09-16T20:34:50+00:00</updated>
<author>
<name>Rebecca Cran</name>
<email>rebecca@bsdio.com</email>
</author>
<published>2024-09-01T00:23:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=6cfae9dac2ec4d99a10c9efd6d20a521904931fe'/>
<id>urn:sha1:6cfae9dac2ec4d99a10c9efd6d20a521904931fe</id>
<content type='text'>
__FUNCTION__ is a pre-standard extension that gcc and Visual C++ among
others support, while __func__ was standardized in C99.

Since it's more standard, replace __FUNCTION__ with __func__ throughout
edk2-platforms.

Signed-off-by: Rebecca Cran &lt;rebecca@bsdio.com&gt;
</content>
</entry>
<entry>
<title>Platform/RaspberryPi: Drop platform specific EfiResetSystemLib</title>
<updated>2024-07-30T15:41:39+00:00</updated>
<author>
<name>Ard Biesheuvel</name>
<email>ardb@kernel.org</email>
</author>
<published>2024-07-25T10:20:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=8975c5d45ea92a9c9817d527a8a2d0c535a5108e'/>
<id>urn:sha1:8975c5d45ea92a9c9817d527a8a2d0c535a5108e</id>
<content type='text'>
Drop the now unused EfiResetSystemLib implementation, which has been
superseded by the generic one from EDK2.

Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Reviewed-by: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
</content>
</entry>
</feed>
