Hello,
I have my own virtual machine (already asked some questions about that
here).
I also have my own gmac model. I am building qemu (version 2.4.0.1) for
32 and 64 linux hosts.
The problem is with 64 bit binary. If I run as guest under qemu linux, I
could not even ping my machine.
In 32 bit version it works fine. And if I run in this 64 bit host u-boot
pingf from u-boot qorks fine.
From debugging it seems that under linux (32 bit arm) started on 64
linux host can_receive function from my model,
is called only once when virtual machine is booting, there is no
furthers call so that is why I can not ping.
I am running qemu in this way (based on yocto scripts):
/qemu-system-arm -kernel zImage.bin -net nic,vlan=0 -net
tap,vlan=0,ifname=tap0,script=no,downscript=no -M macine-a9 -dtb
zImage.dtb -serial null -serial null -serial null -serial mon:stdio
-serial null -nographic -smp 2 -readconfig config -m 512 --append
"ip=192.168.7.2::192.168.7.1:255.255.255.0 noinitrd console=ttyS3,19200
earlyprintk debug=31"/
As there is lack of documentation (or maybe there is but I haven't got
it ), my question is where should I start debugging what is going wrong?
As for now it seems that my model does not receive ping and it is not
asked if can receive one. Situation is same when I ping from quest the
host's tap,
or from host guest machine.
Regards,
Marcin