ARCH=riscv make -j2 toolchains
ARCH=riscv make run
and the toolchain was built ok, but make run fails, it seems to be still expecting to build and run for ARM:
% ARCH=riscv make run
make -C /data/aousherovitch/prj/optee/build/../optee_os O=out/riscv CFG_USER_TA_TARGETS=ta_rv64 CFG_RV64_core=y PLATFORM=vexpress-qemu_armv8a CROSS_COMPILE="/usr/bin/ccache /data/aousherovitch/prj/optee/build/../toolchains/riscv64/bin/riscv64-unknown-linux-gnu-" CROSS_COMPILE_core="/usr/bin/ccache /data/aousherovitch/prj/optee/build/../toolchains/riscv64/bin/riscv64-unknown-linux-gnu-" CROSS_COMPILE_ta_rv64="/usr/bin/ccache /data/aousherovitch/prj/optee/build/../toolchains/riscv64/bin/riscv64-unknown-linux-gnu-" CROSS_COMPILE_ta_rv32="/usr/bin/ccache " CFG_TEE_CORE_LOG_LEVEL=3 DEBUG=0 CFG_IN_TREE_EARLY_TAS="trusted_keys/f04a0fe7-1f5d-4b9b-abf7-619b85b4ce8c" DEBUG=0 CFG_ARM_GICV3=y
make[1]: Entering directory '/data/aousherovitch/prj/optee/optee_os'
core/arch/riscv/riscv.mk:72: *** CFG_ARM_GICV3 is set to 'y' (from command line) but its value must be 'n'. Stop.
make[1]: Leaving directory '/data/aousherovitch/prj/optee/optee_os'
make: *** [common.mk:550: optee-os-common] Error 2
Hello, In https://optee.readthedocs.io/en/latest/building/gits/build.html and https://optee.readthedocs.io/en/latest/building/devices/qemu.html I see instructions for building and running OP-TEE using QEMU for Armv8-A. Can you please advise how the RISCV related changes in OP-TEE are being tested (presumably on qemu?). I've tried running the following
and the toolchain was built ok, but make run fails, it seems to be still expecting to build and run for ARM:
Please advise. Thank you