Port-hpcsh archive

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

I want to help port NetBSD to HP Jornada 54x



To anyone who can help me,

I am seriously considering jumping in on helping to port NetBSD to the Jornada. I do not currently run NetBSD on any of my machines, and do not have any plans to do so for now (except on my Jornada). I have attached below the serial console log for NetBSD booting up on my Jornada 548. What is the status of the port for that platform? From what I can tell, no one has even really tried, due to the chipset difference. I figure it like this, if it can at least boot, then maybe I could tweak with maybe, say, a kernel module instead of dealing with recompiling the kernel, copying the kernel in, rebooting, etc. My problem is currently that I do not know how I need to set up my development platform. What exactly do I need to do? I am completely new to Unix-like kernel development, though I have written my own little (ultra-simple) OS in the past, so I am familiar with general kernel coding concepts.
I am requesting two things,
1. Info on exactly what I have to do to get a good development platform. Right now, the only machine I have been able to "play with" (eg. install different OSes) is stuck running Win98 for ActiveSync and Embedded Visual C++. I also have a few FreeBSD servers that my company runs on, so if it is possible, I could just compile the kernel out of my home directory. 2. Info on ANYTHING anyone knows about the HP Jornada 548's architecture, how it is different from the 690's or whatever.. Also, maybe a few pointers to some info on the SH3 opcodes, etc. Thanks! Ray
--------HPCBOOT--------
SH architecture.
SH7709A
Page size 1024byte 64pages/region
use LockPages method.
File: FAT
Bank#0 0x0c000000 size 0x02000000
Bank#1 0x0e000000 size 0x02000000
[DISPLAY] 240x320 16bpp
frame buffer physical address: 0xb4200000
frame buffer length: 0x0001c200
open file "\Storage Card\netbsd.gz"(724818 byte).
Loader: ELF
file size: +0x131290+[(symbol block: header 472 string 76940 symbol 101696 byte)
 = 0x2bba4] = 0x15cfa4 byte
address translation table 1472 pages.(11776 byte)
allocated 1472 page. mapped 1472 page.
2nd bootloader vaddr=0x003bfc00 paddr=0x0de4cc00
2nd bootloader copy done.
[0] vaddr 0x8c001000 file size 0x131290 mem size 0x16a71c
        ->load 0x8c001000+0x0016a71c=0x8c16b71c ofs=0x00001000+0x131290
[zero clear] ->0x8c132290+0x0003948c=0x8c16b71c
        ->load 0x8c16b71c+0x000001d8=0x8c16b8f4
        ->load 0x8c16b8f4+0x00012c8c=0x8c17e580 ofs=0x0014fca4+0x12c8c
        ->load 0x8c17e580+0x00018d40=0x8c1972c0 ofs=0x00136f64+0x18d40
load link 1420 zero clear link 1.
kernel entry address: 0x8c001000
framebuffer: 640x240 type=5 linebytes=1280 addr=0xb2000000
console = 3
BootArgs 0x8de3d000 Stack 0x8de10a00
Booting kernel...
option [0]: netbsd.gz
option [1]: h
option [2]: v
platid(cpu/machine) = 08108000/02c20000
display=640x240-(1280) 0xb2000000 type=5
search D-RAM from 0x0c198000 for 0x0e000000
mem_cluster_cnt = 2
mem_clusters[0] = {0xc000000+0x198000 <0xc198000}
mem_clusters[1] = {0xc198000+0x1ccf000 <0xde67000}
total memory = 30Mbyte
nkpde = 15
[ using 179108 bytes of netbsd ELF symbol table ]
symbol size = 179108 byte
proc0 stack: 0x8c19cf94
loading 0xc1ad000,0x1cba000

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.5W (GENERIC) #5: Sun Jun 10 00:47:26 JST 2001
    uch@alexandrite:/work/hpcsh/src/sys/arch/hpcsh/compile/GENERIC
total memory = 31132 KB
avail memory = 26988 KB
using 414 buffers containing 1656 KB of memory
SH 3 7709A Hitachi SH7709A 120.651 MHz PCLOCK 22.85 MHz
mainbus0 (root)
shb0 at mainbus0
scif0 at shb0 port 0xa4000008-0xa4000017 irq 12
scif0: console
hd64461if0 at shb0 irq 4
--------------------------------[hd64461_info]--------------------------------
STBCR (System Control Register)
CKIO_STBY[x] SAFECKE_IST[x] SLCKE_IST[x] SAFECKE_OST[x] SLCKE_OST[_] SMIAST[_] S
LCDST[x] SPC0ST[_] SPC1ST[_] SAFEST[x] STM0ST[x] STM1ST[x] SIRST[_] SURTSD[x]
SYSCR (System Configuration Register)
SCPU_BUS_IGAT[_] SPTA_IR[_] SPTA_TM[_] SPTB_UR[_] WAIT_CTL_SEL[_] SMODE1[_] SMOD
E0[_]
SCPUCR (CPU Data Bus Control Register)
SPDSTOF[_] SPDSTIG[_] SPCSTOF[_] SPCSTIG[_] SPBSTOF[_] SPBSTIG[_] SPASTOF[_] SPA
STIG[_] SLCDSTIG[_] SCPU_CS56_EP[_] SCPU_CMD_EP[_] SCPU_ADDR_EP[_] SCPDPU[_] SCP
U_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 = 0
panic: setup_hpcfbif: not supported color depth

Stopped in pid 0 (swapper) at   cpu_Debugger+0x6:       mov     r14, r15
db> help
break           delete          p               set             until
c               dwatch          print           show            w
call            examine         ps              sifting         watch
callout         kill            reboot          step            write
continue        match           s               sync            x
d               next            search          trace
db> set
Unknown variable
db> show
all             buf             object          registers       watches
arptab          map             page            uvmexp
breaks          ncache          pool            vnode
db> show all
callout procs
db> show object
kernel mode trap: type 224 (code = 0x0)
Faulted in DDB; continuing...
db> help
break           delete          p               set             until
c               dwatch          print           show            w
call            examine         ps              sifting         watch
callout         kill            reboot          step            write
continue        match           s               sync            x
d               next            search          trace
db> ps
 PID             PPID       PGRP        UID S   FLAGS          COMMAND    WAIT
>0                 -1          0          0 7 0x20204          swapper
db> set
Unknown variable
db> print
8c0d34ae
db> print e
       e
db> search
Address missing
db> reboot


Home | Main Index | Thread Index | Old Index