imximage.cfg 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. #
  2. # (C Copyright 2009
  3. # Stefano Babic DENX Software Engineering sbabic@denx.de.
  4. #
  5. # See file CREDITS for list of people who contributed to this
  6. # project.
  7. #
  8. # This program is free software; you can redistribute it and/or
  9. # modify it under the terms of the GNU General Public License as
  10. # published by the Free Software Foundation; either version 2 of
  11. # the License or (at your option) any later version.
  12. #
  13. # This program is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. # GNU General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU General Public License
  19. # along with this program; if not write to the Free Software
  20. # Foundation Inc. 51 Franklin Street Fifth Floor Boston,
  21. # MA 02110-1301 USA
  22. #
  23. # Refer docs/README.imxmage for more details about how-to configure
  24. # and create imximage boot image
  25. #
  26. # The syntax is taken as close as possible with the kwbimage
  27. # Boot Device : one of
  28. # spi, sd (the board has no nand neither onenand)
  29. BOOT_FROM spi
  30. # Device Configuration Data (DCD)
  31. #
  32. # Each entry must have the format:
  33. # Addr-type Address Value
  34. #
  35. # where:
  36. # Addr-type register length (1,2 or 4 bytes)
  37. # Address absolute address of the register
  38. # value value to be stored in the register
  39. # Setting IOMUXC
  40. DATA 4 0x73FA88a0 0x200
  41. DATA 4 0x73FA850c 0x20c5
  42. DATA 4 0x73FA8510 0x20c5
  43. DATA 4 0x73FA883c 0x2
  44. DATA 4 0x73FA8848 0x2
  45. DATA 4 0x73FA84b8 0xe7
  46. DATA 4 0x73FA84bc 0x45
  47. DATA 4 0x73FA84c0 0x45
  48. DATA 4 0x73FA84c4 0x45
  49. DATA 4 0x73FA84c8 0x45
  50. DATA 4 0x73FA8820 0x0
  51. DATA 4 0x73FA84a4 0x3
  52. DATA 4 0x73FA84a8 0x3
  53. DATA 4 0x73FA84ac 0xe3
  54. DATA 4 0x73FA84b0 0xe3
  55. DATA 4 0x73FA84b4 0xe3
  56. DATA 4 0x73FA84cc 0xe3
  57. DATA 4 0x73FA84d0 0xe2
  58. DATA 4 0x73FA882c 0x6
  59. DATA 4 0x73FA88a4 0x6
  60. DATA 4 0x73FA88ac 0x6
  61. DATA 4 0x73FA88b8 0x6
  62. # Setting DDR for micron
  63. # 13 Rows, 10 Cols, 32 bit, SREF=4 Micron Model
  64. # CAS=3 BL=4
  65. # ESDCTL_ESDCTL0
  66. DATA 4 0x83FD9000 0x82a20000
  67. # ESDCTL_ESDCTL1
  68. DATA 4 0x83FD9008 0x82a20000
  69. # ESDCTL_ESDMISC
  70. DATA 4 0x83FD9010 0x000ad0d0
  71. # ESDCTL_ESDCFG0
  72. DATA 4 0x83FD9004 0x333574aa
  73. # ESDCTL_ESDCFG1
  74. DATA 4 0x83FD900C 0x333574aa
  75. # Init DRAM on CS0
  76. # ESDCTL_ESDSCR
  77. DATA 4 0x83FD9014 0x04008008
  78. DATA 4 0x83FD9014 0x0000801a
  79. DATA 4 0x83FD9014 0x0000801b
  80. DATA 4 0x83FD9014 0x00448019
  81. DATA 4 0x83FD9014 0x07328018
  82. DATA 4 0x83FD9014 0x04008008
  83. DATA 4 0x83FD9014 0x00008010
  84. DATA 4 0x83FD9014 0x00008010
  85. DATA 4 0x83FD9014 0x06328018
  86. DATA 4 0x83FD9014 0x03808019
  87. DATA 4 0x83FD9014 0x00408019
  88. DATA 4 0x83FD9014 0x00008000
  89. # Init DRAM on CS1
  90. DATA 4 0x83FD9014 0x0400800c
  91. DATA 4 0x83FD9014 0x0000801e
  92. DATA 4 0x83FD9014 0x0000801f
  93. DATA 4 0x83FD9014 0x0000801d
  94. DATA 4 0x83FD9014 0x0732801c
  95. DATA 4 0x83FD9014 0x0400800c
  96. DATA 4 0x83FD9014 0x00008014
  97. DATA 4 0x83FD9014 0x00008014
  98. DATA 4 0x83FD9014 0x0632801c
  99. DATA 4 0x83FD9014 0x0380801d
  100. DATA 4 0x83FD9014 0x0040801d
  101. DATA 4 0x83FD9014 0x00008004
  102. # Write to CTL0
  103. DATA 4 0x83FD9000 0xb2a20000
  104. # Write to CTL1
  105. DATA 4 0x83FD9008 0xb2a20000
  106. # ESDMISC
  107. DATA 4 0x83FD9010 0x000ad6d0
  108. #ESDCTL_ESDCDLYGD
  109. DATA 4 0x83FD9034 0x90000000
  110. DATA 4 0x83FD9014 0x00000000