I am using the attached openwrt version in this directory from the Heltec Website
But the files doesn’t specify any RPI connection from HT-HC01P for the overlay used by Heltec
I extracted the flashable file and tried reading the DTBO file but its garbled
Already reached out to Heltec but still have not received any reply
Hi @lenka
The dtb file is binary, so you will need to use dtc to decompile it. See attached decompiled mm610x-spi.dts
/dts-v1/;
/ {
compatible = "brcm,bcm2835\0brcm,bcm2836\0brcm,bcm2708\0brcm,bcm2709\0brcm,bcm2711";
fragment@0 {
target = <0xffffffff>;
__overlay__ {
pinctrl-0 = <0x01 0x02>;
cs-gpios = <0xffffffff 0x08 0x01>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "okay";
phandle = <0x03>;
mm6108@0 {
compatible = "morse,mm610x-spi";
reg = <0x00>;
reset-gpios = <0xffffffff 0x05 0x00>;
power-gpios = <0xffffffff 0x03 0x00 0xffffffff 0x07 0x00>;
spi-irq-gpios = <0xffffffff 0x19 0x00>;
spi-max-frequency = <0x2faf080>;
status = "okay";
phandle = <0x04>;
};
spidev@0 {
reg = <0x00>;
status = "disabled";
phandle = <0x05>;
};
spidev@1 {
reg = <0x01>;
status = "disabled";
phandle = <0x06>;
};
};
};
fragment@1 {
target = <0xffffffff>;
__overlay__ {
spi0_cs_pins {
brcm,pins = <0x08>;
brcm,function = <0x01>;
brcm,pull = <0x02>;
phandle = <0x02>;
};
spi0_pins {
brcm,pull = <0x02 0x02 0x02>;
phandle = <0x01>;
};
};
};
__symbols__ {
frag0 = "/fragment@0/__overlay__";
mm6108 = "/fragment@0/__overlay__/mm6108@0";
spidev0 = "/fragment@0/__overlay__/spidev@0";
spidev1 = "/fragment@0/__overlay__/spidev@1";
spi0_cs_pins = "/fragment@1/__overlay__/spi0_cs_pins";
spi0_pins = "/fragment@1/__overlay__/spi0_pins";
};
__fixups__ {
spi0 = "/fragment@0:target:0";
gpio = "/fragment@0/__overlay__:cs-gpios:0\0/fragment@0/__overlay__/mm6108@0:reset-gpios:0\0/fragment@0/__overlay__/mm6108@0:power-gpios:0\0/fragment@0/__overlay__/mm6108@0:power-gpios:12\0/fragment@0/__overlay__/mm6108@0:spi-irq-gpios:0\0/fragment@1:target:0";
};
__local_fixups__ {
fragment@0 {
__overlay__ {
pinctrl-0 = <0x00 0x04>;
};
};
};
};
Note that this is the same pinout used for the Raspberry Pi hat used in our EKH01 evaluation kit, with resistors populated for SPI. Schematics available here
I am trying get HT-HC01P +debug EVB working with RPi4. Table below shows connections between EVB pins and RPi GPIOs
I tried openwrt-23.05.5-2.8.5-20251107-rpi4-HT-HC01P-sysupgrade.img and openwrt-morse-2.8.5-morsemicro-mm6108-ekh01-squashfs-sysupgrade.img
I also tried RPi+WM1302+WM6108 configuration but with the same result - system doesn’t see the Halow board. It gives me this error message => “Error: No HaLow radio found”
It looks like I am missing something very basic here. Can you please, guide me how to get it working?
