aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-05-02arm/kernel: fix previous patchJon Mason
The previous patch broke for qemuarm64-sbsa, ebcause they share the same defconfig patch but now the upstream kernel SHAs are different. Change them to have the same SHAs. Also, the previous patch lost the patch header. So re-add that. Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-05-02arm/linux: guard FILESEXTRAPATHS changes in overridesRoss Burton
Because of how the kernel class searches for files any changes to FILESEXTRAPATHS should be done in an override so it doesn't potentially impact unrelated builds. Issue spotted by running yocto-check-layer. Change-Id: I3e915a0cafc850d4b2594b655a849977d389465a Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-05-02arm: combine linux-yocto bbappend filesJon Mason
Combining linux-yocto bbappend into a single file. Change-Id: Ica4fc2d0edc9939451c572e5eb65f34e4002c26f Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-05-01arm/kernel: fix broken defconfig patchJon Mason
Upstream kernel is now being patched, which prevents the patch being fixed here from applying cleanly. Rebase it on top of the existing one to resolve the issue. Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-30CI: enable non-arm64 buildersJon Mason
Abstract away all of the things preventing the current setup from working on only internal, arm64 build hardware. Change-Id: Ib8d0e8e76602d4553e044520a91349015b1aa19b Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-30CI: use public KAS imageJon Mason
Use the KAS docker image provided by the KAs project for Gitlab CI. This allows for the external (non-Arm Corp) users/developers to run Gitlab CI. Change-Id: I9fee9a0d571e3fd60862d4ccd36176f9e583fc91 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-30CI: Reorder manual tasks to be alphabeticalJon Mason
Change-Id: I2e5bfdf5794c99da530bc2645fb56a5444444be3 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-22CI: add kas file and job for gem5-atp-arm64yocto-3.33.3Adrian Herrera
Change-Id: Iee0d27c15fe00a4363ed832c06cb502c54299cd5 Signed-off-by: Adrian Herrera <adrian.herrera@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-22atp: initial layerAdrian Herrera
meta-atp layer provides support for building AMBA Adaptive Traffic Profiles (ATP) Engine. It provides the following recipes: - ATP Engine native standalone build. - ATP Engine with gem5 as host platform. - ATP Linux kernel modules. - ATP Linux user API. - ATP Linux tests. The layer provides a "gem5-atp-arm64" machine with ATP device and adapter support. Change-Id: Ib86c7502d62d5707d0d4bbdd7d179f231cf96f57 Signed-off-by: Adrian Herrera <adrian.herrera@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-21layer.conf: don't claim compatibility with GatesgarthRoss Burton
We don't test this, and don't expect it to work, so don't claim it does. Change-Id: I045930e690edba5a5b0b8cb810130c8c6733623f Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-21arm-autonomy/docs: Change quickstart instructions to hardknottPeter Hoyes
Issue-Id: SCM-2307 Change-Id: Ieb7a6d3280a7eba573a57b4e52e275adb0a208df Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-20CI: Add repo dir to disk usage and ability to purge everythingJon Mason
Add the newly added repo dir to the disk usage calculation and add the ability to remove each of the persistent directories. Change-Id: Ib922ad42c62efdeccf01851ac751742ed67748ae Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-20arm-bsp/docs: Updated documentation fvp-baser-aemv8r64 MACHINEDiego Sueiro
Added quickstart instructions on how to build a BSP evaluation image using kas. Updated FVP naming convention as well as information about where to download and how to run the FVP. Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Change-Id: Ia6056194ed23d6e38769a3e300eadf77fc41beb2 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-20kas: Add fvp-baser-aemv8r64 BSP evaluation buildDiego Sueiro
The kas/fvp-baser-aemv8r64-bsp.yml is intended to be used as an evaluation build for the BSP components. Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Change-Id: Idce501224f4c8fbd6c53dc318db73dcd3100b57b Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-20arm-autonomy/arm-autonomy-host: Set Xen to 4.14+stable versionDiego Sueiro
Since meta-virtualization master branch bumped to 4.15+stable we need to force the 4.14+stable until we validate the new version. Issue-Id: SSCM-2307 Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Change-Id: Id204314af9c87615d88dfc60702867380225b491 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-20arm: workaround qemuarm64-secureboot ZONE_DMA issuesJon Mason
Upstream stable patches for ZONE_DMA size and dma-ranges are causing: Segmentation fault [ 3.156012] Internal error: synchronous external abort: 96000050 [#15] PREEMPT SMP [ 3.156172] Modules linked in: [ 3.156247] CPU: 0 PID: 139 Comm: rc Tainted: G D 5.10.21-yocto-standard #1 [ 3.156391] Hardware name: linux,dummy-virt (DT) [ 3.156490] pstate: 00000005 (nzcv daif -PAN -UAO -TCO BTYPE=--) [ 3.156619] pc : copy_page+0x40/0xc0 [ 3.156691] lr : copy_highpage+0x58/0xe0 [ 3.156786] sp : ffffffc01192bc10 [ 3.156855] x29: ffffffc01192bc10 x28: ffffff804036a880 [ 3.156958] x27: 0000000000000000 x26: ffffff80432e56f0 [ 3.157063] x25: ffffff8043955c38 x24: 000000557a600000 [ 3.157167] x23: ffffff80432e5680 x22: ffffffff00e4e940 [ 3.157268] x21: ffffffff00180600 x20: ffffff800e018000 [ 3.157378] x19: ffffff80413a5000 x18: 0000000000000000 [ 3.157495] x17: 0000000000000000 x16: 000000557a5ffc48 [ 3.157611] x15: 0000000000000001 x14: 0000000000000000 [ 3.157715] x13: 000000557a60ae08 x12: 0000000000000000 [ 3.157832] x11: 0000000000000000 x10: 0000000000000000 [ 3.157920] x9 : 000000557a5fd010 x8 : 000000000557a600 [ 3.158033] x7 : 0000000000000161 x6 : 0000000000000000 [ 3.158140] x5 : 0000000000000000 x4 : 00005b0000000002 [ 3.158238] x3 : 000000557a5fa550 x2 : 0000000000000000 [ 3.158348] x1 : ffffff80413a5080 x0 : ffffff800e018100 [ 3.158451] Call trace: [ 3.158501] copy_page+0x40/0xc0 [ 3.158572] copy_user_highpage+0x24/0x40 [ 3.158654] wp_page_copy+0x90/0x790 [ 3.158723] do_wp_page+0xa4/0x490 [ 3.158786] handle_mm_fault+0x7b8/0xc30 [ 3.158867] do_page_fault+0x15c/0x400 [ 3.158937] do_mem_abort+0x4c/0xac [ 3.159004] el0_da+0x3c/0x50 [ 3.159070] el0_sync_handler+0x168/0x1b0 [ 3.159153] el0_sync+0x174/0x180 [ 3.159224] Code: 91040000 91020021 f2402c1f d503201f (a8300c02) [ 3.159343] ---[ end trace 06748391c33610de ]--- Temporarily revert these patches to allow for qemuarm64-secureboot to continue working while the root cause is being investigated. The patches in question are: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=35ec3d09ff6a49ee90e1bfd09166596f017eb5bb https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8eaef922e9381af7b923c4e3c57a632a87101acb Change-Id: I3cdea9469d940f6458d0ef65460f945c55eef3e3 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-20arm/optee-os: deploy tee.elf for u-bootYann Dirson
Integration of OP-TEE in the u-boot image is done with `TEE=tee.elf`, so this build artifact must be exported. U-boot integration can now be done in a BSP layer with something like this in `u-boot_%.bbappend`: # OP-TEE, dependent on "optee" DISTRO_FEATURES OPTEE_OEMAKE ?= " TEE=${DEPLOY_DIR_IMAGE}/optee/tee.elf" EXTRA_OEMAKE_append = " ${PACKAGECONFIG_CONFARGS}" PACKAGECONFIG[optee] = "${OPTEE_OEMAKE},,optee-os" PACKAGECONFIG_append = " ${@bb.utils.filter('DISTRO_FEATURES', 'optee', d)}" Signed-off-by: Yann Dirson <yann@blade-group.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-19Revert "arm/optee-os: deploy tee.elf for u-boot"Jon Mason
This reverts commit 4b3343b4a98b03321bb4982bc3dc20a1475c098b.
2021-04-19CI: track hardknott branch, not masterRoss Burton
Hardknott has released and upstream oe-core master has diverged. We will also be releasing shortly so track hardknott not master for the CI. Change-Id: I68f8b1c4cc5ac0686c3db9259b44d16f367d82d6 Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-04-19Rename top-level kas/ to ci/Ross Burton
The files in kas/ are not generic Kas files, but instead designed specifically and solely around the CI system. Change-Id: I30082392ad2231a4c1c41e54a292595adf81715b Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-19CI: don't disable uninativeRoss Burton
We previously disabled uninative[1] because it broke builds in the Docker containers. This has now been fixed in oe-core with uninative 3.0 so this workaround can be removed. [1] e5523d626f58c2eeec6b1133395cbcfccd5d9319 Change-Id: I40975eb46737e66dab9f9b8cc63a9283d79918fb Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-19CI: make update-repos a bit more verboseRoss Burton
Change-Id: Ibb7b652b13b6d036c36fce076e7c1807f2ff37d7 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-19kas/base.yml: rename ptest fragment to noptestRoss Burton
Change-Id: Ib670ba8715ff128345e631652d4cae8d76ba0812 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-16optee-os: don't override upstream TA_LOG_LEVEL settingYann Dirson
Aside from diverging from upstream, appending such a change it at the end of oe_runmake makes it hard to override it in a bbappend. This value does not seem to be inherited in TA builds, and eg. optee-examples do use the the values set in their individual Makefiles. Setting this to 0 however seems to cause the TA traces not to be relayed to the console, so the examples end up less self-illustrative than they should. This patch restores the upstream choice, while allowing downstream layers to choose to set it to zero if they wish to do so. Signed-off-by: Yann Dirson <yann@blade-group.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-16optee-client: use /var/lib/tee instead of /data/tee for persistent storageYann Dirson
This is more FHS-conformant, and allows tee-supplicant to work on a readonly rootfs setup (although then it uses volatile storage by default, and it is still a matter of distro policy how to arrange for that storage to be persistent in a readonly setup). Signed-off-by: Yann Dirson <yann@blade-group.com> Suggested-by: Ricardo Salveti <ricardo@foundries.io> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-16arm/optee-os: deploy tee.elf for u-bootYann Dirson
Integration of OP-TEE in the u-boot image is done with `TEE=tee.elf`, so this build artifact must be exported. U-boot integration can now be done in a BSP layer with something like this in `u-boot_%.bbappend`: # OP-TEE, dependent on "optee" DISTRO_FEATURES OPTEE_OEMAKE ?= " TEE=${DEPLOY_DIR_IMAGE}/optee/tee.elf" EXTRA_OEMAKE_append = " ${PACKAGECONFIG_CONFARGS}" PACKAGECONFIG[optee] = "${OPTEE_OEMAKE},,optee-os" PACKAGECONFIG_append = " ${@bb.utils.filter('DISTRO_FEATURES', 'optee', d)}" Signed-off-by: Yann Dirson <yann@blade-group.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-16arm/optee-os: mark LDFLAGS patch as submittedYann Dirson
Signed-off-by: Yann Dirson <yann@blade-group.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-16arm/optee: use pycryptodome rather pycryptodomexYann Dirson
Recent versions of OP-TEE perfectly build with pycryptodome, no need for the pycryptodomex transition package any more. Signed-off-by: Yann Dirson <yann@blade-group.com> Reviewed-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-16arm/sbsa-acs: update patch statusRoss Burton
Change-Id: I75d7c6c098edaa30b009c9586ed7ce23994b0f2a Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-16arm-autonomy/linux-arm-autonomy: Do not apply xen IRQ patch for 5.12+ kernelsRichard Neill
As the xen event channel kernel patch is mainlined in 5.12, this patch ensures it is only applied to the applicable versions earlier than 5.12. Signed-off-by: Richard Neill <richard.neill@arm.com> Change-Id: I03a3dc51281fdc94cd7e9a9da2540b34668a6ad1
2021-04-07sbsa-acs: Always use BFD linkerKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-07sbsa-acs: Fix build with clang 12Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-06arm-bsp/edk2-firmware: remove references to 201911 tagKhasim Syed Mohammed
edk2-firmware for n1sdp is ported and upgraded to 202102 version and since no other platform is using 201911 version of edk2 firmware. This patch removes the corresponding bb files. Change-Id: I91b0e98a3df499fa86c5ea836c96de193f18990e Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
2021-04-06arm-bsp/edk2-firmware: upgrade n1sdp to 202102Khasim Syed Mohammed
edk2-firmware for n1sdp is ported and upgraded to 202102 version. Change-Id: I08dcc7d1442ec9a9121ce648e68872d63169346a Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
2021-04-06CI: build sbsa-acs in the qemuarm64-sbsa jobRoss Burton
Change-Id: I10dcd2b6332db281f969981a44edc22d0750a79b Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-06arm/sbsa-acs: add COMPATIBLE_HOSTRoss Burton
This recipe is only valid on aarch64 targets, so set COMPATIBLE_HOST. Change-Id: I15595d307d1dab18b315b397a0751eaf4e109e68 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-01arm/sbsa-acs: add SBSA Architecture Compliance SuiteRoss Burton
Add a recipe for SBSA Architecture Compliance Suite, a test suite for SBSA. As this is implemented as a module for the EDK2 Shell application, this can include the edk2-firmware recipe to do the heavy lifting. Change-Id: I890ea41d7d1068d74a541c06411aad894728f44d Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-03-31kas: Add fvp-baser-aemv8r64 buildDiego Sueiro
Issue-Id: SCM-2121 Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Change-Id: I983b0a433be9087663006cce366631815759febe Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-03-31arm-bsp/machine: Introduce fvp-baser-aemv8r64 machine and its BSPDiego Sueiro
This patch adds the fvp-baser-aemv8r64.conf machine definition for the FVP BaseR AEMv8r64 Platform alongside the following BSP components: * boot-wrapper-aarch64 * Kernel: linux-yocto-5.10 * Devicetree for bootstrapping * wic image Issue-Id: SCM-2121 Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Change-Id: Ia9e400db8c78e5e57a6fa2241b81fdd42a00dd53 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-03-31arm-bsp/linux: Introduce FVP common config fragmentDiego Sueiro
Issue-Id: SCM-2121 Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Change-Id: Ic829801d2d32d6702f49adcd79f0f24a4595bbe1 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-03-31arm-bsp/linux: Introduce arm64 generic config fragmentDiego Sueiro
Issue-Id: SCM-2121 Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Change-Id: I6bead3d86747874af5db3a4d6ae57b74abf4f796 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-03-31arm-bsp/arch: Introduce support for armv8r64 archDiego Sueiro
We are temporarily using armv8-4a until GCC 11 is released and supported by oe-core. Issue-Id: SCM-2121 Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Change-Id: I7e41105a1e99f5a71ea927d1b84c9a9fa9762aaf Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-03-31arm-bsp/arch: Introduce support for armv8-4a archDiego Sueiro
Issue-Id: SCM-2121 Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Change-Id: Ieaf6b41fddb819e32a40c641ab3f6231fb1de9e6 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-03-31autonomy/docs: Documentation updates and fixesNathan Dunne
Issue-Id: SCM-2038 Signed-off-by: Nathan Dunne <Nathan.Dunne@arm.com> Change-Id: Ida94958b63c78097be6402be019d65a80260f297 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-03-30CI: move utility tasks to prep so they don't cause a fetchRoss Burton
Re-order the tasks so that the utility tasks don't cause update-repos to run. Change-Id: I86a528c98fe32e20428f9efbd5fb82c374aefc8a Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-03-30CI: maintain centralised repositories to speed fetchingRoss Burton
Kas supports 'reference repositories' which are used as a local source of git objects to speed up fetches. At the beginning of the CI run we can update these repositories once to speed up later fetches. Change-Id: I138051fd3cf9b5675e0fa5007cd8088abd17db4e Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-03-30arm/edk2-firmware: upgrade to 202102Ross Burton
The edk2 SRCREV is the tag, has edk2-platforms doesn't tag releases the SRCREV is approximately the same date. Also remove the PREFERRED_VERSION from SGI575 so it doesn't need to be updated in the future. Change-Id: I5ac544e70b404081bf0638a54514a412d87fb3d3 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-03-30arm-bsp/scp-firmware: correct PVRoss Burton
These are git snapshots after 2.7.0, not 2.7. Change-Id: I6371dd12f5d17f432839b3673331b3153c1c4b6a Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-03-30arm: Enable ptest for optee xtestJack Davison
Provides a run-ptest script for running xtest under ptest-runner. This script parses the output of xtest and converts it to Automake's test format. Change-Id: I7c981422034b39701ddd74e176f2f5134ae607e6 Signed-off-by: Jack Davison <jack.davison@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-03-30arm-autonomy/linux: Remove patches for booting Dom0 with preempt_rtPeter Hoyes
With the linux-yocto version update to 5.10.25, the following backport patches are being removed: 0001-xen-events-reset-affinity-of-2-level-event-when-tear.patch 0002-xen-events-don-t-unmask-an-event-channel-when-an-eoi.patch 0003-xen-events-avoid-handling-the-same-event-on-two-cpus.patch Issue-Id: SCM-2064 Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Change-Id: Iaf313440f85ab18211cc1a786d84c1f83950699f Signed-off-by: Jon Mason <jon.mason@arm.com>