Subject: Re: Intermec 6651 and NetBSD 1.5.3: works over serial, but no framebuffer
To: None <carton@Ivy.NET, port-hpcmips@netbsd.org>
From: Joseph Steele <joesteele@hotmail.com>
List: port-hpcmips
Date: 03/05/2003 22:02:53
I was able to get as far as the jump into the kernel with 1.6 on my 
Intermec. It goes off into the weeds at that point. I was planning to build 
the TX3922 kernel at one point, but based on your experience it sounds like 
I needn't bother.

With 1.53 I got about as far as you did. Have you tried building a TX3922 
kernel with 1.53 sources? I would really like to get this going also, but I 
have not had more than 30min to play with it in about 2 months. :-(

Joe


"Let's face it: the life of a geek is boring. We spend all day in front of 
our computers checking our e-mail, coding, and sitting on our duff doing 
'nothing'. At least to the untrained eye. On the molecular level, however, 
we are quite busy." Signal 11


----Original Message Follows----
From: Miles Nordin <carton@Ivy.NET>
To: port-hpcmips@netbsd.org
Subject: Intermec 6651 and NetBSD 1.5.3: works over serial, but no 
framebuffer
Date: Wed, 05 Mar 2003 15:23:59 -0500

My MC-R700A backlight finally died.  I guess I smacked it too hard or
something.

   http://sakima.Ivy.Net/~carton/dropbox/NetBSD/mc-r700a/

I'm using the TX3922 kernel from NetBSD 1.5.3 on my Intermec 6651, and
setting it as a 'Sharp HC-VJ1C (Japanese)' in pbsdboot and hpcboot.

When I boot the Intermec 6651 with graphics console, it sorta works
but the console is unreadable.  (maybe because it's incorrectly forced
to 8bpp?---see serial boot messages below) Is there some way to
configure the correct framebuffer settings so I can use 1.5.3?  It
seems so close to working, albeit only with 1.5.3.

I built a TX3922 kernel from current-20021205 sources and it didn't
get this far, no boot messages---maybe this is the same problem the
ePod user reported?

1. ``execute kernel''

2. The screen fades to white like an interlaced GIF, maybe 0.5 sec.

3. the pre-boot Wince screen _comes back_, maybe 1 sec

4. the whole screen goes white, and boot messages appear in black.
    except there are no characters---every glyph is replaced with a
    black box, so the screen is character-cel-height bars of black
    instead of text.

5. the thing gets to some kind of boot prompt probably ``enter root
    device'' or something.  the keymap seems kind of okay---at least h,
    a, l, t, <enter>, and <capslock> are correctly mapped because i can
    reboot the machine from this prompt.  Also, the screen scrolls when
    I reach the bottom correctly, so the bottom edge of the framebuffer
    and the bottom edge of the screen are correctly aligned.


Below is the output of booting with serial console.  The part where
the Wince screen reappears briefly coincides with the line about
plumvideo.

Script started on Wed Mar  5 19:51:12 2003
balthasar# #booting Sharp HC-VJ1C (Japanese) using hpcboot, serial console 
and ``boot verbosely''
balthasar# cu -l ttyU0 -s 9600
Connected.

--------HPCBOOT--------
^@MemoryManager: LockPages
FileManager: FAT
[0] 0x04000000 size 0x04000000
GetVersionEx
Windows CE 3.0
GetSystemInfo:
wProcessorArchitecture      0x1
dwPageSize                  0x1000
dwAllocationGranularity     0x00010000
dwProcessorType             0xfa0
wProcessorLevel             0x3
wProcessorRevision          0x2230
Display: 800x480 16bpp
TX39
open file "\My Documents\netbsd.TX3922.gz"(1218932 byte).
Loader: ELF
file size: +0x1ffea8+0x17f70+[(symbol block: header 664 string 81997 symbol 
94400 byte) = 0x2b3a8] = 0x2433a8 byte
address translation table 592 pages.(4736 byte)
allocated 592 page. mapped 592 page.
2nd bootloader vaddr=0x0032f000 paddr=0x01d78000
2nd bootloader copy done.
[1] vaddr 0x80030000 file size 0x1ffea8 mem size 0x1ffea8
	->load 0x80030000+0x001ffea8=0x8022fea8 ofs=0x00001000+0x1ffea8
[2] vaddr 0x80230eb0 file size 0x17f70 mem size 0xa7b4c
	->load 0x80230eb0+0x000a7b4c=0x802d89fc ofs=0x00200eb0+0x17f70
[zero clear] ->0x80248e20+0x0008fbdc=0x802d89fc
	->load 0x802d89fc+0x00000298=0x802d8c94
	->load 0x802d8c94+0x0001404d=0x802ecce1 ofs=0x002f2d70+0x1404d
	->load 0x802ecce4+0x000170c0=0x80303da4 ofs=0x002dbcb0+0x170c0
load link 585 zero clear link 1.
kernel entry address: 0x80030000
framebuffer: 800x480 type=5 linebytes=0 addr=0x00000000
console = 2
jump to 0x81d78000 (info=0x81d7b000, pvec=0x81b1d000)
mem_cluster_cnt = 2
mem_clusters[0] = {0x0,0x2db000}
mem_clusters[1] = {0x2db000,0x1a49000}
loading 0x2db000,0x1a49000
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.3 (TX3922) #2: Mon Jul  1 20:07:09 PDT 2002
     chris@gollum.mt.sri.com:/usr/src/sys/arch/hpcmips/compile/TX3922
Sharp HC-VJ1C (Japanese) (TOSHIBA TMPR3922 rev. 1.6 129.00 MHz)
total memory = 29840 KB
total memory banks = 2
memory bank 0 = 0x00000000 2924KB(0x002db000)
memory bank 1 = 0x002db000 26916KB(0x01a49000)
avail memory = 24432 KB
using 398 buffers containing 1592 KB of memory
mainbus0 (root)
cpu0 at mainbus0: Toshiba TX3900 CPU (0x2230) Rev. 3.0 with software 
emulated floating point Rev. 0.0
cpu0: 16KB/16B Instruction 2-way set associative, 8KB/16B Data 2-way set 
associative, 64 TLB entries
txsim0 at mainbus0
tx39icu0 at txsim0
tx39power0 at txsim0
tx39clock0 at txsim0
tx39io0 at txsim0
txioman0 at tx39io0:
tx39biu0 at txsim0
tx39sib0 at txsim0: 1.536 MHz
ucb0 at tx39sib0 slot 0: TOSHIBA TC35413F
ucbtp0 at ucb0:
wsmouse0 at ucbtp0 mux 0
ucbsnd0 at ucb0: audio 3.692 kHz telecom 1.200 kHz
tx39uart0 at txsim0
txcom0 at tx39uart0 slot 0: console
txcom1 at tx39uart0 slot 1
txcsbus1 at tx39biu0
tc5165buf0 at txcsbus1 iocs CS1 16bit 0+0x100: polling mode
skbd0 at tc5165buf0
wskbd0 at skbd0 mux 1
plum0 at txcsbus1 regcs CS3 32bit 0+0xffffffff iocs MCS0 32bit 0+0xffffffff 
memcs MCS1 32bit 0+0xffffffff irq1 277(8:21): Plum2 #2
plumicu0 at plum0
plumpower0 at plum0
plumvideo0 at plum0: (16bpp disabled) display mode: 8bpp
hpcfb0 at plumvideo0: hpcrasops 800x480 pixels, 256 colors, 100x48 chars: 
tvram redraw
wsdisplay0 at hpcfb0
wsdisplay0: screen 0 added (std, vt100 emulation)
ohci0 at plum0
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0:  OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
plumpcmcia0 at plum0
pcmcia0 at plumpcmcia0
pcmcia1 at plumpcmcia0
btnmgr0 at mainbus0
wskbd1 at btnmgr0 mux 1
uhub0: device problem, disabling port 2
boot device: <unknown>
root device: wd0a
use one of: halt
root device: halt
syncing disks... done
halted.

~.
Disconnected.
balthasar#
Script done on Wed Mar  5 19:54:42 2003


--
haven't you heard it's a battle of words
the poster bearer cried
listen, son, said the man with the gun
there's room for you inside


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus