1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-07 16:59:30 +00:00
Commit Graph

1269 Commits

Author SHA1 Message Date
Ross Burton 8b377a5c7d arm-bsp/linux-yocto: remove upstreamed corstone1000 patch
This patch is now merged upstream in 7285daac, 5.15.25 onwards.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-07 12:09:46 -05:00
Ross Burton b5a2d1204d Revert "CI: apply in-flight patches to fix lopper and python-dtc"
This reverts commit 628719c5a5.
2022-03-07 13:29:14 +00:00
Ross Burton 478bc14e59 Revert "CI: fix python3-dtc installation"
This is now fixed in meta-virtualization master.

This reverts commit fd34e9bb75.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-03-07 12:43:45 +00:00
Ross Burton 643cf58a69 arm-bsp/linux-yocto: fix patch status for the CS1K patch
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-03 12:15:18 -05:00
Steve Capper 84a8f97704 arm-bsp/firmware-image-juno: update offset addresses for NOR flash images
This is to allow a larger kernel image size.

Suggested-by: Deepak Pandey <deepak.pandey@arm.com>
Signed-off-by: Steve Capper <steve.capper@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-03 11:09:46 -05:00
Peter Hoyes dcf114723e arm/fvp-base-r-aem: Update to version 11.17.21
Also update version and download link in meta-arm-bsp fvp-baser-aemv8r64
documentation

Issue-Id: SCM-3871
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: I92ec616d25703ff74ed063918a1e4811bac9ff3f
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-03 11:08:08 -05:00
Peter Hoyes 1bc6bf2750 arm-bsp/docs: Improve fvp-baser-aemv864 limitation
Add more details about the cache_state_modelled limitation, which can
be worked around by setting cci400.force_on_from_start=1

Issue-Id: SCM-3871
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: Idde23278a87316dae842c6c3793b9836482e8c3a
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-03 11:08:08 -05:00
Ross Burton ce5e683f01 arm/generic-arm64: use latest linux-yocto
We were pinning generic-arm64 to 5.10 because 5.14 was hanging during
boot in qemu, but this appears to have been fixed in 5.15.

Unpin the kernel to use 5.15, and drop the defconfig patch which has
been upstreamed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-02 21:39:10 -05:00
Ross Burton b9fefa2482 arm/fvp: check that FVP binaries are present
If any of the path computation goes wrong (for example, the compiler
changed so FVP_ARCH needs updating) for the real FVP binaries then
bindir contains broken link called FVP_*.

Solve this by checking that the directory contains FVP binaries and
error out if not.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-02 21:39:10 -05:00
Ross Burton fd34e9bb75 CI: fix python3-dtc installation
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-01 09:30:27 -05:00
Ross Burton 50d820d037 Revert "CI: apply in-flight patches to fix python3-cryptography"
The patches were merged in meta-oe d605093bc.

This reverts commit d97f9d322e.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-01 09:30:27 -05:00
Emekcan Aras 24db3b56ba arm-bsp/trusted-firmware-a: corstone1000: update Tfa SHA
This commit updates Tfa SHA to remove the patches from the
recipe since all of them are upstreamed now.

Signed-off-by: Emekcan Aras emekcan.aras@arm.com
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-01 09:30:27 -05:00
Emekcan Aras 81193d97ad arm-bsp/linux-yocto: upgrade corstone1000 to 5.15
Update linux-yocto to the latest version for cs1k.
There is a bug in the kernel version 5.15. Following
patch is applied to fix this issue and will be
upstreamed soon (https://lkml.org/lkml/2022/2/18/475).

Signed-off-by: Emekcan Aras emekcan.aras@arm.com
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-01 09:30:27 -05:00
Khem Raj 3fbb255aa7 androidclang: Skip useless-rpaths check
This is a prebuilt stuff, better to ignore its guts.

Fixes
androidclang: /usr/share/clang-r416183b/python3/lib/python3.9/lib-dynload/_posixsubprocess.cpython-39-x86_64-linux-gnu.so contains probably-redundant RPATH /../lib [useless-rpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-03-01 09:30:27 -05:00
Ross Burton 628719c5a5 CI: apply in-flight patches to fix lopper and python-dtc
Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-28 14:33:01 +00:00
Ross Burton d97f9d322e CI: apply in-flight patches to fix python3-cryptography
Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-28 14:26:38 +00:00
Jon Mason 50fd2d469a Revert "CI: apply a patch so that meta-zephyr is compatible with kirkstone"
This reverts commit 7dd00e4d71.
2022-02-28 09:25:32 -05:00
Ross Burton 41dfded19b Revert "CI: temporarily pin meta-oe to pre-python-wheel removal until oe-core catches up"
python3-wheel is now in oe-core, so we need to use the meta-oe without
python3-wheel.

This reverts commit 5e59ebf2d3.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-25 16:41:44 +00:00
Peter Hoyes 94682c6d1d arm-bsp/docs: Minor fvp-baser-aemv8r64 updates
* Add clarification on how to mount p9 device
 * Remove instruction to use ctrl + c to stop FVP
 * Add cache_state_modelled to Known Issues

Issue-Id: SCM-3871
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: I122c5ae5b3ceee1d106205d93a006f75bdbfa2bf
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-25 00:05:00 -05:00
Arunachalam Ganapathy 185746b66a arm-bsp/scp-firmware: add patches related to MPMM for TC0
This commits updates the SHA of SCP-firmware and include required
patches to build SCP firmware with experimental features
MPMM/POWER/PERFORMANCE for TC0 platform.

Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Change-Id: I263b484a467636154b70805f920bb53c6fe2026c
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-25 00:05:00 -05:00
Arunachalam Ganapathy 3c16dbc0c6 arm-bsp/linux-yocto: enable autofdo config only for TC1
Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Change-Id: I75219f174f2fd0a9fa67007a4bc45acecc324390
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-25 00:05:00 -05:00
Ross Burton 5e59ebf2d3 CI: temporarily pin meta-oe to pre-python-wheel removal until oe-core catches up
Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-24 19:35:39 +00:00
Ross Burton 7259c12a55 CI: run utility jobs last
Run check-layer and coverage jobs after the building tasks, as we want
to start compiling sooner and not wait for check-layer to finish before
compiling.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-24 17:16:16 +00:00
Ross Burton a2b945c75e CI: use kas:latest, needed for the latest bitbake
As BitBake has renamed BB_ENV_EXTRAWHITE to BB_ENV_PASSTHROUGH_ADDITIONS
the SSTATE_DIR and DL_DIR variables don't get passed from the
environment to bitake anymore.

This is fixed in Kas's git repo, so use :latest until a release is made.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-24 17:15:44 +00:00
Ross Burton 9d17e4e305 arm/scp-firmware: disable clang builds
We only build with our binary GCC right now, so disable clang from
trying to get involved. This solves the missing strip problem where
do_populate_sysroot wants to use llvm-strip but it hasn't been added
to the sysroot.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-23 19:34:14 +00:00
Ross Burton 7dd00e4d71 CI: apply a patch so that meta-zephyr is compatible with kirkstone
Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-23 13:44:55 +00:00
Ross Burton 19b7bdba9b arm/edk2-firmware: unbreak builds with latest Clang
The latest Clang produced unaligned access warnings, which EDK2 promotes
to errors with -Werror.

  edk2/MdeModulePkg/Include/Guid/ExtendedFirmwarePerformance.h:78:47:
  error: field Guid within 'FPDT_GUID_EVENT_RECORD' is less aligned than 'EFI_GUID'
  and is usually due to 'FPDT_GUID_EVENT_RECORD' being packed, which can lead to
  unaligned accesses [-Werror,-Wunaligned-access]

This has been reported upstream so for now ignore this warning.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-23 13:39:31 +00:00
Ross Burton 63e06127c0 arm/edk2-firmware: expand comment
We currently disable release builds with Clang, but it appears the
underlying issue has been fixed upstream so make a note that we should
be able to turn release builds back on with EDK2 202202.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-23 13:39:29 +00:00
Ross Burton 74bd32b2e6 arm-toolchain/external-arm-toolchain: fix missing license updates
Commit 53a40b1 updates the license names to use the SPDX terms, but as
intermediate variables are used in this recipe a few instances were
missed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-23 13:39:22 +00:00
Martin Jansa 53a40b1518 meta: update license names
* openembedded-core/scripts/contrib/convert-spdx-licenses.py .
  ...
  All files processed with version 0.01

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-22 14:05:46 +00:00
Khem Raj 1ad0aa794d layers: Bump to use kirkstone
its not going to be backward ABI compatible with honister due to variable renaming.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-22 12:34:31 +00:00
Ross Burton 479aaa7bfb Update for LICENSE_FLAGS_WHITELIST rename to _ACCEPTED.
LICENSE_FLAGS_WHITELIST has been renamed to LICENSE_FLAGS_ACCEPTED in
oe-core master.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-22 12:34:31 +00:00
Khem Raj 5119b4ad63 meta-arm-toolchain: Use renamed SKIP_RECIPE var flags
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-22 12:33:04 +00:00
Khem Raj 37674007ba meta-arm-toolchain: Use renamed BB_BASEHASH_IGNORE_VARS variable
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-22 12:33:04 +00:00
Emekcan Aras aa18c61018 arm-bsp/security: move TS patches to corstone1000 directory
This commit moves all the trusted-services patches to a new
corstone1000 directory.

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-20 09:00:09 -05:00
Jon Mason 962173714f ci: remove psa-arch-tests from corstone1000-common.yml
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-18 08:10:11 -05:00
Emekcan Aras d408160e09 kas/corstone1000-base: update meta-arm-image SHA
This commit updates the meta-arm-image SHA to drop psa-arch-test
from the build.

Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-17 18:14:45 -05:00
Vishnu Banavath 700eed92e3 arm-bsp/security: trusted-services to fix psa-arch-tests
These changes are to fix failures in psa-arch-tests

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-17 18:14:45 -05:00
Vishnu Banavath 31c3f35ccd arm-bsp/security: drop psa-arch-tests recipe
This change is to build and install psa-arch-tests using
trusted-services code and drop psa-arch-tests recipe.

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-17 18:14:45 -05:00
Vishnu Banavath 6b262f63d3 arm-bsp/tf-m: update git SHA
This change is to update TF-M git SHA to fix
psa-arch-tests test case failures.

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-17 18:14:26 -05:00
Vishnu Banavath 3f9a466c99 arm-bsp/security: replace mbedcrypto with mbedtls
This commit replaces mbedcrpyto with mbedtls on the trusted-service
recipe.

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-17 18:14:26 -05:00
Peter Hoyes 692ca08b1d arm-bsp/docs: Update fvp-baser-aemv8r64 docs
Document U-Boot addition, add new architecture section and update the
change log.

Issue-Id: SCM-3871
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: Ie0e1ff35ade634f2b523c14bb058c9d775802632
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-17 16:11:46 -05:00
Peter Hoyes 0519fdf444 arm-bsp/conf: Use real-time clock for fvp-baser-aemv8r64
Enable the bp.refcounter.use_real_time option, so that the CNTPCT_EL0
increments in real-time instead of simulator time.

Issue-Id: SCM-3871
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: I197d6de4a7316e5299aee34e64e149cbd3d515a9
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-17 16:11:46 -05:00
Peter Hoyes d58df6ec52 arm-bsp/kernel: Use 4 Gb of RAM in fvp-baser-aemv8r64
The FVP default configuration has bp.dram_size=4, which is sufficient
for development and testing purposes, so remove the FVP_CONFIG
override and set to 4 Gb in the device tree.

Issue-Id: SCM-3871
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: I4a96062c9e94d36f5459f33c86aab4d4885bab43
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-17 16:11:46 -05:00
Peter Hoyes 9359bc9163 arm-bsp/u-boot: Add U-Boot for fvp-baser-aemv8r64
This patch introduces U-Boot into the fvp-baser-aemv8r64 boot flow,
providing EFI services.

The fvp-baser-aemv8r64 does not have an EL3, so the system starts at
S-EL2. For now, U-Boot is running at S-EL2, alongside boot-wrapper.
Enable the --enable-keep-el option in boot-wrapper-aarch64 so that it
boots the next stage (U-Boot) at S-EL2. Additionally, tell
boot-wrapper-aarch64 to bundle U-Boot instead of the kernel.

Linux only supports booting from S-EL1 on the fvp-baser-aemv8r64, so
U-Boot is configured with CONFIG_SWITCH_TO_EL1, so that booti or bootefi
switch to S-EL1 before booting the EFI payload (unless an enviornment
variable - armv8_switch_to_el1 - is set to 'n').

Add patches to U-Boot, which:
 * Add board support for the fvp-baser-aemv8r64 (with a memory map
   which is inverted from the fvp-base).
 * Enable the configuration of U-Boot using the device tree passed from
   boot-wrapper-aarch64.
 * Enable virtio-net.
 * Disable setting the exception vectors at S-EL2 so that the PSCI
   vectors pass through to Linux.
 * Set up system registers at S-EL2 for Linux.
 * Configure the S-EL2 MPU for the EFI services.
 * Allows bootefi to switch to EL1 before booting Linux.

Issue-Id: SCM-3871
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: I229d14b0717df412c1fe33772230ca779f79b32d
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-17 16:11:46 -05:00
Peter Hoyes 14db960041 arm-bsp/boot-wrapper-aarch64: Update patches for fvp-baser-aemv8r64
Update the machine-specific patches, which makes the following changes:
 * Add PSCI services to /memreserve/ in the device tree using libfdt.
 * Add --enable-keep-el option, which allows boot-wrapper-aarch64 to
   boot the next stage at the same exception level.
 * Update the counter frequency to 100 MHz.

Issue-Id: SCM-3871
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: I41843e958cf629d69de644bb57b660fb542fc8b7
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-17 16:11:46 -05:00
Peter Hoyes 855e6924b3 arm/boot-wrapper-aarch64: Upgrade to newer revision
Upgrade boot-wrapper-aarch64 to 1044c77062573985f7c994c3b6cef5695f57e955

Hold back gem5 at 8d5a765251d9113c3c0f9fa14de42a9e7486fe8a in bbappend.

Issue-Id: SCM-3871
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: Ia5ccca2234dd117d530970f9f90469dacbb778e3
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-17 16:11:46 -05:00
Ross Burton 31446384e6 atp/linux-yocto: use wildcards in the bbappend
Don't hard-code 5.4, use wildcards instead.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-11 08:40:57 -05:00
Ross Burton e5334bfabf gem5/linux-yocto: use wildcards in the bbappend
Don't hard-code 5.4, use wildcards instead.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-11 08:40:57 -05:00
Ross Burton 6c410376df gem5/gem-aarch64-native: remove duplicate --command-line
The contents of GEM5_RUN_CMDLINE is passed via --command-line, so there
is no need to include --command-line in it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-11 08:40:57 -05:00