mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-01-11 15:00:39 +00:00
Enable the Corstone‑1000 Cortex‑A320 variant by: - Introduce `machine/include/corstone1000-a320.inc` to configure the default Ethos‑U MAC count when `cortexa320` is in MACHINE_FEATURES, and allow override via `ETHOSU_NUM_MACS`. - Add a KAS profile at `kas/corstone1000-a320.yml` for Cortex‑A320 FVP-based builds. - Extend corstone1000.inc to detect MACHINE_FEATURES (cortexa320) and pull in the matching tune-<core>.inc (default still Cortex-A35). - Add the `meta-ethos` layer as a dependency of `meta-arm-bsp` for Cortex‑A320 builds and define a new KMachine override to pull in the Ethos‑U driver recipe. - In `conf/machine/corstone1000-fvp.conf`, inspect `MACHINE_FEATURES` and set `FVP_EXE` to `FVP_Corstone-1000_with_Cortex-A320` when `cortexa320` is enabled, otherwise fall back to `FVP_Corstone-1000`. - In `recipes-devtools/fvp/fvp-corstone1000.bb`, add a `SRC_URI:cortexa320` entry (with checksums) for the Cortex‑A320 FVP build archive. - Disable the rootfs CPIO file compression so it is not compressed twice when bundled with the kernel Signed-off-by: Michael Safwat <michael.safwat@arm.com> Signed-off-by: Frazer Carsley <frazer.carsley@arm.com> Signed-off-by: Hugues KAMBA MPIANA <hugues.kambampiana@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
# We have a conf and classes directory, add to BBPATH
|
|
BBPATH .= ":${LAYERDIR}"
|
|
|
|
# We have recipes-* directories, add to BBFILES
|
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
|
${LAYERDIR}/recipes-*/*/*.bbappend"
|
|
|
|
BBFILE_COLLECTIONS += "meta-arm-bsp"
|
|
BBFILE_PATTERN_meta-arm-bsp = "^${LAYERDIR}/"
|
|
BBFILE_PRIORITY_meta-arm-bsp = "5"
|
|
|
|
LAYERSERIES_COMPAT_meta-arm-bsp = "walnascar whinlatter"
|
|
|
|
LAYERDEPENDS_meta-arm-bsp = "core meta-arm"
|
|
# This won't be used by layerindex-fetch, but works everywhere else
|
|
LAYERDEPENDS_meta-arm-bsp:append:corstone1000 = " meta-python openembedded-layer efi-secure-boot"
|
|
LAYERDEPENDS_meta-arm-bsp:append:corstone1000:cortexa320 = " meta-ethos"
|
|
LAYERDEPENDS_meta-arm-bsp:append:musca-b1 = " meta-python"
|
|
LAYERDEPENDS_meta-arm-bsp:append:musca-s1 = " meta-python"
|
|
|
|
# Additional license directories.
|
|
LICENSE_PATH += "${LAYERDIR}/custom-licenses"
|
|
|
|
BBFILES_DYNAMIC += " \
|
|
meta-arm-systemready:${LAYERDIR}/dynamic-layers/meta-arm-systemready/*/*/*.bb \
|
|
meta-arm-systemready:${LAYERDIR}/dynamic-layers/meta-arm-systemready/*/*/*.bbappend \
|
|
"
|
|
|
|
WARN_QA:append:layer-meta-arm-bsp = " patch-status"
|
|
|
|
addpylib ${LAYERDIR}/lib oeqa
|
|
|
|
IMAGE_ROOTFS_EXTRA_ARGS ?= ""
|