- Dec 21, 2016
-
-
Joakim Bech authored
With the recently fixed UUID changes (commit in optee_os: (9a8a19cdba48dbca89c2a35d7984e9ec28f97bda) we missed to fix the hello world TA. Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by:
Igor Opaniuk <igor.opaniuk@linaro.org>
-
- 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 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
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)
-
- Sep 20, 2016
-
-
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 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)
-
- 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
-
-
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>
-
- Dec 11, 2015
-
-
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
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)
-
- 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)
-
- Oct 19, 2015
-
-
Pascal Brand authored
Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by:
Pascal Brand <pascal.brand@st.com>
-
Pascal Brand authored
Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by:
Pascal Brand <pascal.brand@st.com>
-
- Oct 14, 2015
-
-
Pascal Brand authored
Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by:
Pascal Brand <pascal.brand@st.com>
-
- Sep 16, 2015
-
-
Pascal Brand authored
Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey) Tested-by: SY Chiu <sy.chiu@linaro.org> (MT8173 EVB) 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>
-
Pascal Brand authored
Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by:
Pascal Brand <pascal.brand@st.com>
-
Pascal Brand authored
Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by:
Pascal Brand <pascal.brand@st.com>
-
- Sep 08, 2015
-
-
Jerome Forissier authored
The code added by commits d6536da6 ("Commonlize xtest compilation among all platforms") and 070d9559 ("common build: optee components") introduces race conditions that break parallel build (make -jX). This is due to manually launching a make sub-process to run the -common targets, and can be fixed by just declaring a dependency instead. Specific flags are appended to common flags, rather than passed as arguments to a new "make" sub-process. So, basically: foo-common: $(MAKE) -C foo_dir [A=a B=B] foo: $(MAKE) foo-common [C=c] is turned into: FOO_COMMON_FLAGS ?= A=a B=b foo-common: $(MAKE) -C foo_dir $(FOO_COMMON_FLAGS) FOO_COMMON_FLAGS += C=c foo: foo-common At the same time this allows foo: to override flags, for instance set A=aa in the above example (prior to this, A=a would have had a higher priority). Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by:
Pascal Brand <pascal.brand@st.com> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Sep 03, 2015
-
-
Pascal Brand authored
Signed-off-by:
Pascal Brand <pascal.brand@st.com> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
Pascal Brand authored
This is the first patch of a serie that show how makefile for specific platform support may use common rules. comon.mk is introduced. It contains: - common variable definitions, such as the compilers - common git to use and path (typically the OP-TEE ones) - common macros (CCACHE, and others to come). Signed-off-by:
Pascal Brand <pascal.brand@st.com> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org>
-