📄 ipaq.html
字号:
><P>Using OSloader on the iPAQ, select the <SPANCLASS="GUIMENUITEM">Tools->Flash->Saveto files...</SPAN>. menu item.</P></LI><LI><P>Four (4) files, 4MB each in size will be created.</P></LI><LI><P>After each file is created, copy the file to your computer,then delete the file from the iPAQ to make room in the WinCE ramdisk for thenext file.</P></LI></UL></P></TD></TR></TABLE></DIV>You will need to download the version of RedBoot designed as theROM bootstrap. Then install it permanently using these commands: <TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">RedBoot> <TTCLASS="USERINPUT"><B>lo -r -b 0x100000 redboot_ROM.bin</B></TT>RedBoot> <TTCLASS="USERINPUT"><B>fi loc -f 0x50000000 -l 0x40000</B></TT>RedBoot> <TTCLASS="USERINPUT"><B>fis init</B></TT>RedBoot> <TTCLASS="USERINPUT"><B>fi unl -f 0x50040000 -l 0x40000</B></TT>RedBoot> <TTCLASS="USERINPUT"><B>fi cr RedBoot -b 0x100000</B></TT>RedBoot> <TTCLASS="USERINPUT"><B>fi loc -f 0x50040000 -l 0x40000</B></TT>RedBoot> <TTCLASS="USERINPUT"><B>reset</B></TT></PRE></TD></TR></TABLE><DIVCLASS="WARNING"><P></P><TABLECLASS="WARNING"BORDER="1"WIDTH="100%"><TR><TDALIGN="CENTER"><B>WARNING</B></TD></TR><TR><TDALIGN="LEFT"><P>You must type these commands exactly! Failure to do so may render youriPAQ totally useless. Once you've done this, RedBoot should come up everytime you reset.</P></TD></TR></TABLE></DIV></P></DIV><DIVCLASS="SECT3"><H3CLASS="SECT3"><ANAME="AEN6017">Restoring Windows/CE</H3><P>To restore Windows/CE from the backup taken in <AHREF="ipaq.html#IPAQ-INSTALL-RB-PERMANENTLY">the Section called <I>Installing RedBoot permanently</I></A>,visit <AHREF="http://www.handhelds.org/projects/wincerestoration.html"TARGET="_top">http://www.handhelds.org/projects/wincerestoration.html</A>for directions.</P></DIV></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN6022">Additional commands</H2><P>The <BCLASS="COMMAND">exec</B> command which allows the loadingand execution of Linux kernels,is supported for this board (see <AHREF="executing-programs.html">the Section called <I>Executing Programs from RedBoot</I> in Chapter 2</A>). The <BCLASS="COMMAND">exec</B> parameters used for the iPAQ are:</P><P></P><DIVCLASS="VARIABLELIST"><DL><DT>-b <TTCLASS="REPLACEABLE"><I><addr></I></TT></DT><DD><P>Location Linux kernel was loaded to</P></DD><DT>-l <TTCLASS="REPLACEABLE"><I><len></I></TT></DT><DD><P>Length of kernel</P></DD><DT>-c <TTCLASS="REPLACEABLE"><I>"params"</I></TT></DT><DD><P>Parameters passed to kernel</P></DD><DT>-r <TTCLASS="REPLACEABLE"><I><addr></I></TT></DT><DD><P>'initrd' ramdisk location</P></DD><DT>-s <TTCLASS="REPLACEABLE"><I><len></I></TT></DT><DD><P>Length of initrd ramdisk</P></DD></DL></DIV><P>Linux kernels may be run on the iPAQ using the sources from the anonymousCVS repository at the Handhelds project (<AHREF="http://www.handhelds.org/"TARGET="_top">http://www.handhelds.org/</A>) withthe <TTCLASS="FILENAME">elinux.patch</TT> patch file applied. This file can befound in the<TTCLASS="FILENAME">misc/</TT> subdirectory of the iPAQ platform HAL in theRedBoot sources, normally<TTCLASS="FILENAME">hal/arm/sa11x0/ipaq/<TTCLASS="REPLACEABLE"><I>VERSION</I></TT>/misc/</TT> </P><P>On the iPAQ (and indeed all SA11x0 platforms), Linux expects to be loadedat address 0xC0008000 and the entry point is also at 0xC0008000.</P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN6061">Memory Maps</H2><P>RedBoot sets up the following memory map on the iPAQ: The first levelpage table is located at physical address 0xC0004000. No second level tablesare used. <DIVCLASS="NOTE"><BLOCKQUOTECLASS="NOTE"><P><B>NOTE: </B>The virtual memory maps in this section use a C and B column to indicatewhether or not the region is cached (C) or buffered (B).</P></BLOCKQUOTE></DIV> <TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="PROGRAMLISTING">Physical Address Range Description----------------------- ----------------------------------0x00000000 - 0x01ffffff 16Mb to 32Mb FLASH (nCS0) [organized as below] 0x000000 - 0x0003ffff Parrot Loader 0x040000 - 0x0007ffff RedBoot 0xf80000 - 0x00fbffff Fconfig data 0xfc0000 - 0x00ffffff FIS directory0x30000000 - 0x3fffffff Compact Flash0x48000000 - 0x4bffffff iPAQ internal registers0x80000000 - 0xbfffffff SA-1110 Internal Registers0xc0000000 - 0xc1ffffff DRAM Bank 0 - 32Mb SDRAM0xe0000000 - 0xe7ffffff Cache CleanVirtual Address Range C B Description----------------------- - - ----------------------------------0x00000000 - 0x01ffffff Y Y DRAM - 32Mb0x30000000 - 0x3fffffff N N Compact Flash0x48000000 - 0x4bffffff N N iPAQ internal registers0x50000000 - 0x51ffffff Y Y Up to 32Mb FLASH (nCS0)0x80000000 - 0xbfffffff N N SA-1110 Internal Registers0xc0000000 - 0xc1ffffff N Y DRAM Bank 0: 32Mb0xe0000000 - 0xe7ffffff Y Y Cache Clean </PRE></TD></TR></TABLE> </P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN6068">Rebuilding RedBoot</H2><P>These shell variables provide the platform-specific informationneeded for building RedBoot according to the procedure described in<AHREF="rebuilding-redboot.html">Chapter 3</A>:<TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="PROGRAMLISTING">export TARGET=ipaqexport ARCH_DIR=armexport PLATFORM_DIR=sa11x0/ipaq</PRE></TD></TR></TABLE></P><P>The names of configuration files are listed above with thedescription of the associated modes.</P></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="nano.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="ecos-ref.html"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="cerfcube.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">ARM/StrongARM(SA11X0) Bright Star Engineering commEngine and nanoEngine</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="installation-and-testing.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">ARM/StrongARM(SA11X0) Intrinsyc CerfCube</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -