Nice. I had to really strip the kernel down for my last 5.10 build. Now I can add back all those debug strings etc.
Just wondering about some of the advice I've seen further up this thread and in the PR. Is there any reason to recommend an upgrade procedure different from
sysupgrade -F openwrt-factory.img
?
I see no reason to go via stock firmware or explicitly dropping the OpenWrt configuration. That's just extra hassle. The only change here is the partition border between kernel and roots, and that's dealt with by using the factory image (which is a simple concat of kernel+rootfs where the kernel has been padded to the max size). This is distinctly different from the DSA change, which was all about config breakage.
The advantage keeping the existing config should be obvious: The router boots up with every setting in place as usual, and there is no need for further steps to restore configuration from console or temporary default network settings. It's basically "sysupgrade as usual, using factory image instead of the normal one"
For those, like me, who wonder how this could possible work when the rootfs is wiped : These routers store their config backups in the separate ubi partiition "syscfg" when doing sysupgrades. This partition is never moved or rewritten. That's the whole point of it AFAICS. This is the original stock design, and OpenWrt has taken advantage of it from the initial sysupgrade support in 2014.