README 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. This directory contains board specific code for a generic MPC860T based
  2. embedded computer, called 'GEN860T'. The design is generic in the sense that
  3. common, readily available components are used and that the architecture of the
  4. system is relatively straightforward:
  5. One eight bit wide boot (FLASH) memory
  6. 32 bit main memory using SDRAM
  7. DOC 2000+
  8. Ethernet PHY
  9. Some I2C peripheral devices: Atmel AT24C256 EEPROM, Maxim DS1337 RTC.
  10. Some other miscellaneous peripherals
  11. NOTE: There are references to a XIlinx FPGA and Mil-Std 1553 databus in this
  12. port. I guess the computer is not as generic as I first said 8) However,
  13. these extras can be safely ignored.
  14. Given the GEN860T files, it should be pretty easy to reverse engineer the
  15. hardware configuration, if that's useful to you. Hopefully, this code will
  16. be useful to someone as a basis for a port to a new system or as a head start
  17. on a custom design. If you end up using any of this, I would appreciate
  18. hearing from you, especially if you discover bugs or find ways to improve the
  19. quality of this U-Boot port.
  20. Here are the salient features of the system:
  21. Clock : 33.3 Mhz oscillator
  22. Processor core frequency : 66.6 Mhz if in 1:2:1 mode; can also run 1:1
  23. Bus frequency : 33.3 Mhz
  24. Main memory:
  25. Type : SDRAM
  26. Width : 32 bits
  27. Size : 64 mibibytes
  28. Chip : Two Micron MT48LC16M16A2TG-7E
  29. CS : MPC860T CS1*/UPMA
  30. UPMA CONNECTIONS:
  31. SDRAM A10 : GPLA0*
  32. SDRAM CAS* : GPLA2*
  33. SDRAM WE* : GPLA3*
  34. SDRAM RAS* : GPLA4*
  35. Boot memory:
  36. Type : FLASH
  37. Width : 8 bits
  38. Size : 16 mibibytes
  39. Chip : One Intel 28F128J3A (StrataFlash)
  40. CS : MPC860T CS0*/GPCM (this is the "boot" chip select)
  41. EEPROM memory:
  42. Type : Serial I2C EEPROM
  43. Width : 8 bits
  44. Size : 32 kibibytes
  45. Chip : One Atmel AT25C256
  46. CS : 0x50 (external I2C address pins on device are tied to GND)
  47. Filesystem memory:
  48. Type : NAND FLASH (Toshiba)
  49. Width : 8 bits (i.e. interface to DOC is 8 bits)
  50. Size : 32 mibibytes
  51. Chip : One DiskOnCHip Millenium Plus (DOC 2000+)
  52. CS : MPC860T CS2*/GPCM
  53. Network support:
  54. MAC : MPC86OT FEC (Fast Ethernet Controller)
  55. PHY : Intel LXT971A
  56. MII Addr: 0x0 (hardwired on the board)
  57. MII IRQ :
  58. Console:
  59. RS-232 on SMC1 (Maxim MAX3232 LVCMOS-RS232 level shifter)
  60. Real Time Clock:
  61. Type : Low power, I2C interface
  62. Chip : Maxim DS1337
  63. CS : Address 0x68 on I2C bus
  64. The MPC860T's internal RTC has a defect in Mask rev D that increases
  65. the current drain on the KAPWR line to 10 mA. Since this is an
  66. unreasonable amount of current draw for a RTC, and Motorola does not
  67. plan to fix this in future mask revisions, a serial (I2C) RTC that
  68. works has been included instead. NOTE that the DS1337 can be
  69. configured to output a 32768 Hz clock while the main power is on.
  70. This clock output has been routed to the MPC860T's EXTAL pin to allow
  71. the internal RTC to be used. NOTE also that due to yet another
  72. defect in the rev D mask, the RTC does not operate reliably when the
  73. internal RTC divisor is set to use a 32768 Hz reference. So just use
  74. the I2C RTC.
  75. Miscellaneous:
  76. Xilinx Virtex FPGA on CS3*/GPCM.
  77. Virtex FPGA slave SelectMap interface on cs4*/UPMB.
  78. Mil-Std 1553 databus interface on CS5*/GPCM.
  79. Audio sounder (beeper) with digital volume control connected to SPKROUT.
  80. SC variant:
  81. A reduced-feature version of the GEN860T port is also supported: GEN860T_SC.
  82. The 'SC' variant only provides support for the Virtex FPGA, SDRAM main
  83. memory, EEPROM and flash memory. The system clock frequency is reduced
  84. to 24 MHz.
  85. Issues:
  86. The DOC 2000+ returns 0x40 as its device ID when probed using the method
  87. desxribed in the DOC datasheet. Unfortunately, the U-Boot DOC driver
  88. does not recognize this device. As of this writing, it seems that MTD
  89. does not support the DOC 2000+ either.
  90. Status:
  91. Everything appears to work except DOC support. As of this writing,
  92. David Woodhouse has stated on the MTD mailing list that he has no
  93. knowledge of the DOC Millineum Plus and therfore there is no support
  94. in MTD for this device. I wish I had known this sooner :(
  95. The GEN860T board specific files and configuration is based on the work
  96. of others who have contributed to U-Boot. The copyright and license notices
  97. of these authors have been retained wherever their code has been reused.
  98. All new code to support the GEN860T board is:
  99. (C) Copyright 2001-2003
  100. Keith Outwater (keith_outwater@mvis.com)
  101. and the following license applies:
  102. This program is free software; you can redistribute it and/or
  103. modify it under the terms of the GNU General Public License as
  104. published by the Free Software Foundation; either version 2 of
  105. the License, or (at your option) any later version.
  106. This program is distributed in the hope that it will be useful,
  107. WITHOUT ANY WARRANTY; without even the implied warranty of
  108. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  109. GNU General Public License for more details.
  110. You should have received a copy of the GNU General Public License
  111. along with this program; if not, write to the Free Software
  112. Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  113. MA 02111-1307 USA
  114. Thanks to Wolfgang Denk for a great software package and to everyone
  115. who contributed to its development.
  116. Keith Outwater
  117. Sr. Staff Engineer
  118. Microvision, Inc.
  119. <keith_outwater@mvis.com>
  120. <outwater@eskimo.com>