Hi all!, I'm trying to emulate a firmware from a DLink IP camera using qemu-system-arm but I'm facing some troubles.
I'm using the following command line: fastix@bulin:~/QEMU/armel$ sudo qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.32-5-versatile -initrd /home/fastix/dcs-942l/binary_blob.bin.swap_unpacked/initramfs.cpio -hda debian_squeeze_armel_standard.qcow2 -serial stdio -append "root=/dev/sda1 console=ttyAMA0 console=ttyS0 init=/bin/ash" -net nic -net tap Even though I get some errors related to devices that are not present, the firmware seems to boot OK but at the end, I got the following error: starting pid 11724, tty '': '/bin/sh < /dev/ttyS0 2>&1 > /dev/ttyS0' /bin/sh: can't open /dev/ttyS0: no such file[: bad number process '/bin/sh < /dev/ttyS0 2>&1 > /dev/ttyS0' (pid 11724) exited. Scheduling for restart. starting pid 11744, tty '': '/bin/sh < /dev/ttyS0 2>&1 > /dev/ttyS0' /bin/sh: can't open /dev/ttyS0: no such file process '/bin/sh < /dev/ttyS0 2>&1 > /dev/ttyS0' (pid 11744) exited. Scheduling for restart. starting pid 11761, tty '': '/bin/sh < /dev/ttyS0 2>&1 > /dev/ttyS0' /bin/sh: can't open /dev/ttyS0: no such file process '/bin/sh < /dev/ttyS0 2>&1 > /dev/ttyS0' (pid 11761) exited. Scheduling for restart. starting pid 11780, tty '': '/bin/sh < /dev/ttyS0 2>&1 > /dev/ttyS0' /bin/sh: can't open /dev/ttyS0: no such file process '/bin/sh < /dev/ttyS0 2>&1 > /dev/ttyS0' (pid 11780) exited. Scheduling for restart. starting pid 11797, tty '': '/bin/sh < /dev/ttyS0 2>&1 > /dev/ttyS0' /bin/sh: can't open /dev/ttyS0: no such file Is there any way to fix this?. Thanks in advance, Nahuel