Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does build_scripts cover "tee-xxx.srec" #6

Open
jiedummy opened this issue Nov 16, 2023 · 3 comments
Open

does build_scripts cover "tee-xxx.srec" #6

jiedummy opened this issue Nov 16, 2023 · 3 comments

Comments

@jiedummy
Copy link

The build_scripts is very helpful tool. It looks like it does not cover "tee-xxx.srec". Is there any method to generate "tee-xxx.srec" outside of yocto build system?

@seebe
Copy link
Member

seebe commented Nov 17, 2023

It probably can be done, but I have not tried. Most people use these scripts when porting BSP code to a new board doing some debugging. It is much easier to do that outside of Yocto. So in that case, you might not concerned about security features yet. That is the only reason why there is no build code for tee yet.

@jiedummy
Copy link
Author

jiedummy commented Nov 18, 2023 via email

@MicBiso
Copy link
Contributor

MicBiso commented Jan 23, 2024

RZ/G2L example, parameters may need to be adjusted:

git clone https://github.com/renesas-rz/rzg_optee-os.git
cd rzg_optee-os
git checkout f9a0900230a5341d9a83799dab89f08f65840458
patch -p1 < 0001-hw_get_random_bytes-SUPPORT.patch
make -j 8 PLATFORM=rz PLATFORM_FLAVOR=g2l_smarc_2 CFG_ARM64_core=y CFG_REE_FS=y CFG_RPMB_FS=n CFG_CRYPTO_WITH_CE=n CFG_RZ_SCE=y CROSS_COMPILE64=aarch64-none-elf- ARCH=arm CFG_RZ_SCE_LIB_DIR=~/rz_secprv/smarc-rzg2l/Lib/

The patch and the lib (CFG_RZ_SCE_LIB_DIR) are in the security package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants