Add support for booting qemu with TFA and optee
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 6 repliesIn review
- v23 patches 13 repliesSuperseded
- v11 patch 2 repliesSuperseded
Changes in v3 from the cover letter
* Remove subshell in optee-client: do_install
* Changes assignements for compiling optee/TF-A for qemu to be weak
* Fixed optee-os install path to respect ${BUILD_PLAT}
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | optee-{os,examples,client,test}: Build out of treemeta-arm/ meta-arm/ meta-arm/ +1 more | +31 | 2 replies | |
| 2/3 | optee-client: Add sysVinit servicemeta-arm/ meta-arm/ meta-arm/ | +65 | 2 replies | |
| 3/3 | Add support for booting qemu with TFA and opteemeta-arm/ meta-arm/ meta-arm/ +6 more | +80 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Diego Sueiro | Denys Dmytriyenko |
|---|---|---|
| 1/3 | R-b | R-b |
| 2/3 | R-b | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [meta-arm][PATCH v3 0/3] Add support for booting qemu with TFA and optee
Adds support for booting AArch64 Qemu machines using TF-A + optee + u-boot. Most of the changes are applicable to any AArch64 qemu target, and a reference machine called qemuarm64-secureboot has been added that show how to enable support for it.
Testing of op-tee can be done using the qemuarm64-secureboot machine with the following commands:
$ cat >> conf/local.conf <<HEREDOC MACHINE = "qemuarm64-secureboot" CORE_IMAGE_EXTRA_INSTALL += "optee-test kernel-modules" HEREDOC $ bitbake core-image-minimal $ runqemu nographic serialstdio slirp ... root@qemuarm64-secureboot:~# xtest
V3:
* Remove subshell in optee-client: do_install
* Changes assignements for compiling optee/TF-A for qemu to be weak
* Fixed optee-os install path to respect ${BUILD_PLAT}
Joshua Watt (3):
optee-{os,examples,client,test}: Build out of tree
optee-client: Add sysVinit service
Add support for booting qemu with TFA and optee
.../conf/machine/qemuarm64-secureboot.conf | 26 +++++++++++ .../trusted-firmware-a/trusted-firmware-a.inc | 44 ++++++++++++------ .../recipes-bsp/u-boot/u-boot/qemuarm64.cfg | 4 ++ meta-arm/recipes-bsp/u-boot/u-boot_%.bbappend | 3 ++ .../linux/linux-yocto-dev.bbappend | 4 ++ .../linux/linux-yocto-dev/tee.cfg | 4 ++ .../optee/optee-client/tee-supplicant.service | 4 +- .../optee/optee-client/tee-supplicant.sh | 46 +++++++++++++++++++ .../optee/optee-client_git.bb | 38 +++++++++++---- .../optee/optee-examples_git.bb | 8 +++- .../recipes-security/optee/optee-os_git.bb | 13 ++++-- .../recipes-security/optee/optee-test_git.bb | 8 +++- meta-arm/recipes-security/optee/optee.inc | 1 + meta-arm/wic/qemuarm64.wks | 4 ++ 14 files changed, 175 insertions(+), 32 deletions(-) create mode 100644 meta-arm/conf/machine/qemuarm64-secureboot.conf create mode 100644 meta-arm/recipes-bsp/u-boot/u-boot/qemuarm64.cfg create mode 100644 meta-arm/recipes-bsp/u-boot/u-boot_%.bbappend create mode 100644 meta-arm/recipes-kernel/linux/linux-yocto-dev.bbappend create mode 100644 meta-arm/recipes-kernel/linux/linux-yocto-dev/tee.cfg create mode 100644 meta-arm/recipes-security/optee/optee-client/tee-supplicant.sh create mode 100644 meta-arm/wic/qemuarm64.wks
Signature · 1 line
2.17.1