- Aug 13, 2019
-
-
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>
-
Victor Chong authored
Signed-off-by:
Victor Chong <victor.chong@linaro.org> Acked-by:
Jens Wiklander <jens.wiklander@linaro.org> Acked-by:
Etienne Carriere <etienne.carriere@linaro.org>
-
- Aug 07, 2019
-
-
Victor Chong authored
Fix typo for setting CFG_TEE_BENCHMARK in OPTEE_CLIENT_CONF_OPTS. Fixes: 93758cc1 ("buildroot: provide CFG_TEE_BENCHMARK in optee_client") Signed-off-by:
Victor Chong <victor.chong@linaro.org> Acked-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Jun 28, 2019
-
-
Philby John authored
Copy both RPi3 B and RPi3 B Plus dtb files to enable booting both the targets. This will avoid adding a seperate rpi3-bplus makefile. Signed-off-by:
Philby John <philby.j@hcl.com> Signed-off-by:
Vv Ramya <ramyavv@hcl.com> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> # (rpi3b)
-
- Jun 11, 2019
-
-
Victor Chong authored
This makes it a bit more convenient for 4G board users who are flashing manually in that they don't have to change the makefile to get the required ptable image. Signed-off-by:
Victor Chong <victor.chong@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Acked-by:
Etienne Carriere <etienne.carriere@linaro.org>
-
Victor Chong authored
This is useful for debugging or testing eMMC and RPMB issues. Signed-off-by:
Victor Chong <victor.chong@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Acked-by:
Etienne Carriere <etienne.carriere@linaro.org>
-
Victor Chong authored
Signed-off-by:
Victor Chong <victor.chong@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Acked-by:
Etienne Carriere <etienne.carriere@linaro.org>
-
- Jun 03, 2019
-
-
Pipat Methavanitpong authored
This commit add supports to build flash binaries for DeveloperBox. It builds an OPTEE binary, a FIP package containing the OPTEE, a flash image containing the FIP package and EDK2, and its corresponding update capsule. Signed-off-by:
Pipat Methavanitpong <pipat.methavanitpong@linaro.org> Acked-by:
Sumit Garg <sumit.garg@linaro.org> Acked-by:
Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- May 23, 2019
-
-
Joakim Bech authored
The BR2_KERNEL_HEADERS_4_10 has been depracted, so when trying to build with GDBSERVER=y we got this warning: Makefile.legacy:9: *** "You have legacy configuration in your .config! Please check your configuration.". Stop. To better match recent toolchain updates in this git (gcc updates and kernel header updates, commit e0298161), we also update buildroot to use and provide a GCC8.x based toolchain as well as 4.19 kernel headers. Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU v7) Acked-by:
Jerome Forissier <jerome@forissier.org>
-
- May 18, 2019
-
-
Joakim Bech authored
In the GCC v8.2-2018.08 toolchain (previous default in OP-TEE) the GDB/TUI mode was disabled, which made debugging using GDB slightly more complicated. However, in more recent versions of GCC like the one introduced here, i.e., GCC8.3-2019.03, Arm have re-enabled the TUI mode. But to be able to upgrade the toolchain, one must also step up kernel headers so that the toolchain matches the kernel headers used by Buildroot. This means that we are stepping up from 4.18 kernel headers to 4.19 kernel headers, which seems to be compatible with the version of GCC that is being introduced in this patch. Note that after this commit, older GCC versions will not work any longer when building full OP-TEE developer setups using OP-TEE's manifest.git and build.git, i.e., trying to run GCC8.2 for example will give a kernel header mismatch error. Fixes #334. Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU v7, v8) Acked-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- May 13, 2019
-
-
Jerome Forissier authored
Now that our HiKey960 build uses our common Linux branch [1], we no longer need to force CFG_SECURE_DATA_PATH=n in the main Makefile (the platform branch we were using previously was lacking the ION unmapped heap code, which is why SDP had to be disabled). Let OP-TEE build with the default value for CFG_SECURE_DATA_PATH, which is 'y' for HiKey960, and configure the Linux kernel accordingly. [1] https://github.com/linaro-swg/linux branch optee. This branch has been used for the HiKey960 build since OP-TEE 3.4.0, the branch was based on upstream kernel v4.19. Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Acked-by:
Etienne Carriere <etienne.carriere@linaro.org>
-
Jerome Forissier authored
ION_DUMMY is an old, deprecated configuration flag in the ION driver that is now useless. Therefore, remove the useless CONFIG_ION_DUMMY=y. Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Suggested-by:
Etienne Carriere <etienne.carriere@linaro.org> Acked-by:
Etienne Carriere <etienne.carriere@linaro.org>
-
Jerome Forissier authored
Similar fix to commit 106b53a2 ("buildroot: always declare BR2_PACKAGE_OPTEE_BENCHMARK_SITE"). Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Acked-by:
Etienne Carriere <etienne.carriere@linaro.org>
-
- May 10, 2019
-
-
Joakim Bech authored
On recent versions of gnome-terminal you will get this warning: "Option "-t" is deprecated and might be removed in a later version of gnome-terminal." There seems to be no substitution for it, therefore let's just get rid of it. Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- May 06, 2019
-
-
Victor Chong authored
With CFG_TA_TEST_PATH now defaulting to n in optee_client for better security, this needs to be set explicitly to pass xtest 1008. Signed-off-by:
Victor Chong <victor.chong@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- May 02, 2019
-
-
Jerome Forissier authored
Fixes a mistake in the optee_os install step which prevents the libraries from being copied into the root FS staging area. Fixes: 91ebff72 ("buildroot: add optee_os package to copy shared libraries into the root FS") Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Acked-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Apr 30, 2019
-
-
Michalis Pappas authored
Provide an additional option for CFG_NW_CONSOLE_UART and CFG_SW_CONSOLE_UART to use the secondary console on the 40-pin Low Speed Connector, namely UART2. Signed-off-by:
Michalis Pappas <mpappas@fastmail.fm> Acked-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Apr 25, 2019
-
-
Hashem Tatari authored
Signed-off-by:
Hashem Tatari <hashem.tatari@exset.com> Acked-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Etienne Carriere <etienne.carriere@linaro.org>
-
Hashem Tatari authored
When the DEBUG config was set, the optee_os was still built with DEBUG=0 because the flag was hardcoded. As a result the optimization was still O2. This is fixed by using the global DEBUG flag instead of the hardcoded value of zero. Signed-off-by:
Hashem Tatari <hashem.tatari@exset.com> Acked-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Etienne Carriere <etienne.carriere@linaro.org>
-
- Apr 24, 2019
-
-
Michael Grand authored
This commit adds support for Xilinx ZynqMP boards to the OPTEE/build repository. The provided makefile relies on Xilinx Petalinux 2018.2 itself based on Yocto. The makefile helps to create, patch and build a customized Petalinux project with OPTEE support. Boards can be emulated using Petalinux's QEMU. Signed-off-by:
Michael Grand <michael.grand.mg@gmail.com> Acked-by:
Etienne Carriere <etienne.carriere@linaro.org> Tested-by:
Michael Grand <michael.grand.mg@gmail.com>
-
- Mar 19, 2019
-
-
Jerome Forissier authored
When OP-TEE is built with CFG_ULIBS_SHARED=y, TA shared libraries are created. They have to be installed into the target root FS in order to be found at runtime. This patch adds a custom package to do just that. Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Acked-by:
Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Mar 06, 2019
-
-
Jerome Forissier authored
With Linux kernel v5.0, CONFIG_SCSI_UFS_HISI is built as a module by default. We want this driver to be statically linked, or the board won't boot. Note: HiKey620 does *not* need a similar fix. Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Acked-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (HiKey 620)
-
Jerome Forissier authored
We currently do not copy any kernel module into our root FS, they are not needed. Therefore, drop the "modules" target when building the kernel to save compile time. Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Acked-by:
Joakim Bech <joakim.bech@linaro.org>
-
- Feb 22, 2019
-
-
Joakim Bech authored
All current documentation has been transferred to a new git called optee_docs [1]. The output from optee_docs will be rendered using Sphinx and hosted at optee.readthedocs.io [2]. The new documentation git will also be part of the regular OP-TEE releases. For completeness, it will also be included in our manifests making up a full OP-TEE developer setup. [1] https://github.com/OP-TEE/optee_docs [2] https://optee.readthedocs.io Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Acked-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Feb 06, 2019
-
-
Etienne Carriere authored
Update script based on the feedback from Buildroot maintainer [1]: > +# /etc/init.d/optee Drop this comment, it is useless, and in fact wrong: the file will not have this name in a Buildroot filesystem. (...) > + if [ -e /usr/sbin/tee-supplicant -a -e /dev/teepriv0 ]; then Drop this test, just start tee-supplicatn. (...) > + echo "Starting tee-supplicant..." > + /usr/sbin/tee-supplicant & Please use start-stop-daemon. See https://patchwork.ozlabs.org/patch/994013/ for the "right" way of writing an init script. This maybe not be best way, if there's one, but it seems more standard to use start-stop-daemon. Moreover the proposed script ensures its return value matches the status of the caller request. [1] http://lists.busybox.net/pipermail/buildroot/2018-December/238354.html Signed-off-by:
Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
Etienne Carriere authored
Targets update_rootfs-common, update_rootfs-clean-common and filelist-tee-common are not used by any of the supported platform and their content is not accurate regarding OP-TEE packages content (init.d.optee, tee-supplicant install path). This change removes this make targets. This change also remove the init.d.optee init script which is no more embedded in the filesystem of the supported platforms. Signed-off-by:
Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Acked-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Feb 04, 2019
-
-
Joakim Bech authored
Fixes: https://github.com/OP-TEE/build/issues/257 Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (RPi3+NFS+JTAG) Acked-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Feb 01, 2019
-
-
Joakim Bech authored
Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (RPi3, RPi3+NFS) Acked-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
Joakim Bech authored
Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (RPi3, RPi3+NFS) Acked-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
Joakim Bech authored
For some reason Raspberry Pi 3 with NFS root doesn't allow tee-supplicant to create a working folder for user 'tee' under the /data folder. We have found a workaround which is to create the /data hierarchy and set its permissions in S30optee rather than in the root fs definition in optee_client.mk. Fixes: https://github.com/OP-TEE/optee_os/issues/2773 Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (RPi3, RPi3+NFS) Acked-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
Joakim Bech authored
To be able to compile uboot.env directly we must have a proper target instead of the current '$(RPI3_UBOOT_ENV)'. Therefore we replace '$(RPI3_UBOOT_ENV)' with u-boot-env instead which also lines up better with the u-boot-env-clean variable. Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (RPi3, RPi3+NFS) Acked-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
Joakim Bech authored
The actual configuration in uboot.env.txt has diverged from our documentation (both the current and coming documentation). The documentation have "better" names etc, therefore put we put back the naming of the original configuration. Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (RPi3, RPi3+NFS) Acked-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Jan 29, 2019
-
-
Hashem Tatari authored
Add quotes around the soc_term and the port number to make it compatible with other terminals like terminator. To use terminator, it is enough to set the flag like: $ export LAUNCH_TERMINAL="terminator -e" $ make run-only Note when using the LAUNCH_TERMINAL the title of the terminals cannot be set separately so better to ignore the titles Signed-off-by:
Hashem Tatari <hashem.tatari@exset.com> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Acked-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Jan 16, 2019
-
-
Joakim Bech authored
In TF-A in the commit: (5341b42ec) rpi3: Add mem reserve region to DTB if present they started to runtime patching of the DTB, but the default build rules in TF-A doesn't set RPI3_PRELOADED_DTB_BASE to anything which then gets set to the default value: 1, which gives incorrect memory mappings for MAP_BL32_MEM. Therefore we must tell where the DTB is located and we do that by adding adding a compile time flag to TF-A, i.e., RPI3_PRELOADED_DTB_BASE=0x00010000 Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (RPi3) Reviewed-by:
Igor Opaniuk <igor.opaniuk@linaro.org>
-
- Jan 14, 2019
-
-
Volodymyr Babchuk authored
Signed-off-by:
Volodymyr Babchuk <vlad.babchuk@gmail.com> Acked-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
Volodymyr Babchuk authored
Function concatenate_files() used mix of tabs and spaces, and python3 was very unhappy about this. Signed-off-by:
Volodymyr Babchuk <vlad.babchuk@gmail.com> Acked-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Dec 21, 2018
-
-
Igor Opaniuk authored
Spawn getty for both HDMI and serial console. Leverage post-build.sh script for rpi3, which adds getty line for tty1 in inittab [1]. [1]: https://patchwork.ozlabs.org/patch/602668/ Fixes: https://github.com/OP-TEE/build/issues/327 Acked-by:
Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by:
Igor Opaniuk <igor.opaniuk@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 12, 2018
-
-
Jerome Forissier authored
Adds support for Arm Trusted Firmware-A version v2.0. TF-A v2.0 does not acccept FVP_USE_GIC_DRIVER=FVP_GICV3_LEGACY anymore. Therefore, use FVP_GICV3 instead. This is the default value with v2.0, and is also supported by earlier versions (such as 1.5 which is the one we are using currently). OP-TEE is configured accordingly (CFG_ARM_GICV3=y). Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Acked-by:
Jens Wiklander <jens.wiklander@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>
-