Same thing happened to me. What I did is explained below.
- Booted from Sdcard (provided you already have special uboot for armbian installed in spi, link -> https://github.com/huazi-yg/rock5b/releases/download/rock5b/rkspi_loader.img )
- Used Gparted to format Nvme storage to ext4 (made single partition).
- Downloaded the required image to sdcard from armbian.com (Tried debian and ubuntu , both worked).
- Then finally ran
sudo sudo xzcat ’ your compressed image path’ | dd of=’ your NVME SSD device path’ bs=1M status=progress.
#such as:
sudo xzcat rock-5b-debian-bullseye-xfce4-arm64-20220906-0626-gpt.img.xz | dd of=/dev/nvme0n1 bs=1M status=progress
4.Restart and Remove Sdcard.
Voila , it boots and works even after upgrading firmware and packages.