README.m68k 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. U-Boot for Motorola M68K
  2. Last Update: January 12, 2004
  3. ====================================================================
  4. This file contains status information for the port of U-Boot to the
  5. Motorola M68K series of CPUs.
  6. 1. OVERVIEW
  7. -----------
  8. Bernhard Kuhn ported U-Boot 0.4.0 to the Motorola Coldfire
  9. architecture. The patches of Bernhard support the MCF5272 and
  10. MCF5282. A great disadvantage of these patches was that they needed
  11. a pre-bootloader to start u-boot. Because of this, a new port was
  12. created which no longer needs a first stage booter.
  13. Although this port is intended to cover all M68k processors, only
  14. the parts for the Motorola Coldfire MCF5272 and MCF5282 are
  15. implemented at the moment. Additional CPUs and boards will be
  16. hopefully added soon!
  17. 2. SUPPORTED CPUs
  18. -----------------
  19. 2.1 Motorola Coldfire MCF5272
  20. -----------------------------
  21. CPU specific code is located in: cpu/mcf52x2
  22. 2.1 Motorola Coldfire MCF5282
  23. -----------------------------
  24. CPU specific code is located in: cpu/mcf52x2
  25. At the moment the code isn't fully implemented and still needs a pre-loader!
  26. The preloader must initialize the processor and then start u-boot. The board
  27. must be configured for a pre-loader (see 4.1)
  28. U-boot is configured to run at 0x20000 at default. This can be configured by
  29. change TEXT_BASE in board/m5282evb/config.mk and CFG_MONITOR_BASE in
  30. include/configs/M5282EVB.h.
  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. 4. CONFIGURATION OPTIONS/SETTINGS
  47. ----------------------------------
  48. 4.1 Configuration to use a pre-loader
  49. -------------------------------------
  50. If u-boot should be loaded to RAM and started by a pre-loader
  51. CONFIG_MONITOR_IS_IN_RAM must be defined. If it is defined the
  52. initial vector table and basic processor initialization will not
  53. be compiled in. The start address of u-boot must be adjusted in
  54. the boards config header file (CFG_MONITOR_BASE) and Makefile
  55. (TEXT_BASE) to the load address.
  56. 4.1 MCF5272 specific Options/Settings
  57. -------------------------------------
  58. CONFIG_MCF52x2 -- defined for all MCF52x2 CPUs
  59. CONFIG_M5272 -- defined for all Motorola MCF5272 CPUs
  60. CONFIG_MONITOR_IS_IN_RAM
  61. -- defined if u-boot is loaded by a pre-loader
  62. CFG_MBAR -- defines the base address of the MCF5272 configuration registers
  63. CFG_INIT_RAM_ADDR
  64. -- defines the base address of the MCF5272 internal SRAM
  65. CFG_ENET_BD_BASE
  66. -- defines the base addres of the FEC buffer descriptors
  67. CFG_SCR -- defines the contents of the System Configuration Register
  68. CFG_SPR -- defines the contents of the System Protection Register
  69. CFG_BRx_PRELIM -- defines the contents of the Chip Select Base Registers
  70. CFG_ORx_PRELIM -- defines the contents of the Chip Select Option Registers
  71. CFG_PxDDR -- defines the contents of the Data Direction Registers
  72. CFG_PxDAT -- defines the contents of the Data Registers
  73. CFG_PXCNT -- defines the contents of the Port Configuration Registers
  74. 4.2 MCF5282 specific Options/Settings
  75. -------------------------------------
  76. CONFIG_MCF52x2 -- defined for all MCF52x2 CPUs
  77. CONFIG_M5282 -- defined for all Motorola MCF5282 CPUs
  78. CONFIG_MONITOR_IS_IN_RAM
  79. -- defined if u-boot is loaded by a pre-loader
  80. CFG_MBAR -- defines the base address of the MCF5282 internal register space
  81. CFG_INIT_RAM_ADDR
  82. -- defines the base address of the MCF5282 internal SRAM
  83. CFG_INT_FLASH_BASE
  84. -- defines the base address of the MCF5282 internal Flash memory
  85. CFG_ENET_BD_BASE
  86. -- defines the base addres of the FEC buffer descriptors
  87. 5. COMPILER
  88. -----------
  89. To create U-Boot the gcc-2.95.3 compiler set (m68k-elf-20030314) from uClinux.org was used.
  90. You can download it from: http://www.uclinux.org/pub/uClinux/m68k-elf-tools/
  91. Regards,
  92. Josef
  93. <josef.baumgartner@telex.de>