- Nov 13, 2016
-
-
Jerome Forissier authored
"make QEMU_VIRTFS_ENABLE=y" does not enable VirtFS because of a bad variable name in common.mk. Test case: (host) echo Hello >/tmp/hello (host) make -j8 run QEMU_VIRTFS_ENABLE=y QEMU_VIRTFS_HOST_DIR=/tmp (QEMU) mkdir /tmp/host (QEMU) mount_shared /tmp/host (QEMU) cat /tmp/host/hello Hello Fixes: 97d0529c ("Enable configuring QEMU with Virtfs support") Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Igor Opaniuk <igor.opaniuk@linaro.org>
-
- Oct 28, 2016
-
-
Igor Opaniuk authored
Change to relative path, the same as in common.mk Signed-off-by:
Igor Opaniuk <igor.opaniuk@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@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 18, 2016
-
-
Jerome Forissier authored
When "make check" is run and an assertion fails in TEE core, secure world hangs, and therefore xtest hangs too. "make check" will not report the failure and exit until a timeout occurs (480s). In order to detect the error condition sooner, open the TEE core log file and add a trigger on "assertion ... failed at ...". Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- Oct 11, 2016
-
-
Joakim Bech authored
When we started using GCC5.x the path for libraries was changed. The same change is needed for MTK8173 also. Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- 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>
-
- Sep 20, 2016
-
-
Philip Attfield authored
.gdbinit stores settings for loading the symbol files at the correct addresses and pi3.cfg is the JTAG configuration file for OpenOCD. Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
David Brown <david.brown@linaro.org>
-
Philip Attfield authored
Besides the rpi3.mk file itself, this also contains the additional kconfig files and flags used when building Linux and U-Boot. A set of firmware images are also included. Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
David Brown <david.brown@linaro.org>
-
- Jul 28, 2016
-
-
Victor Chong authored
Changed some line formatting to make commands more robust as well. Signed-off-by:
Victor Chong <victor.chong@linaro.org> Tested-by: Victor Chong <victor.chong@linaro.org> (hikey) Reviewed-by:
Jerome Forissier <jerome.forissier@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>
-
- 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>
-