Latest firmware as posted September 4 2018
-
So I got the email from Onion about the latest firmware with PWM support on GPIO 18/19. I went to upgrade and now it is all broken.
Ran the upgrade from command as described at https://onion.io/2bt-hardware-pwm-omega2/ After the reboot it went back to it's own AP network and did not reconnected to the previous configured WiFi. The root password was still the old one.
So I tried to run the setup wizard again to switch it back to the configured WiFi .. nope. Tried factory reset and go through the setup and it just hangs on configuring the WiFi or even if I get past that one, it never seems to switch back to the configured WiFi.
The whole setup procedure really needs more feedback or progression display.
-
Well, I have some related sadness: I just spent several days of free time getting a utility to control the PWM hardware to work well, and getting it packaged in the Openwrt build system.
Don't get me wrong - this integration with the kernel build system is a better solution than userspace programs that randomly poke memory, but it is a bummer to have a few hours of work totally invalidated.
-
@luz also did PWM work some time ago at https://github.com/plan44/plan44-feed/tree/master/p44-ledchain to get a WS2812 LED chain running.
-
@Maximilian-Gerhardt When I was looking at the datasheet, I was wondering if the PWM hardware would by capable of running addressable LEDs, as the hardware is capable of much more than just a square wave. It's really awesome that you got it working!
Did you tackle trying to make it into an OpenWRT package?
-
Luz did the work, not me.
But yeah, in the repo above above he has a normal Makefile for his kernel module. The build process should also produce an ipkg out of it, based from the actually important
.ko
file. You can try following his README file to test it.
-
@Ulf-Zimmermann Which firmware were you previously on? If you were on b160 or lower, then the wifi driver was updated, removing all of your previous configuration.
I agree, the setup process does need some work. In the meantime, have you tried setting up your Omega from the command line?
-
@Lazar-Demin It was on the most recent firmware as per the firmware update via GUI. I then ran from the CLI the firmware upgrade to get to this version supporting native PWM.
When I run wifisetup from the CLI, it saves the config to /etc/config/wireless, restarts the wifi manager but it doesn't update /etc/config/network
-
@Ulf-Zimmermann said in Latest firmware as posted September 4 2018:
@Lazar-Demin It was on the most recent firmware as per the firmware update via GUI. I then ran from the CLI the firmware upgrade to get to this version supporting native PWM.
When I run wifisetup from the CLI, it saves the config to /etc/config/wireless, restarts the wifi manager but it doesn't update /etc/config/network
But it seems it does actual work, after a manual reboot it did connect to the configured wifi.
-
@Ulf-Zimmermann glad to hear that it works now.
Thewifisetup
command shouldn't make any changes to/etc/config/network
, what changes were you expecting it to make?