aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-11-27arm/linux-arm64-ack: update branch nameyocto-3.1.73.1.7dunfellJon Mason
The "deprecated" string was added to the branch name, which was causing the SHA not to be found. Update to the new name. Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-02-09CI: pin to kas 3.2 as 3.2.1 failsyocto-3.1.63.1.6Ross 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-09arm/scp-firmware: backport a build race fixRoss Burton
There is a build race when generating the module includes which causes errors, backport the fix. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2023-01-09arm/scp-firmware: rationalise SRCREV/bbappendsRoss Burton
In "scp-firmware: allow setting log level to INFO or WARN"[1] the base SRCREV was bumped from db1991 (the 2.6 tag) to fd7c8356. This means a fair amount of cleanup can be made: The base recipe should set PV=2.6+git, both of the existing bbappends already did this so those can be removed. The base recipe's CMSIS SRCREV should be a SHA, not a tag name. Both bbappends also did this so those can be removed. The TC0 SRCREV is in fact earlier than the new base recipe, so remove the override so unify the versions. There were no TC-specific changes between the two SHAs so this should be safe. [1] 9386db13df5134ab68ae3a1618e999584f7a4261 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-12-15CI: define DEFAULT_TAG and CPU_REQUESTJon Mason
DEFAULT_TAG and CPU_REQUEST are being used to help with internal Gitlab pipeline setups know which type of machines to run on, but has no value outside of Arm Corp. Gitlab CI allows for variables to be overridden by default. So, we can give it a default value of NULL/empty and have everything work internally and externally by default. Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-12-14CI: add tags to all jobsRoss Burton
Tag all jobs with the DEFAULT_TAG variable so each instance can control what tags the jobs have, whilst still explicitly tagging the jobs which need specific tags (such as x86_64 for jobs which need to run x86-only binaries) Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-12-14CI: add variables needed for k8s runnersRoss Burton
The Kas container needs to use the entrypoint as that is where the user changes from root to a normal user. Also set the KUBERNETES_CPU_REQUEST to the variable CPU_REQUEST as this needs to be tuned per-deployment. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-09-21arm/trusted-firmware-a: update mbedtls branch name (old releases)yocto-3.1.53.1.5Ross Burton
The mbedtls repository renamed the 2.16 branch from mbedtls-2.16 to archive/mbedtls-2.16. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-09-20arm/trusted-firmware-a: update mbedtls branch nameRoss Burton
The mbedtls repository renamed the 2.18 branch from mbedtls-2.18 to archive/mbedtls-2.18. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-08-04arm-toolchain/layer.conf: remove BB_DANGLINGAPPENDS_WARNONLYRoss 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-04-08arm-toolchain: ignore CVE-2019-15847 CVE-2021-37322yocto-3.1.43.1.4Ralph Siemsen
CVE-2019-15847 is a bug in gcc POWER9 back-end, which is not relevant for ARM architecture. (It has been fixed in gcc 8.4, 9.3, and 10.1). CVE-2021-37322 is a bug in c++filt, which is part of binutils rather than gcc. The issue was fixed in binutils 2.32 (poky has 2.34). These exclusions are needed only in the dunfell branch, as it is the only one with affected gcc versions. Master branch has gcc 11.2, hardknott has 10.2, and honister has 10.3. Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-09arm-bsp/gem5: ignore compiler warnings on aarch64Jon Mason
Some errors/warnings were still being seen on aarch64 builders. Disable the relevant GCC options to work around the issue. Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-07arm-bsp/gem5: ignore compiler warningsJon Mason
Compiler warnings for array-bounds and type-limits are causing the builds to break. Since they are not normally fatal, ignore them for now. Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-07arm-bsp: fix yyloc 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-02-02arm-toolchain: gcc-arm-9.2: Fix mangled patchSumit Garg
Apply commit dce28d8ac7fb ("gcc: Fix mangled patch") to meta-arm-toolchain as well as it fixes a build problem when trying to build kernel with gcc-plugins support. Reported-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Sumit Garg <sumit.garg@linaro.org> 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-08-09CI: add ssh testsyocto-3.1.33.1.3Jon 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-01external-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-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-29CI: mark build jobs as interruptibleRoss Burton
Mark the build jobs as interruptible, as they don't write to shared resources (unlike update-repos or get-binary-toolchains). This means that if the same branch is pushed again GitLab is likely to be able to abort the obsolete pipeline to start the new build sooner. Change-Id: I9284273e9b3118b616d3cb062cb957d98fc5e37e Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-06-29CI: report disk usage before/after pruning sstateRoss Burton
Change-Id: I66853ce1bf5e33c37094cc8fff04cbd4daaadf91 Signed-off-by: Ross Burton <ross.burton@arm.com> 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-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-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-23CI: 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-23Rename top-level kas/ to ci/Jon Mason
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-23CI: 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-04-23CI: 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-04-23CI: add qemuarm and qemuarmv5Ross Burton
Change-Id: Ie5e1fdf0870ed578faaf6ca2d6c6e73bad340f1e Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-04-23CI: delete-sstate needs to delete contentsRoss Burton
Change-Id: I278d470540e20db8d789a1428e927356e3a5d8b1
2021-04-23CI: add task to delete all sstateRoss Burton
Change-Id: If89c6c27cafe6ae7e93b5db5d37b9e8ecdaee131 Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-04-23CI: don't retry jobsRoss Burton
We can't retry jobs blindly because if a build fails with warnings we want to fail the job. With retries enabled the job fails, but is immediately retried and builds quickly from sstate without any warnings. Thus, all and any warnings are hidden. Disabling retries. We may get occasional failures from Docker, we'll have to see how bad they are. Change-Id: Ib726f14a264c029fdf372fc1b8a02aca52bf5e4c Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-03-25arm-autonomy/u-boot: Modified kernel_addr for fvp-base with xenyocto-3.1.23.1.2Nathan Dunne
Modified the default booti command for fvp-base with xen to boot into xen at 0x84000000, rather than requiring the user to break into the u-boot prompt. Issue-Id: SCM-2195 Signed-off-by: Nathan Dunne <Nathan.Dunne@arm.com> Change-Id: I91f324ce77716474596a78f97e74f432969d9803 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-03-04arm-autonomy: Add meta-networking dependency to autonomy layer configRichard Neill
meta-arm-autonomy requires the bridge-utils package, which is provided by the meta-openembedded/meta-networking layer. This patch adds the explicit dependency. Issue-Id: SCM-2166 Signed-off-by: Richard Neill <richard.neill@arm.com> Change-Id: I7e8640a0688e5eb0a1c1d91202004f9b27731b1b Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-02-16arm-toolchain: Fix potential runtime crashJon Mason
GCCv9 tree vectorization code is faulty and can cause random crashes at runtime (when using -O3). Add the backported patch to address this issue. Change-Id: If7bb0ba0720bab42e7d34f3679d988934f657392 Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-12-18arm-bsp/u-boot: fix a5ds compile warningJon Mason
a5ds has the following warning: WARNING: Fuzz detected: checking file arch/arm/Kconfig Hunk #1 succeeded at 628 with fuzz 2. checking file board/armltd/designstart/Kconfig checking file board/armltd/designstart/Makefile checking file board/armltd/designstart/designstart.c checking file configs/designstart_ca5_defconfig checking file include/configs/designstart_ca5.h patching file arch/arm/Kconfig Hunk #1 succeeded at 628 with fuzz 2. patching file board/armltd/designstart/Kconfig patching file board/armltd/designstart/Makefile patching file board/armltd/designstart/designstart.c patching file configs/designstart_ca5_defconfig patching file include/configs/designstart_ca5.h The context lines in the patches can be updated with devtool: devtool modify u-boot devtool finish --force-patch-refresh u-boot <layer_path> Don't forget to review changes done by devtool! WARNING: QA Issue: Patch log indicates that patches do not apply cleanly. [patch-fuzz] Followed above instructions to refresh the patches. Warning goes away. Everyone is happy. Change-Id: I47da5f987f9a7ebfe5ca570ad1053e55cc1a509a Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-12-17ci: fail any build that emits warningsRoss Burton
Using a custom logging.yml we can instruct BitBake's logger to write all warnings and errors into a separate log file. Then after the build has finished we can see if the log file is empty and if not show it and abort the build. Change-Id: Ida835b5c822941fb513dfb1758b4ec195e0050fc Signed-off-by: Ross Burton <ross.burton@arm.com>
2020-12-17ci: make bootstrap just another kas overlayRoss Burton
Simplify the gitlab-ci by having the bootstrap build as just another Kas overlay file, so there's no duplication of build script. Change-Id: I7341750d2ae7f3c146bfe323f61fa98c0f3121c0 Signed-off-by: Ross Burton <ross.burton@arm.com>
2020-12-17kas: now that linux-stable is unused, remove it from kasRoss Burton
Change-Id: I263cf1658c6bfc774bcf7b9c24d164003e88f634 Signed-off-by: Ross Burton <ross.burton@arm.com>
2020-12-09arm-bsp: Fix FVP kernel warningJon Mason
ARM_TIMER_SP804 config entry is not being found. Add COMPILE_TEST to allow for it to show up. Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-12-09arm-bsp: Fix Juno kernel config warningsJon Mason
Juno kernel compilation is displaying warnings due to missing dependencies. Add the missing dependencies and the warnings go away. Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-12-09arm-bsp: switch to linux-yocto for a5dsJon Mason
Keeping with what is being done on the master branch, switch to using linux-yocto for the 5.3 kernel. Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-12-09Add experimental CI using Kas+GitLabRoss Burton
Add kas scripts that generic to test builds, and a GitLab CI runner. This is mainly a cut-down copy of what is in the master/gatesgarth branches with the following changes: - Just the BSPs that are in the Dunfell release, obviously - No clang testing. There are patches in master that can be backported if required. - Added testing of the armgcc-9.2 compiler. This is currently broken for some configurations in master and the testing will be forward-ported when it passes. Change-Id: I9c2a4f66318b3ccc066d423f3533202ee33f0c9d Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-12-07external-arm-sdk-toolchain: add recipe to package gcc/gdb/binutils cross ↵Denys Dmytriyenko
binaries Allows re-use of prebuilt ARM toolchain binaries for SDK generation. This code is upstreamed from meta-arago layer. Signed-off-by: Denys Dmytriyenko <denys@ti.com> [Sumit: package headers corresponding to EAT_TARGET_SYS and add PV] Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-12-07external-arm-toolchain: check for TCLIBC being glibcDenys Dmytriyenko
The old TARGET_OS check doesn't work, as it only checks for uclibc and musl at the end, while TARGET_OS is usually "linux-musleabi", uclibc has been deprecated and new options like "newlib" and "baremetal" were added. Plus it only works for the target, but not SDK. Switch to simply checking for TCLIBC = glibc. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Reviewed-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-12-07external-arm-toolchain-versions: set per-component toolchain licensesDenys Dmytriyenko
This code is upstreamed from meta-arago layer. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Reviewed-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-12-07external-arm-toolchain-versions: also collect binutils/bfd versionDenys Dmytriyenko
To be used by SDK packaging for binutils cross. This code is upstreamed from meta-arago layer. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Reviewed-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>