<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2-platforms.git/Platform/RaspberryPi/RPi4/RPi4.fdf, branch CodeCleanup</title>
<subtitle>EDK II sample platform branches and tags (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2-platforms.git/atom?h=CodeCleanup</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/atom?h=CodeCleanup'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/'/>
<updated>2023-02-03T12:43:19+00:00</updated>
<entry>
<title>Platform/RPi4: Add EFI_MP_SERVICES_PROTOCOL support</title>
<updated>2023-02-03T12:43:19+00:00</updated>
<author>
<name>Ard Biesheuvel</name>
<email>ardb@kernel.org</email>
</author>
<published>2023-01-05T16:59:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=0540e1a244eafd3449115572513c4a1282edface'/>
<id>urn:sha1:0540e1a244eafd3449115572513c4a1282edface</id>
<content type='text'>
Fix the ARM_MPCORE_INFO table and incorporate the DXE driver and test
app to the build so that EFI_MP_SERVICES_PROTOCOL can be used and tested
on Raspberry Pi 4. Note that the test app is not added to the image - it
can be taken from the build directory and executed from the UEFI shell.

Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Acked-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Reviewed-by: Rebecca Cran &lt;rebecca@quicinc.com&gt;
</content>
</entry>
<entry>
<title>Platform/RaspberryPi: Enable NVMe boot on CM4</title>
<updated>2021-08-22T13:55:26+00:00</updated>
<author>
<name>Jeremy Linton</name>
<email>jeremy.linton@arm.com</email>
</author>
<published>2021-08-20T04:16:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=5a6706e679201965e473e27bd5980c6da3e3d9d8'/>
<id>urn:sha1:5a6706e679201965e473e27bd5980c6da3e3d9d8</id>
<content type='text'>
The CM4 has a number of carrier boards with PCIe
slots. With the PCIe changes in place its quite
possible to utilize a NVMe root device. Lets allow
people to boot from it.

Reviewed-by: Andrei Warkentin &lt;awarkentin@vmware.com&gt;
Signed-off-by: Jeremy Linton &lt;jeremy.linton@arm.com&gt;
Reviewed-By: Samer El-Haj-Mahmoud &lt;Samer.El-Haj-Mahmoud@arm.com&gt;
</content>
</entry>
<entry>
<title>Platform/RaspberryPi: Enable default Secure Boot variables initialization</title>
<updated>2021-08-04T12:32:33+00:00</updated>
<author>
<name>Grzegorz Bernacki</name>
<email>gjb@semihalf.com</email>
</author>
<published>2021-07-14T12:30:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=5ba08a9b7516b1e1de9a49a41d22f1e2ea599dfc'/>
<id>urn:sha1:5ba08a9b7516b1e1de9a49a41d22f1e2ea599dfc</id>
<content type='text'>
This commit allows to initialize Secure Boot default key
and databases from data embedded in firmware binary.

Signed-off-by: Grzegorz Bernacki &lt;gjb@semihalf.com&gt;
Reviewed-by: Sunny Wang &lt;sunny.wang@arm.com&gt;
Reviewed-by: Pete Batard &lt;pete@akeo.ie&gt;
Tested-by: Pete Batard &lt;pete@akeo.ie&gt; # on Raspberry Pi 4
</content>
</entry>
<entry>
<title>Platform/RaspberryPi: Enable Boot Discovery Policy.</title>
<updated>2021-08-03T16:05:18+00:00</updated>
<author>
<name>Grzegorz Bernacki</name>
<email>gjb@semihalf.com</email>
</author>
<published>2021-08-02T12:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=2e87ce84dc67cd8b2f1a39e34ccdd885a2993226'/>
<id>urn:sha1:2e87ce84dc67cd8b2f1a39e34ccdd885a2993226</id>
<content type='text'>
Modify platform boot to check the value of BootDiscoveryPolicy variable
and use BootPolicyManager Protocol to connect devices specified by the
variable.

Signed-off-by: Grzegorz Bernacki &lt;gjb@semihalf.com&gt;
Reviewed-by: Sunny Wang &lt;sunny.wang@arm.com&gt;
Reviewed-by: Pete Batard &lt;pete@akeo.ie&gt;
Tested-by: Pete Batard &lt;pete@akeo.ie&gt;
</content>
</entry>
<entry>
<title>Platform/RaspberryPi4: remove ASIX 88772b driver</title>
<updated>2020-05-12T17:19:35+00:00</updated>
<author>
<name>Ard Biesheuvel</name>
<email>ard.biesheuvel@arm.com</email>
</author>
<published>2020-05-11T14:48:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=8977ff44a5737dcc5c70b29e684b0f4d21869ae3'/>
<id>urn:sha1:8977ff44a5737dcc5c70b29e684b0f4d21869ae3</id>
<content type='text'>
The Raspberry Pi4 has gigabit ethernet builtin, for which we now
have a UEFI driver. So no need for the ASIX 88772b driver.

Signed-off-by: Ard Biesheuvel &lt;ard.biesheuvel@arm.com&gt;
Reviewed-by: Andrei Warkentin &lt;andrey.warkentin@gmail.com&gt;
Reviewed-by: Samer El-Haj-Mahmoud &lt;Samer.El-Haj-Mahmoud@arm.com&gt;
Reviewed-by: Leif Lindholm &lt;leif@nuviainc.com&gt;
</content>
</entry>
<entry>
<title>Platform/RaspberryPi: Rip out FdtDxe logic to use internal DTB</title>
<updated>2020-05-01T17:07:15+00:00</updated>
<author>
<name>Andrei Warkentin</name>
<email>andrey.warkentin@gmail.com</email>
</author>
<published>2020-04-30T21:16:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=be2ed5e3426ae8549a5a762b348594dd5230726d'/>
<id>urn:sha1:be2ed5e3426ae8549a5a762b348594dd5230726d</id>
<content type='text'>
Initially, FdtDxe used an internal (embedded in UEFI) FDT, because it
was neither understood how to consume the one loaded by the VideoCore
firmware, nor understood just how important it is to use the DTB
provided by config.txt.

Embedding the DT was a bad idea, because:
- Permanently stale
- No overlays

Also, on devices like the Pi 4 you _have_ to have a DT around for the
start4 VPU firmware to pick up, otherwise the board is left in an
inconsistent state. So we're being prescriptive now about DT use with
config.txt, which means this internal DT logic is dead code.

Further FdtDxe cleanups are possible and will be handled separately,
specifically:
- probably no need to use a separate allocation for patched DT (optimize
  memory used)
- suspicious use of EfiBootServicesData (I filed [0] to sort out the real
  requirements)

Testing: Booted Ubuntu 18.04 on Pi 2B (1.2).

[0] https://github.com/ARM-software/ebbr/issues/45

Signed-off-by: Andrei Warkentin &lt;andrey.warkentin@gmail.com&gt;
Reviewed-by: Pete Batard &lt;pete@akeo.ie&gt;
</content>
</entry>
<entry>
<title>RPi3/RPi4: fix RPi 3 VPU-passed FDT handling by unifying with RPi4 implementation</title>
<updated>2020-05-01T10:22:39+00:00</updated>
<author>
<name>Andrei Warkentin</name>
<email>andrey.warkentin@gmail.com</email>
</author>
<published>2020-04-30T19:19:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=90e73225b07a12b103431e35df646eda36f8fe1a'/>
<id>urn:sha1:90e73225b07a12b103431e35df646eda36f8fe1a</id>
<content type='text'>
A rev-up of start.elf VPU firmware meant that the previous scheme of
loading the DTB over top of RPI_EFI.FD no longer works - the DT is now
loaded way before the armstub, so any overlap means the DT is overridden.

This change re-arranges a few items in the FD, allowing the DTB to loaded
directly after the FD in physical memory.

Unlike the Pi 4 implementation, we can't move the UEFI image down in memory,
as that needs a TF-A changem so it just reduces the size by 0x10000. The
same base address (0x1f0000) is used as on the Pi 4.

The Pi 3 FDF can be further unified with Pi 4 after work on TF-A to move
to a single BL32-based Pi 3 TF-A implementation.

Tested: Pi 3A+, Pi 2B v1.2, Pi 4B (4GB).

Signed-off-by: Andrei Warkentin &lt;andrey.warkentin@gmail.com&gt;
Reviewed-by: Pete Batard &lt;pete@akeo.ie&gt;
</content>
</entry>
<entry>
<title>Platform/RaspberryPi/RPi4: Switch to common GraphicsConsoleDxe</title>
<updated>2020-04-14T16:46:28+00:00</updated>
<author>
<name>Samer El-Haj-Mahmoud</name>
<email>samer@elhajmahmoud.com</email>
</author>
<published>2020-04-14T15:43:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=4014ed2bf0508b516c8d1dcbef49103def6c18f4'/>
<id>urn:sha1:4014ed2bf0508b516c8d1dcbef49103def6c18f4</id>
<content type='text'>
Switch from the PI specific GraphicsConsoleDxe driver to the
common driver in MdeModulePkg. There is no need to carry RPi specific
version.

Signed-off-by: Samer El-Haj-Mahmoud &lt;samer@elhajmahmoud.com&gt;
Reviewed-by: Andrei Warkentin &lt;andrey.warkentin@gmail.com&gt;
</content>
</entry>
<entry>
<title>Platform/RaspberryPi: fix FDT handling for RPi4</title>
<updated>2020-03-06T16:47:05+00:00</updated>
<author>
<name>Andrei Warkentin</name>
<email>andrey.warkentin@gmail.com</email>
</author>
<published>2020-03-06T05:53:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=828fcbf96a3873a6ae74181839877b696b11cf0b'/>
<id>urn:sha1:828fcbf96a3873a6ae74181839877b696b11cf0b</id>
<content type='text'>
A rev-up of start4.elf VPU firmware meant that the previous scheme of
loading the DTB over top of RPI_EFI.FD no longer works - the DT is now
loaded way before the armstub, so any overlap means the DT is overridden.

This change re-arranges a few items in the FD, allowing the DTB to loaded
directly after the FD in physical memory.

This moves UEFI image down by 0x10000, and reduces the FD image size by
0x10000, leaving space for a DTB to be loaded by config.txt at 0x1f0000.

You need a matching "rev RPi4 TF-A for DTB fix" patch to edk2-non-osi,
as it requires a TF-A build with these options:

PRELOADED_BL33_BASE=0x20000 RPI3_PRELOADED_DTB_BASE=0x1f0000

Note: the same problem still affects the Pi 3, and will be
fixed in a separate change.

Signed-off-by: Andrei Warkentin &lt;andrey.warkentin@gmail.com&gt;
Reviewed-by: Pete Batard &lt;pete@akeo.ie&gt;
Tested-by: Pete Batard &lt;pete@akeo.ie&gt;
</content>
</entry>
<entry>
<title>Platform/RPi: Make Device Tree provision a runtime (BIOS setup) choice</title>
<updated>2020-03-03T14:06:46+00:00</updated>
<author>
<name>Pete Batard</name>
<email>pete@akeo.ie</email>
</author>
<published>2020-03-03T13:08:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=da7cb41190b3f722c257dec41331d1d4151c843a'/>
<id>urn:sha1:da7cb41190b3f722c257dec41331d1d4151c843a</id>
<content type='text'>
With this and the previous commit, ACPI_BASIC_MODE_ENABLE becomes
superfluous so remove it.

New option defaults to enabled on Pi 3, disabled on Pi 4.

Signed-off-by: Pete Batard &lt;pete@akeo.ie&gt;
Reviewed-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
</content>
</entry>
</feed>
