DIR-2660, DIR-1935?, DIR-882?, ... how to safely install OpenWrt?

you could try the inframs image to ram using option 1

FYI another thread same topic