README.m68k 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. U-Boot for Motorola M68K
  2. ====================================================================
  3. History
  4. August 08,2005; Jens Scharsig <esw@bus-elektronik.de>
  5. MCF5282 implementation without preloader
  6. January 12, 2004; <josef.baumgartner@telex.de>
  7. ====================================================================
  8. This file contains status information for the port of U-Boot to the
  9. Motorola M68K series of CPUs.
  10. 1. OVERVIEW
  11. -----------
  12. Bernhard Kuhn ported U-Boot 0.4.0 to the Motorola Coldfire
  13. architecture. The patches of Bernhard support the MCF5272 and
  14. MCF5282. A great disadvantage of these patches was that they needed
  15. a pre-bootloader to start u-boot. Because of this, a new port was
  16. created which no longer needs a first stage booter.
  17. Although this port is intended to cover all M68k processors, only
  18. the parts for the Motorola Coldfire MCF5272 and MCF5282 are
  19. implemented at the moment. Additional CPUs and boards will be
  20. hopefully added soon!
  21. 2. SUPPORTED CPUs
  22. -----------------
  23. 2.1 Motorola Coldfire MCF5272
  24. -----------------------------
  25. CPU specific code is located in: arch/m68k/cpu/mcf52x2
  26. 2.1 Motorola Coldfire MCF5282
  27. -----------------------------
  28. CPU specific code is located in: arch/m68k/cpu/mcf52x2
  29. The MCF5282 Port no longer needs a preloader and can place in external or
  30. internal FLASH.
  31. 3. SUPPORTED BOARDs
  32. -------------------
  33. 3.1 Motorola M5272C3 EVB
  34. ------------------------
  35. Board specific code is located in: board/m5272c3
  36. To configure the board, type: make M5272C3_config
  37. U-Boot Memory Map:
  38. ------------------
  39. 0xffe00000 - 0xffe3ffff u-boot
  40. 0xffe04000 - 0xffe05fff environment (embedded in u-boot!)
  41. 0xffe40000 - 0xffffffff free for linux/applications
  42. 3.2 Motorola M5282 EVB
  43. ------------------------
  44. Board specific code is located in: board/m5282evb
  45. To configure the board, type: make M5272C3_config
  46. At the moment the code isn't fully implemented and still needs a pre-loader!
  47. The preloader must initialize the processor and then start u-boot. The board
  48. must be configured for a pre-loader (see 4.1)
  49. For the preloader, please see
  50. http://mailman.uclinux.org/pipermail/uclinux-dev/2003-December/023384.html
  51. U-boot is configured to run at 0x20000 at default. This can be configured by
  52. change CONFIG_SYS_TEXT_BASE in board/m5282evb/config.mk and CONFIG_SYS_MONITOR_BASE in
  53. include/configs/M5282EVB.h.
  54. 3.2 BuS EB+MCF-EV123
  55. ---------------------
  56. Board specific code is located in: board/bus/EB+MCF-EV123
  57. To configure the board, type:
  58. make EB+MCF-EV123_config for external FLASH
  59. make EB+MCF-EV123_internal_config for internal FLASH
  60. 4. CONFIGURATION OPTIONS/SETTINGS
  61. ----------------------------------
  62. 4.1 Configuration to use a pre-loader
  63. -------------------------------------
  64. If u-boot should be loaded to RAM and started by a pre-loader
  65. CONFIG_MONITOR_IS_IN_RAM must be defined. If it is defined the
  66. initial vector table and basic processor initialization will not
  67. be compiled in. The start address of u-boot must be adjusted in
  68. the boards config header file (CONFIG_SYS_MONITOR_BASE) and Makefile
  69. (CONFIG_SYS_TEXT_BASE) to the load address.
  70. 4.1 MCF5272 specific Options/Settings
  71. -------------------------------------
  72. CONFIG_MCF52x2 -- defined for all MCF52x2 CPUs
  73. CONFIG_M5272 -- defined for all Motorola MCF5272 CPUs
  74. CONFIG_MONITOR_IS_IN_RAM
  75. -- defined if u-boot is loaded by a pre-loader
  76. CONFIG_SYS_MBAR -- defines the base address of the MCF5272 configuration registers
  77. CONFIG_SYS_INIT_RAM_ADDR
  78. -- defines the base address of the MCF5272 internal SRAM
  79. CONFIG_SYS_ENET_BD_BASE
  80. -- defines the base address of the FEC buffer descriptors
  81. CONFIG_SYS_SCR -- defines the contents of the System Configuration Register
  82. CONFIG_SYS_SPR -- defines the contents of the System Protection Register
  83. CONFIG_SYS_BRx_PRELIM -- defines the contents of the Chip Select Base Registers
  84. CONFIG_SYS_ORx_PRELIM -- defines the contents of the Chip Select Option Registers
  85. CONFIG_SYS_PxDDR -- defines the contents of the Data Direction Registers
  86. CONFIG_SYS_PxDAT -- defines the contents of the Data Registers
  87. CONFIG_SYS_PXCNT -- defines the contents of the Port Configuration Registers
  88. 4.2 MCF5282 specific Options/Settings
  89. -------------------------------------
  90. CONFIG_MCF52x2 -- defined for all MCF52x2 CPUs
  91. CONFIG_M5282 -- defined for all Motorola MCF5282 CPUs
  92. CONFIG_MONITOR_IS_IN_RAM
  93. -- defined if u-boot is loaded by a pre-loader
  94. CONFIG_SYS_MBAR -- defines the base address of the MCF5282 internal register space
  95. CONFIG_SYS_INIT_RAM_ADDR
  96. -- defines the base address of the MCF5282 internal SRAM
  97. CONFIG_SYS_INT_FLASH_BASE
  98. -- defines the base address of the MCF5282 internal Flash memory
  99. CONFIG_SYS_ENET_BD_BASE
  100. -- defines the base address of the FEC buffer descriptors
  101. CONFIG_SYS_MFD
  102. -- defines the PLL Multiplication Factor Devider
  103. (see table 9-4 of MCF user manual)
  104. CONFIG_SYS_RFD -- defines the PLL Reduce Frecuency Devider
  105. (see table 9-4 of MCF user manual)
  106. CONFIG_SYS_CSx_BASE -- defines the base address of chip select x
  107. CONFIG_SYS_CSx_SIZE -- defines the memory size (address range) of chip select x
  108. CONFIG_SYS_CSx_WIDTH -- defines the bus with of chip select x
  109. CONFIG_SYS_CSx_RO -- if set to 0 chip select x is read/wirte
  110. else chipselct is read only
  111. CONFIG_SYS_CSx_WS -- defines the number of wait states of chip select x
  112. CONFIG_SYS_PxDDR -- defines the contents of the Data Direction Registers
  113. CONFIG_SYS_PxDAT -- defines the contents of the Data Registers
  114. CONFIG_SYS_PXCNT -- defines the contents of the Port Configuration Registers
  115. CONFIG_SYS_PxPAR -- defines the function of ports
  116. 5. COMPILER
  117. -----------
  118. To create U-Boot the gcc-2.95.3 compiler set (m68k-elf-20030314) from uClinux.org was used.
  119. You can download it from: http://www.uclinux.org/pub/uClinux/m68k-elf-tools/