qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] qemu-system-arm error when emulatting firmware


From: poxyran
Subject: [Qemu-discuss] qemu-system-arm error when emulatting firmware
Date: Wed, 1 Nov 2017 10:34:05 -0300
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

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:

address@hidden:~/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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]