<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/coreboot/arm-trusted-firmware.git/tools, branch topics/clang-format</title>
<subtitle>review.coreboot.org: arm-trusted-firmware.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/'/>
<entry>
<title>refactor(mbedtls): avoid including MBEDTLS_CONFIG_FILE</title>
<updated>2023-02-21T11:09:47+00:00</updated>
<author>
<name>Govindraj Raja</name>
<email>govindraj.raja@arm.com</email>
</author>
<published>2023-01-11T18:34:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=a8eadc51a32a30fceb64f534c378ba66b876e026'/>
<id>a8eadc51a32a30fceb64f534c378ba66b876e026</id>
<content type='text'>
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 &lt;govindraj.raja@arm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;govindraj.raja@arm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(cert-create): change WARN to VERBOSE</title>
<updated>2023-02-09T17:55:33+00:00</updated>
<author>
<name>laurenw-arm</name>
<email>lauren.wehrmeister@arm.com</email>
</author>
<published>2023-02-08T19:14:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=76a85cfa0ab5e7093ad18601b7e73a1e425d8025'/>
<id>76a85cfa0ab5e7093ad18601b7e73a1e425d8025</id>
<content type='text'>
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 &lt;baruch@tkos.co.il&gt;
Change-Id: I472cdec2670055ab0edd99d172f79d01ad575972
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;baruch@tkos.co.il&gt;
Change-Id: I472cdec2670055ab0edd99d172f79d01ad575972
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "feat(fiptool): handle FIP in a disk partition" into integration</title>
<updated>2023-01-23T12:57:39+00:00</updated>
<author>
<name>Manish V Badarkhe</name>
<email>manish.badarkhe@arm.com</email>
</author>
<published>2023-01-23T12:57:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=5a53c6c6679e189eda7233232570958263332883'/>
<id>5a53c6c6679e189eda7233232570958263332883</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(fiptool): handle FIP in a disk partition</title>
<updated>2023-01-23T10:45:53+00:00</updated>
<author>
<name>Antonio Borneo</name>
<email>antonio.borneo@foss.st.com</email>
</author>
<published>2022-09-22T10:15:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=06e69f7c94637c693ea5eb26038096c196d10f07'/>
<id>06e69f7c94637c693ea5eb26038096c196d10f07</id>
<content type='text'>
When FIP is programmed in a disk partition, fiptool cannot be used
directly; this forces the user to temporarily copy the partition
to a file, apply fiptool and copy back the file. This is caused by
fstat() that returns zero file size on a block special file, thus
making fiptool commands info, update, unpack and remove to exit.

For either Linux host or Linux target, recover the partition size
with ioctl() and use it as FIP file size. E.g.:
	fiptool info /dev/disk/by-partlabel/fip-a
	fiptool info /dev/mtdblock4

While there, rework two identical error log messages to provide
more details about the failure and update the date in copyright.

Signed-off-by: Antonio Borneo &lt;antonio.borneo@foss.st.com&gt;
Change-Id: I7cab60e577422d94c24ba7e39458f58bcebc2336
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When FIP is programmed in a disk partition, fiptool cannot be used
directly; this forces the user to temporarily copy the partition
to a file, apply fiptool and copy back the file. This is caused by
fstat() that returns zero file size on a block special file, thus
making fiptool commands info, update, unpack and remove to exit.

For either Linux host or Linux target, recover the partition size
with ioctl() and use it as FIP file size. E.g.:
	fiptool info /dev/disk/by-partlabel/fip-a
	fiptool info /dev/mtdblock4

While there, rework two identical error log messages to provide
more details about the failure and update the date in copyright.

Signed-off-by: Antonio Borneo &lt;antonio.borneo@foss.st.com&gt;
Change-Id: I7cab60e577422d94c24ba7e39458f58bcebc2336
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge changes I2b23e7c8,I779587af,Ic46de7a4,If753e987,I00171b05, ... into integration</title>
<updated>2022-12-15T15:38:07+00:00</updated>
<author>
<name>Madhukar Pappireddy</name>
<email>madhukar.pappireddy@arm.com</email>
</author>
<published>2022-12-15T15:38:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=79664cfcf90f164595b5362ffbbe5b4d3239bdf3'/>
<id>79664cfcf90f164595b5362ffbbe5b4d3239bdf3</id>
<content type='text'>
* changes:
  fix(layerscape): unlock write access SMMU_CBn_ACTLR
  fix(nxp-ddr): add checking return value
  feat(lx2): enable OCRAM ECC
  fix(nxp-tools): fix coverity issue
  fix(nxp-ddr): fix coverity issue
  fix(nxp-ddr): fix underrun coverity issue
  fix(nxp-drivers): fix sd secure boot failure
  feat(lx2): support more variants
  fix(lx2): init global data before using it
  fix(ls1046a): 4 keys secureboot failure resolved
  fix(nxp-crypto): fix secure boot assert inclusion
  fix(nxp-crypto): fix coverity issue
  fix(nxp-drivers): fix fspi coverity issue
  fix(nxp-drivers): fix tzc380 memory regions config
  fix(layerscape): fix nv_storage assert checking
  fix(nxp-ddr): apply Max CDD values for warm boot
  fix(nxp-ddr): use CDDWW for write to read delay
  fix(layerscape): fix errata a008850
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* changes:
  fix(layerscape): unlock write access SMMU_CBn_ACTLR
  fix(nxp-ddr): add checking return value
  feat(lx2): enable OCRAM ECC
  fix(nxp-tools): fix coverity issue
  fix(nxp-ddr): fix coverity issue
  fix(nxp-ddr): fix underrun coverity issue
  fix(nxp-drivers): fix sd secure boot failure
  feat(lx2): support more variants
  fix(lx2): init global data before using it
  fix(ls1046a): 4 keys secureboot failure resolved
  fix(nxp-crypto): fix secure boot assert inclusion
  fix(nxp-crypto): fix coverity issue
  fix(nxp-drivers): fix fspi coverity issue
  fix(nxp-drivers): fix tzc380 memory regions config
  fix(layerscape): fix nv_storage assert checking
  fix(nxp-ddr): apply Max CDD values for warm boot
  fix(nxp-ddr): use CDDWW for write to read delay
  fix(layerscape): fix errata a008850
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(nxp-tools): fix coverity issue</title>
<updated>2022-12-06T14:45:36+00:00</updated>
<author>
<name>Jiafei Pan</name>
<email>Jiafei.Pan@nxp.com</email>
</author>
<published>2022-09-02T03:59:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=4fa0f097399c7d396bc14a6692476ada6981c458'/>
<id>4fa0f097399c7d396bc14a6692476ada6981c458</id>
<content type='text'>
Check the value is not NULL.

Signed-off-by: Jiafei Pan &lt;Jiafei.Pan@nxp.com&gt;
Change-Id: If753e9875153a8e31498addf89202c953abf64ef
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check the value is not NULL.

Signed-off-by: Jiafei Pan &lt;Jiafei.Pan@nxp.com&gt;
Change-Id: If753e9875153a8e31498addf89202c953abf64ef
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(sptool): add dependency to SP image</title>
<updated>2022-11-23T09:58:33+00:00</updated>
<author>
<name>Jens Wiklander</name>
<email>jens.wiklander@linaro.org</email>
</author>
<published>2022-10-31T08:17:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=4daeaf341a347a60fd481fb4a1530f18f8e4c058'/>
<id>4daeaf341a347a60fd481fb4a1530f18f8e4c058</id>
<content type='text'>
In the generated sp_gen.mk, add a dependency to the image described in
the sp_layout.json file to make sure that the pkg file is re-generated
if the SP image is updated.

Signed-off-by: Jens Wiklander &lt;jens.wiklander@linaro.org&gt;
Change-Id: Id936f907d6baa6b0627c4bb9608323e5157c7a9b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the generated sp_gen.mk, add a dependency to the image described in
the sp_layout.json file to make sure that the pkg file is re-generated
if the SP image is updated.

Signed-off-by: Jens Wiklander &lt;jens.wiklander@linaro.org&gt;
Change-Id: Id936f907d6baa6b0627c4bb9608323e5157c7a9b
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(changelog): changelog for v2.8 release</title>
<updated>2022-11-16T20:10:49+00:00</updated>
<author>
<name>laurenw-arm</name>
<email>lauren.wehrmeister@arm.com</email>
</author>
<published>2022-11-15T16:15:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=0fa7fe59f3a34cb16e390da9bdd290a52005d450'/>
<id>0fa7fe59f3a34cb16e390da9bdd290a52005d450</id>
<content type='text'>
Change-Id: I1d99ea46ad527993ee786c34a67f94d74470f960
Signed-off-by: Lauren Wehrmeister &lt;lauren.wehrmeister@arm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I1d99ea46ad527993ee786c34a67f94d74470f960
Signed-off-by: Lauren Wehrmeister &lt;lauren.wehrmeister@arm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(cert-create): update for ECDSA brainpoolP256r/t1 support</title>
<updated>2022-11-14T10:25:01+00:00</updated>
<author>
<name>Lionel Debieve</name>
<email>lionel.debieve@foss.st.com</email>
</author>
<published>2022-11-14T10:03:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=e78ba69e3525c968118eb91f443b1e9db9eee5f5'/>
<id>e78ba69e3525c968118eb91f443b1e9db9eee5f5</id>
<content type='text'>
Updated cert_tool to be able to select brainpool P256r/t1
or NIST prim256v1 curve for certificates signature.

Change-Id: I6e800144697069ea83660053b8ba6e21c229243a
Signed-off-by: Nicolas Toromanoff &lt;nicolas.toromanoff@st.com&gt;
Signed-off-by: Lionel Debieve &lt;lionel.debieve@foss.st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated cert_tool to be able to select brainpool P256r/t1
or NIST prim256v1 curve for certificates signature.

Change-Id: I6e800144697069ea83660053b8ba6e21c229243a
Signed-off-by: Nicolas Toromanoff &lt;nicolas.toromanoff@st.com&gt;
Signed-off-by: Lionel Debieve &lt;lionel.debieve@foss.st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(security): add OpenSSL 1.x compatibility</title>
<updated>2022-11-11T18:33:42+00:00</updated>
<author>
<name>Juan Pablo Conde</name>
<email>juanpablo.conde@arm.com</email>
</author>
<published>2022-10-25T23:41:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/arm-trusted-firmware.git/commit/?id=cf2dd17ddda2f44f5dedddcaf48300d16358597a'/>
<id>cf2dd17ddda2f44f5dedddcaf48300d16358597a</id>
<content type='text'>
When updated to work with OpenSSL 3.0, the host tools lost their
compatibility with previous versions (1.x) of OpenSSL. This is
mainly due to the fact that 1.x APIs became deprecated in 3.0 and
therefore their use cause compiling errors. In addition, updating
for a newer version of OpenSSL meant improving the stability
against security threats. However, although version 1.1.1 is
now deprecated, it still receives security updates, so it would
not imply major security issues to keep compatibility with it too.

This patch adds backwards compatibility with OpenSSL 1.x versions
by adding back 1.x API code. It defines a macro USING_OPENSSL3,
which will select the appropriate OpenSSL API version depending on
the OpenSSL library path chosen (which is determined by the
already-existing OPENSSL_DIR variable).

In addition, cleanup items were packed in functions and moved to
the proper modules in order to make the code more maintainable and
legible.

Signed-off-by: Juan Pablo Conde &lt;juanpablo.conde@arm.com&gt;
Change-Id: I8deceb5e419edc73277792861882404790ccd33c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When updated to work with OpenSSL 3.0, the host tools lost their
compatibility with previous versions (1.x) of OpenSSL. This is
mainly due to the fact that 1.x APIs became deprecated in 3.0 and
therefore their use cause compiling errors. In addition, updating
for a newer version of OpenSSL meant improving the stability
against security threats. However, although version 1.1.1 is
now deprecated, it still receives security updates, so it would
not imply major security issues to keep compatibility with it too.

This patch adds backwards compatibility with OpenSSL 1.x versions
by adding back 1.x API code. It defines a macro USING_OPENSSL3,
which will select the appropriate OpenSSL API version depending on
the OpenSSL library path chosen (which is determined by the
already-existing OPENSSL_DIR variable).

In addition, cleanup items were packed in functions and moved to
the proper modules in order to make the code more maintainable and
legible.

Signed-off-by: Juan Pablo Conde &lt;juanpablo.conde@arm.com&gt;
Change-Id: I8deceb5e419edc73277792861882404790ccd33c
</pre>
</div>
</content>
</entry>
</feed>
