arm/qemuarm64-secureboot: Enable kernel TEE drivers
PATCH 1/1 arm/qemuarm64-secureboot: Enable kernel TEE drivers
Add a config fragment to enable kernel TEE drivers.
--- meta-arm/recipes-kernel/linux/linux-yocto/tee.cfg | 10 ++++++++++ .../recipes-kernel/linux/linux-yocto_5.10.bbappend | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 meta-arm/recipes-kernel/linux/linux-yocto/tee.cfg
meta-arm/recipes-kernel/linux/linux-yocto/tee.cfg new file +10 -0
@@ -0,0 +1,10 @@ +CONFIG_HW_RANDOM_OPTEE=y +CONFIG_TEE=y + +# +# TEE drivers +# +CONFIG_OPTEE=y +CONFIG_OPTEE_SHM_NUM_PRIV_PAGES=1 +# end of TEE drivers +
meta-arm/recipes-kernel/linux/linux-yocto_5.10.bbappend +4 -1
@@ -14,4 +14,7 @@ SRC_URI_append_qemuarm64-sbsa = " \ " FILESEXTRAPATHS_prepend_qemuarm64-secureboot = "${ARMFILESPATHS}" -SRC_URI_append_qemuarm64-secureboot = " file://zone_dma_revert.patch" +SRC_URI_append_qemuarm64-secureboot = " \ + file://zone_dma_revert.patch \ + file://tee.cfg \ + "
Signature · 1 line
2.25.1
Quoted 3 lines · Sumit Garg
Add a config fragment to enable kernel TEE drivers.
Signed-off-by Sumit Garg <[email protected]>
Added to master branch
Thanks,
Jon
Quoted 42 lines
--- meta-arm/recipes-kernel/linux/linux-yocto/tee.cfg | 10 ++++++++++ .../recipes-kernel/linux/linux-yocto_5.10.bbappend | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 meta-arm/recipes-kernel/linux/linux-yocto/tee.cfgmeta-arm/recipes-kernel/linux/linux-yocto/tee.cfg new file +10
-0@@ -0,0 +1,10 @@ +CONFIG_HW_RANDOM_OPTEE=y +CONFIG_TEE=y + +# +# TEE drivers +# +CONFIG_OPTEE=y +CONFIG_OPTEE_SHM_NUM_PRIV_PAGES=1 +# end of TEE drivers +meta-arm/recipes-kernel/linux/linux-yocto_5.10.bbappend +4
-1@@ -14,4 +14,7 @@ SRC_URI_append_qemuarm64-sbsa = " \ " FILESEXTRAPATHS_prepend_qemuarm64-secureboot = "${ARMFILESPATHS}" -SRC_URI_append_qemuarm64-secureboot = " file://zone_dma_revert.patch" +SRC_URI_append_qemuarm64-secureboot = " \ + file://zone_dma_revert.patch \ + file://tee.cfg \ + "Signature · 1 line
2.25.1
Quoted 8 lines · Jon Mason
Quoted 3 lines · Sumit Garg
Add a config fragment to enable kernel TEE drivers.
Signed-off-by Sumit Garg <[email protected]>Added to master branch
Thanks Jon, can you apply this to the hardknott branch as well?
-Sumit
Quoted 46 lines
Thanks,
JonQuoted 42 lines
--- meta-arm/recipes-kernel/linux/linux-yocto/tee.cfg | 10 ++++++++++ .../recipes-kernel/linux/linux-yocto_5.10.bbappend | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 meta-arm/recipes-kernel/linux/linux-yocto/tee.cfgmeta-arm/recipes-kernel/linux/linux-yocto/tee.cfg new file +10
-0@@ -0,0 +1,10 @@ +CONFIG_HW_RANDOM_OPTEE=y +CONFIG_TEE=y + +# +# TEE drivers +# +CONFIG_OPTEE=y +CONFIG_OPTEE_SHM_NUM_PRIV_PAGES=1 +# end of TEE drivers +meta-arm/recipes-kernel/linux/linux-yocto_5.10.bbappend +4
-2@@ -14,4 +14,7 @@ SRC_URI_append_qemuarm64-sbsa = " \ " FILESEXTRAPATHS_prepend_qemuarm64-secureboot = "${ARMFILESPATHS}" -SRC_URI_append_qemuarm64-secureboot = " file://zone_dma_revert.patch" +SRC_URI_append_qemuarm64-secureboot = " \ + file://zone_dma_revert.patch \ + file://tee.cfg \ + " --2.25.1
Quoted 11 lines · Sumit Garg
Quoted 8 lines · Jon Mason
Quoted 3 lines · Sumit Garg
Add a config fragment to enable kernel TEE drivers.
Signed-off-by Sumit Garg <[email protected]>Added to master branch
Thanks Jon, can you apply this to the hardknott branch as well?
I had to rework it a little, due to the zone dma hacks ever changing. It's in hardknott-next branch and I'll push after it passes CI.
Thanks,
Jon
Quoted 49 lines
-Sumit
Quoted 46 lines
Thanks,
JonQuoted 42 lines
--- meta-arm/recipes-kernel/linux/linux-yocto/tee.cfg | 10 ++++++++++ .../recipes-kernel/linux/linux-yocto_5.10.bbappend | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 meta-arm/recipes-kernel/linux/linux-yocto/tee.cfgmeta-arm/recipes-kernel/linux/linux-yocto/tee.cfg new file +10
-0@@ -0,0 +1,10 @@ +CONFIG_HW_RANDOM_OPTEE=y +CONFIG_TEE=y + +# +# TEE drivers +# +CONFIG_OPTEE=y +CONFIG_OPTEE_SHM_NUM_PRIV_PAGES=1 +# end of TEE drivers +meta-arm/recipes-kernel/linux/linux-yocto_5.10.bbappend +4
-2@@ -14,4 +14,7 @@ SRC_URI_append_qemuarm64-sbsa = " \ " FILESEXTRAPATHS_prepend_qemuarm64-secureboot = "${ARMFILESPATHS}" -SRC_URI_append_qemuarm64-secureboot = " file://zone_dma_revert.patch" +SRC_URI_append_qemuarm64-secureboot = " \ + file://zone_dma_revert.patch \ + file://tee.cfg \ + " --2.25.1
Quoted 9 lines · Jon Mason
Quoted 7 lines · Sumit Garg
Quoted 6 lines · Jon Mason
Quoted 3 lines · Sumit Garg
Add a config fragment to enable kernel TEE drivers.
Signed-off-by Sumit Garg <[email protected]>
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
Added to master branch
Thanks Jon, can you apply this to the hardknott branch as well?
I had to rework it a little, due to the zone dma hacks ever changing. It's in hardknott-next branch and I'll push after it passes CI.
Thanks.
-Sumit
Quoted 52 lines
Thanks,
JonQuoted 49 lines
-Sumit
Quoted 46 lines
Thanks,
JonQuoted 42 lines
--- meta-arm/recipes-kernel/linux/linux-yocto/tee.cfg | 10 ++++++++++ .../recipes-kernel/linux/linux-yocto_5.10.bbappend | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 meta-arm/recipes-kernel/linux/linux-yocto/tee.cfgmeta-arm/recipes-kernel/linux/linux-yocto/tee.cfg new file +10
-0@@ -0,0 +1,10 @@ +CONFIG_HW_RANDOM_OPTEE=y +CONFIG_TEE=y + +# +# TEE drivers +# +CONFIG_OPTEE=y +CONFIG_OPTEE_SHM_NUM_PRIV_PAGES=1 +# end of TEE drivers +meta-arm/recipes-kernel/linux/linux-yocto_5.10.bbappend +4
-2@@ -14,4 +14,7 @@ SRC_URI_append_qemuarm64-sbsa = " \ " FILESEXTRAPATHS_prepend_qemuarm64-secureboot = "${ARMFILESPATHS}" -SRC_URI_append_qemuarm64-secureboot = " file://zone_dma_revert.patch" +SRC_URI_append_qemuarm64-secureboot = " \ + file://zone_dma_revert.patch \ + file://tee.cfg \ + " --2.25.1