The MTD provides an abstraction layer to access the device’s flash memory.
https://felipe.astroza.cl/hacking-hi3815-based-ip-camera/

Persistence using mtd write:
https://www.trendmicro.com/en_us/research/22/c/cyclops-blink-sets-sights-on-asus-routers—.html