Subject: kernel config file?
To: None <port-hpcsh@netbsd.org>
From: Dean <dean@deanandadie.net>
List: port-hpcsh
Date: 11/06/2002 11:31:46
--h31gzZEtNLTqOjlF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Does someone have the kernel config file that was used to compile the kernels at
ftp://ftp.netbsd.org/pub/NetBSD/arch/hpcsh/snapshot/ handy?  GENERIC seems to be
missing some critical memory filesystem.  Boot messages and kernel config
attached.  Kernel config is pretty much a copy of GENERIC with added support for
my 3COM nic.  I tried adding pseudo-device md 2 for miniroot.fs support. 

Also, can the jornada be netbooted al la a diskless client?  (once I have the
kernel working correctly.)  hpcboot seems to support nfs root filesystem.

Thanks,
--Dean
--
Unscrambler of eggs.
IT Ops aka ITPS aka SunIT aka SunIR aka ENS aka Desktop Support aka EIS aka IS
--------------------------------------------------------------------------------
In vino veritas
Fermentation fault (Coors dumped)

--h31gzZEtNLTqOjlF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=bootmessages

--------HPCBOOT--------
CPU: SH7709A
MemoryManager: LockPages
FileManager: FAT
Memory Bank:
[0] 0x0c000000 size 0x02000000
[1] 0x0e000000 size 0x02000000
GetVersionEx
Windows CE 2.11
GetSystemInfo:
wProcessorArchitecture      0x4
dwPageSize                  0x400
dwAllocationGranularity     0x00010000
dwProcessorType             0x2713
wProcessorLevel             0x3
wProcessorRevision          0x0
Display: 640x240 16bpp
DEBUG BIT: ................................ [0x00000000] 0
open file "\netbsd\miniroot.fs"(4194304 byte).
open file "\netbsd\netbsd-HITCHHIKER.gz"(612327 byte).
Loader: ELF
file size: +0x101458+[(symbol block: header 472 string 70075 symbol 91328 byte) = 0x27854] = 0x129054 byte
address translation table 5376 pages.(43008 byte)
allocated 5376 page. mapped 5376 page.
2nd bootloader address U0: 0x005dfc00 P1: 0x8ce73000
[0] vaddr 0x8c000000 file size 0x101458 mem size 0x132074
        ->load 0x8c000000+0x00132074=0x8c132074 ofs=0x00000000+0x101458
[zero clear] ->0x8c101458+0x00030c1c=0x8c132074
        ->load 0x8c132074+0x000001d8=0x8c13224c
        ->load 0x8c13224c+0x000111bb=0x8c143407 ofs=0x0011f554+0x111bb
        ->load 0x8c143408+0x000164c0=0x8c1598c8 ofs=0x00109094+0x164c0
open file "\netbsd\miniroot.fs"(4194304 byte).
[file system image]     ->load 0x8c15a000+0x00400000=0x8c55a000 ofs=0x00000000+0x400000
load link 5370 zero clear link 1.
kernel entry address: 0x8c001000
framebuffer: 640x240 type=5 linebytes=1280 addr=0xb2000000
console = 3
boot arg: 0x8ce72c00 stack: 0x8ce72a00
Booting kernel...
search D-RAM from 0x0c15a000 for 0x0e000000
search D-RAM from 0x0e000000 for 0x10000000
malfunction brundage-> tip jornada
connected
CLIENTCLIENTCLIENT
--------HPCBOOT--------
CPU: SH7709A
MemoryManager: LockPages
FileManager: FAT
Memory Bank:
[0] 0x0c000000 size 0x02000000
[1] 0x0e000000 size 0x02000000
GetVersionEx
Windows CE 2.11
GetSystemInfo:
wProcessorArchitecture      0x4
dwPageSize                  0x400
dwAllocationGranularity     0x00010000
dwProcessorType             0x2713
wProcessorLevel             0x3
wProcessorRevision          0x0
Display: 640x240 16bpp
DEBUG BIT: ................................ [0x00000000] 0
open file "\netbsd\miniroot.fs"(4194304 byte).
open file "\netbsd\netbsd-HITCHHIKER.gz"(612995 byte).
Loader: ELF
file size: +0x101ba4+[(symbol block: header 472 string 70260 symbol 91648 byte) = 0x27a4c] = 0x12964c byte
address translation table 5376 pages.(43008 byte)
allocated 5376 page. mapped 5376 page.
2nd bootloader address U0: 0x005dfc00 P1: 0x8ce57800
[0] vaddr 0x8c000000 file size 0x101ba4 mem size 0x132804
        ->load 0x8c000000+0x00132804=0x8c132804 ofs=0x00000000+0x101ba4
[zero clear] ->0x8c101ba4+0x00030c60=0x8c132804
        ->load 0x8c132804+0x000001d8=0x8c1329dc
        ->load 0x8c1329dc+0x00011274=0x8c143c50 ofs=0x0011fe4c+0x11274
        ->load 0x8c143c50+0x00016600=0x8c15a250 ofs=0x0010984c+0x16600
open file "\netbsd\miniroot.fs"(4194304 byte).
[file system image]     ->load 0x8c15b000+0x00400000=0x8c55b000 ofs=0x00000000+0x400000
load link 5372 zero clear link 1.
kernel entry address: 0x8c001000
framebuffer: 640x240 type=5 linebytes=1280 addr=0xb2000000
console = 3
boot arg: 0x8ce57400 stack: 0x8ce57200
Booting kernel...
search D-RAM from 0x0c15b000 for 0x0e000000
search D-RAM from 0x0e000000 for 0x10000000
mem_cluster_cnt = 2
mem_clusters[0] = {0xc000000+0x15b000 <0xc15b000}
mem_clusters[1] = {0xc15b000+0xea5000 <0xd000000}
total memory = 16Mbyte
loading 0xc15b000,0xea5000
[ using 162380 bytes of netbsd ELF symbol table ]
symbol size = 162380 byte
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    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.6_STABLE (HITCHHIKER) #1: Wed Nov  6 02:34:16 PST 2002
    root@remus:/usr/src/sys/arch/hpcsh/compile/HITCHHIKER
general exception handler:      308 byte
TLB miss exception handler:     292 byte
interrupt exception handler:    228 byte
total memory = 16384 KB
avail memory = 13644 KB
using 230 buffers containing 920 KB of memory
[HP Jornada 680] SH 3 7709A 132.694 MHz PCLOCK 22.102 MHz
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
shb0 at mainbus0
scif0 at shb0
scif0: console
hd64461if0 at shb0
--------------------------------[hd64461_info]--------------------------------
STBCR (System Control Register)
CKIO_STBY[_] SAFECKE_IST[x] SLCKE_IST[_] SAFECKE_OST[x] SLCKE_OST[_] SMIAST[x] SLCDST[_] SPC0ST[x] SPC1ST[x] SAFEST[x] STM0ST[x] STM1ST[_] SIRST[x] SURTSD[x] 
SYSCR (System Configuration Register)
SCPU_BUS_IGAT[_] SPTA_IR[_] SPTA_TM[x] SPTB_UR[_] WAIT_CTL_SEL[_] SMODE1[_] SMODE0[_] 
SCPUCR (CPU Data Bus Control Register)
SPDSTOF[_] SPDSTIG[x] SPCSTOF[_] SPCSTIG[x] SPBSTOF[_] SPBSTIG[x] SPASTOF[_] SPASTIG[x] SLCDSTIG[x] SCPU_CS56_EP[_] SCPU_CMD_EP[x] SCPU_ADDR_EP[x] SCPDPU[_] SCPU_A2319_EP[_] 

NIRR (Interrupt Request Register)
PCC0R[_] PCC1R[_] AFER[_] GPIOR[_] TMU0R[_] TMU1R[_] IRDAR[_] UARTR[_] 
NIMR (Interrupt Mask Register)
PCC0M[_] PCC1M[_] AFEM[_] GPIOM[_] TMU0M[_] TMU1M[_] IRDAM[_] UARTM[_] 
--------------------------------------------------------------------------------
hd64461video0 at hd64461if0: frame buffer = 512 KB 
hpcfb0 at hd64461video0
wsdisplay0 at hpcfb0 kbdmux 1
wsmux1: 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
pcmcia1 at hd64461pcmcia0
hd64461gpio at hd64461if0 not configured
hd64461afe at hd64461if0 not configured
hd64461uart at hd64461if0 not configured
hd64461fir at hd64461if0 not configured
pfckbd0 at mainbus0
hpckbd0 at pfckbd0
wskbd0 at hpckbd0: console keyboard
boot device: <unknown>
root device:

--h31gzZEtNLTqOjlF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="kernel.conf"

# $NetBSD: GENERIC,v 1.24.4.1 2002/08/01 04:21:43 lukem Exp $
#
# GENERIC machine description file
 
# This machine description file is used to generate the default NetBSD
# kernel.  The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# For further information on compiling NetBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page.  For further information about kernel options
# for this architecture, see the options(4) man page.  For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

#
# This kernel supports...
#       HP Jornada 680/690
#       HP HP620LX
#       HITACHI HPW50PA
#

include         "arch/hpcsh/conf/std.hpcsh"

options         INCLUDE_CONFIG_FILE     # embed config file in kernel binary

maxusers        32                      # estimated number of users

options         SH3
#
# PCLOCK is estimated by kernel.
#                               PCLOCK          CPU CLOCK
#       HP Jornada 680/690      22.22MHz        133MHz
#       HP HP620LX              18.75MHz        75MMHz
#       HITACHI HPW50PA         25MHz           100MHz
#

options         DDB                     # in-kernel debugger
#options        KGDB                    # in-kernel debugger
#makeoptions    DEBUG="-g"      # compile full symbol table
#options        KGDB_DEVRATE=19200
# HP Jornada
#options        "KGDB_DEVNAME=\"scif\""
# HITACHI PERSONA (SH3)
#options        "KGDB_DEVNAME=\"hd64461uart\""
# HITACHI PERSONA (SH4)
#options        "KGDB_DEVNAME=\"hd64465uart\""

#options        HPC_DEBUG_INTERRUPT_MONITOR
#options        KSTACK_DEBUG
options         DIAGNOSTIC              # extra kernel debugging checks
options         DEBUG                   # extra kernel debugging support
#options        KTRACE                  # system call tracing support
options         KLOADER_KERNEL_PATH="\"/netbsd\""

# Standard system options
options         RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT

options         PCMCIAVERBOSE   # verbose PCMCIA configuration messages
#options        USERCONF                # userconf(4) support
options         PIPE_SOCKETPAIR         # smaller, but slower pipe(2)

# Executable format options
options         EXEC_COFF       # 32-bit COFF executables
options         EXEC_ELF32      # 32-bit ELF executables

# File systems
file-system     FFS             # UFS
file-system     MSDOSFS         # MS-DOS file system
file-system     NFS             # Sun NFS-compatible filesystem client
#file-system    UNION           # union file system
file-system     KERNFS          # /kern
file-system     PROCFS          # /proc

# File system options

# Networking options
options         INET            # IP + ICMP + TCP + UDP
#options        INET6           # IPV6

options         NFS_BOOT_DHCP

# Kernel root file system and dump configuration.
config          netbsd  root on ? type ?

options         WSEMUL_VT100
options         WSDISPLAY_DEFAULTSCREENS=4
options         FONT_VT220L8x10
options         WS_KERNEL_FG=WSCOL_BROWN
options         WS_KERNEL_BG=WSCOL_BLUE

#
# Device configuration
#
mainbus0 at root

cpu*            at mainbus?
shb*            at mainbus?
pfckbd*         at mainbus?

#
# Workstation Console attachments
#
hpcfb*          at hd64461video?
wsdisplay*      at hpcfb?

hpckbd*         at pfckbd?
wskbd*          at hpckbd? mux 1

#
# HP Jornada
#
# Serial Devices
# don't need to define SCICONSOLE. you can select from bootloader.
options         SCIFCN_SPEED=19200
scif0 at shb?

hd64461if* at shb?
hd64461pcmcia*  at hd64461if?
hd64461video*   at hd64461if?

#
# HITACHI PERSONA (HPW-50PAD, HPQ-650PA)
#
#com0           at hd64461if?

#
# machine independent part
#
# PCMCIA bus support
pcmcia0 at hd64461pcmcia? controller 0 socket ? # I/O card, memory card
pcmcia1 at hd64461pcmcia? controller 1 socket ? # memory card only

# PCMCIA network interfaces
ne*     at pcmcia0 function ?           # NE2000-compatible Ethernet
mbe*    at pcmcia0 function ?           # MB8696x based Ethernet
# My pcmcia nic
ep*     at pcmcia? function ?           # 3Com 3c589 and 3c562 Ethernet

ukphy*  at mii? phy ?                   # generic unknown PHYs

# PCMCIA IDE disk
# PC-Card slot
wdc1    at pcmcia0 function ?
wd*     at wdc1 channel ? drive ? flags 0x0000
# Compact Flash slot (only memory mapped mode CF can attach)
wdc0    at pcmcia1 function ?
wd*     at wdc0 channel ? drive ? flags 0x0000

# network pseudo-devices
pseudo-device   bpfilter        2       # Berkeley packet filter
pseudo-device   loop                    # network loopback

# miscellaneous pseudo-devices
pseudo-device   md              2       # memory disk device (ramdisk)
pseudo-device   pty                     # pseudo-terminals
pseudo-device   rnd                     # /dev/random and in-kernel generator
pseudo-device   clockctl                # user control of clock subsystem

# mouse & keyboard multiplexor pseudo-devices
pseudo-device   wsmux

--h31gzZEtNLTqOjlF--