Nr7101 cannot do sysupgrade? i am stucked in System running in recovery (initramfs) mode

i tried via gui and then vie ssh sysupgrade -v ....
no logs no errors,
attached screens - need help :wink:

i think i found it, seems like package uboot-envtools was missing...
so manuall ipg installation (upload in gui)
then "fw_setenv" is avaliable in ssh:

root@OpenWrt:/tmp# fw_setenv DebugFlag 0x1
root@OpenWrt:/tmp# fw_setenv CheckBypass 0
root@OpenWrt:/tmp# sysupgrade -u -n openwrt-22.03.2-ramips-mt7621-zyxel_nr7101-squashfs-sysupgrade.bin

maybe a bug in "openwrt-22.03.2-ramips-mt7621-zyxel_nr7101-initramfs-recovery.bin" ?

1 Like

Yes, that's the problem. I just don't understand why. This was there in the commit adding this device:

DEVICE_PACKAGES := kmod-mt7603 kmod-usb3 uboot-envtools kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi

I thought it would be enough.

also QMI is missing - u cant activate the internet, without using LTE/5G

Doh! This is probably my lack of understanding how the buildbots operate. DEVICE_PACKAGES is not relevant for the initramfs when TARGET_PER_DEVICE_ROOTFS is set. I guess we need to add uboot-envtools to the shared MT7621 DEFAULT_PACKAGES instead, like it is done for several other targets.