cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
6,655 Views
Registered: ‎09-22-2014

Linıx Kernel 3.8 for ML507 - No Login Prompt on QEMU

Hi everyone,

 

I built Linux Kernel for my Virtex 5 ML507 board using xlnx_3.8 branch of linux-xlnx Git Repository (https://github.com/Xilinx/linux-xlnx). Moreover, I have a network kernel module which is coded for Deep Packet Inspection. I want to port that module inside my ML507 board. In order to port faster, I want to use QEMU for Kernel Emulation. However, when I want to start Kernel on QEMU, no login prompt appears on shell. Shell hangs up when it comes to Device Tree Probing 'ethernet' message.

 

Here is my QEMU version on system:

$ /usr/local/bin/qemu-system-ppc --version
QEMU emulator version 2.2.0, Copyright (c) 2003-2008 Fabrice Bellard

 

Here is the QEMU run options and output:

$ /usr/local/bin/qemu-system-ppc -M virtex-ml507 -kernel vmlinux -initrd simpleImage.initrd.virtex440-ml507 -dtb virtex440-ml507.dtb -drive file=ramdisk_image,if=none,media=disk -m 512 -append console=ttyS0 -nographic
[    0.000000] Using Xilinx Virtex440 machine description
[    0.000000] Linux version 3.8.11+ (engin@engin44) (gcc version 4.8.1 (GCC) ) #4 PREEMPT Wed Apr 15 14:59:46 EEST 2015
[    0.000000] Found initrd at 0xc053bbec:0xc08afb0c
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00000000-0x0fffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x0fffffff]
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 250860k/262144k available (4056k kernel code, 11284k reserved, 164k data, 1138k bss, 144k init)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffdf000..0xfffff000  : fixmap
[    0.000000]   * 0xfde00000..0xfe000000  : consistent mem
[    0.000000]   * 0xfde00000..0xfde00000  : early ioremap
[    0.000000]   * 0xd1000000..0xfde00000  : vmalloc & ioremap
[    0.000000] NR_IRQS:512 nr_irqs:512 16
[    0.000000] clocksource: timebase mult[2800000] shift[24] registered
[    0.000000] Console: colour dummy device 80x25
[    0.003376] pid_max: default: 32768 minimum: 301
[    0.003830] Mount-cache hash table entries: 512
[    0.025041] NET: Registered protocol family 16
[    0.036367] PCI: Probing PCI hardware
[    0.049645] bio: create slab <bio-0> at 0
[    0.052132] vgaarb: loaded
[    0.056997] Switching to clocksource timebase
[    0.074598] NET: Registered protocol family 2
[    0.077666] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.077741] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.077859] TCP: Hash tables configured (established 2048 bind 2048)
[    0.078241] TCP: reno registered
[    0.078326] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.078414] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.079536] NET: Registered protocol family 1
[    0.080839] RPC: Registered named UNIX socket transport module.
[    0.080884] RPC: Registered udp transport module.
[    0.080905] RPC: Registered tcp transport module.
[    0.080915] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.084070] Trying to unpack rootfs image as initramfs...
[    0.087990] rootfs image is not initramfs (junk in compressed archive); looks like an initrd
[    0.098751] Freeing initrd memory: 3540k freed
[    0.102914] gpiochip_add: gpios -1..-2 (/plb@0/gpio@81460000) failed to register
[    0.103212] /plb@0/gpio@81460000: GPIO chip registration failed with status -28
[    0.103241] /plb@0/gpio@81460000: error in probe function with status -28
[    0.103485] xilinx-gpio: probe of 81460000.gpio failed with error -28
[    0.105004] gpiochip_add: gpios -1..-2 (/plb@0/gpio@81400000) failed to register
[    0.105029] /plb@0/gpio@81400000: GPIO chip registration failed with status -28
[    0.105039] /plb@0/gpio@81400000: error in probe function with status -28
[    0.105067] xilinx-gpio: probe of 81400000.gpio failed with error -28
[    0.105703] gpiochip_add: gpios -1..-2 (/plb@0/gpio@81420000) failed to register
[    0.105727] /plb@0/gpio@81420000: GPIO chip registration failed with status -28
[    0.105738] /plb@0/gpio@81420000: error in probe function with status -28
[    0.105766] xilinx-gpio: probe of 81420000.gpio failed with error -28
[    0.106207] gpiochip_add: gpios -1..-2 (/plb@0/gpio@81440000) failed to register
[    0.106232] /plb@0/gpio@81440000: GPIO chip registration failed with status -28
[    0.106243] /plb@0/gpio@81440000: error in probe function with status -28
[    0.106271] xilinx-gpio: probe of 81440000.gpio failed with error -28
[    0.113949] ROMFS MTD (C) 2007 Red Hat, Inc.
[    0.114405] msgmni has been set to 498
[    0.116482] io scheduler noop registered
[    0.116520] io scheduler deadline registered
[    0.116607] io scheduler cfq registered (default)
[    0.215392] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.218656] of_serial 83e00000.serial: FAILED to find out alias id
[    0.220810] 83e00000.serial: ttyS0 at MMIO 0x83e01003 (irq = 20) is a 16550
[    0.232786] console [ttyS0] enabled
[    0.244235] brd: module loaded
[    0.249719] loop: module loaded
[    0.251789] xsysace 83600000.sysace: xsysace: error initializing device at 0x83600000
[    0.252078] xsysace 83600000.sysace: could not initialize device, err=-12
[    0.252329] xsysace: probe of 83600000.sysace failed with error -12
[    0.253009] Xilinx SystemACE device driver, major=254
[    0.254447] Device Tree Probing 'ethernet'

0 Kudos