- 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>
-
- Jun 23, 2016
-
-
Jerome Forissier authored
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> Reviewed-by:
David Brown <david.brown@linaro.org>
-
- Jun 17, 2016
-
-
David Brown authored
Instead of using sudo/mount to build the FAT image, use commands from the mtools package to copy files into the FAT image. This eliminates the requirement to use sudo during the build. It also removes a small sleep necessary to make umount work. Signed-off-by:
David Brown <david.brown@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- Jun 15, 2016
-
-
Joakim Bech authored
Related to: https://github.com/OP-TEE/optee_os/issues/832 Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (HiKey Debian) Suggested-by:
Machiry Aravind Kumar <makrvcs@gmail.com> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Jun 14, 2016
-
-
Joakim Bech authored
In some cases we've seen errors in Travis saying that it fails to download the toolchain due to a bad signature. To prevent that from happening we're only downloading using standard http instead of https. Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@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>
-
- Apr 21, 2016
-
-
Joakim Bech authored
It's working, but there is quite a few thing that should be fixed or just to make it better in general. See this initial commit as a working start, but slighly experimental. I think this will be easier to deal with in the future when Linaro builds will include more of this by default. List of things that could be better or should be fixed. - It builds a complete *.deb package for Linux kernel, modules, dtb etc, that is convenient, but also takes a lot of time and also it seems like it always start by cleaning the builds, which is a little bit annoying. - Each time you launch a new kernel build it will generate completely new *.deb files, but with incremented version number. Due to this we're using linux-image-*.deb when copy files to the device. - The UART will probably be hardcoded to UART3 after UEFI, since we're using a pre-built boot image. - We build EDK2 even though we download a pre-build boot image. If we sort out which kernel, initrd, dtb etc to put into grub, then we will probably not need to download a pre-built boot image and would not have the issue with the UART. - The versioning for the OP-TEE debian package is hardcoded in the makefile. It would be good to grab that from git instead for example, similar to how we do with the autogenerated h-file. - This is old, but I've noticed that we only support the 4G version (the partition table) - The URLs to the boot-image and the root fs are hardcoded, eventually they will become old an invalid at a point in time. - There are probably quite a few flags that either doesn't work or doesn't make sense when having HiKey / Debian as a target. Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (HiKey 4G) Reviewed-by:
Pascal Brand <pascal.brand@linaro.org>
-
- Apr 15, 2016
-
-
Jerome Forissier authored
The line disabling CONFIG_JFFS2_FS was removed by mistake by commit a6d968c8 ("qemu: generic driver"). Restore it to fix the Travis tests. Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Pascal Brand <pascal.brand@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- Apr 01, 2016
-
-
Joakim Bech authored
Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (MT8173-EVB) Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by:
Pascal Brand <pascal.brand@linaro.org>
-
SY Chiu authored
Signed-off-by:
SY Chiu <sy.chiu@linaro.org> Tested-by: SY Chiu <sy.chiu@linaro.org> (MT8173 EVB) Tested-by: Joakim Bech <joakim.bech@linaro.org> (MT8173 EVB) Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
SY Chiu authored
Signed-off-by:
SY Chiu <sy.chiu@linaro.org> Tested-by: SY Chiu <sy.chiu@linaro.org> (MT8173 EVB) Tested-by: Joakim Bech <joakim.bech@linaro.org> (MT8173 EVB) Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- Mar 30, 2016
-
-
Jens Wiklander authored
Build support for generic driver on QEMU. Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Pascal Brand <pascal.brand@linaro.org> Signed-off-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Mar 29, 2016
-
-
Pascal Brand authored
Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by:
Pascal Brand <pascal.brand@st.com>
-
- 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>
-
Jens Wiklander authored
Build support for generic driver on HiKey. Reviewed-by:
Pascal Brand <pascal.brand@linaro.org> Signed-off-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
Jens Wiklander authored
Build support for generic driver on FVP. Reviewed-by:
Pascal Brand <pascal.brand@linaro.org> Signed-off-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Mar 17, 2016
-
-
Pascal Brand authored
Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Signed-off-by:
Pascal Brand <pascal.brand@st.com>
-
- 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>
-
Victor Chong authored
OPTEE_LINUXDRIVER_CLEAN_COMMON_FLAGS needs to specify the module M flag, else linux is cleaned instead of optee_linuxdriver. Signed-off-by:
Victor Chong <victor.chong@linaro.org> Reviewed-by:
Pascal Brand <pascal.brand@linaro.org>
-
- Mar 03, 2016
-
-
Pascal Brand authored
This patch introduce compilation mode 32bits / 64 bits independently for every parts: - COMPILE_NS_USER: Non-Secure User - COMPILE_NS_KERNEL: Non-Secure Kernel - COMPILE_S_USER: Secure User - COMPILE_S_KERNEL: Secure Kernel This is used on FVP, the non-secure part being bits, but the secure part can be specified as 32 or 64 bits (64bits by default). Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (QEMU) Tested-by: Pascal Brand <pascal.brand@linaro.org> (FVP) Signed-off-by:
Pascal Brand <pascal.brand@st.com>
-
- Feb 29, 2016
-
-
Jens Wiklander authored
Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Signed-off-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Feb 03, 2016
-
-
Victor Chong authored
This config is required to prevent errors on boot like below when using https://github.com/96boards-hikey/linux hikey-mainline-rebase branch: ssp-pl022 f7106000.spi: could not find pctldev for node /soc/pinmux@f7010000/spi0_pmx_func, deferring probe gpiochip_add: GPIOs 480..487 (f8014000.gpio) failed to register 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:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Jan 25, 2016
-
-
Jerome Forissier authored
Fixes 'make check' error introduced by commit 6f0c0eb9 ("qemu: Add '-machine secure=on' to arguments"). Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Victor Chong <victor.chong@linaro.org> Reviewed-by:
Pascal Brand <pascal.brand@linaro.org>
-
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>
-
- Jan 22, 2016
-
-
Joakim Bech authored
To make it a bit easier to understand how to do a recovery and how to flash HiKey, we have added a new make target for recovery which tells how to configure the jumpers and the initiates the recovery itself. In addition to this we have changed the "flash" make target so that it does the same as stated in the instructions on the 96boards "Getting started" page. Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (HiKey) Reviewed-by:
Victor Chong <victor.chong@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Jan 15, 2016
-
-
Pascal Brand authored
Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by:
Pascal Brand <pascal.brand@st.com>
-
- Jan 11, 2016
-
-
Jens Wiklander authored
* Updates build arguments for ARM-TF * Update path to latest Foundation model Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Signed-off-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Jan 04, 2016
-
-
James Kung authored
Signed-off-by:
James Kung <james.kung@linaro.org> Tested-by: James Kung <james.kung@linaro.org> (MT8173 EVB) Reviewed-by:
Pascal Brand <pascal.brand@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- Dec 11, 2015
-
-
Victor Chong authored
Signed-off-by:
Victor Chong <victor.chong@linaro.org> Tested-by: Victor Chong <victor.chong@linaro.org> (hikey) Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
Victor Chong authored
common: Add CROSS_COMPILE_ta_arm## flags hikey and mediatek: Update with new TA dev kit name Signed-off-by:
Victor Chong <victor.chong@linaro.org> Reviewed-by:
Pascal Brand <pascal.brand@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Dec 04, 2015
-
-
Victor Chong authored
Signed-off-by:
Victor Chong <victor.chong@linaro.org> Tested-by: Victor Chong <victor.chong@linaro.org> (hikey) Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
Victor Chong authored
Fixes https://github.com/OP-TEE/build/issues/28 . In common.mk *_CLEAN_COMMON_FLAGS ?= *_COMMON_FLAGS but in the platform makefiles (e.g. hikey.mk) they're defined as such: *_COMMON_FLAGS += x y z *_CLEAN_COMMON_FLAGS += x When expanded during a build, *_CLEAN_COMMON_FLAGS becomes "x y z x". Variables can be repeated, which may be nothing more than a cosmetic issue, but if any of those variables are make targets, then 'make clean' will build them before cleaning. To fix this, we remove the dependency of *_CLEAN_COMMON_FLAGS on *_COMMON_FLAGS. Signed-off-by:
Victor Chong <victor.chong@linaro.org> Tested-by: Victor Chong <victor.chong@linaro.org> (hikey)
-
- 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)
-