<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2-platforms.git/Platform/RaspberryPi/Library, 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>2024-03-12T09:55:21+00:00</updated>
<entry>
<title>Platform/RaspberryPi: Check for Boot Discovery Policy change.</title>
<updated>2024-03-12T09:55:21+00:00</updated>
<author>
<name>Grzegorz Bernacki</name>
<email>gjb@semihalf.com</email>
</author>
<published>2021-08-18T06:38:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=085c2fb0221ffb72f5724e21f41e26dd3740947e'/>
<id>urn:sha1:085c2fb0221ffb72f5724e21f41e26dd3740947e</id>
<content type='text'>
This patch adds checks if Boot Discovery Policy has been changed. Only
in that case EfiBootManagerRefreshAllBootOption() should be called.

Signed-off-by: Grzegorz Bernacki &lt;gjb@semihalf.com&gt;
Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<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: Disconnect/shutdown all drivers before reboot</title>
<updated>2021-10-19T07:22:17+00:00</updated>
<author>
<name>Jeremy Linton</name>
<email>jeremy.linton@arm.com</email>
</author>
<published>2021-10-18T20:51:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=63d520f9431a6aa4ce1df4387dd0a9831f8a13b8'/>
<id>urn:sha1:63d520f9431a6aa4ce1df4387dd0a9831f8a13b8</id>
<content type='text'>
In theory we should be properly cleaning up all the device drivers before
hitting the big reset. The partition manager will issue flush commands to
attached disks as it goes down. This assures that devices running in WB mode,
which correctly handle flush/sync/etc commands, are persisted to physical
media before reset.

Without this, there are definitely cases where the relevant specifications
don't guarantee persistence of data in their buffers in the face of reset
conditions. We can't really do anything about the many devices that don't
honor persistence requests, but we can start here.

Signed-off-by: Jeremy Linton &lt;jeremy.linton@arm.com&gt;
Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>Platform/RaspberryPi: Enable Boot Discovery Policy.</title>
<updated>2021-09-01T17:21:55+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=6895992e55f3e21da0e040362119388917129af1'/>
<id>urn:sha1:6895992e55f3e21da0e040362119388917129af1</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/RaspberryPi: Remove unnecessary files</title>
<updated>2021-08-17T14:00:37+00:00</updated>
<author>
<name>Grzegorz Bernacki</name>
<email>gjb@semihalf.com</email>
</author>
<published>2021-08-17T14:00:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=f24aa7708d9b221686469ebbdc41e056ae592e28'/>
<id>urn:sha1:f24aa7708d9b221686469ebbdc41e056ae592e28</id>
<content type='text'>
Commit 2f0188b56ef4 ("Revert "Platform/RaspberryPi: Setup option for...")
mistakenly introduced to files which are residues from a
conflict resolution. Fix that.

Signed-off-by: Grzegorz Bernacki &lt;gjb@semihalf.com&gt;
</content>
</entry>
<entry>
<title>Revert "Platform/RaspberryPi: Setup option for disabling Fast Boot"</title>
<updated>2021-08-03T16:37:04+00:00</updated>
<author>
<name>Grzegorz Bernacki</name>
<email>gjb@semihalf.com</email>
</author>
<published>2021-08-03T16:35:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=2f0188b56ef4f96f2888b30f220fee934cb27805'/>
<id>urn:sha1:2f0188b56ef4f96f2888b30f220fee934cb27805</id>
<content type='text'>
This reverts commit efdc159ef7c9f15581a0f63d755a1530ff475156.

This commit is not longer required as Boot Discovery Policy has been
implemented for Raspberry Pi.

Signed-off-by: Grzegorz Bernacki &lt;gjb@semihalf.com&gt;
Reviewed-by: Sunny Wang &lt;sunny.wang@arm.com&gt;
Reviewed-by: Samer El-Haj-Mahmoud &lt;Samer.El-Haj-Mahmoud@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/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/RaspberryPi: Setup option for disabling Fast Boot</title>
<updated>2021-04-15T18:48:51+00:00</updated>
<author>
<name>Sunny Wang</name>
<email>Sunny.Wang@arm.com</email>
</author>
<published>2021-04-13T07:14:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=efdc159ef7c9f15581a0f63d755a1530ff475156'/>
<id>urn:sha1:efdc159ef7c9f15581a0f63d755a1530ff475156</id>
<content type='text'>
This is a fix for https://github.com/pftf/RPi4/issues/114.

Changes:
  1. Add a setup option called BootPolicy and consume the setting
     during boot to decide whether to perform or skip ConnectAll.
  2. The Default setting is set to Full discovery because it is not
     worth enabling Fast boot by default on RaspberryPi systems.
     Enabling it just saves boot time about 1 second, but caused a
     lot of issues.

Testing Done:
  - Booted to Standalone UEFI shell on SD card and use drivers
    command to check the result with Fast Boot and Full discovery
    settings. Then, child/device handles are created as expected.

Note and to-do items:
  - The root cause looks like that boot loaders and some tools like
    grub and iPXE haven't supported selective connect/Fast boot.
    However, system firmware should still provide a setup option for
    user to enable Fast boot with old version boot loaders and tools,
    which is why we proposed this change. We will also report this
    issue to boot loader and tool vendors/open source GitHubs.
  - We will add more options for connecting specific type devices so
    that we can still have the shortest boot time for all use cases.

Cc: Jeremy Linton &lt;jeremy.linton@arm.com&gt;
Cc: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
Link: https://github.com/pftf/RPi4/issues/144
Link: https://github.com/pftf/RPi4/issues/114
Signed-off-by: Sunny Wang &lt;sunny.wang@arm.com&gt;
Acked-by: Samer El-Haj-Mahmoud &lt;Samer.El-Haj-Mahmoud@arm.com&gt;
Reviewed-by: Pete Batard &lt;pete@akeo.ie&gt;
</content>
</entry>
<entry>
<title>Platform/RaspberryPi: Fix mini UART clock divisor calculation</title>
<updated>2021-04-08T12:12:37+00:00</updated>
<author>
<name>Mario Bălănică</name>
<email>mariobalanica02@gmail.com</email>
</author>
<published>2021-04-08T12:12:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=d2339f3c5f9a299a148d56a33f923cf6da48bcd6'/>
<id>urn:sha1:d2339f3c5f9a299a148d56a33f923cf6da48bcd6</id>
<content type='text'>
The VPU clock divisor has changed in this commit:
https://github.com/raspberrypi/firmware/commit/1e5456a, thus breaking
the mini UART clock divisor calculation on the Pi 4.

Fix this by reading the core clock from the mailbox instead.

Signed-off-by: Mario Bălănică &lt;mariobalanica02@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/RaspberryPi: Correct device path removal.</title>
<updated>2021-01-08T09:43:38+00:00</updated>
<author>
<name>Jeremy Linton</name>
<email>jeremy.linton@arm.com</email>
</author>
<published>2021-01-08T06:14:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=dcb1fbff08bbd1263e81d862abaf37b2b6ecb98c'/>
<id>urn:sha1:dcb1fbff08bbd1263e81d862abaf37b2b6ecb98c</id>
<content type='text'>
The Arasan driver now works with the eMMC2 device.
This means that both the PcdSdIsArasan and the
!PcdSdIsArasan result in valid SD controllers on the rpi4.

Lets avoid removing the "stale" boot entry, in this case
which also has the side effect of avoiding a boot assert
when eMMC2 is selected.

Signed-off-by: Jeremy Linton &lt;jeremy.linton@arm.com&gt;
Reviewed-by: Andrei Warkentin &lt;awarkentin@vmware.com&gt;
Reviewed-by: Philippe Mathieu-Daude &lt;philmd@redhat.com&gt;
</content>
</entry>
</feed>
