Port-hpcsh archive

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

Re: sample files (netbsd, and miniroot.fs)



 |      could you put working kernel, and miniroot.fs (just /sbin/init, /dev
 |      and some others) into somewhere?  I wrote up
 |      http://www.netbsd.org/Ports/hpcsh/howto-use.html.  It would be
 |      easier for many people if we have some file available,
 |      which are known to work.

[bootloader] (preliminary)
        ftp://f77.nop.or.jp/users/uch/hpcboot/
        get the latest tar-ball. executable is stand/binary/sh3/hpcboot.exe

[kernel image]
         compile syssrc/sys/arch/hpcsh/conf/JORNADA690. 
        (cross compiler is pkgsrc/cross/shel-netbsdcoff/)
        or get from ftp://f77.nop.or.jp/users/uch/hpcsh/netbsd

[file system image]
        http://f77.nop.or.jp/users/uch/hpcsh/miniroot.fs

[boot]
        1. connect serial cable to host machine.
        2. at host machine,
                /etc/remote:
                cons0:dv=/dev/tty00:br#9600:pa=none:dc:
                $ tip cons0
        3. put hpcboot.exe, netbsd and miniroot.fs to FLASH ATA card.
        4. execute hpcboot.exe from ATA card.
        5. select directory select box.  (ex, Storage Card\)
        6. write kernel name to text box. (default `netbsd')
        7. select platform. currently, only `HP Jornada 690' is supported.
        8. check `md' radio button
        9. write `miniroot.fs` to following text box.
        10. select `option' tab window.
        11. check `Serial Console'
        12. push `BOOT` button.

[full message of serial cosole]
        (this is HTTP boot)
        directory: http://youserver
        kernel: /~foo/netbsd
        fs: /~foo/miniroot.fs

--------HPCBOOT--------
SH architecture.
SH7709A
Page size 1024byte 64pages/region
use LockPages method.
File: HTTP
Loader: COFF
Bank#0 0x0c000000 size 0x02000000
Bank#1 0x0e000000 size 0x02000000
ExtEscape (GETVFRAMEPHYSICAL) not implemented.
ExtEscape (GETVFRAMELEN) not implemented.
Cache Enabled. normal-mode, P0/U0/P3 Write-Back, P1 Write-Back
MMU Enabled. VPN only index-mode, multiple virtual storage mode
SR 0x40000001
ICR0   0x00008000
ICR1   0x00002250
ICR2   0x00000000
PINTER 0x0000ffdf
IPRA   0x000018cf
IPRB   0x00005000
IPRC   0x0000bf00
IPRD   0x0000990e
IPRE   0x00000ff5
IRR0   0x00000002
IRR1   0x00000000
IRR2   0x00000000
PINT enable (on |)  :................||||||||||.|||||
PINT detect (high |):................................
NMI (High falling-edge), never maskable,  SR.BL ignored
IRQ[3:0] : dependent IRQ[0:3] (IRL disabled) source
IRQ[5] falling edge
IRQ[4] low level
IRQ[3] raising edge
IRQ[2] raising edge
IRQ[1] falling edge
IRQ[0] falling edge
----interrupt priority----
TMU0       1
TMU1       8
TMU2       12
RTC        15
WDT        5
REF        0
SCI        0
reserve    0
IRQ3       11
IRQ2       15
IRQ1       0
IRQ0       0
PINT0-7    9
PINT8-15   9
IRQ5       0
IRQ4       14
DMAC       0
IrDA       15
SCIF       15
ADC        5
--------------------------
192.168.33.1  "agate.rfe.nop.or.jp"
content-length=4194304
header 187 byte contents 4194304 byte
content-length=701184
header 186 byte contents 701184 byte
file size: text 0x87500 + data 0x48b0 = 0x8bdb0 byte
address translation table 4736 pages. (37888 byte)
allocated 4736 page. mapped 4736 page.
2nd bootloader vaddr=0x005dfc00 paddr=0x0ed88c00
2nd bootloader copy done.
a_vstamp=0 f_opthdr=28 f_nscns=4 FILHSZ=20 SCNHSZ=40
[text]  ->load 0x8c001000+0x00087500=0x8c088500 ofs=0x000000d0+0x87500
[data]  ->load 0x8c088500+0x000048b0=0x8c08cdb0 ofs=0x000875d0+0x48b0
[bss ]  ->load 0x8c08cdb0+0x000204f8=0x8c0ad2a8 ofs=0x00000000+0x0
[zero clear] ->0x8c08cdb0+0x000204f8=0x8c0ad2a8
content-length=4194304
header 187 byte contents 4194304 byte
[file system image]  ->load 0x8c0ae000+0x00400000=0x8c4ae000 ofs=0x00000000+0x4
00000
content-length=4194304
header 187 byte contents 4194304 byte
load link 4731 zero clear link 1.
kernel entry address: 0x8c001000
frame buffer: 640x240 type=5 linebytes=0 addr=0x10000000
BootArgs 0x8ed88400 Stack 0x8ed87e00
Booting kernel...
0x8C001000
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.5Q (JORNADA690) #0: Mon Jan 22 00:17:47 JST 2001
    
uch%alexandrite.rfe.nop.or.jp@localhost:/work/cvsrep/syssrc/sys/arch/hpcsh/compile/JO
RNADA690
total memory = 16384 KB
avail memory = 10284 KB
using 230 buffers containing 920 KB of memory
mainbus0 (root)
shb0 at mainbus0
scif0 at shb0 port 0xa4000008-0xa4000017 irq 12
scif0: console
biomask c0000000 netmask c0000000 ttymask e0000000
cpu_initclocks completed
md0: internal 4096 KB image area
boot device: <unknown>
root on md0a dumps on md0b
WARNING: preposterous time in file system
WARNING: file system time much less than clock time
rcorder: could not open /etc/rc.d/*: No such file or directory
Thu Dec 31 15:05:35 GMT 1998
Dec 31 15:05:35 init: kernel security level changed from 0 to 1
No home directory /root!
Logging in with home = "/".
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
        The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

# cd /
# echo *
bin dev etc kern proc sbin tmp usr
# /sbin/reboot
Dec 31 15:05:57 reboot: rebooted by root
syncing disks... done
---
UCHIYAMA Yasushi
uch%nop.or.jp@localhost



Home | Main Index | Thread Index | Old Index