📄 target.nr
字号:
card..SS "VME Access"The board is a PCI board. VME is not supported..SS "PCI Access"The configuration access method is via accesses to areas in thememory map that IXM1200 maps onto Type 0 and Type 1configurations. By default, the SDRAM memory is mapped to PCImemory address 0, so that virtual address 0 is mapped to PCImemory address 24 MB. See section "Cache/MMU considerations" formore details..SS "Boot Devices"By default, VxWorks is booted on this board by running the bootromimage from Flash memory, and then loading the VxWorks kernel viathe network driver..SS "ROM considerations"Intel ships the boards with Flash memory parts containing severaldifferent systems that can be booted. At the start of Flashmemory, the initial boot code examines GPIO[1:0] to determine which OScan be booted. This is described in Section "Jumpers". If the BootManager is selected, then the user can enter into a dialog todetermine the boot parameters. This takes place over the serial portat 9600 Baud. For further details, see.I Intel IXDP1200 Network Processor Development Platform System User's Manual.By default, the Flash image is broken into the following blocks:.TS Eexpand;.cf3 slf3 lf3l l ..ne 5Flash Blocks.sp .25Start Addr Description_0000 0000 Boot Manager / Flash Utility0000 8000 Boot Parameters (NVRam)0000 C000 Diagnostics0002 0000 Unused0004 0000 VxWorks0014 0000 Cygmon0016 0000 Unused0020 0000 Angel / UCOS.TEFlash parts containing a valid Boot Manager / Flash Utility can bereprogrammed in-situ by running the FUTIL.EXE program on a hostconnected to the board via a serial line. For further details, see.I Intel IXDP1200 Network Processor Development Platform System User's Manual.The image that is programmed into the Flash must be a raw binaryimage. These can be made by making the *.bin targets inMakefile. Additionally, if a complete Flash boot image is to bemade, the VxWorks image must be relocated to address 0x60000 andan appropriate branch loaded at 0. This can be done for VxWorks aloneby building the *.ful targets. Alternately, a separate utility may be usedto combine the various images into one Flash image.Note that the compressed vxWorks bootrom image, bootrom.bin, isnot currently recommended for use with this target due toadditional image compression done by Intel's FUtil Flash Utility.Using this image may result in an error message from the FUtil hostprogram such as "Error doing inflate" or in a bootrom image thatdoes not work. Use its uncompressed counterpart, bootrom_uncmp.bin..SS "Flash Memory as NVRAM"Intel has allocated the block of Flash extending from address0x8000 to 0xC000 as non-volatile storage..SH "SPECIAL CONSIDERATIONS".SS "Make Targets"The image loaded into Flash memory must be a raw binaryimage. These targets are defined with a ".bin" extension.Additionally, complete VxWorks boot images must be loaded at thethe appropriate address with a branch loaded at zero. These targetsare defined with a ".ful" extension. The corresponding targetsdefined by the Makefile are:.TS Eexpand;cf3 s slf3 lf3 lf3l l l ..ne 5Make Targets.sp .25Original Target Binary Target Full Target_bootrom bootrom.bin bootrom.fulbootrom_res bootrom_res.bin bootrom_res.fulbootrom_uncmp bootrom_uncmp.bin bootromu.fulvxWorks_rom vxWorks_rom.bin rom.fulvxWorks.st_rom vxWorks.st_rom.bin st_rom.fulvxWorks.res_rom_nosym vxWorks.res_rom_nosym.bin vxWorks_res_rom_nosym.fulvxWorksvxWorks.st.TE.SS "Programming the Flash"If the boot manager / Flash utility image stored in the Flash iscorrupted, then the only recourse is to either remove theFlash parts and program them externally. It is therefore recommendedthat when updating the Flash, this region should be skipped unlessthere is a defined need to update the boot manager / Flash utility..SS "Delivered Objects"There are several VxWorks internal routines that needed to bemodified for this BSP.Additionally, several VxWorks include files needed to be modifiedto support the 28F800 series of Flash memory parts. These include: mem/FlashMem.c drv/mem/flash28.hAnd the MMU file: arch/arm/mmuArmLib.h.SS "Special routines"The routine sysLedsReadWrite() is used to control the LEDs on theboard. For further information, see the man entry for thisroutine.The routines sysRead16() and sysWrite16() are provided to allow Ccode to use the LRDH and STRH instructions explicitly (16-bitload/stores). For further information, see the source code insysALib.s.The routine ixmVersion() returns the Intel IXM version number, whichrelates this BSP version with other tools in the IXM suite.The routine sysCpuIDGet() returns the CPU ID. The low order 4-bitsgives the revision number of the CPU.The routine sysBoardIDGet() returns the Board ID. For the IXM1200,this is 0x808610AB..SS "NetROM"The IXM1200 board may be booted via NetROM.To boot with NetROM, Switch SW2, bit FL/~NR should be set OFF. Withthis setting, the NetROM will appear at the Flash address, and theFlash will not be visible..SS "Divide by Zero Exception"The ARM architecture does not provide for an integer divide byzero exception. Therefore, no exception is generated when aninteger divide by zero is performed programmatically..SS "Bus Error Exception"The only Data Abort exceptions that the board can generate arecaused by the MMU during accesses to un-mapped memory..SS "Cache/MMU considerations"The extra state VM_STATE_CACHEABLE_MINICACHE is available on theIXM1200, which is not available on other ARM CPUs (with theexception of the SA1100). Setting pages to this state usingvmStateSet() will result in those pages being cached in themini-cache, and not in the main data cache. CallingcacheInvalidate(DATA_CACHE, ENTIRE_CACHE) will also invalidate themini-cache, but in all other aspects, no support is provided forthe mini-cache, and the user is entirely responsible for ensuringcache coherency.No support is provided to the read-buffer, but it is invalidatedduring BSP startup.The IXM1200 cannot support a memory mapping where RAM is presentover the exception vectors without using the MMU. In doing so, itmust provide a mapping where physical and virtual addresses arenot the same. In order for the mmuLib/cacheLib code to supportthis, the BSP has to provide routines to map between virtual andphysical addresses. See the man entries for the BSP routinessysVirtToPhys() and sysPhysToVirt() for details.The default mapping remaps the top part of SDRAM to virtualaddress 0, so that the exception vectors lie in RAM. This thenrequires the Flash memory to be remapped to a higher address tomake room for the SDRAM. Since a large amount of SDRAM is to beused by the MicroEngines for packet data, and since this data mustbe non-cacheable when accessed by the ARM core, the bottom part ofSDRAM is mapped in a separate virtual memory range that is notadjacent to the portion of SDRAM used by VxWorks, and this rangeis marked as non-cacheable.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_C0000000-C7000000 C0000000-C7000000 SDRAM used by MicroEnginesC7000000-C8000000 00000000-01000000 SDRAM used by VxWorks00000000-00600000 08000000-08600000 Flash Memory.TEThe remaining address ranges are either mapped flat or areinvalid..SS "Validation Test Suite Failures"In the test "bootline.tcl", the boot commands test fails due to aproblem with the test. This is because of an assumption that theprocessor has a particular endian status.The test "busTas.tcl" is not applicable.The divide by zero test in "error1.tcl" fails because the ARM hardwaredoes not support a divde-by-zero exception.The UDP packet echo test in "network.tcl" fails due to a problem inthe test, not in the BSP.The tests in "scsi.tcl" are not applicable as the board does notsupport SCSI. The loopback tests in "serial.tcl" are not applicablebecause there is only one serial port.In "timestamp.tcl", the disable timestamp test is not supported. Thetimestamp timer cannot be stopped..SH "BOARD LAYOUT"The diagram below shows the relevant jumpers on the production boardfor a VxWorks configuration. The default configuration isillustrated (a Host Bridge with separate PCI Arbiter)..bS+--^------^^^^^^^^^^^^^--^^^^^----^^----------------------------------+| SW1 100 Base-T 82559 Serial || _ || |S| || |W| || |2| || |_| _____ || | | || | CPU | ___ || |_____| | | || Flash || |___| || || ---NetROM--- |++ _ +-------------------------------------------+ |||||| |||||||||||||||||||.bE.SH "SEE ALSO".tG "Getting Started,".pG "Configuration,".pG "Architecture Appendix".SH "BIBLIOGRAPHY".I "Intel IXDP1200 Network Processor Development Platform System User's Manual"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -