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: fastix@bulin:

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 going to need to figure o

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 eit

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 >