doc: board: ti: Add optee rng support
PATCH 1/1 doc: board: ti: Add optee rng support
J722S has hw rng, which can be used by OPTEE.
So remove option to use SW TRNG by OPTEE.
---
reference discussion
https://lore.kernel.org/all/[email protected]/
Bootlogs with optee trng
https://gist.github.com/uditkumarti/5f90210b23e67cd4eb6d06a024031ee8#file-gistfile1-txt-L1970
doc/board/ti/j722s_evm.rst | 1 - 1 file changed, 1 deletion(-)
doc/board/ti/j722s_evm.rst +0 -1
@@ -74,7 +74,6 @@ Set the variables corresponding to this platform: $ export UBOOT_CFG_CORTEXA=j722s_evm_a53_defconfig $ export TFA_BOARD=lite $ export OPTEE_PLATFORM=k3-am62x - $ export OPTEE_EXTRA_ARGS="CFG_WITH_SOFTWARE_PRNG=y" .. j722s_evm_rst_include_start_build_steps
Signature · 1 line
2.34.1
Quoted 29 lines · Udit Kumar
J722S has hw rng, which can be used by OPTEE.
So remove option to use SW TRNG by OPTEE.Signed-off-by Udit Kumar <[email protected]>---
reference discussion
https://lore.kernel.org/all/[email protected]/Bootlogs with optee trng
https://gist.github.com/uditkumarti/5f90210b23e67cd4eb6d06a024031ee8#file-gistfile1-txt-L1970doc/board/ti/j722s_evm.rst | 1 - 1 file changed, 1 deletion(-)doc/board/ti/j722s_evm.rst +0
-1@@ -74,7 +74,6 @@ Set the variables corresponding to this platform: $ export UBOOT_CFG_CORTEXA=j722s_evm_a53_defconfig $ export TFA_BOARD=lite $ export OPTEE_PLATFORM=k3-am62x - $ export OPTEE_EXTRA_ARGS="CFG_WITH_SOFTWARE_PRNG=y" .. j722s_evm_rst_include_start_build_stepsSignature · 1 line
2.34.1
Signature · 3 lines
Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
Quoted 19 lines · Udit Kumar
J722S has hw rng, which can be used by OPTEE.
So remove option to use SW TRNG by OPTEE.Signed-off-by Udit Kumar <[email protected]>---
reference discussion
https://lore.kernel.org/all/[email protected]/Bootlogs with optee trng
https://gist.github.com/uditkumarti/5f90210b23e67cd4eb6d06a024031ee8#file-gistfile1-txt-L1970doc/board/ti/j722s_evm.rst | 1 - 1 file changed, 1 deletion(-)doc/board/ti/j722s_evm.rst +0
-0
doc/board/ti/j722s_evm.rst Set the variables corresponding to this platform: · line 77
Quoted 4 lines
doc/board/ti/j722s_evm.rst +0
-1@@ -74,7 +74,6 @@ Set the variables corresponding to this platform: $ export UBOOT_CFG_CORTEXA=j722s_evm_a53_defconfig $ export TFA_BOARD=lite $ export OPTEE_PLATFORM=k3-am62x - $ export OPTEE_EXTRA_ARGS="CFG_WITH_SOFTWARE_PRNG=y"
Fine by me,
Signature · 3 lines
Best regards, Dhruva Gole Texas Instruments Incorporated
Hi,
Quoted 10 lines
J722S has hw rng, which can be used by OPTEE.
So remove option to use SW TRNG by OPTEE.Signed-off-by Udit Kumar <[email protected]>---
reference discussion
https://lore.kernel.org/all/[email protected]/Bootlogs with optee trng
https://gist.github.com/uditkumarti/5f90210b23e67cd4eb6d06a024031ee8#file-gistfile1-txt-L1970
I can confirm the TRNG will work on u-boot as well as linux. Thanks!
-michael
Quoted 10 lines · Michael Walle
Hi,
Quoted 8 lines
J722S has hw rng, which can be used by OPTEE.
So remove option to use SW TRNG by OPTEE.Signed-off-by Udit Kumar <[email protected]>---
reference discussion
https://lore.kernel.org/all/[email protected]/
Quoted 6 lines
Quoted 2 lines
Bootlogs with optee trng
https://gist.github.com/uditkumarti/5f90210b23e67cd4eb6d06a024031ee8#file-gistfile1-txt-L1970I can confirm the TRNG will work on u-boot as well as linux. Thanks!
just curious: Did you have to change .configs for either?
Signature · 3 lines
Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
Hi,
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
J722S has hw rng, which can be used by OPTEE.
So remove option to use SW TRNG by OPTEE.Signed-off-by Udit Kumar <[email protected]>---
reference discussion
https://lore.kernel.org/all/[email protected]/
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
Bootlogs with optee trng
https://gist.github.com/uditkumarti/5f90210b23e67cd4eb6d06a024031ee8#file-gistfile1-txt-L1970I can confirm the TRNG will work on u-boot as well as linux. Thanks!
just curious: Did you have to change .configs for either?
We are using the (arm64) defconfig in linux, so no.
Regarding u-boot, I don't know because we are using our own config and I had to enable CONFIG_OPTEE there (as well as CONFIG_OPTEE_SERVICE_DISCOVERY, but that one is default y).
-michael
Quoted 4 lines · Udit Kumar
J722S has hw rng, which can be used by OPTEE.
So remove option to use SW TRNG by OPTEE.
Applied to u-boot/master, thanks!
[1/1] doc: board: ti: Add optee rng support
commit: a8baac546fd9bfbf3f36af3d35b5a284a9664f4c
Signature · 1 line
Tom