Port-vax archive

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

Re: About support for rtVAX300



First:  Gratulations to getting the console printout work :-)  Good job!


On 01/13/2013 02:25 PM, Holm Tiffe wrote:
Ok, after a bit cleaning of LED Register stuff and some __asm("halts")
it ends now here:

2070876+92264 [155104+148119]=0x25a65c

scncprobe passed.
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008, 2009, 2010, 2011, 2012
     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 6.0 (RTVAX300-test) #158: Sun Jan 13 13:01:32 CET 2013

holm%beast.freibergnet.de@localhost:/home/holm/tmp/netbsd/root6/usr/src/sys/arch/vax/compile/RTVAX
VAXstation RTVAX
total memory = 16380 KB
avail memory = 13064 KB
mainbus0 (root)
cpu0 at mainbus0: RTVAX300, CVAX microcode rev 6 Firmware rev 17
rtvbus0 at mainbus0
r0=81800e00 r1=00000001 r2=8028c820 r3=00010080 r4=00000001 r5=00000200
r6=80fdf640 r7=801ee848
r8=801fff68 r9=801ee848 r10=80fcd900 r11=8025c68c
ap=8025c4e0 fp=8025c4b4 sp=ffffffff pc=800f104c
panic: SEGV in kernel mode: pc 0x800f104c addr 0
ý

..which is in my cloned rtvbus.c file, in rtvbus_dma_start():

void
rtvbus_dma_start(struct rtvbus_dma *vd)
{
SIMPLEQ_INSERT_TAIL(&rtvbus_dma, vd, vd_q); if (rtvbus_active == 0)
                 rtvbus_dma_intr();
}

Don't know what this stuff is doing at all..
Ok, I say it again: You do not want the rtvbus, at least not now :-) There is no DMA stuff you have to setup, nor any resources you must handle.
So, there are no use of it.

To get the SGEC to work everything is already there; you only need to:


Ok, I'm back.
Fixed that VAXstation Thing in locore.c:
Is it ok this way?

NetBSD 6.0 (RTVAX300-test) #171: Sun Jan 13 14:07:20 CET 2013

holm%beast.freibergnet.de@localhost:/home/holm/tmp/netbsd/root6/usr/src/sys/arch/vax/compile/RTVAX
Embedded VAX rtVAX 300
total memory = 16380 KB
avail memory = 13064 KB

All VAXen get (and use) the size of the internal memory they get from the RPB, passed up by the boot loader. The RPB is setup by the firmware, so it should be correct. It also provide the system with bad block information, which is currently unhandled on vax.

If it isn't, the kernel can count the memory itself. Just comment out the size check from rpb in locore and then everything will be fine :-)

-- Ragge


Home | Main Index | Thread Index | Old Index