Closed philpem closed 4 months ago
Update - I've just tried again with the EEPROM and the overlay. Loading the overlay or flashing the EEPROM kills the onboard WiFi on the Zero 2W.
I've also tested with a 32-bit build of the latest Pi OS - this worked fine. The issue with the device-tree overlay breaking WiFi is thus specific to the 64-bit version, running on Pi Zero 2W hardware.
The Pi 3B+ uses a similar WiFi chip, also on the SDIO interface, so may also be affected.
Solution for now is to use 32 bit PiOS until I can work out what is going on. It seems odd that the overlay breaks only 64 bit functionality; it may be that there is some pointer/address arithmetic or casting going wrong somewhere in the kernel module. I will keep this open and try to work out how to fix.
Resolved in v2.1-release.
I've followed the instructions in README-V2.1 on the v2.1-pre branch to upgrade the EEPROM on my Pi Econet HAT. After doing so, I found that the Econet bridge didn't work -- and on top of that, the WiFi on the Pi Zero 2 W I was using had stopped working too! (it wasn't even appearing in "ifconfig").
To get back up and running, I needed to add
force_eeprom_read=0
toconfig.txt
disable the HAT EEPROM and get the WiFi going, copy my EEPROM backup (which I'd thankfully taken) onto the Pi, and use the EEPROM programming tool to program it. After that, I removed the aforementioned line and enabled the device tree overlay.Before finding the original EEPROM backup and restoring it, I blanked the EEPROM to all zeroes and tried to use the overlay. This didn't work (WiFi loaded but the Econet card wasn't recognised and the module didn't load), but perhaps that's expected?
I don't mind reprogramming the EEPROM and meddling around with the Pi if needed to debug this.
Version of PiEconetBridge in use: commit 067f220ed32abbd3b814b2565b3611ed266a607c (HEAD -> v2.1-pre, origin/v2.1-pre)
Kernel and OS:
The OS image was the 64bit Pi OS Lite image downloaded earlier today with the Pi Imager tool, which I updated with "apt full-upgrade" per the README.