Port-evbmips archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: netbsd-MALTA on qemu
"Alexander Voropay" wrote:
> Did anyone try to run netbsd-MALTA on the qemu/MIPS ?
By coincidence, I tried NetBSD 4.0 on a real Malta just the other day.
I've included a full dmesg below. But -current fails to mount root:
boot device: <unknown>
root on pcn0
mountroot: trying ffs...
mountroot: trying nfs...
nfs_boot: trying DHCP/BOOTP
nfs_boot: timeout...
nfs_boot: timeout...
nfs_boot: timeout...
no file system for pcn0
cannot mount root, error = 79
root device (default pcn0): reboot
syncing disks... done
unmounting file systems... done
rebooting...
I haven't looked at this any further...
> The current (CVS) qemu emulates MALTA well enough to run MIPS Linux
> on this platform.
>
> Unfortunately there are some troubles with netbsd-MALTA:
>
>
> 1) The current NetBSD/MIPS does not understand MIPS 24K core,
> the standart for qemu/MIPS
>
> $ qemu-system-mipsel -M malta -nographic -kernel netbsd-MALTA
> panic: CPU type (0x19300) not supported
> Terminated
>
> Can someone add a MIPS 24K core support ?
Does the real Malta 24K have a different system controller (an
Algorithmics Bonito from memory?). Or am I confusing that with a 20K
core? What does QEMU do here?
Support for just the core itself should be very easy - add the right
PRID to sys/arch/mips/include/cpuregs.h, duplicate say the 4Kc or
5Kc entry in arch/mips/mips/mips_machdep.c and check if you need
"CPU_MIPS_DOUBLE_COUNT".
Cheers,
Simon.
--
Start = 0x80100000, range = (0x80100000,0x803c925f), format = SREC
YAMON> go
MIPS32/64 params: cpu arch: 32
MIPS32/64 params: TLB entries: 16
MIPS32/64 params: Icache: line = 16, total = 16384, ways = 4
sets = 256
MIPS32/64 params: Dcache: line = 16, total = 16384, ways = 4
sets = 256
picache_stride = 4096
picache_loopcount = 4
pdcache_stride = 4096
pdcache_loopcount = 4
[ Kernel symbol table missing! ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007
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 4.0 (MALTA) #0: Wed Jan 23 15:30:19 EST 2008
simonb@bigkev:/home/simonb/netbsd/src4/sys/arch/evbmips/compile/MALTA
total memory = 65536 KB
avail memory = 59828 KB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0: 80.00MHz (hz cycles = 400011, delay divisor = 40)
cpu0: MIPS 4Kc (0x18001) Rev. 1 with software emulated floating point
cpu0: 16KB/16B 4-way set-associative L1 Instruction cache, 16 TLB entries
cpu0: 16KB/16B 4-way set-associative write-back L1 Data cache
gt0 at mainbus0 addr 0x1be00000
pci0 at gt0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Galileo Technology GT-64120A System Controller (rev. 0x11)
pcib0 at pci0 dev 10 function 0
pcib0: Intel 82371AB (PIIX4) PCI-ISA Bridge, (rev . 0x02)
pciide0 at pci0 dev 10 function 1
pciide0: Intel 82371AB (PIIX4) IDE controller (rev. 0x01)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel wired to compatibility mode
pciide0: primary channel ignored (not responding; disabled or no drives?)
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (not responding; disabled or no drives?)
uhci0 at pci0 dev 10 function 2: Intel 82371AB (PIIX4) USB Host Controller
(rev. 0x01)
uhci0: interrupting at isa irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB (PIIX4) Power Management Controller (miscellaneous bridge,
revision 0x02) at pci0 dev 10 function 3 not configured
pcn0 at pci0 dev 11 function 0: AMD PCnet-PCI Ethernet
pcn0: Am79c973 PCnet-FAST III rev 3, Ethernet address 00:d0:a0:00:01:d4
pcn0: interrupting at isa irq 10
ukphy0 at pcn0 phy 30: Generic IEEE 802.3u media interface
ukphy0: Am79C973 internal 10/100 media interface (OUI 0x000058, model 0x0036),
rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
clct0 at pci0 dev 12 function 0: Cirrus Logic CS4281 CrystalClear Audio
Interface (rev. 0x01)
clct0: interrupting at isa irq 11
clct0: timeout waiting for clock stabilization
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
mcclock0 at isa0 port 0x70-0x71: mc146818 compatible time-of-day clock
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mips3_cp0_counter" frequency 40001126 Hz quality 100
boot device: <unknown>
root device: pcn0
dump device:
file system (default generic):
root on pcn0
mountroot: trying ffs...
mountroot: trying nfs...
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.0.42
nfs_boot: my_name=malta
nfs_boot: my_domain=thistledown.com.au
nfs_boot: my_addr=192.168.0.155
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.0.1
root on 192.168.0.42:/tftpboot/malta.root
root time: 0x4796c3d5
root file system type: nfs
init path (default /sbin/init):
init: copying out path `/sbin/init' 11
Wed Jan 23 15:15:23 EST 2008
Checking for botched superblock upgrades: done.
...
Home |
Main Index |
Thread Index |
Old Index