qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Experimental PATCH]: MIPS Malta YAMON for NetBSD


From: Alexander Voropay
Subject: [Qemu-devel] [Experimental PATCH]: MIPS Malta YAMON for NetBSD
Date: Mon, 30 Apr 2007 22:00:11 +0400

Hi!
 
 This patch add a simply YAMON services ( print() and print_count()  )
to Malta pseudo-loader. This services are requred for NetBSD to run.
 
 As a result, an *unmodified* NetBSD 3.0 kernel starts to work but hangs
very early on the PCNET PCI Ethernet (IRQ=0). The PCI is not initialized
and NetBSD Malta does not contains a PCI fuxup routines.
 
P.S. The Malta bootloader must acts as PCI BIOS to run NetBSD 3.0
and Linux 2.4 .
 
 
 
$ qemu-system-mipsel -M malta -nographic -cpu 4Kc  -kernel ../Malta/netbsd-MALTA
 
Could not configure '/dev/rtc' to have a 1024 Hz timer. This is not a fatal
error, but for better emulation accuracy either use a 2.6 host Linux kernel or
type 'echo 1024 > /proc/sys/dev/rtc/max-user-freq' as root.
MIPS32/64 params: cpu arch: 32
MIPS32/64 params: TLB entries: 16
MIPS32/64 params: Icache: line = 16, total = 2048, ways = 2
                 sets = 64
MIPS32/64 params: Dcache: line = 16, total = 2048, ways = 2
                 sets = 64
  picache_stride    = 1024
  picache_loopcount = 2
  pdcache_stride    = 1024
  pdcache_loopcount = 2
Timer calibration: 199945600 cycles/sec [(6198300, 6298300) * 16]
Loaded initial symtab at 0x802dab24, strtab at 0x802ec834, # entries 4473
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.
 
NetBSD 3.0 (MALTA) #0: Sun Dec 18 23:01:15 UTC 2005
        address@hidden:/home/builds/ab/netbsd-3-0-RELEASE/evbmips-mipsel/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/evbmips/compile/MALTA
total memory = 128 MB
avail memory = 121 MB
mainbus0 (root)
cpu0 at mainbus0: 199.94MHz (hz cycles = 999728, delay divisor = 100)
cpu0: MIPS 4Kc (0x18000) Rev. 0 with software emulated floating point
cpu0: 2KB/16B 2-way set-associative L1 Instruction cache, 16 TLB entries
cpu0: 2KB/16B 2-way set-associative write-back L1 Data cache
gt0 at mainbus0 addr 0x1be00000
pci0 at gt0
pci0: i/o space, memory space enabled
Galileo (Marvell) Technology GT-64120 System Controller (miscellaneous memory, revision 0x10) at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 10 function 0
pcib0: Intel 82371AB (PIIX4) PCI-ISA Bridge, (rev . 0x00)
pciide0 at pci0 dev 10 function 1
pciide0: Intel 82371SB (PIIX3) IDE Interface (rev. 0x00)
pciide0: device disabled (at device)
uhci0 at pci0 dev 10 function 2: Intel 82371SB (PIIX3) USB Host Controller (rev. 0x01)
uhci0: can't map i/o space
Intel 82371AB (PIIX4) Power Management Controller (miscellaneous bridge) at pci0 dev 10 function 3 not configured
pcn0 at pci0 dev 11 function 0: AMD PCnet-PCI Ethernet
pcn0: Unknown PCnet-PCI variant rev 7, Ethernet address 00:00:00:00:00:00
panic: pcib_isa_intr_string: bogus isa irq 0x0
Stopped in pid 0.1 (swapper) at netbsd:cpu_Debugger+0x4:        jr      ra
                bdslot: nop
db>
 
--
-=AV=-

Attachment: malta_yamon.diff
Description: Binary data


reply via email to

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