Annotation of wikisrc/ports/hpcmips/howto-use.mdwn, revision 1.1

1.1     ! mspo        1: NetBSD/hpcmips User How-To page
        !             2: ===============================
        !             3: 
        !             4: ### 
        !             5: 
        !             6: -   [About this page](#about)
        !             7: 
        !             8: ### Getting started with NetBSD/hpcmips
        !             9: 
        !            10: -   [Overview of how to start NetBSD/hpcmips](#overview-start)
        !            11: -   [filesystem overview](#overview-filesystem)
        !            12: -   [Do I need to purchase a CF or ATA card? If so - got any
        !            13:     recommendations?](#cf-recomen)
        !            14: -   [Finding out if your system is supported by
        !            15:     NetBSD/hpcmips](#prep-hwsupport)
        !            16: -   [Supported CF and PCMCIA cards](#prep-cardsupport)
        !            17: -   [Getting the NetBSD/hpcmips distribution](#prep-get)
        !            18: -   [Getting the NetBSD/hpcmips boot loader
        !            19:     (pbsdboot.exe)](#prep-getbooter)
        !            20: -   [Getting the NetBSD/hpcmips kernel](#prep-kernel)
        !            21: -   [Accessing Microsoft partitions](#ms_partition)
        !            22: -   [Preparing a Compact Flash card with a NetBSD
        !            23:     partition](#prep-cfpart)
        !            24: -   [Preparing a Compact Flash card without a NetBSD
        !            25:     partition](#prep-cfnopart)
        !            26: -   [Getting support from mailing lists](#prep-support)
        !            27: -   [keyboard mapping control](#key-map)
        !            28: 
        !            29: ### pbsdboot.exe: the NetBSD/hpcmips boot loader
        !            30: 
        !            31: -   [What is the NetBSD/hpcmips boot loader
        !            32:     (pbsdboot.exe)?](#booter-background)
        !            33: -   [NetBSD/hpcmips boot loader options](#booter-options)
        !            34: -   [Booting the kernel with a serial console](#booter-console)
        !            35: -   [Automatically booting into NetBSD](#booter-quickboot)
        !            36: -   [One-button boot on the Everex Freestyle](#booter-everex-quickboot)
        !            37: 
        !            38: * * * * *
        !            39: 
        !            40: ### 
        !            41: 
        !            42: #### About this page ([top](#about1))
        !            43: 
        !            44: This page contains information that current and potential users of
        !            45: NetBSD/hpcmips can use to help them set up and maintain their systems.
        !            46: 
        !            47: * * * * *
        !            48: 
        !            49: ### Getting started with NetBSD/hpcmips
        !            50: 
        !            51: #### Overview of how to start NetBSD/hpcmips ([top](#))
        !            52: 
        !            53: You need at least 2 files to start NetBSD/hpcmips:
        !            54: 
        !            55: `pbsdboot.exe`{.filename}
        !            56: :   bootloader runs on WindowsCE environment.
        !            57: a netbsd kernel
        !            58: :   
        !            59: 
        !            60: On pbsdboot pull-down menu, select hardware type and path to kernel.
        !            61: pbsdboot passes hardware information (framebuffer information, etc.) to
        !            62: kernel. The kernel will use all the Windows CE memory as RAM, so you
        !            63: MUST backup all of your data stored in CE memory before booting. Click
        !            64: Boot to load the kernel.
        !            65: 
        !            66: #### filesystem overview ([top](#))
        !            67: 
        !            68: You have a choice of filesystems:
        !            69: 
        !            70: filesystem on Compact Flash Cards or ATA Cards
        !            71: :   need a DOS partition for pbsdboot.exe and a NetBSD partition
        !            72: filesystem on SCSI/IDE disk
        !            73: :   NetBSD/hpcmips supports PCMCIA SCSI Card such as SlimSCSI, so you
        !            74:     can make your file system on SCSI disks. Recommended for developers.
        !            75: filesystem on NFS Server
        !            76: :   During boot:
        !            77: 
        !            78:     NetBSD/hpcmips finds pcmcia Ethernet Card
        !            79: 
        !            80:     gets an IP address via dhcp server
        !            81: 
        !            82:     finds NFS server
        !            83: 
        !            84:     mounts / partition from NFS server
        !            85: 
        !            86: #### Do I need to purchase a CF or ATA card? If so - got any recommendations? ([top](#))
        !            87: 
        !            88: for typical users we recommend 128M CF.
        !            89: :   base+kern+etc+comp works fine
        !            90: 80M-96M CF
        !            91: :   base+kern+etc - basic NetBSD system available in your pocket.
        !            92: less than 64M CF
        !            93: :   base+kern+etc - if you delete large unused files
        !            94: 15M CF
        !            95: :   north pole for living - for those who like a challenge
        !            96: 
        !            97: #### Finding out if your system is supported by NetBSD/hpcmips ([top](#))
        !            98: 
        !            99: Check [Supported Machines](../hpcmips/#supported) listing.
        !           100: 
        !           101: #### Supported CF and PCMCIA cards ([top](#))
        !           102: 
        !           103: NetBSD [Supported hardware database](http://projects.NetBSD.org/cgi-bin/hw.cgi) is available. Select PCMCIA and query/add database. NetBSD users build this database.
        !           104: :   
        !           105: See NetBSD [Machine-independent PCMCIA drivers](../../support/hardware/pcmcia.html).
        !           106: :   
        !           107: Compact Flash Storage:
        !           108: :   over 48M CF SanDisk
        !           109: 
        !           110:     note:on z50 Extreme Memory Compact Flash EM-CF/128/P (PQI FLASH DISK
        !           111:     1201N)sometimes chokes and hangs the z50, especially under heavy
        !           112:     "disk" load.
        !           113: 
        !           114: PCMCIA Devices cards:
        !           115: :   NE2000 compatible corega Ether PCC-T
        !           116: 
        !           117:     3com 3C589\*
        !           118: 
        !           119:     Lucent/Agere WaveLAN/Orinoco wireless NIC
        !           120: 
        !           121:     Socket Communications, Inc. Standard LP-E CF+ (EA2900-117)
        !           122: 
        !           123:     Xircom CF Ethernet card
        !           124: 
        !           125:     [TDK LAC-CF010 CF Ethernet
        !           126:     Card](http://www.tdk.co.jp/tjbda01/bda11100.htm)
        !           127: 
        !           128:     3com 3C1 : gets MAC address via ep driver, but does not transmit any
        !           129:     packets. Broken.
        !           130: 
        !           131:     NTT DoCoMo Paldio 611S (Japan:PHS include CF Modem I/F)
        !           132: 
        !           133:     [DN-boy](http://www.linkease.com.tw/thing/dn_boy.htm)
        !           134: 
        !           135:     [eXtreme drive](http://www.planex.co.jp/product/drive/rxindex.htm)
        !           136: 
        !           137: Adaptec SlimSCSI 1460 (APA-1460)
        !           138: :   
        !           139: Apricorn EZ-GIG Expansion Card
        !           140: :   
        !           141: Callunacard CT260T2
        !           142: :   
        !           143: 
        !           144: #### Getting the NetBSD/hpcmips distribution ([top](#))
        !           145: 
        !           146: check [ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-5.0/hpcmips/](ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-5.0/hpcmips/)
        !           147: :   binary/sets:NetBSD/hpcmips binary such as base.tgz, comp.tgz.
        !           148: 
        !           149:     installation:pbsdboot.exe.gz and netbsd.gz
        !           150: 
        !           151:     source:source files
        !           152: 
        !           153:     place pbsdboot.exe and netbsd on your CF card and run pbsdboot.exe
        !           154:     to start netbsd installation kernel (includes sysinst). You can boot
        !           155:     netbsd.gz without unzipping it if space is tight.
        !           156: 
        !           157: #### Getting the NetBSD/hpcmips boot loader (pbsdboot.exe) ([top](#))
        !           158: 
        !           159: Download from [pbsdboot download
        !           160: directory](ftp://ftp.NetBSD.org/pub/NetBSD/arch/hpcmips/pocketbsd/pbsdboot/).
        !           161: Pbsdboot.exe is compiled for WindowsCE 2.00. Use Pbsdboot1.exe for
        !           162: Windows CE 1.01. Pbsdboot.exe is updated to use color maps for 8 bit
        !           163: frame buffer machines. Now we can use 256 colors, though we don't know
        !           164: about details of video controller chip. (We actually do not know about
        !           165: the video chips at all.)
        !           166: 
        !           167: Because Windows CE 1.0 does not support color map at all, the pbsdboot
        !           168: can not support both CE 1.0 and 2.0 with single binary. Thus
        !           169: pbsdboot.exe is compiled for CE 2.0 or later. You should use
        !           170: pbsdboot1.exe for CE 1.0.
        !           171: 
        !           172: #### Getting the NetBSD/hpcmips kernel ([top](#))
        !           173: 
        !           174: pbsdboot hook up NetBSD/hpcmips kernel file.
        !           175: :   [netbsd-GENERIC.gz](ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-5.0/hpcmips/binary/kernel/):
        !           176:     this kernel runs on Vr41xx and TX3922 CPUs only.
        !           177: 
        !           178:     [netbsd-TX3912.gz](ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-5.0/hpcmips/binary/kernel/):
        !           179:     a kernel for TX3912 machines.
        !           180: 
        !           181: #### Accessing Microsoft partitions ([top](#))
        !           182: 
        !           183: To access your MS-DOS WinCE partition, read [Accessing Microsoft
        !           184: partitions](../i386/faq.html#ms_partition).
        !           185: 
        !           186: #### Preparing a Compact Flash card with a NetBSD partition ([top](#))
        !           187: 
        !           188: [Creating a file system on Compact Flash](install.txt).
        !           189: 
        !           190: #### Preparing a Compact Flash card without a NetBSD partition ([top](#))
        !           191: 
        !           192: TODO
        !           193: 
        !           194: #### Getting support from mailing lists ([top](#))
        !           195: 
        !           196: -   [NetBSD/hpcmips mailing list (English
        !           197:     language)](../../mailinglists/#port-hpcmips)
        !           198: -   [NetBSD/hpcmips mailing list (Japanese
        !           199:     language)](http://www.jp.NetBSD.org/ja/JP/ml.html#port-hpcmips-ja)
        !           200: 
        !           201: #### keyboard mapping control ([top](#))
        !           202: 
        !           203: Swap CTRLCAPS 
        !           204: :   wsconsctl -w encoding=jp.swapctrlcaps
        !           205: Muhenkan key to Function 10 (for MGL2 switch window)
        !           206: :   wsconsctl -w map+="keysym Muhenkan = F10"
        !           207: Henkan key to Function 9 (for MGL2 change window)
        !           208: :   wsconsctl -w map+="keysym Henkan = F9"
        !           209: 
        !           210: * * * * *
        !           211: ### pbsdboot.exe: the NetBSD/hpcmips boot loader
        !           212: 
        !           213: #### What is the NetBSD/hpcmips boot loader (pbsdboot.exe)? ([top](#))
        !           214: 
        !           215: TODO
        !           216: 
        !           217: #### NetBSD/hpcmips boot loader options ([top](#))
        !           218: 
        !           219: Boot loader from Windows CE 
        !           220: :   Boot loader from Windows CE environment called "pbsdboot.exe" is
        !           221:     available from
        !           222:     [ftp.NetBSD.org](ftp://ftp.NetBSD.org/pub/NetBSD/arch/hpcmips/pocketbsd/pbsdboot/).
        !           223: Boot loader Options
        !           224: :   **-d** break into the kernel debugger
        !           225: 
        !           226:     **-m** use miniroot in memory
        !           227: 
        !           228:     **-s** single user mode
        !           229: 
        !           230:     **-h** use serial console
        !           231: 
        !           232:     **-a** ask for name:kernel ask root device (such as wd0a), dump
        !           233:     device (such as wd0b), filesystem (such as ffs). To change root
        !           234:     device on Slim SCSI card/IDE PCMCIA card, use this option and set
        !           235:     root device to sd0/wd.
        !           236: 
        !           237:     **-b=DEV** change boot device to DEV(wd0, sd0, nfs etc.)
        !           238: 
        !           239: #### Booting the kernel with a serial console ([top](#))
        !           240: 
        !           241: :   On pbsdboot, check & set these parameter:
        !           242: :   Options: h
        !           243: :   Serialport on
        !           244: :   Connect your terminal with 9600bps, 8bit, non-parity, VT100 mode
        !           245: pbsdboot frame buffer type setting
        !           246: :   D8\_FF : white type on black screen
        !           247: 
        !           248:     D8\_00 : black type on white screen
        !           249: 
        !           250: #### Automatically booting into NetBSD ([top](#))
        !           251: 
        !           252: To skip touch panel calibration, power on with shift+power key. Some
        !           253: systems will automatically run
        !           254: `\Storage Card\AutoRun\XXXXXX`{.filename}\\Autorun.exe where *`XXXXXX`*
        !           255: is the CPU family. However, that isn't true for all systems. Also the
        !           256: exact path is from memory and may be slightly incorrect.
        !           257: 
        !           258: CASIO Cassiopeia:
        !           259: :   `\CE\R4100\AutoRun.exe`{.filename}
        !           260: 
        !           261: #### One-button boot on the Everex Freestyle ([top](#))
        !           262: 
        !           263: Everex Freestyle systems can be configured to start the boot loader at
        !           264: the press of a button! To set up one-button boot loader invocation,
        !           265: place a copy of `pbsdboot.exe`{.code} in the root directory of an FAT
        !           266: file system on a compact flash, with the name `voiceapp.exe`{.code}.
        !           267: 
        !           268: To boot, just push the Freestyle "Record" button. PHILIPS Nino312 can
        !           269: use this method.
        !           270: 

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb