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
This series of patches forms the inital support for the Morello hardware in Yocto.
For limitations and instructions to build refer to the README.md
NB The kas scripts will pull meta-morello that is hosted @ TGP repo, not what these patches provide,
although these are almost equal.
To-do list:
- create clang-morello toolchain, follow the guide here http://www.openembedded.org/wiki/Adding_a_secondary_toolchain and move llvm-morello to its own layer
* can try append meta-clang instead
* can try to use precomipled external toolchain like here https://github.com/MentorEmbedded/meta-sourcery/ 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 (related to the above toolchain problem)
- decide what combinations of musl/glibc env the user might want and stick that in grub cfg
Fixes in V3:
- packaging is enabled, purecap apps can be added to the rootfs image in the usual way (tested on glibc machine)
- added musl system loader to the glibc rootfs with symlink from the top level nonarchlib, this sort of makes pure musl machine redundant
- fixed tfa bug with missing path to openssl, it will now build in Jenkins
- fixed description bugs and outdated commit messages
Pawel Zalewski (15):
Add LLVM Morello compiler support
Add initial Morello machines and layer config
Add scp firmware
Add trusted-firmware-a
Add UEFI
Add grub
Add board firmware image
Add Morello Linux kernel
Add musl libc
Add busybox
Add simple purecap application
Add gen-init-cpio
Add Linux image
Add kas scripts
Add README.md
--
2.34.1
This series of patches forms the inital support for the Morello hardware in Yocto.
For limitations and instructions to build refer to the README.md
NB The kas scripts will pull meta-morello that is hosted @ TGP repo, not what these patches provide,
although these are almost equal.
To-do list:
- create clang-morello toolchain, follow the guide here http://www.openembedded.org/wiki/Adding_a_secondary_toolchain and move llvm-morello to its own layer
* can try append meta-clang instead
* can try to use precomipled external toolchain like here https://github.com/MentorEmbedded/meta-sourcery/ 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 (related to the above toolchain problem)
- sort out the packaging for llvm-morello-compiled packages (related to the above toolchain problem)
Fixes in V2:
- fixed typos in descriptions/summaries
- removed old wrapper library around intrinsic cheri API for manipulating the capabilities
- removed old elf patcher which is no longer required
- patched busybox and purecap app makefiles accordingly to the above
- changed the path to the system loader, correct LDSO is arch64_purecap
- discrimination of the pure capp app by the machine: glibc will be statically linked, musl can use the musl loader
- added UUID to the rootfs so grub and initramfs will always boot from the correct rootfs
- fixed a bug with wrong clang CPP command
- fixed a bug in the kernel recipe where the ARCH variable was not set
- added multiconfig so that linux iamge depends on the board-firmware image explicitly
- modified kas scripts accordingly to the above
- fixed a bug with ATF tools being compiled with LLVM
Pawel Zalewski (15):
Add LLVM Morello compiler support
Add initial Morello machines and layer config
Add scp firmware
Add trusted-firmware-a
Add UEFI
Add grub
Add board firmware image
Add Morello Linux kernel
Add musl libc
Add busybox
Add simple purecap application
Add gen-init-cpio
Add Linux image
Add kas scripts
Add README.md
--
2.34.1
This series of patches forms the inital support for the Morello hardware in Yocto.
For limitations and instructions to build refer to the README.md
NB The kas scripts will pull meta-morello that is hosted @ TGP repo, not what these patches provide,
although these are almost equal.
To-do list:
- create clang-morello toolchain, follow the guide here http://www.openembedded.org/wiki/Adding_a_secondary_toolchain and move llvm-morello to its own layer
* can try append meta-clang instead
* can try to use precomipled external toolchain like here https://github.com/MentorEmbedded/meta-sourcery/ 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 (related to the above toolchain problem)
- sort out the packaging for llvm-morello-compiled packages (related to the above toolchain problem)
Pawel Zalewski (17):
Add LLVM Morello compiler support
Add initial Morello machines and layer config
Add scp firmware
Add trusted-firmware-a
Add UEFI
Add grub
Add board firmware image
Add Morello Linux kernel
Add musl libc
Add busybox
Add libarchcap
Add elf patcher
Add simple purecap application
Add gen-init-cpio
Add Linux image
Add kas scripts
Add README.md
--
2.34.1