| 20629b31 | 14-Feb-2023 |
Karl Meakin <karl.meakin@arm.com> |
feat(sptool): generate `ARM_BL2_SP_LIST_DTS` file from `sp_layout.json`
TF-A makefile accepts a device-tree snippet to override hardcoded SP nodes, via the `ARM_BL2_SP_LIST_DTS` variable. However th
feat(sptool): generate `ARM_BL2_SP_LIST_DTS` file from `sp_layout.json`
TF-A makefile accepts a device-tree snippet to override hardcoded SP nodes, via the `ARM_BL2_SP_LIST_DTS` variable. However the SPs declared in `ARM_BL2_SP_LIST_DTS` must be in the same order as they are in the FIP image, otherwise hash authentication will fail when loaded by BL2.
This patch generates the `ARM_BL2_SP_LIST_DTS` file from the `sp_layout.json` file. The SPs in the FIP image are also generated from `sp_layout.json`, so this ensures that there is only one source of truth for the SP list, removing the possibility to have the lists disagree with each other.
Signed-off-by: Karl Meakin <karl.meakin@arm.com> Change-Id: I7d76715135c596605c6a02aad5196d967dfeb1ce
show more ...
|
| 352366ed | 08-May-2023 |
Rajasekaran Kalidoss <rajasekaran.kalidoss@arm.com> |
refactor(ethos-n): move build flags to ethosn_npu.mk
The build flags to enable the Arm(R) Ethos(TM)-N NPU driver are in arm platform specific make files i.e. plat/arm/common/arm_common.mk. These fla
refactor(ethos-n): move build flags to ethosn_npu.mk
The build flags to enable the Arm(R) Ethos(TM)-N NPU driver are in arm platform specific make files i.e. plat/arm/common/arm_common.mk. These flags are renamed and moved to ethosn_npu.mk. Other source and make files are changed to reflect the changes in these flags.
Signed-off-by: Rajasekaran Kalidoss <rajasekaran.kalidoss@arm.com> Change-Id: I6fd20225343c574cb5ac1f0f32ff2fc28ef37ea6
show more ...
|
| aa57ce63 | 04-Jul-2023 |
Vincent Stehlé <vincent.stehle@arm.com> |
build(tools): avoid unnecessary link
In their respective makefiles, cert_create, encrypt_fw and fiptool depend on the --openssl phony target as a prerequisite. This forces those tools to be re-linke
build(tools): avoid unnecessary link
In their respective makefiles, cert_create, encrypt_fw and fiptool depend on the --openssl phony target as a prerequisite. This forces those tools to be re-linked each time.
Move the dependencies on the --openssl target from the tools to their makefiles all targets, to avoid unnecessary linking while preserving the OpenSSL version printing done in the --openssl targets when in debug.
Fixes: cf2dd17ddda2 ("refactor(security): add OpenSSL 1.x compatibility") Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com> Change-Id: I98a3ab30f36dffc253cecaaf3a57d2712522135d
show more ...
|
| 92a44d55 | 20-Jun-2023 |
Joanna Farley <joanna.farley@arm.com> |
Merge "build(changelog): pretend scope-less `build` changes have the `build` scope" into integration |
| f7d445fc | 27-Apr-2023 |
Michal Simek <michal.simek@amd.com> |
chore(bl): add UNALIGNED symbols for TEXT/RODATA
Add symbols to mark end of TEXT/RODATA before page alignment. Similar change was done by commit 8d69a03f6a7d ("Various improvements/cleanups on the l
chore(bl): add UNALIGNED symbols for TEXT/RODATA
Add symbols to mark end of TEXT/RODATA before page alignment. Similar change was done by commit 8d69a03f6a7d ("Various improvements/cleanups on the linker scripts") for RO_END/COHERENT_RAM. These symbols help to know how much free space is in the final binary because of page alignment.
Also show all *UNALIGNED__ symbols via poetry. For example: poetry run memory -p zynqmp -b debug
Change-Id: I322beba37dad76be9f4e88ca7e5b3eff2df7d96e Signed-off-by: Michal Simek <michal.simek@amd.com>
show more ...
|
| d0e3053c | 07-Jun-2023 |
Harrison Mutai <harrison.mutai@arm.com> |
fix(memmap): reintroduce support for GNU map files
The intial patch stack only supported ELF files, which proved particularly problematic when dealing with incomplete builds (i.e. build didn't compl
fix(memmap): reintroduce support for GNU map files
The intial patch stack only supported ELF files, which proved particularly problematic when dealing with incomplete builds (i.e. build didn't complete due to linker errors). This adds support for GNU map files. Most analysis performed by the tool should be possible with map files alone.
Change-Id: I89f775a98efc5aef6671a17d0e6e973df555a6fa Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
show more ...
|
| f6bf4d6b | 07-Jun-2023 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "hm/memmap-feat" into integration
* changes: feat(memmap): add topological memory view feat(memmap): add tabular memory use data |
| d4affdce | 07-Jun-2023 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "fix(stm32mp1): add void entry in plat_def_toc_entries" into integration |
| ba56ea6f | 05-Jun-2023 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "fix(fiptool): move juno plat_fiptool.mk" into integration |
| 7f126ccf | 05-Jun-2023 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge changes from topic "cot_cca_nvctr" into integration
* changes: feat(fvp): mock support for CCA NV ctr feat(auth): add CCA NV ctr to CCA CoT feat(build): pass CCA NV ctr option to cert_cr
Merge changes from topic "cot_cca_nvctr" into integration
* changes: feat(fvp): mock support for CCA NV ctr feat(auth): add CCA NV ctr to CCA CoT feat(build): pass CCA NV ctr option to cert_create feat(cert-create): add new option for CCA NV ctr
show more ...
|
| 9b5c0fcd | 01-Jun-2023 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge changes from topic "hm/memmap-feat" into integration
* changes: build(bl32): add symbols for memory layout build(bl31): add symbols for memory layout build(bl2): add symbols for memory l
Merge changes from topic "hm/memmap-feat" into integration
* changes: build(bl32): add symbols for memory layout build(bl31): add symbols for memory layout build(bl2): add symbols for memory layout build(bl1): add symbols for memory layout refactor: improve readability of symbol table
show more ...
|
| 60753a63 | 02-May-2023 |
laurenw-arm <lauren.wehrmeister@arm.com> |
feat(cert-create): add new option for CCA NV ctr
Extends cert_create tool with a new option for CCA NV counter: ccafw_nvctr.
And changes the non-volatile counter used to protect the CCA Content Cer
feat(cert-create): add new option for CCA NV ctr
Extends cert_create tool with a new option for CCA NV counter: ccafw_nvctr.
And changes the non-volatile counter used to protect the CCA Content Certificate from the Trusted FW NV counter to the CCA FW NV counter in the CCA CoT description.
Change-Id: I27f3ab2e25809f0dcc56fa05e5c3a25a2e861ef6 Signed-off-by: Lauren Wehrmeister <lauren.wehrmeister@arm.com>
show more ...
|
| b78ad00e | 16-May-2023 |
Juan Pablo Conde <juanpablo.conde@arm.com> |
docs(changelog): changelog for v2.9 release
Change-Id: Ic8cd82c5424af422feedefdc001d291001817a8b Signed-off-by: Juan Pablo Conde <juanpablo.conde@arm.com> |
| c84d632d | 17-May-2023 |
Chris Kay <chris.kay@arm.com> |
build(changelog): pretend scope-less `build` changes have the `build` scope
In response to feedback provided during review of the v2.9 changelog, commits with the `build` type and without a scope ar
build(changelog): pretend scope-less `build` changes have the `build` scope
In response to feedback provided during review of the v2.9 changelog, commits with the `build` type and without a scope are now treated as though they have the `build` scope as well.
Change-Id: I9628e0faf1fcf31fe88758ad3e75ca8febf1bb36 Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| 570a2309 | 05-May-2023 |
Rob Hughes <robert.hughes@arm.com> |
fix(fiptool): move juno plat_fiptool.mk
plat_fiptool.mk files now need to be in tools/fiptool/plat_fiptool/, so this file has been moved to the new location so that it is picked up correctly by the
fix(fiptool): move juno plat_fiptool.mk
plat_fiptool.mk files now need to be in tools/fiptool/plat_fiptool/, so this file has been moved to the new location so that it is picked up correctly by the build system.
Change-Id: Id3596b08bc856362e300f3dfefcaab5d75b4c400 Signed-off-by: Rob Hughes <robert.hughes@arm.com>
show more ...
|
| cc60aba2 | 23-Feb-2023 |
Harrison Mutai <harrison.mutai@arm.com> |
feat(memmap): add topological memory view
Present memory usage in hierarchical view. This view maps modules to their respective segments and sections.
Change-Id: I5c374b46738edbc83133441ff3f4268f08
feat(memmap): add topological memory view
Present memory usage in hierarchical view. This view maps modules to their respective segments and sections.
Change-Id: I5c374b46738edbc83133441ff3f4268f08cb011d Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
show more ...
|
| d9d5eb13 | 23-Feb-2023 |
Harrison Mutai <harrison.mutai@arm.com> |
feat(memmap): add tabular memory use data
Add support for tabulating static memory consumption data from ELF binaries. This relies on static symbols, defined in the linker files, that provide inform
feat(memmap): add tabular memory use data
Add support for tabulating static memory consumption data from ELF binaries. This relies on static symbols, defined in the linker files, that provide information about the memory ranges.
Change-Id: Ie19cd2b80a7b591607640feeb84c63266963ea4d Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
show more ...
|
| af5b49e9 | 23-Feb-2023 |
Harrison Mutai <harrison.mutai@arm.com> |
refactor: improve readability of symbol table
Make the symbol table produced by the memory mapping script more readable. Add a generic interface for interacting with ELF binaries. This interface ena
refactor: improve readability of symbol table
Make the symbol table produced by the memory mapping script more readable. Add a generic interface for interacting with ELF binaries. This interface enables us to get symbols that provide some insights into TF-A's memory usage.
Change-Id: I6646f817a1d38d6184b837b78039b7465a533c5c Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
show more ...
|
| 8214ecda | 10-Jan-2023 |
Yann Gautier <yann.gautier@foss.st.com> |
fix(stm32mp1): add void entry in plat_def_toc_entries
The fill_image_descs() function in fiptool adds images until .cmdline_name is NULL. Add a void entry to STM32MP1 plat_def_toc_entries[] to prope
fix(stm32mp1): add void entry in plat_def_toc_entries
The fill_image_descs() function in fiptool adds images until .cmdline_name is NULL. Add a void entry to STM32MP1 plat_def_toc_entries[] to properly escape the loop. Also reported by Valentyn Korniienko (@ValentiWorkLearning) on github with pull requests [1] and [2].
[1] https://github.com/ARM-software/arm-trusted-firmware/pull/1997 [2] https://github.com/STMicroelectronics/arm-trusted-firmware/pull/8
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I94fd36ca677d46ce6df95c7674c6b6bd365b28c7
show more ...
|
| 1b491eea | 13-Feb-2023 |
Elyes Haouas <ehaouas@noos.fr> |
fix(tree): correct some typos
found using codespell (https://github.com/codespell-project/codespell).
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: I1bfa797e3460adddeefa916bb68e22beddaf6
fix(tree): correct some typos
found using codespell (https://github.com/codespell-project/codespell).
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: I1bfa797e3460adddeefa916bb68e22beddaf6373
show more ...
|
| c89fdb4a | 02-May-2023 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge "refactor(fiptool): move plat_fiptool.mk to tools" into integration |
| 0165ddd7 | 08-Dec-2022 |
Mikael Olsson <mikael.olsson@arm.com> |
build(fiptool): add object dependency generation
The object target in the fiptool Makefile only depends on the corresponding source file so it won't rebuild the object, if a header file used by the
build(fiptool): add object dependency generation
The object target in the fiptool Makefile only depends on the corresponding source file so it won't rebuild the object, if a header file used by the source file is changed.
To make it rebuild the object file for both source and header file changes, a dependency file will now be generated for each object and included in the Makefile.
Signed-off-by: Mikael Olsson <mikael.olsson@arm.com> Change-Id: I0468c6e9c54126242150667268d471f28e011b0d
show more ...
|
| a8eadc51 | 11-Jan-2023 |
Govindraj Raja <govindraj.raja@arm.com> |
refactor(mbedtls): avoid including MBEDTLS_CONFIG_FILE
Currently we include MBEDTLS_CONFIG_FILE directly and if a custom config file is used it will included.
However from mbedtls-3.x onwards it di
refactor(mbedtls): avoid including MBEDTLS_CONFIG_FILE
Currently we include MBEDTLS_CONFIG_FILE directly and if a custom config file is used it will included.
However from mbedtls-3.x onwards it discourages usage of MBEDTLS_CONFIG_FILE include directly, so to resolve this and keep 2.28 compatibility include version.h which would include the custom config file if present and also would expose us with mbedtls-major-version number which could be used for selecting features and functions for mbedtls 2.28 or 3.3
Change-Id: I029992311be2a38b588ebbb350875b03ea29acdb Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
show more ...
|
| 76a85cfa | 08-Feb-2023 |
laurenw-arm <lauren.wehrmeister@arm.com> |
fix(cert-create): change WARN to VERBOSE
SAVE_KEYS is set to '0' by default, causing cert_create to show the 'Key filename not specified' message on each run even though this is perfectly normal. Sh
fix(cert-create): change WARN to VERBOSE
SAVE_KEYS is set to '0' by default, causing cert_create to show the 'Key filename not specified' message on each run even though this is perfectly normal. Show the message only in the VERBOSE log level.
Signed-off-by: Baruch Siach <baruch@tkos.co.il> Change-Id: I472cdec2670055ab0edd99d172f79d01ad575972
show more ...
|
| 034a2e3e | 01-Feb-2023 |
Raef Coles <raef.coles@arm.com> |
refactor(fiptool): move plat_fiptool.mk to tools
Move all plat_fiptool.mks into tools, change the logic to recursively check for tools/fiptool/plat_fiptool/<plat_path>/plat_fiptool.mk
I.e. for a pl
refactor(fiptool): move plat_fiptool.mk to tools
Move all plat_fiptool.mks into tools, change the logic to recursively check for tools/fiptool/plat_fiptool/<plat_path>/plat_fiptool.mk
I.e. for a platform that has the path "plat/arm/board/tc/platform.mk", the makefile will now load the first existing file from: - tools/fiptool/plat_fiptool/arm/board/tc/plat_fiptool.mk - tools/fiptool/plat_fiptool/arm/board/plat_fiptool.mk - tools/fiptool/plat_fiptool/arm/plat_fiptool.mk
This enables fiptool to support multiple platforms, or a specific one.
Remove file-copying previously being used to handle old default path. Remove custom file cleaning in plat_fiptool.mk.
Change-Id: I95245bcf7143b329481d4394ab64f29bfe9de5ab Signed-off-by: Raef Coles <raef.coles@arm.com>
show more ...
|