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