redboot_installing.sgml
来自「ecos实时嵌入式操作系统」· SGML 代码 · 共 1,822 行 · 第 1/5 页
SGML
1,822 行
needed for building RedBoot according to the procedure described in<xref linkend="Rebuilding-Redboot">:<programlisting>export TARGET=asb2305export ARCH_DIR=mn10300export PLATFORM_DIR=asb2305</programlisting></para><para>The names of configuration files are listed above with thedescription of the associated modes.</para></sect2></sect1><!-- *************************** ARM ******************* --><?Pub _newpage><sect1 id="e7t"><title>ARM/ARM7 ARM Evaluator7T</title><sect2><title>Overview</title><para><indexterm><primary>ARM Evaluator7T</primary><secondary>installing andtesting</secondary></indexterm><indexterm><primary>installing and testing</primary><secondary>ARM Evaluator7T</secondary></indexterm>RedBoot supportsboth serial ports for communication and downloads. The default serial portsettings are 38400,8,N,1.</para><para>The following RedBoot configurations are supported: <informaltable frame="all"> <tgroup cols="4" colsep="1" rowsep="1" align="left"> <thead> <row> <entry>Configuration</entry> <entry>Mode</entry> <entry>Description</entry> <entry>File</entry> </row> </thead> <tbody> <row> <entry>ROM</entry> <entry>[ROM]</entry> <entry>RedBoot running from flash address 0x20000, with ARM Boot Monitor in flash boot sector.</entry> <entry>redboot_ROMA.ecm</entry> </row></tbody></tgroup></informaltable></para></sect2><sect2><title>Initial Installation</title><para>RedBoot is installed using the on-board boot environment. See the usermanual for full details.</para></sect2><sect2><title>Quick download instructions</title><para>Here are quick start instructions for downloading the prebuilt Redbootimage:</para><itemizedlist><listitem><para>Boot the board and press ENTER:</para><screen> ARM Evaluator7T Boot Monitor PreRelease 1.00 Press ENTER within 2 seconds to stop autoboot Boot: </screen></listitem><listitem><para>Erase the part of the flash where RedBoot will get programmed:</para><screen> Boot: <userinput>flasherase 01820000 10000</userinput></screen></listitem><listitem><para>Prepare to download the UU-encoded version of the RedBootimage:</para><screen> Boot: <userinput>download 10000</userinput> Ready to download. Use 'transmit' option on terminal emulator to download file.</screen></listitem><listitem><para>Either use ASCII transmit option in the terminal emulator,or on Linux, simply cat the file to the serial port:<screen> $ <userinput>cat redboot.UU > /dev/ttyS0</userinput></screen>When complete, you shouldsee:<screen> Loaded file redboot.bin at address 000100000, size = 41960 Boot:</screen></para></listitem><listitem><para>Program the flash:<screen> Boot: <userinput>flashwrite 01820000 10000 10000</userinput></screen></para></listitem><listitem><para>And verify that the module is available:<screen> Boot: <userinput>rommodules</userinput> Header Base Limit 018057c8 01800000 018059e7 BootStrapLoader v1.0 Apr 27 2000 10:33:58 01828f24 01820000 0182a3e8 RedBoot Apr 5 2001</screen></para></listitem><listitem><para>Reboot the board and you should see the RedBoot banner.</para></listitem></itemizedlist></sect2><sect2><title>Special RedBoot Commands </title><para>None.</para></sect2><sect2><title>Memory Maps </title><para>RedBoot sets up the following memory map on the E7T board. <note><title>NOTE</title><para>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).</para></note> <programlisting>Physical Address Range C B Description----------------------- - - -----------0x00000000 - 0x0007ffff Y N SDRAM0x03ff0000 - 0x03ffffff N N Microcontroller registers0x01820000 - 0x0187ffff N N System flash (mirrored)</programlisting></para></sect2><sect2><title>Rebuilding RedBoot</title><para>These shell variables provide the platform-specific informationneeded for building RedBoot according to the procedure described in<xref linkend="Rebuilding-Redboot">:<programlisting>export TARGET=e7texport ARCH_DIR=armexport PLATFORM_DIR=e7t</programlisting></para><para>The names of configuration files are listed above with thedescription of the associated modes.</para></sect2></sect1><?Pub _newpage><sect1 id="integrator"><title>ARM/ARM7+ARM9 ARM Integrator</title><sect2><title>Overview</title><para><indexterm><primary>ARM Integrator</primary><secondary>installing andtesting</secondary></indexterm><indexterm><primary>installing and testing</primary><secondary>ARM Integrator</secondary></indexterm>RedBoot supportsboth serial ports for communication and downloads. The default serial portsettings are 38400,8,N,1.</para><para>The following RedBoot configurations are supported: <informaltable frame="all"> <tgroup cols="4" colsep="1" rowsep="1" align="left"> <thead> <row> <entry>Configuration</entry> <entry>Mode</entry> <entry>Description</entry> <entry>File</entry> </row> </thead> <tbody> <row> <entry>ROM</entry> <entry>[ROM]</entry> <entry>RedBoot running from the board's flash boot sector.</entry> <entry>redboot_ROM.ecm</entry> </row> <row> <entry>RAM</entry> <entry>[RAM]</entry> <entry>RedBoot running from RAM with RedBoot in the flash boot sector.</entry> <entry>redboot_RAM.ecm</entry> </row> <row> <entry>ROMRAM</entry> <entry>[ROMRAM]</entry> <entry>RedBoot running from RAM, but contained in the board's flash boot sector.</entry> <entry>redboot_ROMRAM.ecm</entry> </row></tbody></tgroup></informaltable></para></sect2><sect2><title>Initial Installation</title><para>RedBoot is installed using the on-board bootPROM environment. See the usermanual for full details.</para></sect2><sect2><title>Quick download instructions</title><para>Here are quick start instructions for downloading the prebuilt Redbootimage:</para><itemizedlist><listitem><para>Set DIP switch S1[1] to the ON position and reset orpower the board up. You will see the bootPROM startup message onserial port A (J14):</para><screen>Initialising...ARM bootPROM [Version 1.3] Rebuilt on Jun 26 2001 at 22:04:10Running on a Integrator Evaluation BoardBoard Revision V1.0, ARM966E-S ProcessorMemory Size is 16MBytes, Flash Size is 32MBytesCopyright (c) ARM Limited 1999 - 2001. All rights reserved.Board designed by ARM LimitedHardware support provided at http://www.arm.com/For help on the available commands type ? or hboot Monitor ></screen></listitem><listitem><para>Issue the FLASH ROM load command:</para><screen>boot Monitor > <userinput>L</userinput>Load Motorola S-Records into flashDeleting Image 0The S-Record loader only accepts input on the serial port.Type Ctrl/C to exit loader.</screen></listitem><listitem><para>Either use the ASCII transmit option in the terminal emulator,or on Linux, simply cat the file to the serial port:</para><screen>$ <userinput>cat redboot.srec > /dev/ttyS0</userinput></screen><para>When complete, type Ctrl-C and you should see something similar to:</para><screen>....................................................................................Downloaded 5,394 records in 81 seconds.Overwritten block/s 0boot Monitor ></screen></listitem><listitem><para>Set DIP switch S1[1] to the OFF position and rebootthe board and you should see the RedBoot banner.</para></listitem></itemizedlist></sect2><sect2><title>Special RedBoot Commands </title><para>None.</para></sect2><sect2><title>Memory Maps </title><para>RedBoot sets up the following memory map on the Integrator board. <note><title>NOTE</title><para>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).</para></note><programlisting>ARM7TDMI--------Physical Address Range C B Description----------------------- - - -----------0x00000000 - 0x0007ffff N N SSRAM0x00080000 - 0x0fffffff N N SDRAM (depends on part fitted)0x10000000 - 0x1fffffff N N System control and peripheral registers0x20000000 - 0x23ffffff N N Boot ROM (contains boot Monitor)0x24000000 - 0x27ffffff N N FLASH ROM (contains RedBoot)0x28000000 - 0x2bffffff N N SSRAM echo area0x40000000 - 0x5fffffff N N PCI Memory access windows0x60000000 - 0x60ffffff N N PCI IO access window0x61000000 - 0x61ffffff N N PCI config space window0x62000000 - 0x6200ffff N N PCI bridge register window0x80000000 - 0x8fffffff N N SDRAM echo area (used for PCI accesses)ARM966E-------Physical Address Range C B Description----------------------- - - -----------0x00000000 - 0x000fffff N N SSRAM0x00100000 - 0x0fffffff N N SDRAM (depends on part fitted)0x10000000 - 0x1fffffff N N System control and peripheral registers0x20000000 - 0x23ffffff N N Boot ROM (contains boot Monitor)0x24000000 - 0x27ffffff N N FLASH ROM (contains RedBoot)0x28000000 - 0x2bffffff N N SSRAM echo area0x40000000 - 0x5fffffff N N PCI Memory access windows0x60000000 - 0x60ffffff N N PCI IO access window0x61000000 - 0x61ffffff N N PCI config space window0x62000000 - 0x6200ffff N N PCI bridge register window0x80000000 - 0x8fffffff N N SDRAM echo area (used for PCI accesses)</programlisting></para></sect2><sect2><title>Rebuilding RedBoot</title><para>These shell variables provide the platform-specific informationneeded for building RedBoot according to the procedure described in<xref linkend="Rebuilding-Redboot">:<programlisting>export TARGET=integratorexport ARCH_DIR=armexport PLATFORM_DIR=integrator</programlisting></para><para>The names of configuration files are listed above with thedescription of the associated modes.</para></sect2></sect1><?Pub _newpage><sect1 id="pid"><title>ARM/ARM7+ARM9 ARM PID Board and EPI Dev7+Dev9</title><sect2><title>Overview</title><para><indexterm><primary>ARM ARM7 PID, Dev7 and Dev9</primary><secondary>installing and testing</secondary></indexterm><indexterm><primary>installingand testing</primary><secondary>ARM ARM7 PID, Dev7 and Dev9</secondary></indexterm>RedBootuses either of the serial ports. The default serial port settings are 38400,8,N,1.Management of onboard flash is also supported.</para><para>The following RedBoot configurations are supported: <informaltable frame="all"> <tgroup cols="4" colsep="1" rowsep="1" align="left"> <thead> <row> <entry>Configuration</entry> <entry>Mode</entry> <entry>Description</entry> <entry>File</entry> </row> </thead> <tbody> <row> <entry>ROM</entry> <entry>[ROM]</entry> <entry>RedBoot running from the board's flash boot sector.</entry> <entry>redboot_ROM.ecm</entry> </row> <row> <entry>RAM</entry> <entry>[RAM]</entry> <entry>RedBoot running from RAM with RedBoot in the flash boot sector.</entry> <entry>redboot_RAM.ecm</entry> </row></tbody></tgroup></informaltable>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?