This series of patches provides initial support for the FVP in meta-morello. The images were successfully run using the FVP wrapper from meta-arm and behaviour of the pure-cap-app was as expected, this was confirmed via a telnet console.
The display, when using the python script, did not work for me and I was presented with:
Warning: Morello_Top: GPU model fails to read settings.ini! Default configuration options will be used. I have confirmed that this file actually exists and that this problem does not exist when I run FVP manually.
Based on this I have set: FVP_CONFIG[disable_visualisation] ?= "true"
Regardless, I do not really care about the display at this point, but it is acknowledged that further work will be possibly required in that area.
The testimage functionality was not tested.
Changes from V1: - changes to CI to reflect the new machine scheme - removed meta-arm-bsp layer as it is not actually being used and could cause build errors - grub cfg is driven by the machine
Pawel Zalewski (14): conf: replace machine configuration fvp: add ecosystem for Morello linux-image: correct the compatible machine classes: change the machine-driven appends fvp: add rom-binaries board-firmware: match the new machine configuration scp-firmware: match the new machine configuration tf-a: match the new machine configuration uefi: match the new machine configuration morello-image: match the new machine configuration grub: purecap c64 initramfs kas: match the new machine configuration ci: match the new machine configuration README.md : update
.gitlab-ci.yml | 12 ++- README.md | 39 ++++---- classes/llvm-morello-native.bbclass | 6 +- conf/bblayers.conf.sample | 3 +- conf/local.conf.sample | 3 +- conf/machine/include/morello-common.inc | 5 +- conf/machine/morello-bsp.conf | 9 -- conf/machine/morello-fvp.conf | 64 +++++++++++++ conf/machine/morello-linux-musl.conf | 17 ---- ...ello-linux-glibc.conf => morello-soc.conf} | 15 +-- conf/multiconfig/morello-firmware.conf | 1 - conf/multiconfig/morello-linux-glibc.conf | 1 - conf/multiconfig/morello-linux-musl.conf | 1 - kas/base.yml | 1 - kas/morello-fvp.yml | 29 ++++++ kas/morello-linux-glibc.yml | 8 -- kas/morello-linux-musl.yml | 8 -- kas/{morello-bsp.yml => morello-soc.yml} | 4 +- .../board-firmware/board-firmware-image.bb | 19 +++- .../board-firmware/board-firmware_1.4.bb | 4 +- .../board-firmware/board-morello-fvp.inc | 2 + .../board-firmware/board-morello-soc.inc | 1 + .../grub/morello-fvp/files/grub-config.cfg | 35 +++++++ .../{ => morello-soc}/files/grub-config.cfg | 20 ++-- recipes-bsp/rom-binaries/rom-binaries_1.5.bb | 37 +++++++ .../scp-firmware/scp-firmware-morello-fvp.inc | 1 + .../scp-firmware/scp-firmware-morello-soc.inc | 1 + .../scp-firmware/scp-firmware_2.10.%.bbappend | 8 +- .../tfa-firmware-morello-fvp.inc | 2 + .../tfa-firmware-morello-soc.inc | 2 + .../trusted-firmware-a_2.%.bbappend | 10 +- .../uefi/edk2-firmware-morello-fvp.inc | 2 + .../uefi/edk2-firmware-morello-soc.inc | 2 + recipes-bsp/uefi/edk2-firmware_%.bbappend | 8 +- recipes-core/busybox/busybox-morello.inc | 2 +- recipes-core/musl/musl_%.bbappend | 4 +- recipes-devtools/fvp/fvp-morello.bb | 10 ++ recipes-devtools/gdb/gdb_%.bbappend | 2 +- recipes-devtools/llvm/llvm-morello_13.0.bb | 2 +- recipes-kernel/linux/linux-morello.inc | 2 +- .../applications/pure-cap-app.bb | 2 +- .../files/init.sh | 15 --- .../files/initramfs.list.template | 0 .../images/morello-initramfs-musl.bb | 53 ---------- ...nitramfs-glibc.bb => morello-initramfs.bb} | 4 +- .../images/morello-linux-image-fvp.inc | 1 + .../images/morello-linux-image-musl.bb | 96 ------------------- .../images/morello-linux-image-soc.inc | 1 + ...-image-glibc.bb => morello-linux-image.bb} | 26 +++-- .../files/init.sh | 30 ++++-- .../files/initramfs.list.template | 2 - 51 files changed, 332 insertions(+), 300 deletions(-) delete mode 100644 conf/machine/morello-bsp.conf create mode 100644 conf/machine/morello-fvp.conf delete mode 100644 conf/machine/morello-linux-musl.conf rename conf/machine/{morello-linux-glibc.conf => morello-soc.conf} (53%) delete mode 100644 conf/multiconfig/morello-firmware.conf delete mode 100644 conf/multiconfig/morello-linux-glibc.conf delete mode 100644 conf/multiconfig/morello-linux-musl.conf create mode 100644 kas/morello-fvp.yml delete mode 100644 kas/morello-linux-glibc.yml delete mode 100644 kas/morello-linux-musl.yml rename kas/{morello-bsp.yml => morello-soc.yml} (55%) create mode 100644 recipes-bsp/board-firmware/board-morello-fvp.inc create mode 100644 recipes-bsp/board-firmware/board-morello-soc.inc create mode 100644 recipes-bsp/grub/morello-fvp/files/grub-config.cfg rename recipes-bsp/grub/{ => morello-soc}/files/grub-config.cfg (65%) create mode 100644 recipes-bsp/rom-binaries/rom-binaries_1.5.bb create mode 100644 recipes-bsp/scp-firmware/scp-firmware-morello-fvp.inc create mode 100644 recipes-bsp/scp-firmware/scp-firmware-morello-soc.inc create mode 100644 recipes-bsp/trusted-firmware-a/tfa-firmware-morello-fvp.inc create mode 100644 recipes-bsp/trusted-firmware-a/tfa-firmware-morello-soc.inc create mode 100644 recipes-bsp/uefi/edk2-firmware-morello-fvp.inc create mode 100644 recipes-bsp/uefi/edk2-firmware-morello-soc.inc create mode 100644 recipes-devtools/fvp/fvp-morello.bb rename recipes-morello/images/{morello-linux-glibc => morello-fvp}/files/init.sh (65%) rename recipes-morello/images/{morello-linux-glibc => morello-fvp}/files/initramfs.list.template (100%) delete mode 100644 recipes-morello/images/morello-initramfs-musl.bb rename recipes-morello/images/{morello-initramfs-glibc.bb => morello-initramfs.bb} (93%) create mode 100644 recipes-morello/images/morello-linux-image-fvp.inc delete mode 100644 recipes-morello/images/morello-linux-image-musl.bb create mode 100644 recipes-morello/images/morello-linux-image-soc.inc rename recipes-morello/images/{morello-linux-image-glibc.bb => morello-linux-image.bb} (80%) rename recipes-morello/images/{morello-linux-musl => morello-soc}/files/init.sh (65%) rename recipes-morello/images/{morello-linux-musl => morello-soc}/files/initramfs.list.template (93%)