This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Building for Morello CHERI with Yocto

Hi everybody,

We're working on a DSbD project to provide build support within the Yocto ecosystem,

We've been getting up the curve with the codebase and we see that whilst the current code in GitLab uses build scripts a year or two ago it was making use of some Yocto builds.

Ruben over at the Slack channel referred us to ask here. Could somebody have a chat with me about what was supported with the Yocto build and what the challenges were that lead to the removal of Yocto bitbake support in favour of the build scripts?

Thanks!

Alex Lennon

Director

Dynamic Devices Ltd

Parents
  • Hi Alex,

    We have talked a little offline but I'll try to summarise a few aspects here. As Deepak mentioned, 1.1 is an old release and therefore isn't recommended as a base for new developments. However your case is obviously a special one as you would like to experiment with Yocto, and Yocto isn't used from 1.2 onwards. It is therefore sensible for you to explore the 1.1 Yocto setup, however keep in mind that it is a frozen / unmaintained setup. You will likely want to create your own setup when attempting to port Poky in a systematic way.

    Everything about Poky in 1.1 is vanilla, there isn't any purecap enablement there. However as Deepak pointed out, you should be able to build (static) example applications using morello-aarch64, which you can run in any Linux filesystem, including Poky.

    Most importantly, this forum is not ideal to discuss forward-looking topics such as strategies to port a distro. To that effect, we have just created a new mailing list: https://op-lists.linaro.org/mailman3/lists/linux-morello-distros.op-lists.linaro.org/ Make sure to subscribe to this list and feel free to start a new conversation there. Both kernel and distro experts (including Yocto) are on this list and will try to help you. Note that someone has already inaugurated the list with a Yocto-related question, see the archive: https://op-lists.linaro.org/archives/list/linux-morello-distros@op-lists.linaro.org/

    Hope that helps,

    Kevin

Reply
  • Hi Alex,

    We have talked a little offline but I'll try to summarise a few aspects here. As Deepak mentioned, 1.1 is an old release and therefore isn't recommended as a base for new developments. However your case is obviously a special one as you would like to experiment with Yocto, and Yocto isn't used from 1.2 onwards. It is therefore sensible for you to explore the 1.1 Yocto setup, however keep in mind that it is a frozen / unmaintained setup. You will likely want to create your own setup when attempting to port Poky in a systematic way.

    Everything about Poky in 1.1 is vanilla, there isn't any purecap enablement there. However as Deepak pointed out, you should be able to build (static) example applications using morello-aarch64, which you can run in any Linux filesystem, including Poky.

    Most importantly, this forum is not ideal to discuss forward-looking topics such as strategies to port a distro. To that effect, we have just created a new mailing list: https://op-lists.linaro.org/mailman3/lists/linux-morello-distros.op-lists.linaro.org/ Make sure to subscribe to this list and feel free to start a new conversation there. Both kernel and distro experts (including Yocto) are on this list and will try to help you. Note that someone has already inaugurated the list with a Yocto-related question, see the archive: https://op-lists.linaro.org/archives/list/linux-morello-distros@op-lists.linaro.org/

    Hope that helps,

    Kevin

Children