Raspberry pi zero 2 W with seed studio hallow module (setting it to AP mode)

Hi. I’m trying to integrate my fgh100m seed studio wifi halow module (mm1608-mf16858_us) with Raspberry pi zero 2 w to get it into AP mode. Now I’ve been trying to create the kernel compilations, drivers etc from scratch by taking the openwrt image from this tutorial as reference(its for pi 4). Can anyone give me pointers what exactly do i need to change to get this image to work with my pi zero 2 w? tutorial link: https://wiki.seeedstudio.com/getting_started_with_wifi_halow_module_for_xiao/
I have tried multiple things which, but to no success. Its my first time using a OpenWrt and Working with a Wi-Fi halow module so kindly help. Thankyou in advance.
ive also found a usefull thread here

but ive tried following steps i just cant get the versions to match. The issue was that my raspberry’s USB port wouldnt work on a 64 bit Os so i had to get a 32 bit OS.

The seeed board uses SPI instead of SDIO. I have Morse Micro working on a 3B+, with SDIO. But, for SPI we need to rename the MM_RESET pin, and I haven’t had any luck modifying the overlay yet.

https://openmanet.net/ is my project, you may want to look at my release for a RPI4, thats the easiest path at the moment. My OpenWRT build is newer than the one from Seeed, and uses a better BCF than what they release.

Hi @Ather

From what I can see, the Raspberry Pi Zero 2W was only formally introduced to OpenWrt in the 24.x versions. The Morse Micro OpenWrt fork is currently still based on OpenWrt 23.05.

This won’t be a complete blocker to adding support, but will come with some caveats we can help you work around :slightly_smiling_face:. Looking at the commit history, I suspect adding Raspberry Pi Zero 2W support will be a simple matter of definitions - see this commit: bcm27xx: add support for RPI A, A+, 3A+, Zero2 and Zero2W · openwrt/openwrt@8208231 · GitHub

Ultimately, you’ll need to create some device tree overlay files to correct map the pins for the RPi Zero 2W to the Seeed XIAO hat, and make sure this is configured in your boot config for the Raspberry Pi.

Before doing that though, have you been able to successfully build an OpenWrt image for the RPi Zero 2W yet without HaLow? If not, I’d definitely suggest starting there.

Rough overview of the steps I would do would be

  1. Clone the Morse Micro OpenWrt repository ( or the Seeed Studio one)
  2. Apply the patch above so there is a Raspberry Pi Zero 2W target.
  3. Set up the build tree as per Testing to determine if you are a bot!
  4. Select your board in menuconfig
  5. Continue with build usage guide.

If you can successfully build an RPi Zero 2W image which boots using the Morse Micro tree, you’ll be 95% of the way to adding HaLow support :slight_smile: . At this point we’d be more than happy to help you to construct a sensible device tree overlay file for your combination of boards, and other HaLow specific bits!