Subject: RE: Booting questions about hpcarm
To: Lin, Colin(aL?O|w IAC) <Lin.Colin@iac.com.tw>
From: Jason Mitchell <jmitchel@rosstechnologygroup.com>
List: port-hpcarm
Date: 02/23/2004 15:58:52
This is a multi-part message in MIME format.

------=_NextPart_000_0866_01C3FA25.EF0D8340
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: 8bit

Colin,

    It's not Flash on the PDA that's erased; it's DRAM. And although you can
use a root image, for practical purposes you'll want to have a NetBSD
partition on the CF that contains all of the files Right now there's no
embedded NetBSD so you're loading a whole operating system.

    Why is the DRAM erased? WinCE uses DRAM both for programs (when they
allocate memory) and for storing files. When NetBSD loads, it erases all of
the DRAM to use it.

    On the stock Jornada 720, WinCE is in ROM. Files that are stored on the
Jornada while running WinCE are in DRAM (that's why it has a backup
battery). On some (maybe all) iPaq's and other Jornada's, WinCE is loaded in
flash. The NetBSD can be loaded here, but there's no NetBSD equivalent of
embedded Linux yet, so you'll need to put the files on a CF card. I actually
don't know of any NetBSD support for other Jornada's besides the 710/720.

Jason M.
  -----Original Message-----
  From: port-hpcarm-owner@NetBSD.org [mailto:port-hpcarm-owner@NetBSD.org]On
Behalf Of Lin, Colin(ªL«Ø¦w IAC)
  Sent: Monday, February 23, 2004 4:17 AM
  To: port-hpcarm@NetBSD.org
  Subject: Booting questions about hpcarm




  Hi there,

  I¡¦d like to buy an iPaq or Jornada PDA and try to install NetBSD in it.

  After browsing some documents, I found that both kernel and root image are
stored in CF disk.

  When hpcboot is executed, the NetBSD kernel image in CF would be loaded.

  My questions are:

  1, Why some people say that the Flash in PDA would be erased after doing
this?

          What data would be stored in it?

             2, Is there any method that can put both kernel and root image
in the Flash of PDA and boot by these, like the way embedded Linux PDA does?



  Thanks and regards,

  Colin





------=_NextPart_000_0866_01C3FA25.EF0D8340
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE>@font-face {
	font-family: =B7s=B2=D3=A9=FA=C5=E9;
}
@font-face {
	font-family: @=B7s=B2=D3=A9=FA=C5=E9;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt =
90.0pt; layout-grid: 18.0pt; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
	COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
	page: Section1
}
</STYLE>
</HEAD>
<BODY lang=3DZH-TW style=3D"TEXT-JUSTIFY-TRIM: punctuation" =
vLink=3Dpurple link=3Dblue>
<DIV><SPAN class=3D585574820-23022004><FONT face=3DArial color=3D#0000ff =

size=3D2>Colin,</FONT></SPAN></DIV>
<DIV><SPAN class=3D585574820-23022004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D585574820-23022004>&nbsp;&nbsp;&nbsp; <FONT =
face=3DArial=20
color=3D#0000ff size=3D2>It's not Flash on the PDA that's erased; it's =
DRAM. And=20
although you can use a root image, for practical purposes you'll want to =
have a=20
NetBSD partition on the CF that contains all of the files Right now =
there's no=20
embedded NetBSD so you're loading a whole operating =
system.</FONT></SPAN></DIV>
<DIV><SPAN class=3D585574820-23022004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D585574820-23022004>&nbsp;&nbsp;&nbsp; <FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Why is the DRAM erased? WinCE uses DRAM both =
for programs=20
(when they allocate memory) and for storing files. When NetBSD loads, it =
erases=20
all of the DRAM to use it.</FONT></SPAN></DIV>
<DIV><SPAN class=3D585574820-23022004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D585574820-23022004><FONT face=3DArial color=3D#0000ff =

size=3D2>&nbsp;&nbsp;&nbsp; On the stock Jornada 720, WinCE is in ROM. =
Files that=20
are stored on the Jornada while running WinCE are in DRAM (that's why it =

has&nbsp;a backup battery).&nbsp;</FONT></SPAN><SPAN=20
class=3D585574820-23022004><FONT face=3DArial color=3D#0000ff =
size=3D2>On some (maybe=20
all) iPaq's and other Jornada's, WinCE is loaded in flash. The NetBSD =
can be=20
loaded here, but there's no NetBSD equivalent of embedded Linux yet, so =
you'll=20
need to put the files on a CF card. I actually don't know of any NetBSD =
support=20
for other Jornada's besides the 710/720.</FONT></SPAN></DIV>
<DIV><SPAN class=3D585574820-23022004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D585574820-23022004><FONT face=3DArial color=3D#0000ff =
size=3D2>Jason=20
M.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> =
port-hpcarm-owner@NetBSD.org=20
  [mailto:port-hpcarm-owner@NetBSD.org]<B>On Behalf Of </B>Lin, =
Colin(=AAL=AB=D8=A6w=20
  IAC)<BR><B>Sent:</B> Monday, February 23, 2004 4:17 AM<BR><B>To:</B>=20
  port-hpcarm@NetBSD.org<BR><B>Subject:</B> Booting questions about=20
  hpcarm<BR><BR></FONT></DIV>
  <DIV class=3DSection1 style=3D"LAYOUT-GRID:  18pt none">
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: Arial">Hi=20
  there,<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: Arial">I=A1=A6d like to buy an =
iPaq or Jornada=20
  PDA and try to install NetBSD in it.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: Arial">After browsing some =
documents, I=20
  found that both kernel and root image are stored in CF=20
  disk.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: Arial">When </SPAN></FONT><SPAN=20
  lang=3DEN-US>hpcboot is executed, the NetBSD kernel image in CF would =
be=20
  loaded.<o:p></o:p></SPAN></P>
  <P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN =
lang=3DEN-US=20
  style=3D"FONT-SIZE: 12pt">My questions =
are:<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal style=3D"TEXT-INDENT: 24pt"><FONT face=3D"Times =
New Roman"=20
  size=3D3><SPAN lang=3DEN-US style=3D"FONT-SIZE: 12pt">1, Why some =
people say that=20
  the Flash in PDA would be erased after doing=20
this?<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal style=3D"TEXT-INDENT: 24pt"><FONT face=3D"Times =
New Roman"=20
  size=3D3><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 12pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
What data=20
  would be stored in it?<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =
Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  2, Is there any method that can put both kernel and root image in the =
Flash of=20
  PDA and boot by these, like the way embedded Linux PDA=20
  does?<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: Arial">Thanks and=20
  regards,<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =
Arial">Colin<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTM=
L>

------=_NextPart_000_0866_01C3FA25.EF0D8340--