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

2776 Commits

Author SHA1 Message Date
Peter Griffin
11233ba158 optee-test_git.bb: add optee-test recipe & patches
This has moved from meta-linaro to meta-arm as this
is the new place for general recipes for Arm arch
and has a mailing list for external contributors.

python2 is now EOL. This patch updates to python3
but is a backport from v3.8.0 release.

Change-Id: Ib778b8dd9c605e1fbb69627f5e640c1683c3176b
Tested-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
2020-02-04 07:18:14 -05:00
Peter Griffin
72848d26e2 optee-examples.bb: add recipe for optee examples
This has moved from meta-linaro to meta-arm as this
is the new place for general recipes for Arm arch
and has a mailing list for external contributors.

Change-Id: I75de7398e9247c8a329f50292f912b7787ead372
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
2020-02-04 07:18:14 -05:00
Peter Griffin
94c5b5460d optee-os_git.bb: add optee-os recipe and patches
This has moved from meta-linaro to meta-arm as this
is the new place for general recipes for Arm arch
and has a mailing list for external contributors.

Change-Id: Id43f498e35350eb62a718e64011c8b2f8cd85fdd
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
2020-02-04 07:18:14 -05:00
Peter Griffin
0bce62510e optee-client.bb: add optee client recipe and patches
This has moved from meta-linaro to meta-arm as this
is the new place for general recipes for Arm arch
and has a mailing list for external contributors.

Change-Id: I5550620801d1d86217abb84f52fcd1e9a5873b08
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
2020-02-04 07:18:14 -05: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
Sumit Garg
c0a59f3d94 Import ARM GNU-A toolset recipes from meta-linaro
Add a new meta-arm-toolchain layer to hold ARM GNU-A toolset recipes
imported from meta-linaro tree, branch: master and commit ID:
504ca3b217c9602b10eda0ec8a9f1055b59e482f.

Change-Id: I5a2907874da2869ab94d7d48e0cf4a1bfe241041
Tested-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
2020-01-27 16:44:36 -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
Jon Mason
6ee3651287 Fix bitbake license warnings
The following warnings are seen when building fvp-base
WARNING: fvp-base-native-r11p7-30rel0-r0 do_populate_lic: fvp-base-native: No generic license file exists for: GPL in any provider
WARNING: fvp-base-native-r11p7-30rel0-r0 do_populate_lic: fvp-base-native: No generic license file exists for: Apache in any provider
Correct the license names to the expected strings resolves the issue

Change-Id: Ia4962736840de8b4a02d0c9d59b7c14c9999997c
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-01-07 20:31:13 -05:00
Jon Mason
bd8bc290fd Remove meta-arm-integration
Remove meta-arm-integration, as it is not currently being used.  Also,
remove the reference in the README.md.  These can be added bach when
they are in use again.

Change-Id: If8535d6d9a0a307a42b24e8f42e0eb7847e047c4
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-01-07 20:07:52 -05:00
Jon Mason
a3a41fc092 Move TF-A recipes to meta-arm directory
The TF-A recipes should only be in meta-arm-integration after we have
submitted them for inclusion in Yocto git tree.  Move them to the proper
location until this occurs.

Change-Id: Ia2fa5c5a377392aa45b801bd1f2ae4ca0f056c34
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-01-07 20:04:59 -05: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
d8dd9ad0ad TF-A: Download mbedTLS if needed, set build dir
Fix TF-A recipe to only download mbedTLS when it is activated.
Allow user to modify TFA_BUILD_DIR and set BUILD_PLAT accordingly in
make arguments to properly set the build directory.

Change-Id: Ib53b245d4d3b2d62e41f0ef238ad03dc45bab056
Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
2019-12-09 14:08:28 +00:00
Jon Mason
6a7919518f Add layer.conf to all the sub-meta-layers
Also, removed empty README.md files (which were place holders for the
directories).

Change-Id: I1c1db95158f257015b5eb9f4a6f05219df489b4a
Signed-off-by: Jon Mason <jon.mason@arm.com>
2019-12-05 15:35:53 -05:00
Jon Mason
893d3305c0 README.md clean-up
Add a little more description for what belongs in meta-arm/meta-arm (per
feedback from Richard Purdie), and modify the max width to be 80
characters to improve readability.

Change-Id: I8f7b0598e3336132c2594c92cf3400dd5e216baf
Signed-off-by: Jon Mason <jon.mason@arm.com>
2019-12-05 15:35:53 -05: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
Vineeth Raveendran
ce6fa2ec19 Move to Zeus release of Yocto
Change-Id: Ic05d950971a5b161df1fafdcf6d3c01d9b3d5fb7
Signed-off-by: Vineeth Raveendran <vineeth.raveendran@arm.com>
2019-12-05 20:32:58 +00:00
Bertrand Marquis
0a5ba9885d Add a Trusted Firmware A recipe
Add a generic Trusted Firmware A recipe using TF-A version 2.1

Change-Id: I873509970bd44c6cfdaa0456516197a4eebf6ebd
Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
2019-11-15 11:19:35 -05:00
Bertrand Marquis
204d8e4a9d Create the meta-arm-integration layer
Add basic layer configuration file

Change-Id: I11b63d0bc74a33272feffeb73e6b0c6d717a259a
Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
2019-11-15 11:19:35 -05:00
Filipe Rinaldi
793a8834f9 readme: Keep layers in alphabetical order
Signed-off-by: Filipe Rinaldi <filipe.rinaldi@arm.com>
2019-11-15 11:19:35 -05:00
Jon Mason
62028f103e Create skeleton for meta-arm layer
Add README and License Files in the root directory describing the layers
and process for interacting with the meta-arm layer.  Create the
directories for future layers (and add empty README files to force the
directories to be created by git).

Change-Id: I4d70759bf90b1c964e6d9040d145737b2f441205
Signed-off-by: Jon Mason <jon.mason@arm.com>
2019-11-15 11:19:35 -05:00