|
From: | 张磊 |
Subject: | [Qemu-ppc] qemu emulates ppc e500 failed |
Date: | Thu, 11 Jun 2015 07:08:04 +0000 |
Hi,guys,
I'm new to qemu. Now I'm trying to use qemu-system-ppc emulatoring powerpc e500 cpu (like freescale's P1020/P1010). But I faced some strange question. Firstly I use Yocto making a kernel image and rootfs, and use command "qemu-system-ppc -M ppce500 -kernel uImage -initrd fsl-image-minimal-p1020rdb.ext2.gz -m 256M -nographic" to start linux,this step is ok and I entered linux. But when I want to put some files into qemu, I'm caught in. The net device is missing , so I add paramater "-net nic,model=e1000" (I have checked linux kernel's device driver ,I'm sure "e1000e: Intel(R) PRO/1000 Network Driver" is checked and loaded during startup ) and restart qemu, but the net device is missing too, I typed "ifconfig -a",linux shows below: dummy0 Link encap:Ethernet HWaddr 2E:6F:0E:CB:B6:ED BROADCAST NOARP MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) tunl0 Link encap:UNSPEC HWaddr 00-00-00-00-D4-DD-10-13-00-00-00-00-00-00-00-00 NOARP MTU:0 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Because net is broken, so I tried to create a qcow2 image and start qemu with this image, but I cannot see it in linux on qemu. Has anyone faced the same/familiar question like me ? Or anyone can help me solve this problem , give me some advices on this . Thanks very much. ------- Ezio |
[Prev in Thread] | Current Thread | [Next in Thread] |