You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
1.1 KiB

  1. # Target Configuration for the TinCanTools S3C2410 Based Hammer Module
  2. # http://www.tincantools.com
  3. source [find target/samsung_s3c2410.cfg]
  4. $_TARGETNAME configure -event reset-init {
  5. # Reset Script for the TinCanTools S3C2410 Based Hammer Module
  6. # http://www.tincantools.com
  7. #
  8. # Setup primary clocks and initialize the SDRAM
  9. mww 0x53000000 0x00000000
  10. mww 0x4a000008 0xffffffff
  11. mww 0x4a00000c 0x000007ff
  12. mww 0x4c000000 0x00ffffff
  13. mww 0x4c000014 0x00000003
  14. mww 0x4c000004 0x000a1031
  15. mww 0x48000000 0x11111122
  16. mww 0x48000004 0x00000700
  17. mww 0x48000008 0x00000700
  18. mww 0x4800000c 0x00000700
  19. mww 0x48000010 0x00000700
  20. mww 0x48000014 0x00000700
  21. mww 0x48000018 0x00000700
  22. mww 0x4800001c 0x00018005
  23. mww 0x48000020 0x00018005
  24. mww 0x48000024 0x009c0459
  25. mww 0x48000028 0x000000b2
  26. mww 0x4800002c 0x00000030
  27. mww 0x48000030 0x00000030
  28. flash probe 0
  29. }
  30. #flash configuration
  31. #flash bank <name> <driver> <base> <size> <chip_width> <bus_width> <target> [driver_options ...]
  32. set _FLASHNAME $_CHIPNAME.flash
  33. flash bank $_FLASHNAME cfi 0x00000000 0x1000000 2 2 $_TARGETNAME