Raspberry Pi 5 HT-HC01 Heltec 802.11ah Integration

Raspberry Pi 5 HT-HC01 Heltec 802.11ah Integration

I am trying to functionally integrate the HT-HC01 802.11ah module in a Raspberry Pi 5 with a seamingly a MM6108 SoC.
Firstly I followed the instructions in Introduction — ht-h7608 latest documentation but there are only valid for a RPi 4.
The Heltec support redirected me to the drivers in https://github.com/MorseMicro/morse_driver

Then I followed the uncomplete instructions in the README.md file of the morse_driver repo as follows but after several tests and tries I was unable to setup the module:

sudo apt update -y && sudo apt upgrade -y
sudo apt install -y git bc bison flex libssl-dev make libncurses-dev raspberrypi-kernel-headers gcc-aarch64-linux-gnu

git clone --recurse-submodules https://github.com/MorseMicro/morse_driver.git
cd morse_driver

sudo make all MORSE_TRACE_PATH=`pwd` ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- KERNEL_SRC=/lib/modules/$(uname -r)/build CONFIG_WLAN_VENDOR_MORSE=m CONFIG_MORSE_SDIO=y CONDIG_MORSE_USER_ACCESS=y CONFIG_MORSE_VENDOR_COMMAND=y

sudo make modules_install MORSE_TRACE_PATH=`pwd` ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- KERNEL_SRC=/lib/modules/$(uname -r)/build CONFIG_WLAN_VENDOR_MORSE=m CONFIG_MORSE_SDIO=y CONDIG_MORSE_USER_ACCESS=y CONFIG_MORSE_VENDOR_COMMAND=y

In /boot/firmware/config.txt i enabled the sdio bus:

dtoverlay=sdio,poll_once=off,bus_width=4

Also the kernel modules were in /etc/modules enabled:

morse
dot11ah

Error info:
(I am booting the RPi 5 from a USB memory with 5V 5A power supply)

username@raspberrypi5:~ $ uname -r
6.6.78-v8-16k+
username@raspberrypi5:~ $ dmesg | grep morse
[    5.433068] morse micro driver registration. Version 0-rel_1_14_1_2024_Dec_05
[    5.437076] morse_sdio mmc2:0001:1: sdio new func 1 vendor 0x325b device 0x306 block 0x8/0x8
[    5.437303] morse_sdio mmc2:0001:2: sdio new func 2 vendor 0x325b device 0x306 block 0x200/0x200
[    5.437451] morse_sdio mmc2:0001:2: morse_of_probe: Device node not found
[    5.445075] morse_sdio mmc2:0001:2: morse_of_probe: No pin configs found
[    5.445100] morse_sdio_probe failed. The driver has not been loaded!

It looks like you have some issue with your device tree. Did you add an overlay? Is so, what is it? For the RPI4 on OpenWrt, this looks something like:

(note that you’ll need to add that fragment to the overlays Makefile - e.g. morse-feed/examples/bcm27xx/target/linux/bcm27xx/patches-5.15/991-dt-overlays-build-morse-overlays.patch at mm/openwrt-23.05 · MorseMicro/morse-feed · GitHub - then add a line like dtoverlay=mm_wlan to your /boot/config.txt)

Someone else brought up the rpi5 here, so you may want to look at their overlays (and packages, for that matter): HaLow Integration on Raspberry Pi 5