<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2-platforms.git/Platform/ARM/Library/ArmShellCmdRunAxf, 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>2025-09-13T11:08:32+00:00</updated>
<entry>
<title>Global: Remove ARM32 Support</title>
<updated>2025-09-13T11:08:32+00:00</updated>
<author>
<name>Oliver Smith-Denny</name>
<email>osde@microsoft.com</email>
</author>
<published>2025-09-09T20:41:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=d4c398ed6ea700426228364b696c52e1bb802f88'/>
<id>urn:sha1:d4c398ed6ea700426228364b696c52e1bb802f88</id>
<content type='text'>
edk2 is removing support for ARM32, so drop all
ARM32 code from edk2-platforms. This does not
change code copied from edk2 as-is.

Signed-off-by: Oliver Smith-Denny &lt;osde@microsoft.com&gt;
</content>
</entry>
<entry>
<title>Platform/ARM/ArmShellCmdRunAxf: Fix build with clang</title>
<updated>2024-10-24T14:34:02+00:00</updated>
<author>
<name>Sudeep Holla</name>
<email>sudeep.holla@arm.com</email>
</author>
<published>2024-10-23T13:28:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=5806fa55ed4288e6e7fbb8fe7f7399b4a75cd591'/>
<id>urn:sha1:5806fa55ed4288e6e7fbb8fe7f7399b4a75cd591</id>
<content type='text'>
Clang build fails with the below warning:
  |  Platform/ARM/Library/ArmShellCmdRunAxf/RunAxf.c:216:11: error: variable
  |    'FileSize' is used uninitialized whenever 'if' condition is false
  |    [-Werror,-Wsometimes-uninitialized].
  |                if (FileHandle != NULL) {
  |                    ^~~~~~~~~~~~~~~~~~
  |  Platform/ARM/Library/ArmShellCmdRunAxf/RunAxf.c:281:38: note:
  |    uninitialized use occurs here.
  |            WriteBackDataCacheRange (FileData, FileSize);
  |                                               ^~~~~~~~
  |  Platform/ARM/Library/ArmShellCmdRunAxf/RunAxf.c:136:39: note: initialize
  |    the variable 'FileSize' to silence this warning
  |            UINTN                       FileSize;
  |                                                ^
  |                                                 = 0
  |  4 errors generated.

Fix it by initializing the variable.

Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>Replace deprecated EFI_D_* with DEBUG_*</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:20:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=d690794182290184bc0ffb45c0dc5a379e036765'/>
<id>urn:sha1:d690794182290184bc0ffb45c0dc5a379e036765</id>
<content type='text'>
Replaced the deprecated EFI_D_{INFO,WARN,ERROR,VERBOSE} usage with
DEBUG_{INFO,WARN,ERROR,VERBOSE}.

Signed-off-by: Rebecca Cran &lt;rebecca@bsdio.com&gt;
</content>
</entry>
<entry>
<title>Arm/AARCH64 Platforms: Update AsmMacroLib.h Includes</title>
<updated>2024-09-16T19:13:32+00:00</updated>
<author>
<name>Oliver Smith-Denny</name>
<email>osde@microsoft.com</email>
</author>
<published>2024-08-29T16:52:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=f28fc5f432452214ec56c0810732f63e07cc032b'/>
<id>urn:sha1:f28fc5f432452214ec56c0810732f63e07cc032b</id>
<content type='text'>
edk2 PR https://github.com/tianocore/edk2/pull/6048 moves
AsmMacroIoLib.h and AsmMacroIoLibV8.h to MdePkg and renames
them to Arm/AsmMacroLib.h and AArch64/AsmMacroLib.h, respectively.

This updates all edk2-platforms in one go, as this is a breaking
change and no functional change.

Cc: Ard Biesheuvel &lt;ardb+tianocore@kernel.org&gt;
Cc: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;

Continuous-integration-options: PatchCheck.ignore-multi-package

Signed-off-by: Oliver Smith-Denny &lt;osde@linux.microsoft.com&gt;
</content>
</entry>
<entry>
<title>Platform/ARM: Fix uninitialized variable in RunAxf</title>
<updated>2020-04-06T09:49:34+00:00</updated>
<author>
<name>Sami Mujawar</name>
<email>sami.mujawar@arm.com</email>
</author>
<published>2020-04-03T16:04:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=1d59c5b912d90d3d9c7769c14dd89d2ca4ab4f2e'/>
<id>urn:sha1:1d59c5b912d90d3d9c7769c14dd89d2ca4ab4f2e</id>
<content type='text'>
RunAxf is a shell command used for running an Axf file. The
ShellDynCmdRunAxfHandler() loads an ELF file or one processed by the
Flashloader. It calls the appropriate loaders to load the file in
memory and to obtain the entry point address.

The first argument to RunAxfPivot() is the entry point address for the image
to execute. The patch
https://github.com/tianocore/edk2-platforms/commit/996047695a06167a918b07b22fcd0fbd0def5da6
changes set/way cache maintenance operations to by-VA operation. This patch
however introduced an error: 'variable StartElf is not initialized'.

Since, StartElf is the first argument to RunAxfPivot(), which is expected to
be the entry point address; RunAxfPivot() would end up branching to an
invalid address resulting in a crash.

Therefore, initialize StartElf to the entry point address before calling
RunAxfPivot().

Signed-off-by: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
Reviewed-by: Ard Biesheuvel &lt;ard.biesheuvel@arm.com&gt;
</content>
</entry>
<entry>
<title>Platform/ARM/ArmShellCmdRunAxf: switch to by-VA cache maintenance</title>
<updated>2020-03-06T16:53:28+00:00</updated>
<author>
<name>Ard Biesheuvel</name>
<email>ard.biesheuvel@linaro.org</email>
</author>
<published>2020-03-04T17:50:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=996047695a06167a918b07b22fcd0fbd0def5da6'/>
<id>urn:sha1:996047695a06167a918b07b22fcd0fbd0def5da6</id>
<content type='text'>
Currently, the 'runaxf' shell command that exists only on ARM's own
development platforms deals with the caches in an unsafe manner, as
it relies on set/way maintenance to ensure that the ELF image it has
put into memory, as well as the running image itself is visible in
memory after the MMU and caches are disabled.

So let's switch to by-VA maintenance for the currently running image,
as well as the ELF image, and use a helper in assembly to ensure that
we are not relying on the stack between the disabling of the MMU and
the invocation of the ELF image.

Signed-off-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Reviewed-by: Leif Lindholm &lt;leif@nuviainc.com&gt;
</content>
</entry>
<entry>
<title>Platform/ARM: Replace BSD License with BSD+Patent License</title>
<updated>2019-05-17T21:21:34+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2019-05-15T22:47:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=083b9d645a14d7782b8c3e4da4cfeae752bee62a'/>
<id>urn:sha1:083b9d645a14d7782b8c3e4da4cfeae752bee62a</id>
<content type='text'>
https://bugzilla.tianocore.org/show_bug.cgi?id=1373

Replace BSD 2-Clause License with BSD+Patent License.  This change is
based on the following emails:

  https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
  https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html

RFCs with detailed process for the license change:

  V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
  V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
  V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html

NOTE: Files with a BSD 3-Clause license are not modified by this patch
      series.

Cc: Leif Lindholm &lt;leif.lindholm@linaro.org&gt;
Cc: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Leif Lindholm &lt;leif.lindholm@linaro.org&gt;
</content>
</entry>
<entry>
<title>Platform/ARM: import BootMonFs and ArmShellCmdRunAxf from EDK2</title>
<updated>2017-12-08T16:17:20+00:00</updated>
<author>
<name>Ard Biesheuvel</name>
<email>ard.biesheuvel@linaro.org</email>
</author>
<published>2017-11-15T16:20:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=40d0673c2e3db10e47fd0742bf484c3d0aea2efe'/>
<id>urn:sha1:40d0673c2e3db10e47fd0742bf484c3d0aea2efe</id>
<content type='text'>
BootMonFs and ArmShellCmdRunAxf are only used on development boards
manufactured by ARM itself, so let's keep it under Platform/ARM where
it belongs.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Reviewed-by: Leif Lindholm &lt;leif.lindholm@linaro.org&gt;
</content>
</entry>
</feed>
