Hello!
I am trying to run OpenWRT Malta build using QEMU with persistence, therefore I don't want to use tmpfs. I've compiled the newest QEMU from Git and also turned off MIPS16 while building OpenWRT for QEMU, yet I can't grasp how to start QEMU correctly. Using "openwrt-malta-le-vmlinux-initramfs.elf" everything works, except for persistence.
Using "openwrt-malta-le-vmlinux.elf" it kernel panics.

[ 0.440000] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6 [ 0.440000] Please append a correct "root=" boot option; here are the available partitions:
    [    0.440000] 1f00            1024 mtdblock0  (driver?)
    [    0.440000] 1f01            2944 mtdblock1  (driver?)
    [    0.440000] 1f02             128 mtdblock2  (driver?)
[ 0.440000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

I tried using AA Malta images and it boots successfully with the same QEMU command.

qemu-system-mipsel -M malta -kernel openwrt-malta-le-vmlinux.elf -nographic -m 256

What should I do to set up persistence?

Sorry for newbie-ish questions and ESL. I will be thankful for all your responses.

Best Regards,
Alberts Saulitis
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to