[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] How to configure QEMU ethernet to use xps_ethernetlite for Xi

From: Elvis Dowson
Subject: [Qemu-ppc] How to configure QEMU ethernet to use xps_ethernetlite for Xilinx ML507
Date: Wed, 6 Jun 2012 17:06:04 +0200

      My Xilinx ML507 XPS 14.1 BSP is using xps_ethernetlite.

What command line parameters should I specify for the network device to get the NIC to work with xps_ethernetlite?

$ /tool/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin/qemu-system-ppc -kernel /tool/yocto/poky/build/tmp/deploy/images/uImage-virtex5.bin -net nic,model=pcnet -M virtex-ml507 -hda /tool/yocto/poky/build/tmp/deploy/images/core-image-minimal-virtex5.ext3

I used the above args, and I'm unclear as to if I should specify model=pcnet, or something else to get it to use the xilinx xps_ethernetlite. 

At the moment, the kernel hangs on boot trying to probe for the ethernet device:

Using Xilinx Virtex440 machine description
Linux version 3.0.0-14.1-build3 (address@hidden) (gcc version 4.7.1 20120421 (prerelease) (GCC) ) #1 PREEMPT Mon Jun 4 09:39:22 CEST 2012
Zone PFN ranges:
  DMA      0x00000000 -> 0x00010000
  Normal   empty
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00010000
MMU: Allocated 1088 bytes of context maps for 255 contexts
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
Kernel command line: root=/dev/hda rw console=ttyS0 console=tty mem=256M
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 254540k/262144k available (3940k kernel code, 7604k reserved, 132k data, 1139k bss, 168k init)
Kernel virtual memory layout:
  * 0xfffdf000..0xfffff000  : fixmap
  * 0xfde00000..0xfe000000  : consistent mem
  * 0xfde00000..0xfde00000  : early ioremap
  * 0xd1000000..0xfde00000  : vmalloc & ioremap
Preemptible hierarchical RCU implementation.
NR_IRQS:512 nr_irqs:512 16
clocksource: timebase mult[a00000] shift[22] registered
Console: colour dummy device 80x25
console [tty0] enabled
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
devtmpfs: initialized
NET: Registered protocol family 16
PCI: Probing PCI hardware
bio: create slab <bio-0> at 0
XGpio: /address@hidden/address@hidden: registered
XGpio: /address@hidden/address@hidden: registered
XGpio: /address@hidden/address@hidden: registered
XGpio: /address@hidden/address@hidden: registered
vgaarb: loaded
Switching to clocksource timebase
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
ROMFS MTD (C) 2007 Red Hat, Inc.
JFS: nTxBlock = 1996, nTxLock = 15972
msgmni has been set to 499
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
83e00000.serial: ttyS0 at MMIO 0x83e01003 (irq = 20) is a 16550
console [ttyS0] enabled
brd: module loaded
loop: module loaded
xsysace 83600000.sysace: xsysace: error initializing device at 0x83600000
xsysace 83600000.sysace: could not initialize device, err=-12
xsysace: probe of 83600000.sysace failed with error -12
Xilinx SystemACE device driver, major=254
pflash_write: Unimplemented flash cmd sequence (offset 00000000, wcycle 0x0 cmd 0x0 value 0xf0f0)
of-flash fc000000.flash: do_map_probe() failed
Device Tree Probing 'ethernet'

Best regards,

Elvis Dowson

reply via email to

[Prev in Thread] Current Thread [Next in Thread]