oszilloskop / UBNT_ERX_Gluon_Factory-Image

Mit Hilfe dieses Projektes können UBNT EdgeRouter X, oder EdgeRouter X-SFP, sehr einfach über das Web-GUI der UBNT-Stockfirmware in einen Gluon-Router umgeflasht werden.
MIT License
25 stars 6 forks source link

kernel partition change makes new factory image useful (not required) #4

Open Djfe opened 2 months ago

Djfe commented 2 months ago

The edgerouter's kernel partition of 3MiB is getting to small for upcoming lts kernel 6.6. Depending on how the following OpenWrt issue is resolved, we will likely need new factory images for the web gui at some point to allow for direct installation of the next major Gluon release (based on OpenWrt 24): https://github.com/openwrt/openwrt/pull/15197

Without those we can still upgrade by sysupgrades but require an inbetween step of Gluon v2023.2 (OpenWrt 23.05). A new factory install image based on OpenWrt 23.05 could be useful (it needs to contain the required sysupgrade change so it can install the new image to both kernel partitions (merged))

OpenWrt 23.05 is likely the last release able to do this. I can't imagine the stock rom being able to install the initramfs image to both partitions.

Djfe commented 2 months ago

Update:

root@7483c2f78e46:~# sysupgrade -n /tmp/gluon-ffac-v2023.2.2-1-ubiquiti-edgerouter-x-sysupgrade.bin 
Device ubnt-erx not supported by this image
Supported devices: ubnt,edgerouter-x ubnt-erx ubiquiti,edgerouterx - Image version mismatch: image 1.1, device 1.0. Please wipe config during upgrade (force required) or reinstall. Reason: Config cannot be migrated from swconfig to DSA
Image check failed.

Even right now Gluon v2023.2 can't be installed from the offered web gui (config mode) because this installer image doesn't ignore minor compat increases, yet. (like Gluon does since Gluon v2022.1)

OpenWrt 23.05 increased minor compat release to 1.1 due to introduction of DSA which requires a network config reset (which Gluon does on every sysupgrade nowadays)