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

33 Commits

Author SHA1 Message Date
Jon Mason d3263fceb5 arm-bsp: switch to linux-yocto for a5ds
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-09 11:33:50 -05:00
Jon Mason c576382359 arm-bsp: Migrate a5ds to meta-kernel for stable kernels
a5ds is having issues building its stable kernel on master.  Migrate to
meta-kernel to fix the build break.  This has the benefit of meta-arm
not having a unique stable kernel recipe to maintain and support.

Also, change the name of linux-yocto-arm-platforms to be more
generic, as it doesn't accurately reflect where it is currently being
used and can be used by different kernels going forward.

Change-Id: I4e76c7f1ee4b84641279a389820940fac7130df1
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-07-17 11:44:39 -04:00
Anders Dellien ada90a6cd3 arm-bsp: Move to newer kernel for fvp-base and foundation-armv8
Change fvp-base and foundation-armv8 kernel from linux-linaro-arm-4.19
to linux-yocto_5.4.
Also add the necessary DTS files.

Change-Id: I6aa2e7706a2f20904d2f7a2bbfb928f0e53eb1eb
Signed-off-by: Anders Dellien <anders.dellien@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-07-15 10:25:54 -04:00
Khasim Mohammed 51d310c4ef arm-bsp/grub: Add grub-efi support for N1SDP
grub-mkimage is used make a bootable image of GRUB,
grub-efi dependency in added to conf file.

Change-Id: Iaf08ed8b5e221003f10fceef9edffbe22b752534
Issue-Id: PLATFORMS-3134
Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-07-09 08:55:54 -04:00
Khasim Mohammed e9645fe03e arm-bsp/wic: add default wks file to create EFI disk image
Creates a partitioned EFI disk image that the user
can directly dd to boot media. The selected bootloader is grub-efi.

Change-Id: I1a5e8bc953274cdcc1840b27351d8e6444b2c5ab
Issue-Id: PLATFORMS-3134
Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-07-09 08:55:54 -04:00
Teo Couprie Diaz 8bd3600046 arm-bsp : Introduce TC0 platform and BSP
This patch introduces the Total Compute platform.
It adds support for the TC0 platform to the Android Common Kernel and
allows building all binaries needed to run Android on TC0.
It adds patches specific to TC0 for TF-A, SCP and U-Boot.

Change-Id: Ia83b79571c7381967c7449db031e3177b1990546
Signed-off-by: Teo Couprie Diaz <teo.coupriediaz@arm.com>
Signed-off-by: Usama Arif <usama.arif@arm.com>
Reviewed-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-07-01 09:42:07 -04:00
Khasim Mohammed d13eb333bf arm-bsp/scp-firmware: Build SCP MCP firmware for N1SDP
- Add bbappend recipe to build SCP and MCP firmware
  for N1SDP.
- Use fiptool to package the binary images
- Update machine conf to add image dependency
  for SCP-firmware components

Issue-Id: PLATFORMS-3134

Change-Id: I24bb427179f2fdee0a8351257c9088d8024ca6b8
Signed-off-by: Patrik Berglund <patrik.berglund@arm.com>
Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
Reviewed-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-06-24 14:57:09 -04:00
Khasim Mohammed d7487f96d9 arm-bsp: Build UEFI EDK2 firmware for N1SDP
- Add bbappend recipe to configure N1SDP specifics
- Enable UEFI EDK2 firmware build for N1SDP.
- Update machine conf to add dependency
  for EDK2 firmware components

Change-Id: I89d41c176f31bce6f1df7f3b3a7cd624b46c05e1
Issue-Id: PLATFORMS-3134
Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
Reviewed-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-06-24 14:57:09 -04:00
luca fancellu 042b6c7aea arm-bsp: Move to linux-linaro-arm for fvp-base and foundation-armv8
Change fvp-base and foundation-armv8 kernel from linux-yocto_5.4
to linux-linaro-arm_4.19 because some drivers are not available.
Furthermore, for fvp-base the linaro kernel comes with the dts
file removing the needs to support it on our side.

Change-Id: I844d92f173406542c2bad8d89793513f8bc28fd1
Signed-off-by: luca fancellu <luca.fancellu@arm.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-06-18 18:30:12 -04:00
Khasim Mohammed 426de565c3 arm-bsp: Add trusted firmware support for N1SDP
- Add new bbappend to fetch tfa ver 2.2 required for N1SDP
- Apply additional patch required for N1SDP
- Update machine conf to add image dependency for
  trusted firmware component

Issue-Id: PLATFORMS-3134
Change-Id: Ibf593c1818c9ea08acf71c6b5b80abc4aca79723
Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-06-09 09:16:29 -04:00
Diego Sueiro 43f90f06ba arm-bsp: n1sdp: linux-linaro-arm: Disable CONFIG_EXTRA_FIRMWARE
We don't want to build firmware blobs into the kernel binary. Also,
add linux-firmware-rtl8168 package to MACHINE_ESSENTIAL_EXTRA_RDEPENDS
to have it installed in any image by default.

Change-Id: If8a88a4ccbc6d474438a2555498989695a4b19dc
Issue-Id: SCM-954
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-05-12 15:42:44 -04:00
Jon Mason 8ff8beb6e8 Add recipes for TF-A versions 2.2 and 2.3
Add basic recipes for TF-A versions 2.2 and 2.3.  Also, rearrange fields
in the various TF-A recipes to make them uniform and move the
do_compile_prepend to the inc file.

Change-Id: I85e4ac7bdc44ed85449e40fd2c94d73bf3e7d9e8
Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
2020-05-12 15:42:20 -04:00
Diego Sueiro 8cf7f8eb31 arm-bsp: n1sdp: Add Linux kernel device-tree support
Update both machine configuration and kernel recipe to
support Linux Kernel device-tree compilation.

Change-Id: I01fa654bd88e0d2b7a4bfcc7cb60222c120a0473
Issue-Id: SCM-888
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-05-09 08:11:41 -04:00
Khasim Syed Mohammed 76748af24b arm-bsp: Introduce ARM N1SDP platform
- Add support for N1SDP platform.
- Build Linux 5.4 from linaro tree for N1SDP platform.

Change-Id: I12e5169da9c2bab946eb7e49fe6cc7bbb07d182b
Issue-Id: PLATFORMS-3134
Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-05-09 08:11:32 -04:00
Vineeth Raveendran 4338e38b8a arm-bsp: add dunfell support for fvps, juno and gem5
Make following machines compatible with dunfell:
- foundation-armv8
- fvp-base
- juno
- gem5

Major changes include moving kernel version to 5.4 and U-BOOT version
to v2020

Change-Id: Ia59ac874de4e4c4ea02c7a4f976e39a9b6996f75
Issue-Id: SCM-833
Signed-off-by: Vineeth Raveendran <vineeth.raveendran@arm.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-05-08 10:21:20 -04:00
Diego Sueiro d9fbf9da4e meta-arm-bsp: Remove fvp-base and foundation-armv8 simulation tools
Since the Fixed Virtual Platforms simulation tools are not publicly
available, remove them from meta-arm-bsp layer.

Change-Id: Ifece50bfd494241499540030b6ac5968abd8ad1f
Issue-Id: SCM-951
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-05-01 09:34:23 -04:00
Diego Sueiro d7b179b934 meta-arm-bsp: Introduce firmware-image-juno recipe
Add the firmware-image-juno recipe to produce the Firmware Image for
Juno to be copied to the Configuration microSD card instead of the
trusted-firmware-a recipe.

Include the firmware-image-juno recipe in the EXTRA_IMAGEDEPENDS
only for juno MACHINE.

Change-Id: I316c70f22d57a3d85cc40386f1961ecd23edc865
Issue-Id: SCM-754 SCM-888
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Reviewed-By: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-04-23 14:29:19 -04:00
Diego Sueiro 85eeeea87a meta-arm-bsp: Remove Xen specifics
Remove all variables, settings and operations specific to Xen from
meta-arm-bsp.

These implementations will be added later in another separate layer.

Change-Id: I971a6898f985f5ec7264da5ad5e4b6436067e3dd
Issue-Id: SCM-769
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-04-08 09:55:14 -04:00
Denys Dmytriyenko b1393356c0 layer.conf: update LAYERSERIES_COMPAT for dunfell
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Reviewed-by: Diego Sueiro <diego.sueiro@arm.com>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-04-08 09:32:05 -04:00
Jon Mason 3e1546ac57 meta-arm-bsp: add layer dependencies
meta-arm-bsp has dependencies on other layers, which are not being
represented in the layers.conf file.  This causes build breaks when
using tools like `bitbake-layers layerindex-fetch`, as it will not fetch
the depencies properly.  Currently, the dependencies on other layers are:
* core => u-boot, linux, etc
* openembedded-layer (meta-oe) => haveged
* meta-arm => trusted-firmware-a

Change-Id: Icafc2f1c55a6138172706bb4b99e9dc59904cad4
Signed-off-by: Jon Mason <jon.mason@arm.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Reviewed-by: Diego Sueiro <diego.sueiro@arm.com>
2020-03-23 15:44:18 -04:00
Jon Mason f08f9b590c meta-arm-bsp: a5ds: Remove WIC references
The current WIC references in the A5DS config file are causing a build
break, due to not being defined.  These WIC files should be revisited
once the IOTA distro is present.

Change-Id: Ied2cd6f768625d18150ed60bd5fe317e06c7f48a
Signed-off-by: Jon Mason <jon.mason@arm.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Reviewed-by: Diego Sueiro <diego.sueiro@arm.com>
2020-03-23 15:42:48 -04:00
Daniel D?az 3108c6debc conf/machine: Make preferred virtual/kernel overridable
A user of the BSP layer may decide to use the machine
configuration but a different kernel.

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-03-19 16:59:04 -04:00
Rui Silva 00e87b1894 arm-bsp: add support to cortex-a5 designstart
Add tf-a recipes, u-boot, machine configuration, and documentation to
support Arm Cortex-A5 Designstart.

The output of this build is compatible to run on the FVP and
the FPGA implementation of the package.

For more information see:
https://community.arm.com/developer/ip-products/processors/\
designstart/b/blog/posts/\
pre-silicon-software-development-with-arm-models-for-cortex-a5-designstart

Change-Id: Ie2715ad1871975cb7620d7a195c8dd74144629da
Signed-off-by: Rui Miguel Silva <rui.silva@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-03-17 10:27:01 -04:00
Bertrand Marquis 8e5b91b42e Optimize execution on FVP and Foundation platform
Add an extra partition to the disk image generated for FVP and
Foundation platform (to be used for user data or extra usage). The
partition is created on the hard drive but is not formated.
Speed up running on FVP and Foundation by optimizing model parameters:
- disable options that are already set by default
- disable cache modelling on FVP
- disable secure memory
- disable real time on Foundation (prevents timeout as execution is a
lot slower then on a real system)

Change-Id: I20d613bd8b0f4cb7df87c294d45b9f718f6a8ed3
Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
2020-02-04 07:18:14 -05:00
Vineeth Raveendran 313544372c Fix to improve boot time on Emulators
Use haveged instead of rngd (That gets added when adding ssh) since rngd
init is taking ~7 mins during boot time

Change-Id: I038c42b8a7c025959248d78940483322421ad5ef
Signed-off-by: Vineeth Raveendran <vineeth.raveendran@arm.com>
2020-02-04 07:18:14 -05:00
Bertrand Marquis 46b8667ac6 Remove DISTRO_FEATURES from juno.conf
Do not try to add distro features from juno machine definition.
Modify juno documentation to mention usbhost and usbgadget in case
someone use a distribution not activating them by default.

Change-Id: I7fc44c9921ce3fdbf069fd5354f37bb2ec38ac53
Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
2020-01-24 21:38:41 +00:00
Vineeth Raveendran c3b26ed67c Use Linaro kernel for Juno Yocto BSP
In order to have SCMi or HDMI support, the Juno BSP must use
the Linaro kernel instead of the standard Yocto one.

Change-Id: Ib53cb81a074439e9a4018bf356d749c7fd0a5d5a
Signed-off-by: Vineeth Raveendran <vineeth.raveendran@arm.com>
2020-01-15 10:26:46 +00:00
Vineeth Raveendran aab12c535e Use += where ever possible instead of append
Exceptions will be cases involving overrides, machine specific
varible expansion and cases where variable modification needed to be
done after all += operations.

Change-Id: I7c76a77949d0a012238d488d5a75c489c54abf68
Signed-off-by: Vineeth Raveendran <vineeth.raveendran@arm.com>
2019-12-13 16:28:49 +00:00
Bertrand Marquis c601acec48 Add support for Gem5 for arm64
Add Yocto support for Gem5:
- add kernel configuration
- add recipes to build an image using boot-wrapper-aarch64
- add recipes to build Gem5 native to run the produced image
- add script to start image using gem5
- add recipe to create a dtb using gem5
- add recipe to build an image using gem5 boot wrapper
- add dts to linux kernel for gem5 for arm64
- add scons for python2 as this is required to build gem5 (until gem5
will support python3)
- add xen patch to limit number of interrupts if hardware is claiming to
have to more interrupts then the number supported by xen

When an image has been built it can be directly started using gem5 using
this command (console is available using telnet localhost 3456):
./tmp/deploy/tools/start-gem5.sh

Change-Id: Iec5ef735fc22643685e29ffbdaf63a55b1111c60
Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
2019-12-13 16:26:49 +00:00
Bertrand Marquis 4ff58c5f89 Add support for arm Juno Development Board
Add Yocto support for Juno development board:
- add machine definition
- add kernel configuration
- add u-boot patch to get the environment from a file in flash
- add trusted firmware extension to produce a firmware image
- add ifupdown interfaces to start eth0 and eth1 on startup

Change-Id: I5046166cf1cc9e80a57815ef6bfb0cbb263a704e
Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
2019-12-10 15:38:44 +00:00
Bertrand Marquis 3ae02d723f Add support for arm FVP Base simulator
Add recipes and configuration files to add Yocto support
for FVP Base simulator from arm.
The following components are supported:
- trusted-firmware-a
- linux kernel (with specific kernel configuration and dts)
- xen (with meta-virtualization layer)
- unpacking and starting the generated image directly in Foundation
simulator (package must be download from www.arm.com website and put in
the directory downloads/licensed/silver.arm.com).

After building, the following command can be used to start a generated
image in fvp:
./tmp/deploy/tools/start-fvp-base.sh

Change-Id: I1759aecf32e84e25e813d7b0305f49616d4b47ef
Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
2019-12-10 15:38:44 +00:00
Bertrand Marquis ad73752f4b Add support for arm Foundation ARMv8 FVP simulator
Add recipes and configuration files to add Yocto support
for Foundation armv8 simulator from arm.
The following components are supported:
- trusted-firmware-a
- linux kernel (with specific kernel configuration)
- xen (with meta-virtualization layer)
- unpacking and starting the generated image directly in Foundation
simulator (package must be download from www.arm.com website and put in
the directory downloads/licensed/silver.arm.com).

After building, the following command can be used to start a generated
image in foundation:
./tmp/deploy/tools/start-foundation-armv8.sh

Change-Id: Iade343c38f0799ee8523434d555cb3ca42068a86
Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
2019-12-10 15:38:44 +00:00
Bertrand Marquis c7c809e465 Create meta-arm-bsp layer
Create layer definition file for meta-arm-bsp sub-layer.

Change-Id: I305da32bf389b09750a721349fa0796c0b33b0ea
Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
2019-12-05 20:33:32 +00:00