1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-06-01 01:00:15 +00:00

342 Commits

Author SHA1 Message Date
Ross Burton 48524c32d5 arm-bsp/fvp-common: set TEST_TARGET to OEFVPTarget
Set TEST_TARGET so that all FVP machines use the new FVP target out of
the box, instead of attempting to use qemu.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-10-20 14:07:11 -04:00
Ross Burton 4b1a0c7484 arm-bsp/fvp: enable virtio drivers
All FVPs can use virtio networking devices, so enable virtio in all of
the FVP kernels.

Remove our fvp/fvp-virtio.cfg as there's cfg/virtio.scc we can use.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-10-20 14:07:11 -04:00
Hugo L'Hostis 69a36958f0 arm-bsp/fvp-baser-aemv8r64.conf: Use virtio_net User Networking by default
This patch adds config parameters to support virtio_net user networking by
default fvp-baser-aemv8r64 and updates the documentation to remove the old
instructions about setting up tap networking.

Issue-Id: SCM-3536
Signed-off-by: Hugo L'Hostis <hugo.lhostis@arm.com>
Change-Id: I4f3b74c5ba8b8e0b4205fca643a35affbe50a18c
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-10-15 08:07:13 -04:00
Hugo L'Hostis 8f8de6f808 arm-bsp/fvp-baser-aemv8r64: Update to linux-yocto 5.14
Updating the linux kernel version to 5.14 for fvp-baser-aemv8r64.

Signed-off-by: Hugo L'Hostis <hugo.lhostis@arm.com>
Change-Id: Iad76939460a32d8e34212e86a45905ffd51deb60
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-10-05 09:47:29 -04:00
Hugo L'Hostis 59809b8111 arm-bsp/fvp-baser-aemv8r64/docs: Add instructions to build previous versions
This patch adds instructions to fetch and build previous versions of the
software stack for fvp-baser-aemv8r64 instead of the ongoing
development.

Signed-off-by: Hugo L'Hostis <hugo.lhostis@arm.com>
Change-Id: I430196c0ca80c7f1e4b9f8349cdc957c86f384ee
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-10-05 09:47:29 -04:00
Ross Burton 67000ba030 arm-bsp/fvp-base: enable user-mode networking in runfvp
Enable user-mode networking with virtio out of the box.  This way port
forwarding can be configured easily without needing to setup host tap
ports.

Moving forward this may be controlled more by runfvp with the machine
configuration simply saying what configuration parameter to use (in this
case, bp.virtio_net), but this is a good starting point to iterate from.

Change-Id: I0b610df87c7dd2c8e3e213daaa967618babbdc7c
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-09-27 09:38:53 -04:00
Ross Burton 3fd69019e5 arm-bsp/fvp-base: tell FVP to exit on shutdown
Pass bp.ve_sysregs.exit_on_shutdown=1 so that the FVP exits if the
emulated machine shutsdown, which is typically the desired behaviour.

Change-Id: Id2f92df4af67ca5cadc645948eccf9c93af3f8f9
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-09-27 09:38:53 -04:00
Hugo L'Hostis c1755d99af arm-bsp/n1sdp: remove debug and verbose kernel cmd line parameters from grub cfg
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-21 09:13:05 -04:00
Kamil Dziezyk 344a5edab2 arm-bsp/n1sdp: Pin linux-yocto-rt to 5.10
This pins the rt kernel to the same version as the standard kernel.
Poky has recently upgraded to 5.13, which has not yet been validated
on the n1sdp.

Issue-Id: SCM-2987
Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Change-Id: Ie53c27e46f529f5e5dc5a6a6b32d2c021ca22651
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-09-20 11:01:24 -04:00
Anders Dellien e3943b4c50 arm-bsp/tc0: Update kernel configuration to support Android S
Android has deprecated ION and moved to dmabuf instead.
Update the kernel configuration accordingly.

Also, enable "CONFIG_DEVFREQ_THERMAL" as this is required by
the GPU libraries

Signed-off-by: Anders Dellien <anders.dellien@arm.com>
Change-Id: I7ee3659792984f71cf818ef175d7e5ecc25c6d93
2021-09-10 07:41:11 -04:00
Peter Hoyes da848fd7ef arm-bsp/fvp-baser-aemv8r64: Pin linux-yocto-rt to 5.10
This pins the rt kernel to the same version as the standard kernel.
Poky has recently upgraded to 5.13, which has not yet been validated
on the fvp-baser-aemv8r64.

Issue-Id: SCM-2987
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: Id7cd02bb9610d82adbe590777517649596d32172
Signed-off-by: Hugo L'Hostis <hugo.lhostis@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-09-07 21:26:19 -04:00
Usama Arif 46e8fc6a67 arm-bsp: Update TC0 components
This makes them common with TC1 and also adds support for FFA v1.1.

Signed-off-by: Usama Arif <usama.arif@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-09-01 13:11:29 -04:00
Peter Hoyes ba55d78916 arm-bsp/docs: fvp-baser-aemv8r64 change log fixes
* change Changelog to Change Log.
 * change armv8r64 to Armv8-R64.
 * ensure all log entries have a period.
 * change the order of the entires to highlight key release features.

Issue-Id: SCM-2987
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: Id77ec01c455ac8954a965af8659421cc485e4778
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-09-01 10:59:49 -04:00
Peter Hoyes 9a2078a107 arm-bsp/docs: fvp-baser-aemv8r64 readme updates
* Add missing net-tools to apt-get install list
 * Use export to set FVP_BASE_R_AEM_TARBALL_URI and
   FVP_BASE_R_AEM_EULA_ACCEPT and make kas build its own command.
 * Change bp.hostbridge.interfaceName=tap0 to
   bp.virtio_net.hostbridge.interfaceName=ta0 for runfvp, so that the
   FVP can access the external network.

Issue-Id: SCM-2987
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: If9052400d2ae199861bc00ce119d28069f476f7e
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-23 18:06:10 -04:00
Peter Hoyes 65c935141d arm-bsp/docs: Reword fvp-baser-aemv8r64 known issues
The wording implied they were limitations of the architecture, so
rewrite to make clear they are software restrictions.

Issue-Id: SCM-2987
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: I79ca1ac7cdce709015de1c539a6ec7fe1650d384
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-23 18:06:10 -04:00
Peter Hoyes 4865a2ceee arm-bsp/docs: Add fvp-baser-aemv8r64 changelog
Issue-Id: SCM-2987
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: I1caeb64ab50d54869a9629ac74fcc1399279c41d
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-23 18:06:10 -04:00
Jon Mason d6d1edd9c1 arm-bsp: remove tunes that are now upstream
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-21 16:55:58 -04:00
Ross Burton 203ee49cc4 arm-bsp/scp-firmware: unify TC versions
The base version is 2.8.0, so these should be 2.8.0+git.

Change-Id: Ief7c3176e46f6ec8b4549375f9be776a7ffbd4d7
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-21 10:55:36 -04:00
Jon Mason 729c01ad2e arm-bsp/linux-yocto: Add 5.4 kernel
Temporary hack to allow for things to continue to work, while waiting
for the platforms to migrate to a newer kernel.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-18 13:10:22 -04:00
Jon Mason 54f5f1c074 arm/machine: update to new tunes locations
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-18 13:10:22 -04:00
Jon Mason d6538126ff arm-bsp/linux-yocto: migrate corstone700 to the common file
The Linux kernel entries for corstone700 are not much more than any
other BSP.  Migrate them to the common file for easier development and
debugging.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-18 13:10:16 -04:00
Jon Mason 5f73b570bb arm-bsp/linux-yocto: Alphabetize platform inc file
This file was mostly alphabetized from previous attempts.  Restore them
to being alphabetized again.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-18 11:55:10 -04:00
Ross Burton b7d161b23f arm-bsp/linux-yocto: drop upstreamed N1SDP patch
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-18 11:10:25 -04:00
Jon Mason a23f2da8ab qemu-cortex-r5: add support
Mostly for testing out cortex-r tunes...mostly

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-16 17:35:49 -04:00
Jon Mason f0685a0c38 arm-bsp: cortex-r tunes
Add support for all of the Cortex-R CPUs currently supported in GCC.
Having to get creative here to properly use the GCC extensions.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-16 17:35:49 -04:00
Jon Mason 33328d26c5 arm-bsp: remove upstreamed cortex-m tunes
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-16 17:35:49 -04:00
Diego Sueiro ce6c4936e5 arm-bsp/fvp-baser-aemv8r64: Update documentation
Add information about PSCI support as well as known issues and limitations.

Also, update the fvp-baser-aemv8r64 kas config file to fetch the layers under
the layers directory and pin poky to a stable build revision.

Issue-Id: SCM-2989
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Change-Id: I8e2b30ba708f6ff7fdf43f29eede0e65aa3685ca
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-16 11:16:05 -04:00
Usama Arif e8c1001068 arm-bsp/tc1: Add support for new TC1 platform
The same patches are used by tc0 and tc1. Hence rename the folders
that contain the Total Compute patches to be called "tc". The
artifacts image is used by both tc0 and tc1, hence renamed to
tc-artifacts-image.

Signed-off-by: Usama Arif <usama.arif@arm.com>
Change-Id: Ib0b4fbca9a009c432c1e6696c5437a7d24a25d1f
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-16 11:16:05 -04:00
Jon Mason e564544a68 arm-bsp: tune file clean-up
Remove tune files that are already in oe-core, and move ARMv8 ones to
their theoretical location.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-11 14:26:04 -04:00
Jon Mason c3e3a2fd96 arm: remove support for hardknott and older
No testing is being done against older branches.  Only have the
compatibility set to honister to prevent any issues.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-10 09:18:28 -04:00
Jon Mason f9cd6797d2 n1sdp: use upstream tunes file
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-10 09:18:28 -04:00
Jon Mason 99f40454ad sgi575: remove redundant entry
sgi575 already has the defconfig entry in the include file.  Remove the
redundant entry from the machine config file.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-10 09:18:28 -04:00
Jon Mason c72389f633 arm-bsp: update 5.6 Linux kernel recipe to 5.6.19
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-10 09:18:28 -04:00
Jon Mason ae7ed6c9db arm-bsp: Update kernel recipes to match upstream format
Using recipes-kernel/linux/linux-yocto_5.4.bb as a guide, format the
kernel recipes to match.  This enables easier diffing and updating.

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-10 09:18:28 -04:00
Jon Mason 8f259bf092 corestone500: clean-up kernel entries
Correct an override syntax issue with the kernel and move the relevant
kernel entries from the machine config to the kernel include file to
match the other machines in meta-arm-bsp

Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-06 12:46:51 -04:00
Jon Mason cc42e5499d juno: temporarily pin 5.4 kernel version
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-05 19:12:41 -04:00
Jon Mason 8dfdacd75c meta-arm: Convert to new override syntax
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-04 12:29:51 -04:00
Jon Mason 239e939340 meta-arm: Add honister layer compatibility
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-04 12:29:21 -04:00
Hugo L'Hostis 1b7c5b2010 arm-bsp/fvp-baser-aemv8r64: add support for virtio-9p
This patch adds a device tree entry and kernel configs to enable file
sharing between the host and the FVP using the virtio P9 device
component.

Issue-Id: SCM-2299
Signed-off-by: Hugo L'Hostis <hugo.lhostis@arm.com>
Change-Id: Icd757e3c6281e5e84985a3caac72e860a4aeee7f
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-07-31 22:38:03 -04:00
Anders Dellien 4371f0daee arm-bsp/tc0: use config fragment for kernel command line
Signed-off-by: Anders Dellien <anders.dellien@arm.com>
Change-Id: Iabd84ff5a07b78503e45203542aafac738c9c324
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-07-29 16:10:47 -04:00
Hugo L'Hostis 23a1149304 arm-bsp/fvp-baser-aemv8r64: Add support for runfvp
This patch adds support for runfvp to fvp-base-r:
- Add necessary parameter to the fvp-baser-aemv8r64.conf
- Add fvp-base-r-aem bb file
- Add kas support

Issue-Id: SCM-2953
Signed-off-by: Hugo L'Hostis <hugo.lhostis@arm.com>
Change-Id: I252b445297f2d61a90e3cd8f0ec1816890cf733b
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-07-28 09:49:56 -04:00
Arunachalam Ganapathy 3f9d822025 arm-bsp/tc0: add managed exit patch for optee
Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Change-Id: I2a8db6024af35bf95e94963b58011daebb3c666b
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-07-27 09:43:01 -04:00
Arunachalam Ganapathy e5f3ae665d arm-bsp/trusted-firmware-a: update SHA for tc0
This SHA contains fix for SVE and AMU extension

Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Change-Id: Iefa3e8f9bee41098ea49304d88dc04df74ddcb9c
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-07-27 09:43:01 -04:00
Arunachalam Ganapathy 44ba4315dd arm-bsp/scp-firmware: update SHA for tc0
This SHA contains fix for IRQn type conversion issues

Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Change-Id: I10cc4729df3e12c549413f40d390c24f318c4577
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-07-27 09:39:21 -04:00
Arunachalam Ganapathy c17dfab3aa arm-bsp/tc0: update Hafnium to 2.5
Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Change-Id: I2da38cff515cb543a31c7d8e2c50b51ff94ca8d3
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-07-27 09:39:21 -04:00
Arunachalam Ganapathy 640600304b arm-bsp/tc0: Update optee to 3.14.0
Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Change-Id: Ic70bcab5a3e0b7ccf6deb9a0dc3efe21112995fa
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-07-27 09:39:21 -04:00
Arunachalam Ganapathy 9a20a5cc10 arm-bsp/linux: add ffa driver to TC0
This includes the initial version of ffa driver and optee driver
support for FF-A to ACK 5.10

Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Change-Id: I8a2c6d0e26422bd2183f3c1f370b0c08eeba7c1e
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-07-27 09:39:21 -04:00
Anders Dellien 7612faf780 arm: update Android common kernel
Update ACK to 5.10 and remove the 5.4 recipe

Change-Id: I7a0cc0bc95d02bed965530d36aedaf544045fee4
Signed-off-by: Anders Dellien <anders.dellien@arm.com>
Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-07-27 09:39:21 -04:00
Qi Feng a37655b523 arm-bsp/linux: Add PMU support to fvp-baser-aemv8r64
Set Shared Peripheral Interrupts (SPIs) for PMUIRQ so that profiling
tools (such as perf) can use PMU events.

Issue-Id: SCM-3164
Signed-off-by: Qi Feng <qi.feng@arm.com>
Change-Id: Idcfee3f33d9f9e15578405dd39be4f434f3faa06
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-07-26 10:04:22 -04:00
Ross Burton 9efa3b5683 arm-bsp/fvp-baser: use common fvp-base.wks file
fvp-baser-aemv8r64.wks is identical to fvp-base.wks, so just reuse it.

Change-Id: Ib7db425b35cfd68494beb167fe167c46cdd32b3d
Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-07-15 15:24:52 +01:00