Yocto port for the EKH01-03

Hey all,

I recently ported across some of the Morse repos to the Yocto build system, and I thought I’d share here. It’s not particularly polished yet, but it can get a Halow link up and running.

The repo is a layer that drops into the default Raspberry Pi Yocto build. It includes the Morse driver, command line interface, and hostapd_s1g to run as a station. I could connect to and ping an AP running the regular OpenWRT build.

I managed to get it working with Morse release 1.12.4 and Yocto release Kirkstone, running on a EKH01-03 development kit (which contains a Raspberry Pi 4B). The repo contains a recipe to patch the kernel and install device tree overlays specifically for the Pi, so it might take a bit of finessing to fully integrate it for another target.

You can find the link to the repo here: GitHub - LOflynn/meta-morse Detailed instructions for adding the layer are in the readme, but if you want to get started quickly then clone it into your sources directory, add the layer to bblayers.conf and to local.conf add:

KERNEL_DEVICETREE:append = " overlays/mm_wlan-overlay.dtbo overlays/morse-ps-overlay.dtbo"
IMAGE_INSTALL:append = " morse-cli morse-hostap morse-driver morse-bin"

Hope you can make some use of it!

Lew

5 Likes

Awesome, thanks for sharing Lew! :clap: