- 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>
-
- 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 09, 2018
-
-
Jerome Forissier authored
Adds support for Arm Trusted Firmware-A version v2.0. The qemu platform in TF-A v2.0 does not acccept MULTI_CONSOLE=0 anymore, so remove it. The current version v1.5 is quite happy without it already. Signed-off-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>
-
- Jul 19, 2018
-
-
Jens Wiklander authored
Tested-by:
Igor Opaniuk <igor.opaniuk@linaro.org> Reviewed-by:
Igor Opaniuk <igor.opaniuk@linaro.org> Signed-off-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- May 02, 2018
-
-
Jerome Forissier authored
Now that Arm Trusted Firmware is used as the secure boot loader and bios_qemu_tz_arm is used as the non-secure bootloader, all binaries are expected to be found in the $(BINARIES) directory. Symbolic links are created by various targets in the qemu.mk. The 'check' target should create a link to rootfs.cpio.gz, similar to the 'run' target. Fixes: 46ddff2b ("qemu: boot from arm-tf") Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Acked-by:
Joakim Bech <joakim.bech@linaro.org>
-
- Apr 27, 2018
-
-
Etienne Carriere authored
Fixes: 46ddff2b ("qemu: boot from arm-tf") Signed-off-by:
Etienne Carriere <etienne.carriere@linaro.org> Tested-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
Etienne Carriere authored
Fixes: 46ddff2b ("qemu: boot from arm-tf") Signed-off-by:
Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
Etienne Carriere authored
Signed-off-by:
Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
Etienne Carriere authored
bios_qemu_tz_arm build does not dependent on optee, rootfs or kernel. Alpha order on all/clean main dependencies and paths definitions. Signed-off-by:
Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
Etienne Carriere authored
Arm-tf is used as secure bootloader and bios_qemu_tz_arm as non-secure bootloader. Signed-off-by:
Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Mar 12, 2018
-
-
Jens Wiklander authored
Acked-by:
Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by:
Jens Wiklander <jens.wiklander@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 13, 2017
-
-
Jerome Forissier authored
It seems that Shippable CI does not like running QEMU with 4 virtual cores (or maybe we have a bug), because "make check" hangs when QEMU is started with -smp 4. Revert to 1 core by default. Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
Jerome Forissier authored
The QEMU_SMP environment variable or makefile macro may be set to control the number of cores used during "make check". Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- Sep 20, 2017
-
-
Jerome Forissier authored
Commit 37ab51de ("qemu: bios load OP-TEE image v2") has updated the run and run-only targets, but not make check. Fix this. Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- Sep 19, 2017
-
-
Jens Wiklander authored
Bios loads OP-TEE image v2 binaries instead of the v1 format. 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>
-
- May 31, 2017
-
-
Igor Opaniuk authored
Fixes the following error [1]: make -C /home/travis/default/build/../optee_benchmark HOST_CROSS_COMPILE="/usr/bin/ccache /home/travis/default/build/../toolchains/aarch32/bin/arm-linux-gnueabihf-" TEEC_EXPORT=/home/travis/default/build/../optee_client/out/export TEEC_INTERNAL_INCLUDES=/home/travis/default/build/../optee_client/libteec make: *** /home/travis/default/build/../optee_benchmark: No such file or directory. Stop. [1] https://travis-ci.org/OP-TEE/build/builds/237729031 job 216.1 Fixes: 27edfc78 ("OP-TEE Benchmark") Signed-off-by:
Igor Opaniuk <igor.opaniuk@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org. (HiKey) [jf: update commit description] Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- May 30, 2017
-
-
Igor Opaniuk authored
Enable Benchmark feature Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by:
Igor Opaniuk <igor.opaniuk@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>
-
- 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
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)
-
- 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)
-
- 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>
-
- Mar 16, 2016
-
-
Pascal Brand authored
Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Signed-off-by:
Pascal Brand <pascal.brand@st.com>
-
- Jan 25, 2016
-
-
Victor Chong authored
This is required to move OP-TEE to upstream QEMU. Signed-off-by:
Victor Chong <victor.chong@linaro.org> Suggested-by:
Peter Maydell <peter.maydell@linaro.org> Tested-by:
Victor Chong <victor.chong@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- Dec 03, 2015
-
-
Jens Wiklander authored
Update with new TA dev kit name for FVP and QEMU. Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Pascal Brand <pascal.brand@linaro.org> Signed-off-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Nov 26, 2015
-
-
Jerome Forissier authored
- Kernel config fragments that were used by the QEMU makefile are merged into kconfigs/qemu.conf. Now, each platform has its own file in kconfigs/ - All platforms: CONFIG_DMA_SHARED_BUFFER cannot be enabled directly because it is a not a visible symbol (has no prompt in Kconfig). CONFIG_DRM is set instead which depends on DMA. - kconfigs/hikey.conf: keep only what is necessary Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (FVP, HiKey) Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU, MTK8173)
-
Jerome Forissier authored
We have observed random failures of "make check" when run in the Travis environment (OP-TEE regression testing). Every time it fails, the log file has the following errors [1]: Starting QEMU...send: spawn id exp7 not open while executing "send -- "\r"" (file "qemu-check.exp" line 54) == /home/travis/optee_repo/build/serial0.log: spawn ../qemu/arm-softmmu/qemu-system-arm -nographic [...] Using QEMU provided DTB at 0x40000000 [...] squashfs: version 4.0 (2009/01/31) Phillip Lougher jffs2: version 2.2. (NAND) send: spawn id exp7 not open while executing "send -- "\r"" (file "qemu-check.exp" line 54) == end of /home/travis/optee_repo/build/serial0.log It seems that QEMU exits unexpectedly as the kernel is initializing the JFFS2 filesystem driver. Since this is something we don't need, I thought I'd just disable this driver and see if it makes things more stable. Well, indeed I could not reproduce the issue with this patch applied. [1] https://travis-ci.org/OP-TEE/optee_os/builds/90051975#L4577 Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by:
Pascal Brand <pascal.brand@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- Nov 20, 2015
-
-
Jerome Forissier authored
This will hopefully fix occasional errors observed during OP-TEE Travis regression testing (make check): rcu_sched detected stalls on CPUs/tasks... Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU)
-