File:  [NetBSD Developer Wiki] / wikisrc / ports / hpcsh.mdwn
Revision 1.1: download - view: text, annotated - select for diffs
Sat Dec 22 23:43:36 2012 UTC (15 months, 3 weeks ago) by mspo
Branches: MAIN
CVS tags: HEAD
more port pages

[[!template id=port
port="hpcsh"
cur_rel="6.0"  
future_rel="7.0"
changes_cur="6.0"
changes_future="7.0"
thumbnail="http://www.netbsd.org/images/ports/hpcsh/jornada690.gif"
about="""
NetBSD/hpcsh brings the NetBSD operating system to
[HITACHI](http://www.hitachi.com/) [Super-H
family](http://www.superh.com/) based Windows CE PDA machines.
Currently, the [sh3](http://www.superh.com/products/sh3.htm) processor
is supported.

The port name <E2><80><9C>hpcsh<E2><80><9D> was coined from hardwares NetBSD/hpcsh runs: SH
based systems in Microsoft's H/PC (Handheld PC) form factor. A H/PC
machine contains a keyboard and a touch screen, equipped with 8MB or
more RAM. The port supports the HPC form factor, as well as the H/PC Pro
and PsPC (Palmsized PC). (Many PsPC machines are used by the developers
for active development.)

NetBSD/hpcsh is an ideal platform for mobile computing applications
because of hardware sizes. And, of course, NetBSD/hpcsh supports all the
standard features you expect NetBSD, such as IPv6 and IPsec.

"""
supported_hardware="""
Supported System Models
-----------------------

Many kinds of H/PC, H/PC Pro, and PsPC systems are supported by
NetBSD/hpcsh. View [the supported system table](#supported) to see if
your system is supported.

Supported Processors
--------------------

sh3 processors are supported by NetBSD/hpcsh. View [the processor
comparison table](#processors) to see if your processor is supported.

Processor Comparison
--------------------

  --------- --------------
  **CPU**   **Features**
  SH-3      <C2><A0>
  SH-4      <C2><A0>
  --------- --------------

Support Status
--------------

<table border="1" id="supported-table">
      <tr>
        <th>Sold in</th>
        <th>Model</th>
        <th>CPU</th>
        <th>Video</th>
        <th>RAM</th>
        <th>Companion Chip</th>
        <th>Boot</th>
        <th>PCMCIA Controller</th>
        <th>Keymap</th>
        <th>Xserver</th>
      </tr>
      <tr align="center">
    	<td colspan="10" bgcolor="#b0b0b0">Hewlett-Packard Models</td>
      </tr>
      <tr align="center">
        <td>World (Disc)</td>
        <td><a class="ulink" href="http://h10025.www1.hp.com/ewfrf/wc/product?cc=us&amp;product=59950" target="_top">Jornada
         680</a></td>
        <td>SH-3 SH7709A 133MHz</td>
        <td>640x240 64K color</td>
        <td>16MB</td>
        <td>HITACHI HD64461</td>
        <td>Y</td>
        <td>Y</td>
        <td rowspan="2">US/UK, Japanese, European, French, German, Scandinavian, Spanish</td>
        <td>Y</td>
      </tr>
      <tr align="center">
        <td>World (Disc)</td>
        <td><a class="ulink" href="http://h10025.www1.hp.com/ewfrf/wc/product?cc=us&amp;product=57664" target="_top">Jornada
         690</a></td>
        <td>SH-3 SH7709A 133MHz</td>
        <td>640x240 64Kcolor</td>
        <td>32MB</td>
        <td>HITACHI HD64461</td>
        <td>Y</td>
        <td>Y</td>
    
        <td>Y</td>
      </tr>
      <tr align="center">
        <td>World (Disc)</td>
        <td><a class="ulink" href="http://h10025.www1.hp.com/ewfrf/wc/product?cc=us&amp;product=58814#" target="_top">HP
          620LX</a></td>
        <td>SH-3 SH7709 75MHz</td>
        <td>640x240 256color</td>
        <td>16MB</td>
        <td>HITACHI HD64461</td>
        <td>Y</td>
        <td>Y</td>
        <td>US/UK, Japanese</td>
        <td>Y</td>
      </tr>
    
      <tr align="center">
        <td>World (Disc)</td>
        <td><a class="ulink" href="http://www.hp.com/jornada/products/540/overview.html" target="_top">Jornada 548</a></td>
        <td>SH-3 SH7709A 133MHz</td>
        <td>240x320 64Kcolor</td>
        <td>32MB</td>
        <td>HP F1796</td>
        <td>N</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    
      <tr align="center">
    	<td colspan="10" bgcolor="#b0b0b0">
    	CASIO Models</td>
      </tr>
    
      <tr align="center">
        <td>Japan</td>
        <td>Cassiopeia A-50/51</td>
        <td>SH-3 SH7093 40MHz</td>
        <td>640x240 2bpp gray-scale</td>
        <td>4/8MB</td>
        <td>CASIO FM-7403</td>
        <td>N</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr align="center">
        <td>Japan</td>
        <td>Cassiopeia A-55V</td>
        <td>SH-3 SH7093R 80MHz</td>
        <td>640x240 2bpp gray-scale</td>
        <td>16MB</td>
        <td>CASIO FM-7403</td>
        <td>N</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    
      <tr align="center">
    	<td colspan="10" bgcolor="#b0b0b0">
    	HITACHI Models</td>
      </tr>
    
      <tr align="center">
        <td>Japan</td>
        <td><a class="ulink" href="http://www.hitachi.co.jp/Prod/persona/seihin/shiyo_50pa.htm" target="_top">PERSONA HPW-50PAD</a></td>
        <td>SH-3 SH7709R 100MHz</td>
        <td>640x240 64Kcolor</td>
        <td>32MB</td>
        <td>HITACHI HD64461</td>
        <td>Y</td>
        <td>Y</td>
        <td>Japanese</td>
        <td>&nbsp;</td>
      </tr>
    
      <tr align="center">
        <td>Japan</td>
        <td><a class="ulink" href="http://www.hitachi.co.jp/Prod/persona/seihin/shiyo_230jc.htm" target="_top">PERSONA HPW-230JC</a></td>
        <td>SH-3 SH7709R 100MHz</td>
        <td>640x240 64Kcolor</td>
        <td>32MB</td>
        <td>HITACHI HD64461</td>
        <td>Y</td>
        <td>Y</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    
      <tr align="center">
        <td>Japan</td>
        <td><a class="ulink" href="http://www.hitachi.co.jp/Prod/persona/seihin/shiyo_650pa.htm" target="_top">PERSONA HPW-650PA</a></td>
        <td>SH-4 SH7750V 128MHz</td>
        <td>640x480 64Kcolor</td>
        <td>16MB</td>
        <td>HITACHI HD64465, HD64464(MQ100), HD64560</td>
        <td>Y (serial console only)</td>
        <td>partial</td>
        <td>N (keyboard access cause hang up)</td>
        <td>&nbsp;</td>
      </tr>
    
</table>

"""
additional="""
-   [NetBSD/sh3](../sh3/)
-   [NetBSD/hpcarm](../hpcarm/)
-   [NetBSD/hpcmips](../hpcmips/)
-   [hpcsh kernel source via
    cvsweb](http://cvsweb.NetBSD.org/cgi-bin/cvsweb.cgi/src/sys/arch/hpcsh/)
-   [The Windows CE eMbedded Visual Tools
    3.0](http://msdn.microsoft.com/mobility/windowsmobile/downloads/default.aspx)
-   [SuperH RISC enabling Windows
    CE](http://semiconductor.hitachi.com/windowsce/)

### Getting started with NetBSD/hpcsh

-   [Files to prepare](#files)
-   [Booting from memory card](#boot-flash)
-   [Building binary files](#build)

* * * * *

### Getting started with NetBSD/hpcsh

#### Files to prepare ([top](#))

You need at least 3 files to start NetBSD/hpcsh.

hpcboot.exe
:   bootloader runs on WindowsCE environment. It currently supports
    WinCE2.11 and WinCE3.00 machines. It is available at
    sys/arch/hpc/stand/binary/SH3/. (uuencoded binary. see
    sys/arch/hpc/stand/README)
netbsd (kernel) 
:   For testing on HP Jornada 680, 690 and HITACHI PERSONA HPW-PA50,
    HPW-230JC. Don't try to other machines:
    [ftp://ftp.NetBSD.org/pub/NetBSD/arch/hpcsh/snapshot/20010325-netbsd.gz](ftp://ftp.NetBSD.org/pub/NetBSD/arch/hpcsh/snapshot/20010325-netbsd.gz)
miniroot.fs (filesystem image, generated with vnconfig)
:   For testing:
    [ftp://ftp.NetBSD.org/pub/NetBSD/arch/hpcsh/snapshot/20010324-miniroot.fs](ftp://ftp.NetBSD.org/pub/NetBSD/arch/hpcsh/snapshot/20010324-miniroot.fs)

#### Booting from memory card ([top](#))

This is probably the easiest way, for now.

Connect some device to serial port. Use 19200bps, no parity, 8bits.

Prepare a DOS-formatted memory card, and copy the above 3 files into the
card.

Insert the card into your WinCE machine.

Checking: did you connect the serial cable already? Serial cable MUST be
plugged into WinCE machine, before starting hpcboot.exe.

Go into "Explorer" (not the "Internet Explorer"), go directory down to
your memory card (the name of the memory card differs by localization),
and invoke hpcboot.exe. Alternatively, you may want to setup autoboot,
if your WinCE product allows you. Jornada 690 allows it by putting [the
file (uuencoded/must be a Unicode text)](autorun.inf.uu) under name
"Autorun.inf", into memory card.

In hpcboot, setup the following items.

-   "kernel" screen:

    -   Line 1: set the pathname to "netbsd". Should be "\\Storage Card
        1\\" and "netbsd", or whatever suitable.
    -   Line 2: specify the machine type you are using. The information
        will be used to determine screen size ,keyboard type and misc
        device configuration.
    -   Line 3 and 4: specify the filesystem type. You will want to use
        "md", and then "miniroot.fs".
    -   Line 5: set radio buttons as you like.

-   "option" screen:

    -   You definitely want "Serial console". For other items, choose as
        you like. "Reverse video" is not implemented.

Pray. Tap "boot" at the bottom. You will see "Last chance: Push OK to
boot" dialog. Tap OK or return (obviously). If you are successful, you
will see [boot message like
this](ftp://ftp.NetBSD.org/pub/NetBSD/arch/hpcsh/snapshot/dmesg-20010324-jornada690.txt)
onto your serial port. Congratulations!

"""

]]
[[!tag tier2port]]

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