README.m68k 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. For the preloader, please see
  29. http://mailman.uclinux.org/pipermail/uclinux-dev/2003-December/023384.html
  30. U-boot is configured to run at 0x20000 at default. This can be configured by
  31. change TEXT_BASE in board/m5282evb/config.mk and CFG_MONITOR_BASE in
  32. include/configs/M5282EVB.h.
  33. 3. SUPPORTED BOARDs
  34. -------------------
  35. 3.1 Motorola M5272C3 EVB
  36. ------------------------
  37. Board specific code is located in: board/m5272c3
  38. To configure the board, type: make M5272C3_config
  39. U-Boot Memory Map:
  40. ------------------
  41. 0xffe00000 - 0xffe3ffff u-boot
  42. 0xffe04000 - 0xffe05fff environment (embedded in u-boot!)
  43. 0xffe40000 - 0xffffffff free for linux/applications
  44. 3.2 Motorola M5282 EVB
  45. ------------------------
  46. Board specific code is located in: board/m5282evb
  47. To configure the board, type: make M5272C3_config
  48. 4. CONFIGURATION OPTIONS/SETTINGS
  49. ----------------------------------
  50. 4.1 Configuration to use a pre-loader
  51. -------------------------------------
  52. If u-boot should be loaded to RAM and started by a pre-loader
  53. CONFIG_MONITOR_IS_IN_RAM must be defined. If it is defined the
  54. initial vector table and basic processor initialization will not
  55. be compiled in. The start address of u-boot must be adjusted in
  56. the boards config header file (CFG_MONITOR_BASE) and Makefile
  57. (TEXT_BASE) to the load address.
  58. 4.1 MCF5272 specific Options/Settings
  59. -------------------------------------
  60. CONFIG_MCF52x2 -- defined for all MCF52x2 CPUs
  61. CONFIG_M5272 -- defined for all Motorola MCF5272 CPUs
  62. CONFIG_MONITOR_IS_IN_RAM
  63. -- defined if u-boot is loaded by a pre-loader
  64. CFG_MBAR -- defines the base address of the MCF5272 configuration registers
  65. CFG_INIT_RAM_ADDR
  66. -- defines the base address of the MCF5272 internal SRAM
  67. CFG_ENET_BD_BASE
  68. -- defines the base addres of the FEC buffer descriptors
  69. CFG_SCR -- defines the contents of the System Configuration Register
  70. CFG_SPR -- defines the contents of the System Protection Register
  71. CFG_BRx_PRELIM -- defines the contents of the Chip Select Base Registers
  72. CFG_ORx_PRELIM -- defines the contents of the Chip Select Option Registers
  73. CFG_PxDDR -- defines the contents of the Data Direction Registers
  74. CFG_PxDAT -- defines the contents of the Data Registers
  75. CFG_PXCNT -- defines the contents of the Port Configuration Registers
  76. 4.2 MCF5282 specific Options/Settings
  77. -------------------------------------
  78. CONFIG_MCF52x2 -- defined for all MCF52x2 CPUs
  79. CONFIG_M5282 -- defined for all Motorola MCF5282 CPUs
  80. CONFIG_MONITOR_IS_IN_RAM
  81. -- defined if u-boot is loaded by a pre-loader
  82. CFG_MBAR -- defines the base address of the MCF5282 internal register space
  83. CFG_INIT_RAM_ADDR
  84. -- defines the base address of the MCF5282 internal SRAM
  85. CFG_INT_FLASH_BASE
  86. -- defines the base address of the MCF5282 internal Flash memory
  87. CFG_ENET_BD_BASE
  88. -- defines the base addres of the FEC buffer descriptors
  89. 5. COMPILER
  90. -----------
  91. To create U-Boot the gcc-2.95.3 compiler set (m68k-elf-20030314) from uClinux.org was used.
  92. You can download it from: http://www.uclinux.org/pub/uClinux/m68k-elf-tools/
  93. Regards,
  94. Josef
  95. <josef.baumgartner@telex.de>