- Aug 13, 2019
-
-
Victor Chong authored
Transition to the new trusted firmware repo location at http://git.trustedfirmware.org . NOTE: The 'arm-trusted-firmware' instances under zynqmp* have not been changed. Signed-off-by:
Victor Chong <victor.chong@linaro.org> Reviewed-by:
Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
Victor Chong authored
To reflect the new trusted firmware repo at http://git.trustedfirmware.org . Signed-off-by:
Victor Chong <victor.chong@linaro.org> Reviewed-by:
Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
Victor Chong authored
Signed-off-by:
Victor Chong <victor.chong@linaro.org> Acked-by:
Jens Wiklander <jens.wiklander@linaro.org> Acked-by:
Etienne Carriere <etienne.carriere@linaro.org>
-
- Apr 25, 2019
-
-
Hashem Tatari authored
Signed-off-by:
Hashem Tatari <hashem.tatari@exset.com> Acked-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Etienne Carriere <etienne.carriere@linaro.org>
-
Hashem Tatari authored
When the DEBUG config was set, the optee_os was still built with DEBUG=0 because the flag was hardcoded. As a result the optimization was still O2. This is fixed by using the global DEBUG flag instead of the hardcoded value of zero. Signed-off-by:
Hashem Tatari <hashem.tatari@exset.com> Acked-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Etienne Carriere <etienne.carriere@linaro.org>
-
- Nov 26, 2018
-
-
Etienne Carriere authored
Qemu and qemu_v8 are almost built the same way. Main differences are 32b/64b modes and u-boot/edk2 as non-secure boot stage. optee-client targets are removed since now built from the buildroot target. This change also ensures on can run 'make run-only' after 'make all' without rootfs not being copied to the output image directory. Signed-off-by:
Etienne Carriere <etienne.carriere@linaro.org> Acked-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Nov 05, 2018
-
-
Jerome Forissier authored
Use two vCPUs by default instead of one. This configuration is more likely to trigger race conditions when testing. Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Oct 26, 2018
-
-
Jerome Forissier authored
common.mk mistakenly uses the QEMU overlay (which currently contains only an init script for udhcpc) on all platforms. This is incorrect and causes problems on RPi3 at least [1]. Fixes: commit 751b35bb ("qemu: buildroot: fix networking") Links: [1] https://github.com/OP-TEE/optee_os/issues/2478#issuecomment-432818199 Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Acked-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- May 29, 2018
-
-
Etienne Carriere authored
As for qemu.mk, environment can set the number of cores to be emulated using QEMU_SMP. Defaults to 1 core. Signed-off-by:
Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- May 23, 2018
-
-
Joakim Bech authored
Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org> Acked-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Apr 17, 2018
-
-
Jens Wiklander authored
Acked-by:
Jerome Forissier <jerome.forissier@linaro.org> Tested-by:
Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Mar 02, 2018
-
-
Joel Anderson authored
The 'strace-clean' target runs the 'clean' target in the strace project directly, and afterwards removes the Makefile and configure scripts as well. This is the same strategy used by other platforms using strace (hikey.mk and hikey960.mk), however other platforms check for the existence of the Makefile before executing $(MAKE), allowing a build to be cleaned multiple times. Without this check, subsequent invocations of 'strace-clean' (or simply 'clean') fail as there is no Makefile to use. Fixes: $ make strace-clean [...] $ make strace-clean [...] make[1]: Entering directory '/home/goatshriek/optee-armv8/strace' make[1]: *** No rule to make target 'clean'. Stop. Signed-off-by:
Joel Anderson <jeander@vt.edu> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Feb 26, 2018
-
-
Jerome Forissier authored
Like other platforms (fvp.mk, hikey.mk, hikey960.mk, hikey_debian.mk) define the edk2-call macro to invoke the EDK2 build script rather than $(MAKE) directly. Indeed, the edk2-clean-common target in common.mk expects $(edk2-call) to take the 'cleanall' argument, which the EDK2 build script does accept, but the EDK2 makefile doesn't (there is no cleanall rule in EDK2). Fixes: $ make clean [...] make[1]: Entering directory '/home/jerome/optee_repo_qemu_v8/edk2' make[1]: *** No rule to make target 'cleanall'. Stop. Another option to fix the above error would be to change the edk2-clean target to no use edk2-clean-common and call "$(MAKE) clean" directly. But then, it would be inconsistent with other platforms and the EDK2 build script may be a better interface than raw make (more stable). Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reported-by:
Joel Anderson <jeander@vt.edu> Acked-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Jan 16, 2018
-
-
Joakim Bech authored
Multiple personality support in strace is not something that we make use of in OP-TEE for the moment, so instead of putting more prerequisites on our builds let us just disable this feature in strace. Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Acked-by:
Jens Wiklander <jens.wiklander@linaro.org> Acked-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Nov 27, 2017
-
-
Joakim Bech authored
QEMU v8 and FVP are both now working with upstream edk2 and edk2-platforms. QEMU v8's dsc file is located in the edk2 folder whilst the dsc for FVP is in the edk2-platforms folder. Due to this we had to export the WORKSPACE variable differently otherwise we would get either compiler errors or we would get the "Build" folder created on the top level (something that we do not want). Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU v8, FVP) Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Oct 30, 2017
-
-
Victor Chong authored
Signed-off-by:
Victor Chong <victor.chong@linaro.org> Acked-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Oct 29, 2017
-
-
Victor Chong authored
Signed-off-by:
Victor Chong <victor.chong@linaro.org> Acked-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Oct 23, 2017
-
-
Jerome Forissier authored
ERROR_DEPRECATED=1 may cause build errors when ARM deprecates APIs upstream. Since we're tracking upstream master, it can happen at any time, and indeed we have just met this build issue: plat/qemu/qemu_bl31_setup.c:129:2: error: unknown field 'g0_interrupt_num' specified in initializer .g0_interrupt_num = ARRAY_SIZE(irq_sec_array), ^ Although we usually want to use the latest APIs, having a build that can break randomly is not nice to our users. Therefore, remove the ERROR_DEPRECATED flag from our Makefile to fix the compile error and give us some time to adapt to upstream changes. Of course, the weakness in this reasoning is that by removing ERROR_DEPRECATED, we are likely to not even notice when an API has changed. Anyway, this seems to be the most reasonable option given that there is no WARN_DEPRECATED flag. Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- Oct 09, 2017
-
-
Jens Wiklander authored
Drops the -O0 flag passed in CFLAGS when compiling ARM-TF. This is needed to ensure that the binaries doesn't overflow their assigned memory. Acked-by:
Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Sep 07, 2017
-
-
Jens Wiklander authored
Acked-by:
Victor Chong <victor.chong@linaro.org> Signed-off-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Sep 04, 2017
-
-
Igor Opaniuk authored
New `optee_examples` git rep is used instead of `hello_world`, which will contain different sample applications that will show usage of specific TEE functionality (crypto examples, random data generation, trusted storage etc.) Reviewed-by:
Etienne Carriere <etienne.carriere@linaro.org> Acked-by:
Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by:
Igor Opaniuk <igor.opaniuk@linaro.org>
-
- Jul 25, 2017
-
-
Igor Opaniuk authored
Enable support of benchmark framework on QEMUv8 Signed-off-by:
Igor Opaniuk <igor.opaniuk@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- May 24, 2017
-
-
Victor Chong authored
Signed-off-by:
Victor Chong <victor.chong@linaro.org> Acked-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Apr 06, 2017
-
-
Joakim Bech authored
This fix the issue with the jobserver failing when running parallel build jobs. Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Apr 05, 2017
-
-
Jens Wiklander authored
* Switches to compile UEFI from EDK2 upstream. * Passes -no-acpi to QEMU when starting to make UEFI pass the FDT to the kernel Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Signed-off-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Mar 11, 2017
-
-
Victor Chong authored
Change link from build 716 to latest to prevent it from becoming outdated. Signed-off-by:
Victor Chong <victor.chong@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- Feb 02, 2017
-
-
Jerome Forissier authored
gnome-terminal comes by default with Ubuntu and is much more advanced than xterm, so use it when available. While we're at it, move common definitions to common.mk. Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed by: Victor Chong <victor.chong@linaro.org>
-
- Jan 31, 2017
-
-
Jerome Forissier authored
- tee-supplicant is started automatically since commit 1333db4d ("rootfs: start tee-supplicant on boot") - Update qemu_v8 arguments so that GDB can be used like for qemu Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- Oct 26, 2016
-
-
Igor Opaniuk authored
Add support for configuring QEMU with VirtFS to share data between the guest QEMU VM and host operating systems. To specify dir, that has to be mounted inside QEMU VM, edit QEMU_VIRTFS_HOST_DIR var in qemu.mk To mount shared folder within QEMU ARM VM, run: $ mount -t 9p -o trans=virtio host /tmp/shared/ If Virtfs support is enabled, libattr1-dev and libcap-dev have to be installed before configuring QEMU. For additional details see: http://wiki.qemu.org/Documentation/9psetup Signed-off-by:
Igor Opaniuk <igor.opaniuk@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Igor Opaniuk <igor.opaniuk@linaro.org> (qemu_v7/v8)
-
- Oct 21, 2016
-
-
Etienne Carriere authored
Test 2001 is obsolete. xtest 1004 is a good candidate: load TA, invoke and close. Signed-off-by:
Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey) Tested-by: Joakim Bech <joakim.bech@linaro.org> (RPi3, MTK8173) Tested-by: Etienne Carriere <etienne.carriere@linaro.org> (qemu_v7/v8)
-
Etienne Carriere authored
All targets already enable core debug log level: 3. Signed-off-by:
Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey) Tested-by: Joakim Bech <joakim.bech@linaro.org> (RPi3, MTK8173) Tested-by: Etienne Carriere <etienne.carriere@linaro.org> (qemu_v7/v8)
-
Etienne Carriere authored
Factorize embedded file list and rootfs generation for fvp, juno, mediatek, qemu, qemu_v8 and rpi3. busybox is madatory to all 'common' rootfs. optee-client, xtestn helloworld are always embedded: moved to common. Remove obsolete CFG_DEV_PATH. Signed-off-by:
Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey) Tested-by: Joakim Bech <joakim.bech@linaro.org> (RPi3, MTK8173) Tested-by: Etienne Carriere <etienne.carriere@linaro.org> (qemu_v7/v8)
-
- Oct 06, 2016
-
-
Jens Wiklander authored
Replaces broken edk2 link with a slightly older but working link. Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Signed-off-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Jul 19, 2016
-
-
Victor Chong authored
Signed-off-by:
Victor Chong <victor.chong@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
David Brown <david.brown@linaro.org> Tested-by: Victor Chong <victor.chong@linaro.org> (qemu) Tested-by: Joakim Bech <joakim.bech@linaro.org> (RPi3 with mods to build_ta_helloworld_qemu.sh for a 64-bit build)
-
- Jul 11, 2016
-
-
Matt Ma authored
QEMU and OP-TEE on ARMv8 is working Reviewed-by:
Victor Chong <victor.chong@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Signed-off-by:
Matt Ma <matt.ma@linaro.org>
-
- May 25, 2016
-
-
Joakim Bech authored
- Adds legacy toolchain for use in older edk2 projects, this is the only project using the pre 5.x toolchain for now - Removes the bare metal toolchain - qemu: Change the path for libraries for GCC5 - fvp: compiler changes for ARM-TF and EDK2 Update libteec path in initramfs - mtk: Toolchain and libteec path updates - juno: Toolchain and libteec path updates Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU, FVP, HiKey) Tested-by: Pascal Brand <pascal.brand@linaro.org> (QEMU) Tested-by: Pascal Brand <pascal.brand@linaro.org> (FVP)
-
- Apr 27, 2016
-
-
Victor Chong authored
Signed-off-by:
Victor Chong <victor.chong@linaro.org> Tested-by: Victor Chong <victor.chong@linaro.org> (QEMU with CONFIG_OPTEE=m) Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU)
-
- Apr 25, 2016
-
-
Victor Chong authored
Signed-off-by:
Victor Chong <victor.chong@linaro.org> Reviewed-by:
Pascal Brand <pascal.brand@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- Mar 22, 2016
-
-
Pascal Brand authored
Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by:
Pascal Brand <pascal.brand@st.com>
-
Jens Wiklander authored
Build support for generic driver on QEMU. Reviewed-by:
Pascal Brand <pascal.brand@linaro.org> Signed-off-by:
Jens Wiklander <jens.wiklander@linaro.org>
-