README 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. Cogent Modular Architecture configuration
  2. -----------------------------------------
  3. As the name suggests, the Cogent platform is a modular system where
  4. you have a motherboard into which plugs a cpu module and one or more
  5. i/o modules. This provides very nice flexibility, but makes the
  6. configuration task somewhat harder.
  7. The possible Cogent motherboards are:
  8. Code Config Variable Description
  9. ---- --------------- -----------
  10. CMA101 CONFIG_CMA101 32MB ram, 2 ser, 1 par, rtc, dipsw,
  11. 2x16 lcd, eth(?)
  12. CMA102 CONFIG_CMA102 32MB ram, 2 ser, 1 par, rtc, dipsw,
  13. 2x16 lcd
  14. CMA111 CONFIG_CMA111 32MB ram, 1MB flash, 4 ser, 1 par,
  15. rtc, ps/2 kbd/mse, 2x16 lcd, 2xPCI,
  16. 10/100TP eth
  17. CMA120 CONFIG_CMA120 32MB ram, 1MB flash, 4 ser, 1 par,
  18. rtc, ps/2 kbd/mse, 2x16 lcd, 2xPCI,
  19. 10/100TP eth, 2xPCMCIA, video/lcd-panel
  20. CMA150 CONFIG_CMA150 8MB ram, 1MB flash, 2 ser, 1 par, rtc,
  21. ps/2 kbd/mse, 2x16 lcd
  22. The possible Cogent PowerPC CPU modules are:
  23. Code Config Variable Description
  24. ---- --------------- -----------
  25. CMA278-603EV CONFIG_CMA278_603EV PPC603ev CPU, 66MHz clock, 512K EPROM,
  26. JTAG/COP
  27. CMA278-603ER CONFIG_CMA278_603ER PPC603er CPU, 66MHz clock, 512K EPROM,
  28. JTAG/COP
  29. CMA278-740 CONFIG_CMA278_740 PPC740 CPU, 66MHz clock, 512K EPROM,
  30. JTAG/COP
  31. CMA280-509 CONFIG_CMA280_509 MPC505/509 CPU, 50MHz clock,
  32. 512K EPROM, BDM
  33. CMA282 CONFIG_CMA282 MPC8260 CPU, 66MHz clock, 512K EPROM,
  34. JTAG, 16M RAM, 1 x ser (SMC2),
  35. 1 x 10baseT PHY (SCC4), 1 x 10/100 TP
  36. PHY (FCC1), 2 x 48pin DIN (FCC2 + TDM1)
  37. CMA285 CONFIG_CMA285 MPC801 CPU, 33MHz clock, 512K EPROM,
  38. BDM
  39. CMA286-21 CONFIG_CMA286_21 MPC821 CPU, 66MHz clock, 512K EPROM,
  40. BDM, 16M RAM, 2 x ser (SMC1 + SMC2),
  41. 1 x 10baseT PHY (SCC2)
  42. CMA286-60-OLD CONFIG_CMA286_60_OLD MPC860 CPU, 33MHz clock, 128K EPROM,
  43. BDM
  44. CMA286-60 CONFIG_CMA286_60 MPC860 CPU, 66MHz clock, 512K EPROM,
  45. BDM, 16M RAM, 2 x ser (SMC1 + SMC2),
  46. 1 x 10baseT PHY (SCC2)
  47. CMA286-60P CONFIG_CMA286_60P MPC860P CPU, 66MHz clock, 512K EPROM,
  48. BDM, 16M RAM, 2 x ser (SMC1 + SMC2),
  49. 1 x 10baseT PHY (SCC2)
  50. CMA287-23 CONFIG_CMA287_23 MPC823 CPU, 33MHz clock, 512K EPROM,
  51. BDM
  52. CMA287-50 CONFIG_CMA287_50 MPC850 CPU, 33MHz clock, 512K EPROM,
  53. BDM
  54. (there are a lot of other cpu modules with ARM, MIPS and M-CORE CPUs,
  55. but we'll worry about those later).
  56. The possible Cogent CMA I/O Modules are:
  57. Code Config Variable Description
  58. ---- --------------- -----------
  59. CMA302 CONFIG_CMA302 up to 16M flash, ps/2 keyboard/mouse
  60. CMA352 CONFIG_CMA352 CMAbus <=> PCI
  61. Currently supported:
  62. Motherboards: CMA102
  63. CPU Modules: CMA286-60-OLD
  64. I/O Modules: CMA302 I/O module
  65. To configure, perform the usual U-Boot configuration task of editing
  66. "include/config_cogent_mpc8xx.h" and reviewing all the options and
  67. settings in there. In particular, check the chip select values
  68. installed into the memory controller's various option and base
  69. registers - these are set by the defines CFG_CMA_CSn_{BASE,SIZE} and
  70. CFG_{B,O}Rn_PRELIM. Also be careful of the clock settings installed
  71. into the SCCR - via the define CFG_SCCR. Finally, decide whether you
  72. want the serial console on motherboard serial port A or on one of the
  73. 8xx SMC ports, and set CONFIG_8xx_CONS_{SMC1,SMC2,NONE} accordingly
  74. (NONE means use Cogent motherboard serial port A).
  75. Then edit the file "cogent/config.mk". Firstly, set TEXT_BASE to be
  76. the base address of the EPROM for the CPU module. This should be the
  77. same as the value selected for CFG_MONITOR_BASE in
  78. "include/config_cogent_*.h" (in fact, I have made this automatic via
  79. the -DTEXT_BASE=... option in CPPFLAGS).
  80. Finally, set the values of the make variables $(CMA_MB) and $(CMA_IOMS).
  81. $(CMA_MB) is the name of the directory that contains support for your
  82. motherboard. At this stage, only "cma10x" exists, which supports the
  83. CMA101 and CMA102 motherboards - but only selected devices, namely
  84. serial, lcd and dipsw.
  85. $(CMA_IOMS) is a list of zero or more directories that contain
  86. support for the i/o modules you have installed. At this stage, only
  87. "cma302" exists, which supports the CMA302 flash i/o module - but
  88. only the flash part, not the ps/2 keyboard and mouse interfaces.
  89. There should be a make variable for each of the above directories,
  90. which is the directory name with "_O" appended. This make variable is
  91. a list of object files to compile from that directory and include in
  92. the library.
  93. e.g. cma10x_O = serial.o ...
  94. That's it. Good Luck.
  95. Murray.Jensen@cmst.csiro.au
  96. August 31, 2000.