- 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>
-
- 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)
-
- Nov 19, 2015
-
-
Jorden Whitefield authored
GCC 5 and above fails to build OP-TEE project under QEMU. Warnings are now treated as errors by default. On line 60 --extra-cflags="-Wno-error" fixes the issue. Please reference [OP-TEE/optee_os#550](https://github.com/OP-TEE/optee_os/issues/550 ) for specifics. My machine is running gcc version 5.2.1 20151010 and I can confirm this now works with change. It affects both default.xml and default_stable.xml repo configurations for OP-TEE. Reviewed-by:
Victor Chong <victor.chong@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by:
Jorden Whitefield <j.whitefield@surrey.ac.uk>
-
- Nov 04, 2015
-
-
Peter Maydell authored
It can sometimes be useful to pass extra arguments to the QEMU that is launched via the 'run-only' target. Support this via an environment variable QEMU_EXTRA_ARGS, which can be used like: make run-only QEMU_PATH=path/to/qemu/directory QEMU_EXTRA_ARGS='args here' Signed-off-by:
Peter Maydell <peter.maydell@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-