Subject: Re: pbsdboot & MobilePro700 (VR4102 - 54Mhz)
To: None <port-hpcmips@netbsd.org>
From: Roy Wilson <rwwst6+@pitt.edu>
List: port-hpcmips
Date: 02/26/2000 18:40:01
Hi,

--On Monday, February 21, 2000, 9:43 PM +0900 Takao Shinohara
<shin@netbsd.org> wrote:r

> Roy Wilson <rwwst6+@pitt.edu> writes:
>> or a compact flash card. I notice that VR4102 NetBSD work is (if I recall
>> correctly) in the experimental stage. 
> 
> There is no known problem specific to VR4102. My MC-CS12 just works fine
> with current kernel (see below).
> 
> Takao Shinohara

Based on this comment (and some documentation tips), I downloaded netbsd
and pbsdboot, unzipped them, and shipped them to my MobilePro700 (VR4102),
putting them on my Sandisk CF. 

I've tried selecting the MC-CSXX frame buffer and also tried (somewhat
blindly) to set some of the obvious parameters (e.g., width = 640 for a
MP700). In the first case, I get the following on the MP700 display:

mem_cluster_cnt = 3
mem_clusters[0] = {0x0,0x1f5000}
mem_clusters[1] = ....
mem_clusters[2] = ....

and then the system appears to hang (20 minutes w/o activity). In the
second case, I get garbage across the top of the screen and then system
hang.

I nosed around in the pbsdboot c code but couldn't get a match on
"clusters". I've got VR4102 pdf's but nothing matched on "frame buffer".

If I could get a description of each parameter that appears in the "user
define" frame buffer option, I could then test various values obtained from
documentation. Any help would be appreciated.

Roy Wilson
rwwst6@pitt.edu
> 
> ===== console log of Mobile Gear MC-CS12 =====
> Copyright (c) 1996, 1997, 1998, 1999, 2000
>     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.4T (GENERIC) #35: Mon Feb 21 21:02:36 JST 2000
>     shin@narnia.sm.sony.co.jp:/usr/home/shin/current/src/sys/arch/hpcmips
>     /compile/GENERIC MIPS VR 4102 (NEC VR4102 rev0.3 53.620MHz)
> total memory = 8192 KB
> avail memory = 5588 KB
> using 128 buffers containing 512 KB of memory
> ../../../../arch/hpcmips/vr/vr.c(236): vr_bus_reset() not implemented.
> mainbus0 (root)
> cpu0 at mainbus0: NEC VR4100 CPU Rev. 4.0 with software emulated floating
> point Rev. 0.0 cpu0: L1 cache: 4KB/16B Instruction, 1KB/16B Data, direct
> mapped cpu0: No L2 cache
> cpu0: install VR specific idle routine
> fb0 at mainbus0: rasops 480x240 pixels, 4 colors, 60x24 chars
> wsdisplay0 at fb0
> wsdisplay0: screen 0 added (std, vt100 emulation)
> vrip0 at mainbus0
> vrcmu0 at vrip0 addr 0xb000060-0xb00007f
> vrgiu0 at vrip0 addr 0xb000100-0xb00011f intr 8
> WIN setting:
> iiiiiiiiiiiiiiiiioooooIIiiIIiIii I/O setting:
> iiiiiiiiiiiiiiiiioooooiiiiiiiiii
>        data:,,,,,,,,,,,,,,,,;;,,;;;;;;;;;;;;.................|..||.....|.
>        ..| pwctl0 at vrgiu0 port=14 id=0 on=1
> vrbcu0 at vrip0 addr 0xb000000-0xb00001f
> vrbcu: cpu 53.620MHz, bus 26.810MHz, ram 26.810MHz
> com0 at vrip0 addr 0xc000000-0xc000007 intr 9: ns16550a, working fifo
> com0: console
> vrrtc0 at vrip0 addr 0xb0000c0-0xb0000df intr 2
> vrkiu0 at vrip0 addr 0xb000180-0xb00019f intr 7
> wskbd0 at vrkiu0 mux 1
> vrpmu0 at vrip0 addr 0xb0000a0-0xb0000bf intr 1
> vrpmu: Deadman's switch detected
> vrdsu0 at vrip0 addr 0xb0000e0-0xb0000e7
> vrpiu0 at vrip0 addr 0xb000120-0xb0002bf intr 5
> wsmouse0 at vrpiu0
> vrisab0 at vrgiu0:ISA port 0x14000000-0x18000000 mem 0x10000000-0x20000000
> isa0 at vrisab0
> pcic0 at isa0 port 0x3e0-0x3e1 iomem 0x70000-0x73fff irq 589827
> pcic0: controller 0 (Intel 82365SL Revision 1) has socket A only
> pcic0: controller 1 (Intel 82365SL Revision 1) has socket A only
> pcmcia0 at pcic0 controller 0 socket 0
> pcmcia1 at pcic0 controller 1 socket 0
> ../../../../arch/hpcmips/vr/vr.c(236): vr_bus_reset() not implemented.
> ISA IRQ 3 -> GPIO port 9
> pcic0: using irq 589827 for socket events
> button manager
> wdc0 at pcmcia0 function 0 port 0x14000300-0x1400030f
> wd0 at wdc0 channel 0 drive 0: <SanDisk SDCFB-128>
> wd0: drive supports 1-sector pio transfers, lba addressing
> wd0: 122 MB, 980 cyl, 8 head, 32 sec, 512 bytes/sect x 250880 sectors
> boot device: wd0
> root on wd0a dumps on wd0b
> isa_intr_alloc:............................|...
> pcmcia0: card irq 3
> isa_intr_alloc:............................|...
> pcmcia0: card irq 3
> isa_intr_alloc:............................|...
> pcmcia0: card irq 3
> WARNING: preposterous clock chip time
>  -- CHECK AND RESET THE DATE!
> root file system type: ffs
> Enter pathname of shell or RETURN for sh: 
> # 
> ===== end of log =====