Hi,
Below is the output from the QEMU machine
QEMU Machine
root@model:~# cat /proc/cpuinfo
processor : 0
cpu : e5500
clock : 400.000000MHz
revision : 2.0 (pvr 8024 1020)
bogomips : 800.00
total bogomips : 800.00
timebase : 400000000
platform : QEMU e500
model : QEMU ppce500
Memory : 128 MB
Host Machine
[root@mydevbox2 ~]# cat /etc/redhat-release
CentOS Linux release 7.0.1406 (Core)
[root@mydevbox2 ~]# uname -an
Linux mydevbox2 3.10.0-123.13.1.el7.x86_64 #1 SMP Tue Dec 9 23:06:09 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Command to bring up the QEMU machine
sudo ~/QorIQ-SDK-V1.6-20140619-yocto/build_t1040rdb_release/tmp/sysroots/x86_64-linux/usr/bin/qemu-system-ppc64 -cpu e5500 -nographic -m 256 -M ppce500 -kernel uImage -initrd fsl-image-minimal-t1040rdb-20141223093206.rootfs.ext2.gz -append "root=/dev/ram rw console=ttyS0,115200 ip=192.168.7.2::192.168.7.1:255.255.255.0 mem=128M" -serial tcp::4444,server,telnet -net nic,model=e1000 -net tap,ifname=tap0,script=no,downscript=no
QEMU 1.7.0 monitor - type 'help' for more information
(qemu) QEMU waiting for connection on: telnet:0.0.0.0:4444,server
Also observed an bug with the qemu-bridge-helper script as it look for bridge.conf at a hard coded path as same can be verified as below
sudo ~/QorIQ-SDK-V1.6-20140619-yocto/build_t1040rdb_release/tmp/sysroots/x86_64-linux/usr/bin/qemu-system-ppc64 -cpu e5500 -nographic -m 256 -M ppce500 -kernel uImage -initrd fsl-image-minimal-t1040rdb-20141223093206.rootfs.ext2.gz -append "root=/dev/ram rw console=ttyS0,115200 ip=192.168.7.2::192.168.7.1:255.255.255.0 mem=128M" -serial tcp::4444,server,telnet -net nic -net tap,"helper=/home/abhinav/QorIQ-SDK-V1.6-20140619-yocto/build_t1040rdb_release/tmp/sysroots/x86_64-linux/usr/lib/qemu/qemu-bridge-helper"
[sudo] password for abhinav:
failed to parse default acl file `/local/workspace/yocto-iso-make/sdk-v1.6.x/t1040rdb-64b/build_t1040rdb-64b_release/tmp/sysroots/x86_64-linux/etc/qemu/bridge.conf'
failed to launch bridge helper
qemu-system-ppc64: -net tap,helper=/home/abhinav/QorIQ-SDK-V1.6-20140619-yocto/build_t1040rdb_release/tmp/sysroots/x86_64-linux/usr/lib/qemu/qemu-bridge-helper: Device 'tap' could not be initialized
So when I created a soft links for the files even the bridge-helper didn't bring the ethernet interface as the bridge is configured on my base machine.
>sudo ~/QorIQ-SDK-V1.6-20140619-yocto/build_t1040rdb_release/tmp/sysroots/x86_64-linux/usr/bin/qemu-system-ppc64 -cpu e5500 -nographic -m 256 -M ppce500 -kernel uImage -initrd fsl-image-minimal-t1040rdb-20141223093206.rootfs.ext2.gz -append "root=/dev/ram rw console=ttyS0,115200 ip=192.168.7.2::192.168.7.1:255.255.255.0 mem=128M" -serial tcp::4444,server,telnet -net nic -net tap,"helper=/home/abhinav/QorIQ-SDK-V1.6-20140619-yocto/build_t1040rdb_release/tmp/sysroots/x86_64-linux/usr/lib/qemu/qemu-bridge-helper"
failed to create tun device: Operation not permitted
failed to launch bridge helper
qemu-system-ppc64: -net tap,helper=/home/abhinav/QorIQ-SDK-V1.6-20140619-yocto/build_t1040rdb_release/tmp/sysroots/x86_64-linux/usr/lib/qemu/qemu-bridge-helper: Device 'tap' could not be initialized
So any thoughts to bring up the interface will be a great help.
Please let me know if you need more information.
Thanks,
Abhinav