qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] linux/ppc405 under qemu


From: Da He
Subject: [Qemu-devel] linux/ppc405 under qemu
Date: Fri, 03 Apr 2009 12:08:24 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

Hi,

I was trying to run linux under qemu/ppc405. The compiled linux kernel
with a file system works very well on a real ppc405 of xilinx board.
However, ever I tried to run it under qemu I got the error message
"qemu: fatal: Little-endian TLB entries are not supported by now". I am
new to qemu, does anybody have the same issue?

I looked into the source code where the error message is produced, it
said that this is to be fixed. How can I work around this problem?

Another note is, I am wondering if the function implementation of
"helper_4xx_tlbre_hi" and "helper_4xx_tlbre_lo" in the
"target-ppc/op_helper.c" are correctly implemented, as in function
"helper_4xx_tlbre_hi" the "tlb->RPN" not "tlb->EPN" should be read
(according to the powerpc 405 manual from IBM) and for
"helper_4xx_tlbre_lo" vice verse. Am I wrong about this?

FYI: I checked the endianness of my linux kernel and it is big-endian.
arch/powerpc/boot/simpleImage.virtex405-mine.elf: ELF 32-bit MSB
executable, PowerPC or cisco 4500, version 1 (SYSV), statically linked,
not stripped


The following is the output of qemu:

--------------------------------------------------------------------------
ref405ep_init: register cpu
ppc4xx_opba_init: offset 0000000000000600
ppc405_gpio_init: offset 0000000000000700
ppc405_serial_init: offset 0000000000000300
OCM update ISA 00000000 00000000 (00000000 00000000) DSA 00000000
00000000 (00000000 00000000)
ppc4xx_gpt_init: offset 0000000000000000
Setup PPC405EP clocks - sysclk 33333333 VCO 0 PLL out 33333333 Hz
CPU 33333333 PLB 16666666 OPB 8333333 EBC 8333333 MAL 8333333 PCI
16666666 UART0 260416 UART1 260416
ref405ep_init: register SRAM at offset 10001000
ref405ep_init: register BIOS
Load BIOS from file
ref405ep_init: register FPGA
ref405ep_init: register NVRAM
ref405ep_init: load kernel
Load kernel size 2030226 at 00400000 7c 13 ffffffea ffffffa6
ref405ep_init: Done
bdloc 0000000000ffff6c

zImage starting: loaded at 0x00400000 (sp: 0x005f0eb0)
Allocating 0x40d490 bytes for kernel ...
gunzipping (0x00000000 <- 0x0040c000:0x005efa92)...done 0x3ba028 bytes

Linux/PowerPC load: console=ttyUL0 root=/dev/ram
Finalizing device tree... flat tree at 0x5fd300
Using Xilinx Virtex machine description
Linux version 2.6.29-rc5 (address@hidden) (gcc version 4.2.2) #13 Tue
Mar 31 21:14:45 CEST 2009
Zone PFN ranges:
DMA      0x00000000 -> 0x00010000
Normal   0x00010000 -> 0x00010000
HighMem  0x00010000 -> 0x00010000
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: console=ttyUL0 root=/dev/ram
Xilinx intc at 0x81800000 mapped to 0xff7ff000
PID hash table entries: 1024 (order: 10, 4096 bytes)
clocksource: timebase mult[d55555] shift[22] registered
Console: colour dummy device 80x25
console [ttyUL0] enabled
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 255360k/262144k available (3636k kernel code, 6436k reserved,
156k data, 329k bss, 468k init)
Calibrating delay loop... 715.96 BogoMIPS (lpj=1191936)
Security Framework initialized
SELinux:  Disabled at boot.
Mount-cache hash table entries: 512
net_namespace: 892 bytes
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
NET: Registered protocol family 8
NET: Registered protocol family 20
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
NET: Registered protocol family 1
audit: initializing netlink socket (disabled)
type=2000 audit(0.174:1): initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 499
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
84000000.serial: ttyUL0 at MMIO 0x84000003 (irq = 16) is a uartlite
brd: 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
xilinx_emaclite 81000000.ethernet: Device Tree Probing 'ethernet'
xilinx_emaclite 81000000.ethernet: MAC address is now  2: 0: 0: 0: 0: 0
xilinx_emaclite 81000000.ethernet: using fifo mode.
eth0 (): not using net_device_ops yet
xilinx_emaclite 81000000.ethernet: Xilinx EMACLite at 0x81000000 mapped
to 0xD1020000, irq=18
mice: PS/2 mouse device common for all mice
TCP bic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Freeing unused kernel memory: 468k init
qemu: fatal: Little-endian TLB entries are not supported by now
-----------------------------------------------------------------------------

Best regards
Da He





reply via email to

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