README.PlanetCore 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. After several heart-struck failure, I got one workable way to program
  2. each other in FLASH between PlanetCore and U-Boot.
  3. Hardware Platform : RPXlite DW(EP 823 H1 DW)
  4. 1. From U-Boot to PlanetCore
  5. Utilities : PlanetCore Boot Loader - PCL200.mot
  6. [root@sam tftpboot]# ppc_8xx-objcopy -O ppcboot
  7. PCL200.mot pcl200.bin
  8. [Target Operation]
  9. u-boot>t 100000 pcl200.bin
  10. u-boot>go 0x100000
  11. ## Starting application at 0x00100000 ...
  12. MPC8xx PlanetCore Flash Burner v2.00
  13. Copyright 2001 Embedded Planet. All rights reserved.
  14. Construct Flash Device.....done.
  15. Program MPC8xx PlanetCore Boot Loader v2.00
  16. Built Sep 19, 2001 at 14:34:42
  17. Image located from FC000000 to FC01B5D1.
  18. (Skipping an image, only loading low boot image)
  19. Low boot board detected, skipping high boot image.
  20. Erasing, programming and verifying will start in 20
  21. seconds
  22. Press P to start immediately or ESC to cancel
  23. Press Space or Enter for more options.
  24. ..............
  25. Erasing
  26. Programming
  27. FLASH programmed successfully!
  28. Press R to induce a hard reset
  29. MPC8xx PlanetCore Boot Loader v2.00
  30. Copyright 2001 Embedded Planet. All rights reserved.
  31. DRAM available size = 64 MB
  32. wvCV
  33. DRAM OK
  34. >
  35. 2. From PlanetCore to U-Boot
  36. Utilities : PlanetCore FLASH Burner - PCB200.mot
  37. Use Flash Burner to finish the work:
  38. First, TFTP the U-Boot image file to RAM; For example,
  39. RPXlite_DW.bin to 0x400000
  40. Second, TFTP FLASH Burner to RAM; For example,
  41. 0x100000
  42. Third, run the FLASH Burner and Program the U-Boot
  43. image into the correct location in FLASH.
  44. [Target Operation]
  45. MPC8xx PlanetCore Boot Loader v2.00
  46. Copyright 2001 Embedded Planet. All rights reserved.
  47. DRAM available size = 64 MB
  48. wvCV
  49. DRAM OK
  50. >t
  51. Load using tftp via Ethernet
  52. Enter server IP address <172.16.115.6> :
  53. Enter server filename <PCL200.mot> : RPXlite_DW.bin
  54. Enter (B)inary or (S)record input mode <S> : B
  55. Enter address offset : <00400000 hex> :
  56. Total bytes = 120096 in 232184 uSecs
  57. Loaded addresses 00400000 through 0041D51F.
  58. Start address = 00400000
  59. >t
  60. Load using tftp via Ethernet
  61. Enter server IP address <172.16.115.6> :
  62. Enter server filename <RPXlite_DW.bin> : PCB200.mot
  63. Enter (B)inary or (S)record input mode <B> : S
  64. Enter address offset : <00000000 hex> :
  65. .512.1024..2048....4096.....
  66. Total bytes = 326280 in 2570249 uSecs
  67. Loaded addresses 00100000 through 0011BB51.
  68. Start address = 00100000
  69. >go
  70. [Go 00100000]
  71. MPC8xx PlanetCore Flash Burner v2.00
  72. Copyright 2001 Embedded Planet. All rights reserved.
  73. Construct Flash Device.....done.
  74. Bad start address
  75. Start = 0xFFFFFFFF, target = 0xFFFFFFFF, length =
  76. 0xFFFFFFFF
  77. Forcing Menu Interface
  78. h[elp] Show commands.
  79. c[ode] Show information on code to be loaded.
  80. di[splay] Display all flash sections.
  81. du[mp] Dump memory. d ? for more info.
  82. e[rase] Erase flash sections.
  83. f[ill] Fill flash sections.
  84. im[age] Toggle load high, low, or both flash
  85. images.
  86. in[fo] Show flash information.
  87. ma[p] Show memory map.
  88. mo[dify] Modify memory. m ? for more info.
  89. p[rogram] Erase, program, and verify now.
  90. reset Restart the loader.
  91. s[how] Show flash sections to erase and program.
  92. t[est] Test flash sections.
  93. q[uit] Quit without programming.
  94. #program 400000 ff000000 1D51F
  95. doProgram( 400000 ff000000 1D51F )
  96. Start = 0x00400000, target = 0xFF000000, length =
  97. 0x0001D51F
  98. Erasing sector 0xFF000000, length 0x008000.
  99. Erasing sector 0xFF008000, length 0x008000.
  100. Erasing sector 0xFF010000, length 0x008000.
  101. Erasing sector 0xFF018000, length 0x008000.
  102. Programming FF000000 through FF01D51E
  103. FLASH programmed successfully!
  104. Press R to induce a hard reset
  105. Forcing Hard Reset by MachineCheck and
  106. ResetOnCheckstop...
  107. U-Boot 1.1.2 (Aug 29 2004 - 15:11:27)
  108. CPU: PPC823EZTnnB2 at 48 MHz: 16 kB I-Cache 8 kB
  109. D-Cache
  110. Board: RPXlite_DW
  111. DRAM: 64 MB
  112. FLASH: 16 MB
  113. *** Warning - bad CRC, using default environment
  114. In: serial
  115. Out: serial
  116. Err: serial
  117. Net: SCC ETHERNET
  118. u-boot>
  119. -------------------------------------------------
  120. Well, sometimes network function of PlanetCore couldn't work when
  121. switching from U-Boot to PlanetCore. For example, you couldn't
  122. download a file from HOST PC via TFTP. Don't worry, just restart your
  123. HOST PC and everything would work as smooth as clockwork. I don't
  124. know the reason WHY:-)
  125. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  126. Merry Christmas and Happy New Year!
  127. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  128. =====
  129. Best regards,
  130. Sam