<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2-platforms.git/Platform/ARM/Library/FwsGptSystemFipLib, 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-09-30T15:09:40+00:00</updated>
<entry>
<title>Platform/ARM/Library: fix build error for FwsGptSystemFipLib with clang</title>
<updated>2026-09-30T15:09:40+00:00</updated>
<author>
<name>Yeoreum Yun</name>
<email>yeoreum.yun@arm.com</email>
</author>
<published>2026-05-26T10:42:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=8d186bea8b2fe885845fb5542b5a4ae763e1251a'/>
<id>urn:sha1:8d186bea8b2fe885845fb5542b5a4ae763e1251a</id>
<content type='text'>
Fix build for unused variable warning when build FwsGptSystemFipLib
with clang.

Signed-off-by: Yeoreum Yun &lt;yeoreum.yun@arm.com&gt;
</content>
</entry>
<entry>
<title>Platform/ARM: FwsMetadata: fix wrong loop for checking metadata</title>
<updated>2026-07-27T13:21:30+00:00</updated>
<author>
<name>Yeoreum Yun</name>
<email>yeoreum.yun@arm.com</email>
</author>
<published>2026-04-15T12:13:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=c04788caca579629003714252a783cb0ce483a61'/>
<id>urn:sha1:c04788caca579629003714252a783cb0ce483a61</id>
<content type='text'>
When the number of bank is lesser than the maximum bank number (4),
bank state in the metadata for absent banks should be "INVALID" state.

However, current loop condition for checking above doing with
the nubmer real bank. So the validation loop itself becomes dead code.

To check properly, fix this problem.

Signed-off-by: Yeoreum Yun &lt;yeoreum.yun@arm.com&gt;
</content>
</entry>
<entry>
<title>Platform/ARM: FwsMetadata: fix missing check for metadata validation</title>
<updated>2026-07-27T13:21:30+00:00</updated>
<author>
<name>Yeoreum Yun</name>
<email>yeoreum.yun@arm.com</email>
</author>
<published>2026-04-15T12:09:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=52142c9929c07d77a7c932117c1691db595dd404'/>
<id>urn:sha1:52142c9929c07d77a7c932117c1691db595dd404</id>
<content type='text'>
For a bank state, FWU_BANK_STATE_INVALID is valid state
for partial update and it's one of validate value.
Therefore, include FWU_BANK_STATE_INVALID as valid state bank can have.

Signed-off-by: Yeoreum Yun &lt;yeoreum.yun@arm.com&gt;
</content>
</entry>
<entry>
<title>Platform/ARM/Library: Introduce FwsGptSystemFipLib</title>
<updated>2026-02-23T08:37:28+00:00</updated>
<author>
<name>levi.yun</name>
<email>yeoreum.yun@arm.com</email>
</author>
<published>2024-03-04T19:26:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=e87e30b69cb9d6f3f765c1686b73d838eb0e22f9'/>
<id>urn:sha1:e87e30b69cb9d6f3f765c1686b73d838eb0e22f9</id>
<content type='text'>
FwsPlatformLib is platform specific library class used to access the
firmware storage.
In case of Base FVP, this is implemented with FwsGptSystemFipLib which
uses GPT partitions and system fip image.

Following is the PSA-FWU GPT-partition layout for the flash as defined by TF-A:

+----------------------+
|      GPT-HEADER      |
+----------------------+
|    FIP_A (bank0)     |
+----------------------+
|    FIP_B (bank1)     |
+----------------------+
|    FWU-Metadata      |
+----------------------+
|  Bkup-FWU-Metadata   |
+----------------------+

FwsGptSystemFipLib defines API to access the GPT partitions for
updating the images in the banks and to read/update the Metadata.

Signed-off-by: Yeoreum Yun &lt;yeoreum.yun@arm.com&gt;
</content>
</entry>
<entry>
<title>Platform/ARM/Library: Introduce FwsMetadata API used in FwsGptSystemFipLib</title>
<updated>2026-02-23T08:37:28+00:00</updated>
<author>
<name>levi.yun</name>
<email>yeoreum.yun@arm.com</email>
</author>
<published>2024-05-15T13:33:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=4e48484e989680a5f7b5804c6043f175f728362e'/>
<id>urn:sha1:4e48484e989680a5f7b5804c6043f175f728362e</id>
<content type='text'>
Platform Firwmare security firmware Update for the A-profile Arm
Architecture defines two versions of firwmare update storage metadata.

In real world, Arm only uses firmware update storagae metadata version 2.

In light of the above, and to support future versions, introduce
a firmware update storage metadata API by defining an operation
interface that can be used to select version specific handling.

Signed-off-by: Yeoreum Yun &lt;yeoreum.yun@arm.com&gt;
</content>
</entry>
<entry>
<title>Platform/ARM/Library: Introduce Gpt partition access API used in FwsArmVExpressLib</title>
<updated>2026-02-23T08:37:28+00:00</updated>
<author>
<name>levi.yun</name>
<email>yeoreum.yun@arm.com</email>
</author>
<published>2024-03-04T19:22:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=24a319cf1a2c13d222a9c852b5609ff9e63728df'/>
<id>urn:sha1:24a319cf1a2c13d222a9c852b5609ff9e63728df</id>
<content type='text'>
This is preparation patch for FwsGptSystemFipLib which uses
firmware storage with GPT partitions with system fip image..

Here is brief view how it works:

    UEFI (Normal world)          |        StandaloneMm (Secure world)
---------------------------------|--------------------------------------
                                 |                             +-------+
                                 |                    ---------|  Fws  |
                                 |                    |        +-------+
+------------------+             |                    |       (Gpt parted)
|   FmpDevicePkg   |             |  Read /Write Image |
+------------------+             |                    |
  |                              |        +-------------------+
  |  SetTheImage and etc         |        |  FwsPlatformLib   |
  |  progress via FmpDeviceLib   |        +-------------------+
  |                              |                  |
  |                              |  Parsing Request | Access Fws via
  |                              |                  | FwsPlatformLib
  |                              |                  |
  |                              |                  |
  -&gt; +---------------------+   PSA ABI (FF-A)    +-------------------+
     |  FmpDevicePsaFwuLib |&lt;------------------&gt; |     FwuSmm.c      |
     |   (FmpDeviceLib)    |   PSA Error code    +-------------------+
     +---------------------+     |

The following diagram depicts the GPT partition layout of the FLASH
area defined by TF-A.

+----------------------+
|      GPT-HEADER      |
+----------------------+
|    FIP_A (bank0)     |
+----------------------+
|    FIP_B (bank1)     |
+----------------------+
|    FWU-Metadata      |
+----------------------+
|  Bkup-FWU-Metadata   |
+----------------------+

each image bank contains 1 image (only fip image).

Therefore, define a standard mechanism for accessing these partitions
used in FwsGptSystemFipLib which is instance of FwsPlatformLib.

Signed-off-by: Yeoreum Yun &lt;yeoreum.yun@arm.com&gt;
</content>
</entry>
</feed>
