aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-02-19CI: pin to kas 3.2 as 3.2.1 failsyocto-3.3.43.3.4hardknottRoss Burton
For some reason the kas 3.2.1 container fails: No such file or directory: '/builds/engineering/yocto/meta-arm/ci/ci/base.yml' Note the repeated /ci/, which is wrong. Pin the kas container to 3.2 for now until this is resolved. Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-01-18arm-bsp/juno: move to compressed initramfs imageJon Mason
Change u-boot and machine config to default to booting a compressed initramfs. This allows for easier testing. A compressed image is needed as the image is too big for the storage, and the error notifying of such is vague. Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-08-04arm-toolchain/layer.conf: remove BB_DANGLINGAPPENDS_WARNONLYyocto-3.3.33.3.3Ross Burton
This appears to be historical from when the toolchain was in meta-linaro. It isn't needed anymore, there's one bbappend in meta-arm-toolchain for grub which is part of oe-core, so will never be dangling. This variable has a global effect, so leaving it in here has a negative impact on users. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-07-11arm/trusted-firmware-a: Fix v2.4 recipeJon Mason
The previous patch didn't have the necessary space when doing an append. Luckily, the include file append before this one had an extra space. Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-07-02arm/trusted-firmware-a: Fix v1.5 recipeJon Mason
0003-xlat-tables-v2-remove-tautological-assert.patch does not apply on the TF-A v1.5 sources. Move that file append to the v2.4 recipe so that it will not attempt to apply for v1.5. Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-11ci: make get-binary-toolchain run per buildyocto-3.3.23.3.2Jon Mason
In a distributed, non-homogeneous CI setup, the binary-toolchain setup script might not run on the machine that needs the toolchains. Make this per-build and it will always be there, at the expense of running on builds that might not need it (though it still should be fast). Also, there is an issue with the directory where the binary toolchain is located being global, and racing against other systems using, setting up, and tearing down. Link this to a local directory to avoid any races. Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-11arm-bsp: fix yylloc kernel build errorJon Mason
Backport patch from upstream to address the following error: scripts/dtc/dtc-parser.tab.o:(.bss+0x20): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-01-28CI: use the latest release of the Kas containerRoss Burton
If we don't specify a tag name GitLab uses the 'latest' tag, which for Kas is moved whenever an image build is made. Instead explicitly use the latest-release tag, which is only updated when a release is made. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-09-21arm-bsp/n1sdp: remove debug and verbose kernel cmd line parameters from grub cfgyocto-3.3.13.3.1Hugo L'Hostis
By removing the verbose and debug kernel command line parameters from the grub menu entries we prevent the console printing unnecessary messages and slowing down the boot process. Issue-Id: SCM-3027 Signed-off-by: Hugo L'Hostis <hugo.lhostis@arm.com> Change-Id: Ieb68c606b7ed5b20191f6989aea84963b8cda778 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-09-16arm/generic-arm64: recommend kernel modules and firmwareRoss Burton
The generic-arm64 machine is meant to be generic, so pull in all the kernel modules and firmware we have to increase the chances of hardware working out of the box. Change-Id: I51f500f6a6f821fa8df5bee062a52077dcf8e564 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-09-16arm/generic-arm64: set machine featuresRoss Burton
Set a slew of generic machine features that other parts of oe-core will respect. Change-Id: I47ea187128c7e3a9f8b711b74467b20b9cb4fcee Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-09-16arm/generic-arm64: use a custom EFI wic fileRoss Burton
Instead of using the pre-canned Wic kickstart file, provide our own. This lets us specify that UUIDs should be used in the fstab, meaning that the image is agnostic to the device type. Change-Id: If9c0083c16f8bd2ad7d573a0d356383553aa8936 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-09-16arm/generic-arm64: don't set SERIAL_CONSOLESRoss Burton
This machine expects something approximating SystemReady, which means the firmware should be capable of telling the kernel where the console is. Remove SERIAL_CONSOLES so the kernel does what the firmware is told, and doesn't try to use serial consoles that don't exist. Change-Id: Ib0b008fececf4c046112bdede9d0d3ebf9dc332b Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-29arm-bsp/linux-yocto: drop upstreamed N1SDP patchRoss Burton
This patch was upstreamed in 5.10.54. Change-Id: Iacf6345c4d4ffa8e512e2f812876fdd50a057f96 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-09juno: temporarily pin 5.4 kernel versionJon Mason
Recent changes in the 5.4 kernel are preventing the juno patches from applying. Temporarily pin the kernel to the version prior to this until the patches can be rebased. Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-09CI: add ssh testsJon Mason
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-09CI: merge testimage into the build stageJon Mason
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-09CI: enable debug-tweaks IMAGE_FEATUREAnastasios Kavoukis
This makes the images suitable for development and test, debug-tweaks includes settings like empty root password. All CI image builds inheriting from base.yml will have this include this setting. Signed-off-by: Anastasios Kavoukis <anastasios.kavoukis@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-07-27arm-autonomy/fvp-base: Add support for runfvp for arm-autonomy-hostHugo L'Hostis
Expand the FVP_DATA variable used by the fvpboot.bbclass to load both Xen and its device tree when building arm-autonomy-host image for fvp-base. Issue-Id: SCM-2718 Signed-off-by: Hugo L'Hostis <hugo.lhostis@arm.com> Change-Id: Ia6e2f6a13e84c8e762d297ac34ccbe5417a7793b Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-07-22CI: set interruptible on all jobsRoss Burton
The previous attempt at setting interruptible didn't work as it needs to happen on all tasks, as once a single uninterruptible job has executed the pipeline cannot be cancelled. Unfortunately the setup jobs were not interruptible, so the pipeline could never be cancelled. Change-Id: I5416bc3f9a883ace24c12607b2ebc24bc428b50b Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-07-22ci/check-warnings: ignore warnings that we're using the mirrorRoss Burton
SourceForge in particular doesn't like multiple connections from the same IP, but when a source mirror is being populated for the first time this will happen. Our fetch falls back to the Yocto mirror so it doesn't cause a failure, but there is a warning logged which our CI then fails because of. As we don't care about these warnings, filter them out of the log before checking if there were any errors. Change-Id: I36c97c5d9923f1c4d14c4588f3780211cccb57b2 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-07-20arm/qemuarm64-secureboot: Enable kernel TEE driversSumit Garg
Add a config fragment to enable kernel TEE drivers. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-07-02external-arm-sdk-toolchain: Fix parsing error with INCOMPATIBLE_LICENSETimothy Mertz
This change fixes parsing error that occurs when INCOMPATIBLE_LICENSE = "GPLv3" by defining EAT_BFD_LICENSE, EAT_GDB_LICENSE and EAT_RLE_LICENSE in license.inc and requiring it in external-arm-sdk-toolchain.bb Definitions in external-arm-toolchain-versions.inc are made redundant so they are removed. Signed-off-by: Timothy Mertz <timothy.mertz@garmin.com> Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com> Reviewed-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-29arm-bsp/u-boot/fvp-base: Make usage of config fragments to set CONFIG_BOOTARGSDiego Sueiro
Since u-boot recipe supports using config fragments let's use it instead of patching the vexpress_aemv8a_semi_defconfig file. Issue-Id: SCM-2329 Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com> Change-Id: I7feba5d23a6eab501cade38c188cb8414d0b86bd (cherry picked from commit 1a46824760db5e2d8fb0399c5bd741f80d0d0bc8) Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-29CI: add testing and testimageJon Mason
Add a testing task to the gitlab CI and run testimage in that job. Currently, it only runs against some of the qemu based machines. Using slirp, there is no need for a privileged container or tun/tap devices. Change-Id: Ia85a3d0089f7d4dc7595c3a45d328c79d8e675f1 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-23arm/linux: temporarily use 5.10.21 kernel for qemuarm64-securebootJon Mason
Patches for ZONE_DMA continue to be added to the 5.10.x kernel, causing the removal patch to constantly break. While working on a better fix, regress the kernel to 5.10.21 (last version before ZONE_DMA was added) to keep the CI working. Change-Id: I537dd061ae0c6d2adce6649d03bd63a3d5dfffe9 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-23ci: add yocto-check-layers stepRoss Burton
Add a job to run yocto-check-layers to validate a selection of layers are Yocto Project Compatible. Right now we validate: - meta-arm - meta-arm-bsp - meta-arm-toolchain - meta-gem5 meta-atp and meta-arm-autonomy are currently skipped: meta-atp fails and meta-arm-autonomy has a larger set of dependant layers and will be added later. Change-Id: Ia0c8c16e4228eeb461bd213b30703e950ede656f Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-23arm-bsp/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: Id3b741d184a024d0cc6d2d5031e150a8f0ae4b0d Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-23arm-bsp/tc0-artifacts-image: restrict to TC0Ross Burton
This recipe is for TC0, so set COMPATIBLE_MACHINE appropriately. This is both logically correct, and fixes a Yocto Compatible test failure where tc0-artifacts-image isn't buildable for arbitrary machines. Change-Id: I6381fc08076d4ddea254f7efc84f90c4a7f65d26 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-21arm-autonomy/fvp-base: Make usage of wic imagesDiego Sueiro
In meta-arm-bsp fvp-base switched to wic images. Hence, make the appropriate changes to also use wic images in meta-arm-autonomy. Change-Id: I34d68fee11ea339fb52a97d7593e373aa69faa1c Issue-Id: SCM-2329 Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com> (cherry picked from commit b2031ed7ca8faaf82cf74208825999ed8cbd44af) Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-21arm-bsp/fvp-base*: Introduce WIC support for fvp-base* machinesKamil Dziezyk
Add wks script that contains two partitions. Rootfs is populated to second partition, because the first one is empty, to keep compatibility with image_types_disk_img.bbclass and use the same root device set in u-boot bootargs parameter. Both wic and disk.img files are built by default. Issue-Id: SCM-2698 Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com> Change-Id: Ib5b5c3a7aa6e8fe9fa90a2955ae1e461caa01356 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-17arm-bsp/fvp-base: set FVP_ variablesRoss Burton
So that a fvp-base image can be tested easily, set the relevant FVP_* variables. After setting IMAGE_CLASSES += "fvpboot" in local.conf, this will show the firmware start and Linux boot: $ MACHINE=fvp-base bitbake core-image-base $ runfvp fvp-base --console Change-Id: Id1bd6cea57958117103e53ab9f78a58ce92b6a2e Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-17runfvp: drop --parameter, users can use -- --parameterRoss Burton
Now that arbitrary parameters can be passed to the FVP binary, runfvp doesn't need to handle --parameter itself. Anyone using runfvp --parameter should simply use runfvp -- --parameter. Change-Id: I8a79200fe927c253308731e7e0cb228e53cd989a Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-17runfvp: pass arbitrary options after -- to the FVP binaryRoss Burton
To allow passing arbitrary options to the FVP binary, split the passed options on --. Anything before the separator is handled by runfvp, anything afterwards is passed as-is to the FVP binary. Change-Id: I686b2fb79d217e26988753be7bd067c638d69eac Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-17runfvp: exit with the return code of the FVP binaryRoss Burton
Change-Id: If79e31e61110161c9a13dd512b0146d1d515d77a Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-17scripts: add runfvpRoss Burton
runfvp is a script that reads existing .fvpconf files (as written by fvpboot.bbclass) and executes the FVP binary appropriately. By default the behaviour is the same as running a FVP by hand, but by passing --console the first serial port is connected to stdin/stdout. Change-Id: Ibd26867c09e8692be4c02a7ea13571dcfe36db9b Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-17arm/fvpboot: add class to write FVP boot configurationRoss Burton
The fvpboot class is used to write a machine-readable file that describes how to boot a given machine image inside a FVP, similar to how qemuboot writes files for runqemu. BSPs should set the FVP_* variables as appropriate in their machine configuration, but let the user opt-in to adding fvpboot to IMAGE_CLASSES. Change-Id: I2d1cd86ec4affc1d688a293987890d6a89124d94 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-17arm/fvp-library: add recipe for the FVP LibraryRoss Burton
Add a recipe for the FVP Library: https://developer.arm.com/tools-and-software/simulation-models/fixed-virtual-platforms This is free to download but is behind a login-wall, and the FVPs are license managed. Change-Id: Ia0e7b1bfac54e06faf9d517d5b769acf9670724a Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-17arm/fvp-base-a-aem: add Architecture Envelope Model FVP for Arm v8-ARoss Burton
Add a recipe for the general purpose Armv-A Base RevC AEM FVP. This FVP is behind a login-wall so the user has to download it themselves, but the FVP is free to use. Change-Id: I14d7b965a05ff9f405a2a12d4da2afd3dd2ecb87 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-17arm/fvp: add recipes for Ecosystem FVPsRoss Burton
Add recipes for the SGI-575 and N1-Edge reference designs from the Ecosystem FVP collection: https://developer.arm.com/tools-and-software/open-source-software/arm-platforms-software/arm-ecosystem-fvps These FVPs are free to download and use. Change-Id: Ia645e4a7264f73ec42ee61ab2907a9bfdbe7c25d Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-14arm-autonomy/xenguest-network: add "none" network type to xenguestsHugo L'Hostis
This patch adds a new "none" network type that can be set for xenguests using XENGUEST_IMAGE_NETWORK_TYPE in their configuration. Issue-Id: SCM-2338 Signed-off-by: Hugo L'Hostis <hugo.lhostis@arm.com> Change-Id: If4f6de282b0048e5c68d293a3db5b56cd5adce66 Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-06-14arm-autonomy/n1sdp: add kernel modules to mount FAT filesystemHugo L'Hostis
This patch adds kernel modules necessary for n1sdp to mount the FAT filesystem codepage 437 and NLS ISO 8859-1. Issue-Id: SCM-2682 Signed-off-by: Hugo L'Hostis <hugo.lhostis@arm.com> Change-Id: I2d4fede311544917050326564b2b0a7d0123cb21 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-08ci: clean regularly to reduce sizeJon Mason
The Gitlab CI executors do not clean-up after each run, which will result in a ballooning size over time. Remove all files in the work tree, removing the problem. SSTATE should prevent this from causing any performance by not having the files there. Change-Id: I57df3cf470c519286fe194739a0a7722794f3b25 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-08arm-autonomy/xenguest-manager: fix xenguest initscript stop sequenceHugo L'Hostis
This patch fixes an issue where xenguest initscript stop sequence was not properly identifying the running guests. Issue-Id: SCM-2772 Signed-off-by: Hugo L'Hostis <hugo.lhostis@arm.com> Change-Id: I3ad88e00f48fab07f99936a10c0d1deb7459e83b Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-01arm-bsp/docs: documentation improvements for fvp-baser-aemv8r64Hugo L'Hostis
This patch updates the documentation for fvp-baser-aemv8r64 : - Update link to the yocto documentation. - Add details about what Host OS version are supported. Add Ubuntu 20.04 specific instructions. - Warn user about disk space. Issue-Id: SCM-2665 Signed-off-by: Hugo L'Hostis <hugo.lhostis@arm.com> Change-Id: I37e6bd3ae0a04258743a5bf1dfc80e515078d524 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-01arm-bsp/docs: Updated documentation fvp-baser-aemv8r64 MACHINEFilipe Rinaldi
This update has mainly format related changes (no functional changes) to improve readability when reading the non-rendered version of it. - Use underlined style for headers level 1 and 2 - Use indentation to create blocks - Use double space at the end of each section - Add indentation to the FVP parameters - Add pip command to install the kas tool Issue-Id: SCM-2665 Signed-off-by: Filipe Rinaldi <filipe.rinaldi@arm.com> Change-Id: I9d4b4dbcef6dc13638b62563ebdf90b6b9d5b686 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-06-01arm-autonomy: fix building for xen-tools >=4.15luca fancellu
The 0001-vif-nat-fix-hostname.patch is merged in xen-tools 4.15, so fix the layer to apply the patch only for 4.14. Issue-Id: SCM-2608 Signed-off-by: Luca Fancellu <luca.fancellu@arm.com> Change-Id: I1306955ab0b1ee435a8da42e953e142270c4b2d3 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-05-25ci/base: don't try to make warnings fatalRoss Burton
The generated local.conf has ERROR_QA=${WARN_QA} in an attempt to make warnings fatal, but this appears to be just disabling some warnings and error instead. As we already have warning detection in the GitLab CI script, this is redundant and can be removed. Change-Id: I393874edbae148ee338a7069bbf800603c028242 Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-05-11arm/linux-yocto: add missing LINUX_VERSION to qemuarm64-sbsaRoss Burton
As the SRCREV is pinned to a specific SHA we should also set LINUX_VERSION, as future kernel upgrades in oe-core master will change both SRCREV and LINUX_VERSION. Change-Id: Iafababe83ff54625112d2fae859d8a3938001cd5 Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-05-04arm-autonomy/linux-arm-autonomy: Remove Xen irq lock patchPeter Hoyes
The following patch has been backported to kernel 5.10.30: 0001-xen-evtchn-Change-irq_info-lock-to-raw_spinlock_t.patch Issue-Id: SCM-2307 Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Change-Id: I9cef017b60891780176dff944e3eca5986746d8a Signed-off-by: Jon Mason <jon.mason@arm.com>