<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-freescale.git/recipes-security/optee-imx, branch topic/fix-u-boot-imx</title>
<subtitle>Mirror of github.com/Freescale/meta-freescale</subtitle>
<id>https://git.enea.com/cgit/linux/meta-freescale.git/atom?h=topic%2Ffix-u-boot-imx</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-freescale.git/atom?h=topic%2Ffix-u-boot-imx'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/'/>
<updated>2022-05-17T16:59:01+00:00</updated>
<entry>
<title>optee-test: Rework the OPTEE_ARCH logic</title>
<updated>2022-05-17T16:59:01+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2022-05-17T16:50:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=1d9eb0fc2443414014be964b6353710439be5226'/>
<id>urn:sha1:1d9eb0fc2443414014be964b6353710439be5226</id>
<content type='text'>
For 32-bit ARM the OPTEE_ARCH assignment using the armv7a override is
redundant to the default assignment. Replace both with a single
assignment using the arm override.

Also, rework the TA_DEV_KIT_DIR build variable using OPTEE_ARCH.

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>optee-os: Simplify OPTEE_ARCH assignment for 32-bit</title>
<updated>2022-05-17T16:42:25+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2022-05-17T16:12:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=f7dae734e2e9c2aef17d3b0329bdf4e65b215786'/>
<id>urn:sha1:f7dae734e2e9c2aef17d3b0329bdf4e65b215786</id>
<content type='text'>
For 32-bit ARM the OPTEE_ARCH assignment using the armv7a override is
redundant to the default assignment. Replace both with a single
assignment using the arm override.

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>optee-test: Upgrade to NXP 5.15.5-1.0.0</title>
<updated>2022-05-12T22:37:45+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2022-05-12T22:33:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=a11a0895a4b16ba5ae31693feff379e3de646045'/>
<id>urn:sha1:a11a0895a4b16ba5ae31693feff379e3de646045</id>
<content type='text'>
- Fix hard-coded /usr with exec_prefix variable
- Parallel make works, remove work around

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>optee-client: Update branch, same SRCREV</title>
<updated>2022-05-12T22:37:45+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2022-05-12T22:32:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=f51ff30cb96c31866fca8ca89bb17511b45efe35'/>
<id>urn:sha1:f51ff30cb96c31866fca8ca89bb17511b45efe35</id>
<content type='text'>
SRCREV is the same for NXP 5.15.5-1.0.0.

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>optee-os: Upgrade to NXP 5.15.5-1.0.0</title>
<updated>2022-05-12T22:37:45+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2022-05-12T22:29:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=5956fb99eb99866425f163c7083dc3a28c87e0f8'/>
<id>urn:sha1:5956fb99eb99866425f163c7083dc3a28c87e0f8</id>
<content type='text'>
- Drop patch 0001-arm-imx-fix-RPMB-header-include.patch that is now upstream
- Update platform list
- Fix hard-coded /usr/include with includedir variable

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>mx8dx: Normalize MACHINEOVERRIDES implementation</title>
<updated>2022-04-01T00:37:58+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2022-03-31T22:39:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=d93b387a8740bc5f6e61dac13888e9cc0f1cefa2'/>
<id>urn:sha1:d93b387a8740bc5f6e61dac13888e9cc0f1cefa2</id>
<content type='text'>
The imx8dx-mek machine is similar to imx8qxp-mek and so the mx8qxp override
was included in the MACHINEOVERRIDES hierarchy. This is non-standard, and
the rework of the SOC overrides didn't handle it properly, leading to a
build break:

```
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: 8QX boot binary build
| cp: failed to access '/home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin': Not a directory
| WARNING: /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636:179 exit 1 from 'cp /home/aquino/src/ossystems/oel-platform/build/tmp/deploy/images/imx8dx-mek/imx-boot$
tools/scfw_tcm.bin /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin'
| WARNING: Backtrace (BB generated script):
|       #1: compile_mx8x, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 179
|       #2: do_compile, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 151
|       #3: main, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 189
ERROR: Task (/home/aquino/src/ossystems/oel-platform/sources/meta-freescale/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_compile) failed with exit code '1'
```

Fix the problem by removing mx8qxp from the mx8dx hierarchy and adapting
existing mx8qxp overrides appropriately.

Fixes: #1027
Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>optee-os: Fix RPMB build break</title>
<updated>2022-03-07T16:40:04+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2022-03-07T16:32:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=3f452909d08cc2f8ab603dac33d745853982bb76'/>
<id>urn:sha1:3f452909d08cc2f8ab603dac33d745853982bb76</id>
<content type='text'>
When CFG_RPMB_FS=y, OP-TEE os no longer compiles because imx_rpmb.c
tries to include a header that doesn't exist. This issue seems linked
to a rework that allows to compile i.MX Secure Non-Volatile Storage
driver without RPMB.

```
|   CC      optee-os/3.15.0.imx-r0/build/core/arch/arm/plat-imx/imx_rpmb.o
| core/arch/arm/plat-imx/imx_rpmb.c:5:10: fatal error: drivers/imx_snvs.h: No such file or directory
|     5 | #include &lt;drivers/imx_snvs.h&gt;
|       |          ^~~~~~~~~~~~~~~~~~~~
| compilation terminated.
| make: *** [mk/compile.mk:159: optee-os/3.15.0.imx-r0/build/core/arch/arm/plat-imx/imx_rpmb.o] Error 1
| make: *** Waiting for unfinished jobs....
|   CC     optee-os/3.15.0.imx-r0/build/core/crypto/crypto.o
|   CC      optee-os/3.15.0.imx-r0/build/core/arch/arm/plat-imx/imx_dt.o
| make: Leaving directory 'optee-os/3.15.0.imx-r0/git'
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (optee-imx/optee-os_3.15.0.imx.bb:do_compile) failed with exit code '1'
```

This is fixed in the upcoming release NXP 5.15.5-1.0.0. Backport the
patch.

Fixes: #997
Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>optee-test: Add runtime dependency on optee-os</title>
<updated>2022-02-25T00:08:37+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2022-02-25T00:08:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=c661ec7a177b90a76494a23ecbd44c6a840c97e7'/>
<id>urn:sha1:c661ec7a177b90a76494a23ecbd44c6a840c97e7</id>
<content type='text'>
The TAs in optee-os are required.

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>optee-client: Fix incorrect packaging logic</title>
<updated>2022-02-24T19:32:53+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2022-02-21T19:04:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=f816e66fe29382d0f966740d616b32622bdcb69b'/>
<id>urn:sha1:f816e66fe29382d0f966740d616b32622bdcb69b</id>
<content type='text'>
- The logic for the tee-supplicant package doesn't work and the package
ends up empty. In fact, tee-supplicant belongs in the main package anyway.
- The main package already contains ${libdir}, so drop the redundant
assignment.
- The headers belong in the -dev package, so drop them from the main.
- Drop the un-necessary INSANE_SKIP settings.

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>optee-*: For i.MX, require machine feature optee</title>
<updated>2022-02-24T19:32:53+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2022-02-16T18:40:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=9d374c6460a3f7b6286f795fc47ec578d2b68912'/>
<id>urn:sha1:9d374c6460a3f7b6286f795fc47ec578d2b68912</id>
<content type='text'>
The optee software should be enabled by the machine feature. If the
machine feature is not there, but optee is built anyway, then something
is wrong and the build should fail.

Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
</feed>
