Dear @AnnuB1z ,
You're close — since U-Boot shell is accessible and you’ve backed up the NOR contents along with system images (boot.img, kernel.img, ramdisk.img), you can restore your system using U-Boot commands.
Recommended Recovery Steps (Over USB or TFTP)
Set up U-Boot for USB or TFTP Transfer:
For USB Mass Storage (e.g., USB stick):
Format USB to FAT32.
Copy boot.img, kernel.img, ramdisk.img to root.
In U-Boot:
usb start fatls usb 0 fatload usb 0:1 ${loadaddr} boot.img
Flash back to NOR (example; adjust address/partitioning based on your board):
sf probe sf erase 0x0 +${filesize} sf write ${loadaddr} 0x0 ${filesize}
For TFTP:
Verify NOR Flash Layout: If your original backup includes mtd0-mtd2 binaries, you can flash them back directly:
sf probe load <img> to ${loadaddr} sf erase 0x0 +<size> sf write ${loadaddr} 0x0 <size>
Reset Boot Environment: After flash, reset environment:
env default -a saveenv reset
Let me know which method you're using (USB or TFTP), and I can help with exact commands or offsets. You’re nearly there — just need to push those images in cleanly.
Best Regards,
Ashutosh Nama.