Working off the kirkstone branch of
https://github.com/The-Good-Penguin/meta-morello, I did some cleanups
and was able to add gitlab CI support. You can see it in action at
https://gitlab.com/jonmason00/meta-morello/-/pipelines/773799653
Many other cleanups are needed, but I was only trying to get Gitlab CI
working.
I see there is a Arm ecosystem FVP for Morello at
https://developer.arm.com/downloads/-/arm-ecosystem-fvps
If FVP support is enabled, it is possible to run testimage as part of
CI. You can see that being done on meta-arm for corstone500,
corstone1000-fvp, fvp-base, fvp-base-arm32, and fvp-baser-aemv8r64.
Let me know if there are any questions.
Thanks,
Jon
Jon Mason (6):
conf/machine: Remove MORELLO_RELEASE_VERSION
musl-morello: Remove unused file
Change SRVTAG to SRVREV
kas: Changes necessary to compile the existing system images
board-firmware: Fix LICENSE warning
CI: add Gitlab CI support
.gitlab-ci.yml | 78 +++++++++++++++++++
ci/check-warnings | 19 +++++
ci/jobs-to-kas | 16 ++++
ci/logging.yml | 13 ++++
ci/update-repos | 40 ++++++++++
conf/machine/include/morello-1.5.inc | 1 -
conf/machine/include/morello-common.inc | 6 +-
conf/machine/morello-linux-glibc.conf | 1 -
conf/machine/morello-linux-musl.conf | 5 +-
kas/base.yml | 47 +++++------
.../board-firmware/board-firmware_1.4.bb | 6 +-
recipes-core/busybox/busybox-morello.inc | 4 +-
...-morello-1.5.bb => busybox-morello_1.5.bb} | 2 +-
recipes-core/musl/musl-morello-1.5.inc | 4 -
recipes-core/musl/musl-morello-common.inc | 12 +--
.../gen-init-cpio/gen-init-cpio-native.bb | 6 +-
recipes-kernel/linux/linux-morello.inc | 4 +-
...ux-morello-1.5.bb => linux-morello_1.5.bb} | 6 +-
.../images/morello-linux-image-musl.bb | 4 +-
19 files changed, 220 insertions(+), 54 deletions(-)
create mode 100644 .gitlab-ci.yml
create mode 100755 ci/check-warnings
create mode 100755 ci/jobs-to-kas
create mode 100644 ci/logging.yml
create mode 100755 ci/update-repos
delete mode 100644 conf/machine/include/morello-1.5.inc
rename recipes-core/busybox/{busybox-morello-1.5.bb => busybox-morello_1.5.bb} (79%)
delete mode 100644 recipes-core/musl/musl-morello-1.5.inc
rename recipes-kernel/linux/{linux-morello-1.5.bb => linux-morello_1.5.bb} (57%)
--
2.30.2
This series of patches forms the initial support for the Morello hardware in Yocto.
For limitations and instructions to build refer to the README.md
To-do list:
- create clang-morello toolchain, follow the guide here [1] and move llvm-morello to its own layer
* can try append meta-clang instead
* can try to use precompiled external toolchain like here [2] instead
* thus there are 3 paths to explore forward for the toolchain, Yocto expects target_prefixed toolchain binaries
- be considerate of incoming purecap GNU toolchain [3] (related to the above toolchain problem)
- decide what combinations of musl/glibc env the user might want and stick that in grub cfg,
the current division between glibc/musl machines is a ripple from the past
Changes in V4:
- removed AUTOREV from all recipes
- removed dual code when not necessary in the bbappends
- fixed submodule paths and copy paste bugs in the uefi bbappend
- added native fiptool recipe
- added gdb
- added llvm that can run on the target
[1] http://www.openembedded.org/wiki/Adding_a_secondary_toolchain
[2] https://github.com/MentorEmbedded/meta-sourcery/
[3] https://developer.arm.com/downloads/-/arm-gnu-toolchain-for-morello-downloa…
Pawel Zalewski (18):
Add LLVM Morello compiler support
Add initial Morello machines and layer config
Add scp firmware
Add trusted-firmware-a
Add UEFI
Add grub
Add fiptool
Add board firmware image
Add Morello Linux kernel
Add musl libc
Add busybox
Add simple purecap application
Add gen-init-cpio
Add llvm-morelllo for aarch64.
Add gdb
Add Linux image
Add kas scripts
Add README.md
--
2.34.1