⭐️ Beta OpenWRT 22.03 firmware available! Your feedback is needed ⭐️
-
@Lazar-Demin I tried looking into this as it was pointed out a few times on the OpenWRT forums that since v19 external swap was disabled for many targets. However, it looks like the Omega targets did not have this flag. Since I now have the beta firmware built from source, I will see what I can find out and will open an issue with more details.
-
@jasoneer Check in make kernel_menuconfig the option is General Setup->Support for paging of anonymous memory
-
@crispyoz Yup, that's what I did. It was already enabled and the omega targets didn't have the
small_flash
feature that would have disabled it.However, I did figure out the issue. On the beta firmware, when using extroot (booting from external), you can't create a swapfile on
/
or under any subfolder. It has to be under/overlay
. The stable firmware allowed that and it would make sense that it did since/overlay
should be the same as/
. Anyway problem is fixed!
-
@jasoneer Glad you figured out the problem! Can you please still make a github issue so we can document your solution?
-
In case there's any interest, we've also managed to get OpenWrt 23.05 working for us - WiFi, GPIO (char mode), WireGuard, and more. We took some inspiration from the work here and figured a few things out ourselves. Here's our fork and the changes we've made: https://github.com/openwrt/openwrt/compare/openwrt-23.05...cuprous-au:openwrt:openwrt-23.05. We also publish the images we'll be using for our production environment there.
Please note that our image is not as feature-full as the Onion one, but it should illustrate how you can start from the OpenWrt stable branch, perhaps towards building something for production.
-
@huntc interesting. Thanks for posting.
-
This post is deleted!
-
@Lazar-Demin The repo has no firmware for the O2Pro.
-
@crispyoz Yep, there are no beta firmware images for the Omega2 Pro, LTE or Dash.
We added Omega2 LTE support through a package - see https://documentation.onioniot.com/hardware-interfaces/omega2-lte
The v0.3.4 Omega2 Pro firmware just automated the booting from external storage and swap file procedure. Let us know if that would be helpful as a package available for the new firmware by submitting a "feature request" issue on github
-
@Lazar-Demin I was just making a note, made my own changes to the firmware to facilitate my needs. But for new players it might be a challenge.
-
@Lazar-Demin customfeeds.conf contains the following:
src/gz onion_core http://downloads.onioniot.com/releases/23.05-snapshot/targets/ramips/mt76x8/packages
src/gz onion_base http://downloads.onioniot.com/releases/23.05-snapshot/packages/mipsel_24kc/base
src/gz onion_packages http://downloads.onioniot.com/releases/23.05-snapshot/packages/mipsel_24kc/packages
src/gz onion_routing http://downloads.onioniot.com/releases/23.05-snapshot/packages/mipsel_24kc/routing
src/gz onion_telephony http://downloads.onioniot.com/releases/23.05-snapshot/packages/mipsel_24kc/telephony
src/gz onion_openwrt_packages http://repo.onioniot.com/omega2/packages/openwrt-23.05-snapshot/onionThose repos don't exist. I can only see http://downloads.onioniot.com/releases/22.03.3/packages/mipsel_24kc/.....
-
@crispyoz which firmware has this in customfeeds.conf?
-
@Lazar-Demin It was in the 22 Beta I was playing with on that day. As I recall I had downloaded the firmware on the day before, so whatever revision was current on 17th May. I've moved on to 23.05 now so no longer have the 22 stuff to check. Next time I'll remember to include the version details. Sorry for the newbie omission.