⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 target.nr

📁 ixp2400 bsp for vxworks
💻 NR
📖 第 1 页 / 共 2 页
字号:
The default physical to virtual mapping is defined as:.TS Eexpand;cf3 s slf3 lf3 lf3l l l ..ne 5Physical to Virtual Address Mapping.sp .25Physical Addresses	Virtual Addresses	Comments_1e000000-20000000	00000000-02000000	SDRAM used by VxWorks00000000-1e000000	02000000-20000000	SDRAM used by VxWorks.TE.SS "RAM size"The BSP supports the default configuration of 512 MB SDRAM; ofthis, the upper 32 MB are remapped to virtual address 0 and areavailable for use by VxWorks.  The lower 480 MB are mapped to0x02000000 and are uncached.  This configuration may be changed by modifying the BSP.  For more details, see "Cache/MMU Considerations".The BSP supports 8 MB of SRAM although, this is not included inthe VxWorks memory pool.  Use of this memory must be managed byapplication-specific code..SS "Flash Memory"A driver is provided to support access to the flash memory and theuse of a section of it as NVRAM..SS "ROM_COPY_SIZE Macro"ROM_COPY_SIZE is the size of the part of the ROM to be copied into RAMand this is defined as 2MB in the BSP. This ROM_COPY_SIZE may have to beincreased in case the application is also built with the vxworks image..SS "SINGLE_BOOTROM Macro"The dual NPUs on the IXDP2400 Development platform can be booted either inSingle Flash mode or Dual Flash Mode. When using the single Flash mode, the macroSINGLE_BOOTROM should be defined to 1 when bootRom and VxWorks images are built. When building rommable vxworks images, this macro needs to be defined to 0..SS "NetROM Support"The BSP supports the use of NetROM in place of flashmemory..SS "Timers and Timestamp support"The ixp2400 contains four 32-bit timers (timer 1thru 4) capable of interruptingthe ixp2400.Timer 2 is devoted to the vxWorks system clock, whiletimer 3 is dedicated to the auxillary timer.  Timestamps are derived from the VxWorks system clock timer.Timer 1 is used for Delays in the BSP. Timer4 is leftfor use by the Application. Timer 4 also has the capability of being configured as Watchdog Time..bS                        _______hardware                TIMER 2clock                   _______                           |interface -------------------------------                   |             |                   |             |software        _______     _____________clock(s)        sysClk      timeStampClk                _______     _____________.bE.bS                        _______hardware                TIMER 3clock                   _______                           |interface -------------------------------                                  |                                  |     software                        ______clock(s)                        auxClk                                ______.bE.SS "Special routines"There is a 4 character Alphanumeric display on each NPU, on the IXDP2400 Development Platform base board,which may aid in user debug.This is mapped via a memory mapped register on the slow port located in a CPLD.A routine to display various characters sysLEDDisplay() is provided in the BSP.Macros to display various alpha numeric characters are provided in the BSP-specific header file, ixdp2400.h..bS 4 Char LCD Display         			       ----------       |        |Egress NPU 4 char        |--------|LCD panel       |        |       |--------|        |        |        |--------|       |        |       ----------       ----------       |        |Ingress NPU 4 char        |--------|LCD panel       |        |       |--------|        |        |        |--------|       |        |       ----------      .bE.SS "Divide by Zero Exception"The ARM architecture does not provide for an integer divide by zeroexception.  Consequently, no exception is generated when an integerdivide by zero operation is performed programmatically..SS "IXDP2400 PLATFORM BASE BOARD DETAILS".SS "Board Layout"The diagrams below show the relevant jumpers for VxWorks configuration..bS_________________________________________________________________________| +---------+ +---------+ +---------+   +---------+        +------+     || |E-Power  | |I-Power  | |E-NetRom |   |I-NetRom |        | E-LCD|     || |Connector| |Connector| +---------+   +---------+	   |      |     || +---------+ +---------+ +---------+   +---------+        +------+     ||	   +-+	          |E-Flash  |   | I-Flash |        |      |     ||   SW0301 | | 	          +---------+   +---------+	   | I-LCD|	||          +-+           +---------+  +---------+          +------+     ||		         |  E-CPLD |  | I-CPLD  |                       ||          +-+           |         |  |         |                       ||   SW2701 | |    SW0201 +---------+  +---------+                       ||	   +-+	  +----+                                                | |                 +----+         +----------+                           |   |          +-+    +----+ +----+  |          |                           ||   SW2702 | |    +----+ +----+  |  SF I/F  |                           ||          +-+    SW2002 SW2001  |          |           	        |	  	 |               +-------+        +----------+              +--------+   ||               |E-JTAG |                                  |I-JTAG  |   ||               +-------+      +----------+   +----------+ +--------+   ||                              |          |   |          |              ||                              | Egress   |   | Ingress  |              ||                              | NPU      |   | NPU      |              ||                              | IXP2400  |   | IXP2400  |              ||                              |          |   |          |              ||                              +----------+   +----------+              ||                                                                       ||                                 +------------+                        ||                                 |            |                        ||                                 | Media I/F  |                        ||                                 |            |                        ||                                 +------------+                        ||_______________________________________________________________________|.SS "Front Panel:"_________________________________________________________________________|	Mgmt Ports							 ||	+---------+----------+		Reset   NPU   Status	Power	 ||	| Egress  | Ingress  |                                           ||	| Network | Network  |		  O      ==     ==	 O 	 ||	+---------+----------+                 Egress Ingress    On      ||	| Egress  | Ingress  |                                           |  |	| Console | ConSole  |                                           |  |       +---------+----------+	    				         ||________________________________________________________________________|.bEKey:    E       A prefix of 'E' indicates that the component is for the Egress NPU    I       A prefix of 'I' indicates that the component is for the Ingress NPU.SS "Switch Settings"The following switches are relevant to VxWorks configuration.SW2001 and SW2002These are used to select the NPU speed. sw2001 is also used to select the reset and boot mechanismSwitch SW2001.TS EBit#	Decription					sw1	On : 	Off: 		sw2	On : 	Off: sw3	On : 	Off: sw4	On : Reset provided by IXDP2400	Off: Reset provide by CPCI backplanesw5	On : External PROM on 21555  	Off: No external PROM on 21555sw6	On : 21555 Primary PCI - 64 bit	Off: 21555 Primary PCI - 32 bitsw7	On : Ingress NPU boot from PCI	Off: Ingress NPU boot from Flash sw8	On : Egress NPU boot from PCI	Off: Egress NPU boot from Flash.TESwitch SW2002Bit#	Decription			sw1	On : System Clock M setting: 0	Off: System Clock M setting: 2		sw2	On : System Clock M setting: 0	Off: System Clock M setting: 4sw3	On : System Clock M setting: 0	Off: System Clock M setting: 8sw4	On : System Clock M setting: 0	Off: System Clock M setting: 16sw5	On : System Clock M setting: 0	Off: System Clock M setting: 32sw6	On : System Clock M setting: 0	Off: System Clock M setting: 64sw7	On : System Clock M setting: 0	Off: System Clock M setting: 128sw8	On : System Clock M setting: 0	Off: System Clock M setting: 256Switch SW0201Sw0201 is used to set the PCI window sizes.Bits 1,2 Control the Ingress PCI SRAM Window Size.TS E sw1 sw2 size On  On  32M Off On  64M On  Off 128M Off Off 256M     	.TEBits 3,4 control the Ingress PCI DDR Window Size sw3 sw4 size On  On  128M Off On  256M On  Off 512M Off Off 1024M     Bits 5,6 control the Egress PCI SRAM Window Size.TS E sw5 sw6 size On  On  32M Off On  64M On  Off 128M Off Off 256M     	.TEbits 7,8 control the Egress PCI DDR Window Size.TS E sw3 sw4 size On  On  128M Off On  256M On  Off 512M Off Off 1024M     .TENOTE:By Default all the settings are set to 600MhzSW2701 and SW2702These switches are used to select the JTAG/normal operation.To set Both Egress and Ingress NPUs in Normal mode:.TS Esw#  sw2701 sw2702		sw1  On	    Onsw2  On     Offsw3  On     Offsw4  Off    Offsw5  Off    Offsw6  Off    Offsw7  Off    Offsw8  Off    Off.TE To set Both Egress and Ingress NPUs in BSCAN JTAG mode:.TS Esw#  sw2701 sw2702		sw1  On	    Onsw2  On     Onsw3  On     Onsw4  Off    Onsw5  Off    Onsw6  Off    Offsw7  Off    Offsw8  Off    On.TETo set Both Egress and Ingress NPUs in ICE JTAG mode:.TS Esw#  sw2701 sw2702		sw1  Off    Offsw2  Off    Offsw3  Off    Offsw4  Off    Offsw5  Off    Onsw6  Off    Onsw7  On     Onsw8  On     Off.TETo set Egress is ICE JTAG MODE and INgress in NORMAL Mode:.TS Esw#  sw2701 sw2702		sw1  On	    Offsw2  Off    Offsw3  On     Offsw4  Off    Offsw5  Off    Offsw6  Off    Offsw7  Off    Onsw8  On     Off.TETo Set Egress in Normal Mode and Ingress in ICE JTAG Mode:.TS Esw#  sw2701 sw2702		sw1  Off    Onsw2  On     Offsw3  Off    Offsw4  Off    Offsw5  Off    Offsw6  Off    Onsw7  On     Offsw8  Off    Off.TESW2701 Bit Definitions:Bit 1:	Egress PCI Rst# <-> Ingress sys rstBit 2: 	Sys_rst# <-> Egress sys rstBit 3: 	TRST# <-> Egress TRST#Bit 4: 	Ingress QDR TDO <-> TDOBit 5:	JTAG Buffer Tck <-> TckBit 6:	JTAG Buffer Tck <-> TmsBit 7:	Ingress sys rst <-> Ingress ICE rstBit 8: 	Egress sys rst <-> Egress ICE rstSW2703 Bit Definitions:Bit 1:	21555 TRST# <-> Egress TRSTBit 2:	JTAG Buffer DisableBit 3:	JTAG Bypass Egress DDRBit 4: 	JTAG Bypass Ingress DDRBit 5:	JTAG Bypass MediaBit 6:	Ingress TDI <-> Ingress ICE TDIBit 7:	Egress TDI <-> Egress ICE TDIBit 8:	QDR JTAG BypassSW0301This switch is used to select netrom/flash boots.Bits 1-6 are should always be OFFTo boot EGRESS and INgress from Flashsw7 - Onsw8 - OnTo Boot Egress nad Ingress from netromsw7- Offsw8- OffTo boot Egress from flash and Ingress from Netromsw7- Offsw8 - OnTo boot Egress from Netrom and Ingress from Flashsw7-Onsw8- OffSW0301 Bit Definitions:Bit 1:	ReservedBit 2:	ReservedBit 3:	Misc. CPLD registerBit 4:	Misc. CPLD registerBit 5:	Misc. CPLD registerBit 6:	Misc. CPLD registerBit 7:	Ingress NetRom / Flash  (On = Flash; Off = NetRom)Bit 8:	Egress NetRom / Flash  	(On = Flash; Off = NetRom).SS "Errata"IXP2400 has a bug because of which you can not have any page withattributes XCB = 000. That's why all the page attributes are set toXCB = 101. Because of this workaround sysEnd.c has been changed sothat fei driver doesn't use cacheDmaMallo (which returns a pointerof page with attributes XCB = 000). Please see IXP2400 errata forfurther clarification..SH "SEE ALSO".tG "Getting Started,".pG "Configuration.".SH "BIBLIOGRAPHY".I "IXP2400 Programmer's Refernce Manual",.I "Intel XScale Microarchitecture Programmer Model for Big Endian",.I "Intel XScale Core Developers Manual",.I "Intel 82559 Fast Ethernet Multifunction PCI/Card Bus Controller",.I "Intel XScale Microarchitecture, Programmers Reference Manual",.I "PCI Local Bus Specification, Revision 2.2 (www.pcisig.com)",.I "GNUPro Toolkit Documentation",

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -