Subject: Few Jornada 690 questions
To: None <port-hpcsh@netbsd.org>
From: Adam Wysocki via ArcaBit <gophi@arcabit.pl>
List: port-hpcsh
Date: 08/12/2006 14:23:37
Hi,

Recently I wrote about attempts to run NetBSD on Ericsson MC-16. 
Unfortunately I have no time for writing my own drivers for it's 
unsupported hardware (at least not now), so I've bought Jornada 
690. NetBSD runs perfectly, but I have few questions.

1. When I boot without a serial console, immediately after hpcboot 
attempts to boot the kernel Jornada says:

Booting WARM...
Exception Event Code = 40
TLB Miss/Invalid (load)

And reboots back to WinCE. When I boot with a serial console, it boots 
fine. My Jornada is French, but I don't like it's keyboard layout, so 
I've selected in hpcboot "European", maybe this is the case (does it 
affect only the keyboard layout?).

2. Suspending works okay, but unsuspending does not turn the display 
on. I suspect it can be related to booting with a serial console.

3. Is there a program or other possibility to turn the display off 
and on? I've tried wsconsctl -da, but no option seems to be related.

4. I've calibrated my touch panel using tpctl, but in X it still 
seems to be uncalibrated. Maybe there's an other utility for X 
and other for the console?

5. I got a message in dmesg:

com0 at hd64461if0: device problem. don't attach.

Is it related to booting with a serial console?

I run generic kernel. My dmesg, in case it would help:

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 (GENERIC) #0: Mon Dec 19 00:33:41 UTC 2005
        builds@b3.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/hpcsh/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/hpcsh/compile/GENERIC
HP Jornada 690 (European)
total memory = 32768 KB
avail memory = 30196 KB
mainbus0 (root)
cpu0 at mainbus0: HITACHI SH3 132.694MHz PCLOCK 22.102 MHz
16KB/16B 4-way set-associative I/D-unified cache.
P0, U0, P3 write-back P1 write-back
4-way set-associative 128 TLB entries
VPN mode, multiple virtual storage mode
btnmgr0 at mainbus0
wskbd2 at btnmgr0 mux 1
shb0 at mainbus0
scif0 at shb0
scif0: console
adc0 at shb0
j6x0pwr0 at adc0
j6x0tp0 at adc0
wsmouse0 at j6x0tp0 mux 0
wskbd1 at j6x0tp0 mux 1
j6x0lcd0 at shb0: brightness 28, contrast 11
hd64461if0 at shb0
hd64461video0 at hd64461if0: frame buffer = 512 KB
hpcfb0 at hd64461video0
wsdisplay0 at hpcfb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wskbd2: connecting to wsdisplay0
wskbd1: connecting to wsdisplay0
hpcfb: 640x240 pixels, 65536 colors, 80x24 chars
hpcfb: 640x240 pixels, 65536 colors, 80x24 chars
hpcfb: 640x240 pixels, 65536 colors, 80x24 chars
hpcfb: 640x240 pixels, 65536 colors, 80x24 chars
wsdisplay0: screen 0-3 added (std, vt100 emulation)
hd64461pcmcia0 at hd64461if0
pcmcia0 at hd64461pcmcia0
wi0 at pcmcia0 function 0: <Lucent Technologies, WaveLAN/IEEE, Version 01.01, >
wi0: 802.11 address 00:02:2d:3e:8a:6f
wi0: using Lucent Technologies, WaveLAN/IEEE
wi0: Lucent Firmware: Station (8.72.1)
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
pcmcia1 at hd64461pcmcia0
wdc0 at pcmcia1 function 0: <SAMSUNG, 04/05/06>
wdc0: memory mapped mode
atabus0 at wdc0 channel 0
hd64461gpio at hd64461if0 not configured
hd64461afe at hd64461if0 not configured
com0 at hd64461if0: device problem. don't attach.
hd64461fir at hd64461if0 not configured
pfckbd0 at mainbus0
hpckbd0 at pfckbd0
wskbd0 at hpckbd0 mux 1
wskbd0: connecting to wsdisplay0
hpcapm0 at mainbus0: pseudo power management module
apmdev0 at hpcapm0: Power Management spec V1.2
wd0 at atabus0 drive 0: <SAMSUNG CF/ATA>
wd0: drive supports 1-sector PIO transfers, LBA addressing
wd0: 497 MB, 1010 cyl, 16 head, 63 sec, 512 bytes/sect x 1018080 sectors
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
WARNING: preposterous clock chip time
 -- CHECK AND RESET THE DATE!
hpcfb: 640x240 pixels, 65536 colors, 80x24 chars
wsdisplay0: screen 4 added (std, vt100 emulation)
sys_ioctl: _IOWR('W', 82, 32) returned -1: pid=381 comm=wsconsctl

-- 
[ Adam Wysocki :: www.chmurka.net :: +48 514 710 213 ]
[ Software Development Department, ArcaBit Sp. z o.o ]
[ Ul. Fortuny 9 :: 01-339 Warszawa :: www.arcabit.pl ]