IXP4xx 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. -------------------------------------------------------------------------
  2. Release Notes for Linux on Intel's IXP4xx Network Processor
  3. Maintained by Deepak Saxena <dsaxena@plexity.net>
  4. -------------------------------------------------------------------------
  5. 1. Overview
  6. Intel's IXP4xx network processor is a highly integrated SOC that
  7. is targeted for network applications, though it has become popular
  8. in industrial control and other areas due to low cost and power
  9. consumption. The IXP4xx family currently consists of several processors
  10. that support different network offload functions such as encryption,
  11. routing, firewalling, etc. The IXP46x family is an updated version which
  12. supports faster speeds, new memory and flash configurations, and more
  13. integration such as an on-chip I2C controller.
  14. For more information on the various versions of the CPU, see:
  15. http://developer.intel.com/design/network/products/npfamily/ixp4xx.htm
  16. Intel also made the IXCP1100 CPU for sometime which is an IXP4xx
  17. stripped of much of the network intelligence.
  18. 2. Linux Support
  19. Linux currently supports the following features on the IXP4xx chips:
  20. - Dual serial ports
  21. - PCI interface
  22. - Flash access (MTD/JFFS)
  23. - I2C through GPIO on IXP42x
  24. - GPIO for input/output/interrupts
  25. See arch/arm/mach-ixp4xx/include/mach/platform.h for access functions.
  26. - Timers (watchdog, OS)
  27. The following components of the chips are not supported by Linux and
  28. require the use of Intel's proprietary CSR software:
  29. - USB device interface
  30. - Network interfaces (HSS, Utopia, NPEs, etc)
  31. - Network offload functionality
  32. If you need to use any of the above, you need to download Intel's
  33. software from:
  34. http://developer.intel.com/design/network/products/npfamily/ixp425.htm
  35. DO NOT POST QUESTIONS TO THE LINUX MAILING LISTS REGARDING THE PROPRIETARY
  36. SOFTWARE.
  37. There are several websites that provide directions/pointers on using
  38. Intel's software:
  39. http://sourceforge.net/projects/ixp4xx-osdg/
  40. Open Source Developer's Guide for using uClinux and the Intel libraries
  41. http://gatewaymaker.sourceforge.net/
  42. Simple one page summary of building a gateway using an IXP425 and Linux
  43. http://ixp425.sourceforge.net/
  44. ATM device driver for IXP425 that relies on Intel's libraries
  45. 3. Known Issues/Limitations
  46. 3a. Limited inbound PCI window
  47. The IXP4xx family allows for up to 256MB of memory but the PCI interface
  48. can only expose 64MB of that memory to the PCI bus. This means that if
  49. you are running with > 64MB, all PCI buffers outside of the accessible
  50. range will be bounced using the routines in arch/arm/common/dmabounce.c.
  51. 3b. Limited outbound PCI window
  52. IXP4xx provides two methods of accessing PCI memory space:
  53. 1) A direct mapped window from 0x48000000 to 0x4bffffff (64MB).
  54. To access PCI via this space, we simply ioremap() the BAR
  55. into the kernel and we can use the standard read[bwl]/write[bwl]
  56. macros. This is the preffered method due to speed but it
  57. limits the system to just 64MB of PCI memory. This can be
  58. problamatic if using video cards and other memory-heavy devices.
  59. 2) If > 64MB of memory space is required, the IXP4xx can be
  60. configured to use indirect registers to access PCI This allows
  61. for up to 128MB (0x48000000 to 0x4fffffff) of memory on the bus.
  62. The disadvantage of this is that every PCI access requires
  63. three local register accesses plus a spinlock, but in some
  64. cases the performance hit is acceptable. In addition, you cannot
  65. mmap() PCI devices in this case due to the indirect nature
  66. of the PCI window.
  67. By default, the direct method is used for performance reasons. If
  68. you need more PCI memory, enable the IXP4XX_INDIRECT_PCI config option.
  69. 3c. GPIO as Interrupts
  70. Currently the code only handles level-sensitive GPIO interrupts
  71. 4. Supported platforms
  72. ADI Engineering Coyote Gateway Reference Platform
  73. http://www.adiengineering.com/productsCoyote.html
  74. The ADI Coyote platform is reference design for those building
  75. small residential/office gateways. One NPE is connected to a 10/100
  76. interface, one to 4-port 10/100 switch, and the third to and ADSL
  77. interface. In addition, it also supports to POTs interfaces connected
  78. via SLICs. Note that those are not supported by Linux ATM. Finally,
  79. the platform has two mini-PCI slots used for 802.11[bga] cards.
  80. Finally, there is an IDE port hanging off the expansion bus.
  81. Gateworks Avila Network Platform
  82. http://www.gateworks.com/support/overview.php
  83. The Avila platform is basically and IXDP425 with the 4 PCI slots
  84. replaced with mini-PCI slots and a CF IDE interface hanging off
  85. the expansion bus.
  86. Intel IXDP425 Development Platform
  87. http://www.intel.com/design/network/products/npfamily/ixdpg425.htm
  88. This is Intel's standard reference platform for the IXDP425 and is
  89. also known as the Richfield board. It contains 4 PCI slots, 16MB
  90. of flash, two 10/100 ports and one ADSL port.
  91. Intel IXDP465 Development Platform
  92. http://www.intel.com/design/network/products/npfamily/ixdp465.htm
  93. This is basically an IXDP425 with an IXP465 and 32M of flash instead
  94. of just 16.
  95. Intel IXDPG425 Development Platform
  96. This is basically and ADI Coyote board with a NEC EHCI controller
  97. added. One issue with this board is that the mini-PCI slots only
  98. have the 3.3v line connected, so you can't use a PCI to mini-PCI
  99. adapter with an E100 card. So to NFS root you need to use either
  100. the CSR or a WiFi card and a ramdisk that BOOTPs and then does
  101. a pivot_root to NFS.
  102. Motorola PrPMC1100 Processor Mezanine Card
  103. http://www.fountainsys.com
  104. The PrPMC1100 is based on the IXCP1100 and is meant to plug into
  105. and IXP2400/2800 system to act as the system controller. It simply
  106. contains a CPU and 16MB of flash on the board and needs to be
  107. plugged into a carrier board to function. Currently Linux only
  108. supports the Motorola PrPMC carrier board for this platform.
  109. 5. TODO LIST
  110. - Add support for Coyote IDE
  111. - Add support for edge-based GPIO interrupts
  112. - Add support for CF IDE on expansion bus
  113. 6. Thanks
  114. The IXP4xx work has been funded by Intel Corp. and MontaVista Software, Inc.
  115. The following people have contributed patches/comments/etc:
  116. Lennerty Buytenhek
  117. Lutz Jaenicke
  118. Justin Mayfield
  119. Robert E. Ranslam
  120. [I know I've forgotten others, please email me to be added]
  121. -------------------------------------------------------------------------
  122. Last Update: 01/04/2005