Jason Stevens | 31 Mar 2010 19:57
Picon

NetBSD 5.0.2 on the Qemu MIPS MAGNUM

Well I was able to get 5.0.2 to boot up using pretty much the same method as 1.5.2

Again this is using Qemu 0.12.3

Here is the dmesg for anyone that is interested....

jazz: display controller [Mips G364] is not configured
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009
    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 5.0.2 (GENERIC) #0: Sat Feb  6 13:57:05 UTC 2010
        builds <at> b7.netbsd.org:/home/builds/ab/netbsd-5-0-2-RELEASE/arc/2010020618
51Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/arc/compile/GENERIC
MIPS Magnum
total memory = 65536 KB
avail memory = 56772 KB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0: MIPS R4000 CPU (0x400) Rev. 0.0 with software emulated floating point
cpu0: 8KB/16B direct-mapped L1 Instruction cache, 48 TLB entries
cpu0: 8KB/16B direct-mapped write-back L1 Data cache
jazzio0 at mainbus0
timer0 at jazzio0 addr 0xe0000228
mcclock0 at jazzio0 addr 0xe0004000: mc146818 compatible time-of-day clock
lpt0 at jazzio0 addr 0xe0008000 intr 0
fdc0 at jazzio0 addr 0xe0003000 intr 1
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: 1.44MB, 80 cyl, 2 head, 18 sec
MAGNUM at jazzio0 addr 0xe000c000 intr 2 not configured
VXL at jazzio0 addr 0xe0800000 intr 3 not configured
sn0 at jazzio0 addr 0xe0001000 intr 4: SONIC Ethernet
sn0: Ethernet address 00:00:00:00:00:00
asc0 at jazzio0 addr 0xe0002000 intr 5: NCR53C94, 25MHz, SCSI ID 7
scsibus0 at asc0: 8 targets, 8 luns per target
kbc selftest: 38
I8742 at jazzio0 addr 0xe0005000 intr 6 not configured
pms at jazzio0 addr 0xe0005000 intr 7 not configured
com0 at jazzio0 addr 0xe0006000 intr 8: ns16550a, working fifo
com0: txfifo disabled
com0: console
COM2 at jazzio0 addr 0xe0007000 intr 9 not configured
jazzisabr0 at mainbus0
isa0 at jazzisabr0 isa_io_base 0xe2000000 isa_mem_base 0xe3000000
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mips3_cp0_counter" frequency 75000000 Hz quality 100
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <QEMU, QEMU HARDDISK, 0.12> disk fixed
sd0: fabricating a geometry
sd0: 2048 MB, 2048 cyl, 64 head, 32 sec, 512 bytes/sect x 4194304 sectors
sd1 at scsibus0 target 1 lun 0: <QEMU, QEMU HARDDISK, 0.12> disk fixed
sd1: fabricating a geometry
sd1: 3665 KB, 3 cyl, 64 head, 32 sec, 512 bytes/sect x 7331 sectors
cd0 at scsibus0 target 2 lun 0: <QEMU, QEMU CD-ROM, 0.12> cdrom removable
Kernelized RAIDframe activated
boot device: sd0
root device (default sd0a):
dump device (default sd0b):
file system (default generic):
root on sd0a dumps on sd0b
sd0(asc0:0:0:0): asc0: timed out [ecb 0x83f1af88 (flags 0x1, dleft 8, stat 0)],
<state 5, nexus 0x83f1af88, phase(l 2, c 2, p 2), resid 8, msg(q 0,o 0) >
sd0(asc0:0:0:0): asc0: timed out [ecb 0x83f1af88 (flags 0x41, dleft 8, stat 0)],
 <state 5, nexus 0x83f1af88, phase(l 2, c 2, p 2), resid 8, msg(q 20,o 0) > AGAIN
sd0: async, 8-bit transfers
sd1: async, 8-bit transfers
cd0: async, 8-bit transfers
sd0: fabricating a geometry
root file system type: ffs
WARNING: preposterous TOD clock time
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
init path (default /sbin/init):
init: trying /sbin/init


Jason Stevens | 31 Mar 2010 18:04
Picon

NetBSD 1.5.1 (ARC) runs on Qemu!

I thought someone may find this interesting, esp considering how rare it is to find ARC hardware...


First I'm using Windows Vista x64 (yeah yeah, I know.... ) and Qemu 0.12.3

The "qemu-system-mips64el.exe" emulator along with the PROM from http://hpoussineau.free.fr/qemu/firmware/magnum-4000/

The license file lists the Magnum 4000 firmware as being freeware...

So at any rate, I was able to make a cd image from the 1.5.1 archive, and have ARC Bios boot the ecoff kernel directly, however there is no 'ram disk' in the kernel... so to 'solve' that I used Windows NT to build a system partition, then used the disk image in qemu's i386 emulator to setup the disk using the x86 version of NetBSD 1.5.1.  Once the x86 version was going to extract the OS, I hit control Z and then manually untarred the MIPS userland. 

I had to fix the fstab, and rc.conf

Now with that out of the way, I am able to use qemu to boot up into the MIPS stuff...  If there is a /netbsd it will crash out the kernel while it's building the databases.  The networking doesn't work at all, its pulling all zero's for the MAC address.  I tried to 'fix' the device driver to use a mac address that qemu gave Windows NT MIPS, and remove all asserts but to no avail.  

NetBSD 5.0.2 starts up ok, but once it starts to extract the setup files, it crashes the kernel with a TLB issue... I'll try to extract it on an i386 and see how that goes.

And before I forget, here is the CLI options I'm using:
qemu-system-mips64el -M magnum -L . -hda netbsd.disk -cdrom netbsd151.iso -m 64 -net nic -net user

In the meantime here is the dmesg:
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
    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 1.5.1 (GENERIC) #5: Tue Mar 30 20:37:29 PST 2010
    root <at> :/usr/src/sys/arch/arc/compile/GENERIC
MIPS Magnum
total memory = 65536 KB
avail memory = 55492 KB
using 844 buffers containing 3376 KB of memory
mainbus0 (root)
cpu0 at mainbus0: MIPS R4000 CPU (0x400) Rev. 0.0 with software emulated floatin
g point Rev. 0.0
cpu0: L1 cache: 8KB/16B instruction, 8KB/16B data, direct mapped
cpu0: No L2 cache
pica0 at mainbus0
aclock0 at pica0 slot 0 offset 0x0: mc146818 or compatible
lpt0 at pica0 slot 1 offset 0x0
fdc0 at pica0 slot 2 offset 0x0
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: 1.44MB 80 cyl, 2 head, 18 sec
vxl at pica0 slot 4 offset 0x0 not configured
sn0 at pica0 slot 5 offset 0x0: bufsize 28480 address 00:11:cc:00:00:11
asc0 at pica0 slot 6 offset 0x0: NCR53C94, target 7
scsibus0 at asc0: 8 targets, 8 luns per target
kbc selftest: 1d
pckbd at pica0 slot 7 offset 0x0 not configured
pms at pica0 slot 8 offset 0x0 not configured
com0 at pica0 slot 9 offset 0x0: ns16550a, working fifo
com0: txfifo disabled
com0: console
com at pica0 slot 10 offset 0x0 not configured
isabr0 at mainbus0
isa0 at isabr0 isa_io_base 0xe2000000 isa_mem_base 0xe3000000
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <QEMU, QEMU HARDDISK, 0.12> SCSI3 0/direct fixed
sd0: mode sense (4) returned nonsense; using fictitious geometry
sd0: 2048 MB, 2048 cyl, 64 head, 32 sec, 512 bytes/sect x 4194304 sectors
sd1 at scsibus0 target 1 lun 0: <QEMU, QEMU HARDDISK, 0.12> SCSI3 0/direct fixed
sd1: mode sense (4) returned nonsense; using fictitious geometry
sd1: 3665 KB, 3 cyl, 64 head, 32 sec, 512 bytes/sect x 7331 sectors
cd0 at scsibus0 target 2 lun 0: <QEMU, QEMU CD-ROM, 0.12> SCSI3 5/cdrom removable
boot device: <unknown>
root device: sd0a
dump device (default sd0b):
file system (default generic):
root on sd0a dumps on sd0b
sd0: mode sense (4) returned nonsense; using fictitious geometry
sd0: mode sense (4) returned nonsense; using fictitious geometry
sd0: mode sense (4) returned nonsense; using fictitious geometry
sd0: mode sense (4) returned nonsense; using fictitious geometry
sd0: mode sense (4) returned nonsense; using fictitious geometry
sd0: mode sense (4) returned nonsense; using fictitious geometry
sd0: mode sense (4) returned nonsense; using fictitious geometry
WARNING: preposterous clock chip time
19-19-19, 19:19:19
30-30-30, 30:30:30
 -- CHECK AND RESET THE DATE!
root file system type: ffs
sd1: mode sense (4) returned nonsense; using fictitious geometry
sd1: no disk label
Suicidio ou "Vingança?" | 19 Jan 2009 15:52

Morre o assassino da garota Elo.


Morre o assassino da garota Eloá.

O jovem que chamou a atenção da mídia por vários dias, 
foi encontrado morto em sua cela. 

Lindemberg Alves manteve por mais de cem horas como refém 
em um apartamento, sua ex namorada Eloá Cristina e sua amiga 
Nayara, o sequestro teve inicio dia 13 de outubro 2008 e 
acabou na morte da garota Eloá dias depois. 

Veja mais detalhes 

Fotos: http://aposento.org/sion/images/revistaeditorialonline/anexo.php?id=28329

A policia investiga a causa da morte de Lindemberg mas a 
princípio trabalham com a hipótese de suicídio. 

Revista Editorial Online.

Izumi Tsutsui | 13 Dec 2008 19:56
Picon
Gravatar

5.0_BETA dmesg

Just FYI,

---
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    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 5.0_BETA (GENERIC) #0: Sun Dec 14 02:05:49 JST 2008
	tsutsui <at> mirage:/r/work/src/sys/arch/arc/compile/GENERIC
NEC Express 5800/230 R4400 PCI
total memory = 256 MB
avail memory = 243 MB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0: MIPS R4400 CPU (0x460) Rev. 6.0 with MIPS R4010 FPC Rev. 0.0
cpu0: 16KB/32B direct-mapped L1 Instruction cache, 48 TLB entries
cpu0: 16KB/32B direct-mapped write-back L1 Data cache
cpu0: 1024KB/64B direct-mapped write-back L2 Unified cache
jazzio0 at mainbus0
timer0 at jazzio0 addr 0xe00001a8
mcclock0 at jazzio0 addr 0xe0004000: mc146818 compatible time-of-day clock
lpt0 at jazzio0 addr 0xe0008000 intr 0
fdc0 at jazzio0 addr 0xe000c000 intr 1
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
AD1848 at jazzio0 addr 0xe0010000 intr 2 not configured
sn0 at jazzio0 addr 0xe0001000 intr 3: SONIC Ethernet
sn0: Ethernet address 00:00:4c:a1:30:48
osiop0 at jazzio0 addr 0xe0003000 intr 5: NCR53C710 rev 2, 50MHz, SCSI ID 7
scsibus0 at osiop0: 8 targets, 8 luns per target
osiop1 at jazzio0 addr 0xe0002000 intr 4: NCR53C710 rev 2, 50MHz, SCSI ID 7
scsibus1 at osiop1: 8 targets, 8 luns per target
pckbc0 at jazzio0 addr 0xe0005000 intr 6
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0 (mux ignored): console keyboard
pms at jazzio0 addr 0xe0005000 intr 7 not configured
com0 at jazzio0 addr 0xe0006000 intr 8: ns16550a, working fifo
com0: txfifo disabled
com1 at jazzio0 addr 0xe0007000 intr 9: ns16550a, working fifo
com1: txfifo disabled
necpb0 at mainbus0
pci0 at necpb0 bus 0
pci0: i/o space, memory space enabled
NEC product 0x0005 (miscellaneous bridge, revision 0x02) at pci0 dev 1 function 0 not configured
Intel 82375EB/SB PCI-EISA Bridge (miscellaneous prehistoric, revision 0x04) at pci0 dev 2 function 0 not configured
tga0 at pci0 dev 3 function 0: DC21030 step C, board type T8-02
tga0: 1024 x 768, 8bpp, Bt485 RAMDAC
tga0: interrupting at int D
wsdisplay0 at tga0 (kbdmux ignored): console (std, vt100 emulation), using wskbd0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mips3_cp0_counter" frequency 100000000 Hz quality 100
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <IBM, DCAS-34330, S61A> disk fixed
sd0: 4134 MB, 8205 cyl, 6 head, 171 sec, 512 bytes/sect x 8467200 sectors
sd0: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers
cd0 at scsibus0 target 4 lun 0: <TOSHIBA, XM5701TASUN12XCD, 2395> cdrom removable
cd0: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers
Kernelized RAIDframe activated
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs

---

Note NetBSD/arc 5.0 will have (finally) sysinst(8).

---
Izumi Tsutsui

Paula Grassi | 12 Jun 2008 06:13

Uma frase e uma sugestao


 ,

Saudaçoes. Tenho certeza que conhece a frase que diz: "Propaganda e a alma do 
negocio". Por isso estou escrevendo para te lembrar da grande utilidade do email 
marketing para a divulgaçao do seu negocio.

Os   estao a sua disposiçao, mas estao tambem a disposiçao dos seus concorrentes. 
Por isso conquiste primeiro este mercado antes que seja conquistado por outras 
pessoas. Que tal iniciar a sua campanha esta semana?

Cordialmente,
Paula Grassi
http://www.divulgaemails.com
(0xx71)3491-9005 ou (0xx71)9932-0158(24h)
MSN e SKYPE: dvgmail

G.C. | 21 May 2008 23:40

Web Audio Plus O udio Marketing 10.com

Web Audio Plus O Áudio Marketing 10.com, software para inserir O Áudio Marketing 
10.com, som em flash O Áudio Marketing 10.com, como colocar audio em sites voz 
música áudio marketing, voz no site som em flash, narração fala site com áudio, 
Web Audio Plus O Áudio Marketing 10.com, site com áudio Narração para sites.

Visite: http://www.audiomarketing10.com

como colocar audio em sites site com áudio, inserir som site com áudio, site 
com som voz música áudio marketing, mensagens em áudio voz música áudio marketing, 
voz no site site com áudio, narração de audio em sites site com áudio, Áudio 
em sites site com áudio. mensagens em áudio narração fala

Visite: http://www.audiomarketing10.com

mensagens em áudio narração fala software para inserir O Áudio Marketing 10.com, 
som em flash O Áudio Marketing 10.com, como colocar audio em sites voz música 
áudio marketing, voz no site som em flash, narração fala site com áudio, Web 
Audio Plus O Áudio Marketing 10.com, site com áudio Narração para sites. como 
colocar audio em sites site com áudio, inserir som site com áudio, site com som 
voz música áudio marketing, mensagens em áudio voz música áudio marketing, voz 
no site site com áudio, narração de audio em sites site com áudio, Áudio em sites 
site com áudio.

Marina Costa | 20 Jan 2007 15:19

Video Aulas, cursos em vdeo. Aprenda a fazer tudo com video cursos

Video Aulas para download, cursos em vídeo. Vários assuntos. Aprenda a
fazer sushi, curso de Yoga em vído, video aula de sedução, video curso de
massagem sensual:

http://www.gueb.de/videocursosbrasil

Video cursos de informática, ginástica, artes marciais. Tudo em cursos
para download. Vídeos com entrega imediata. Aulas práticas e
demonstrativas. Plataforma para e learning. Ensino a distancia.
Treinamentos, cursos, congressos, seminarios, video  digital com
transmissão ao vivo, aulas.

http://www.gueb.de/videocursosbrasil

Comercializa vídeos de aulas  de música, incluindo guitarra, baixo,
bateria, flauta, gaita, pandeiro, canto, dança e harmonia. Encontre no
nosso site cursos de Várias áreas para sua escolha e aprimoramento:

http://www.gueb.de/videocursosbrasil

Garrett D'Amore | 8 Sep 2006 18:02

clocks on mips

I've been looking at arc.

It appears that all arc systems have a MIPS 3 clock and can handle clock
interrupts on CP0 counter.  I think this is probably also true of
hpcmips.  For pmax and company, it is probably true for _some_ models.

I'd like to recommend the following:

1) convert those models that can do it to common mips3 clock code in
mips/mips/mips3_clock.c, modulo the following comments

2) this means in the short term, loss of statclock.  i propose that the
statclock be handled by the external clocks (whatever are present) when
they exist.  i.e. I'm suggesting that the statclock timer be the
"optional" clock, and that the mips3_cp0_clock always be used. 
statclock/stathz, etc. should be set up by the MD code.

3) this probably means cleaning up mips3_clock.c somewhat -- the
statclock needs to move out of it, and the delay() needs to rename to
mips3_delay.

4) for systems that can just use mips3_delay as is, I would use a weak
symbol alias so that at link time delay() is resolved to mips3_delay.

5) I'd like to rename cpu_initclocks() to mips3_initclocks() and weak
alias it as well.

6) I'd like to move the resulting mips3_initclocks() and
mips3_clockintr() into a new file, mips3_hardclock.c or
mips3_clockintr.c, so that ports which for some reason can't use these
(ews4800mips?) don't have to carry the baggage, but can still use the
rest of the code in mips3_clock.c

Thoughts?

--

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191

Izumi Tsutsui | 13 Jun 2006 14:27
Picon
Gravatar

ISA bus-master DMA on arc

Has anyone tried any ISA bus-master DMA devices on arc machines?

AHA-1542 on my Express5800/240 EISA (NEC-J96A) hangs during
probing attached drives, so I wonder if I have to fix ISA DMA stuff
before I work on EISA stuff to support mlx(4) on EISA on my J96A.
(Note PIO devices like ep(4) works fine on it)
---
Izumi Tsutsui

Garrett D'Amore | 29 Mar 2006 21:14

64-bit paddr_t and mmap()?


I'm trying to mmap a framebuffer device under evbmips, using a 64-bit
paddr_t.   (Alchemy PCI space is located in the upper portion of the
36-bit MIPS physical address space.)

Anyway, the mmap works fine.  I'm able to draw a picture on screen.

But when the application exits (and hence does an implicit munmap()), I
get a panic in pmap_remove_pv, called from pmap_remove, where it looks
like a NULL "pg" pointer is being passed.

I'm curious if anyone else has used 64-bit paddr_t's and mmap(), e.g. on
ARC.  I'm wondering if maybe I'm trying to do something new, or if there
is some known fault, or if it is known to work on other platforms.  Any
info that might help me restrict where I am looking would be useful to
me.  :-)

--

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191

Zach Lowry | 14 Aug 2005 14:31
Favicon

Free Hardware


Hello!

I have a NEC RiscServer 4200 and a Deskstation Tyne Motherboard that  
I am willing to give to a developer who is interested.

--
Zach Lowry
MTSU, Murfreesboro, TN
zach <at> zachlowry.net


Gmane