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

2017-11-02 Thread poxyran
It doesn't have anything in /dev, no static files are located in that folder. I guess they are created in runtime. This device uses mdev instead of udev, which seems to be the light-weight alternative to udev for embedded devices. mdev reads the mdev.conf located at /etc/mdev.conf:

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

2017-11-02 Thread Peter Maydell
On 2 November 2017 at 13:44, poxyran wrote: > I mean, the right question would be "how can I add the /dev/ttysomthing > or /dev/ttyAMA0 to the QEMU guest image?" If it has devices in /dev/ as static things in the filesystem, the answer is mknod. If it doesn't then you're

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

2017-11-02 Thread poxyran
I mean, the right question would be "how can I add the /dev/ttysomthing or /dev/ttyAMA0 to the QEMU guest image?" On 11/1/2017 8:46 PM, Peter Maydell wrote: > (You need to have (a) a /dev/ttysomething with the right > major/minor for the versatilepb ttyAMA0 and (b) inittab be > using that, so

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

2017-11-02 Thread poxyran
On 11/1/2017 8:46 PM, Peter Maydell wrote: > (1) since you're using "init=/bin/ash" then nothing will > read /etc/inittab, so it shouldn't make a difference OK. Removing the the "init=/bin/ash"it will not make any difference either, right?. > > (2) if you do want to run the guest init, then try >

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

2017-11-01 Thread Peter Maydell
On 1 November 2017 at 18:31, poxyran wrote: > > > On 11/1/2017 1:07 PM, Peter Maydell wrote: >> On 1 November 2017 at 13:34, poxyran wrote: >>> Hi all!, >>> >>> I'm trying to emulate a firmware from a DLink IP camera using >>> qemu-system-arm but I'm

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

2017-11-01 Thread poxyran
On 11/1/2017 1:07 PM, Peter Maydell wrote: > On 1 November 2017 at 13:34, poxyran wrote: >> 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: >> >>

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

2017-11-01 Thread poxyran
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