Mounting MTD with qemu-system-mipsel

I’ve been trying to get a firmware to run with firmadyne. Which basically just call qemu-system:

    qemu-system-mipsel -M malta -m 256 -kernel <kernimg> \     -drive if=ide,format=raw,file=<rootimg> \     -append "root=/dev/sda1 console=ttyS0 nandsim.parts=64,64,64,64,64,64,64,64,64,64 rdinit=/firmadyne/preInit.sh rw debug ignore_loglevel print-fatal-signals=1 user_debug=31 firmadyne.syscall=0"\     -nographic \     -netdev socket,id=net0,listen=:2000 -device e1000,netdev=net0 \     -netdev socket,id=net1,listen=:2001 -device e1000,netdev=net1 \     -netdev socket,id=net2,listen=:2002 -device e1000,netdev=net2 \     -netdev socket,id=net3,listen=:2003 -device e1000,netdev=net3 

However this particular firmware I’am working on read nor flash data from /proc/mtd* and /dev/mtd*.

Adding -drive if=mtd,format=raw,file=<rawimg> or -mtdblock <rawimg>, with or without partition in bootargs returns machine type does not support if=mtd,bus=0,unit=0. I also tried suggestions here , same result.

How can I properly emulate flash with qemu?