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.
 
 
 
 
 
 

31 lines
827 B

  1. # This is for the T-Home X300T / X301T IPTV box,
  2. # which are based on IPTV reference designs from Kiss/Cisco KMM-3***
  3. #
  4. # It has Sigma Designs SMP8634 chip.
  5. source [find target/smp8634.cfg]
  6. $_TARGETNAME configure -event reset-init { x300t_init }
  7. # 1MB CFI capable flash
  8. # flash bank <driver> <base> <size> <chip_width> <bus_width>
  9. flash bank cfi 0xac000000 0x100000 2 2 0
  10. proc x300t_init { } {
  11. # Setup SDRAM config and flash mapping
  12. # initialize ram
  13. mww 0xa003fffc 3
  14. mww 0xa003fffc 2
  15. mww 0xa0030000 0xE34111BA
  16. mww 0xa003fffc 0xa4444
  17. mww 0xa003fffc 0
  18. # remap boot vector in CPU local RAM
  19. mww 0xa006f000 0x60000
  20. # map flash to CPU address space REG_BASE_cpu_block+CPU_remap4
  21. mww 0x0006f010 0x48000000
  22. # map flash addr to REG_BASE_cpu_block + LR_XENV_LOCATION (normally done by XOS)
  23. mww 0x00061ff0 0x48000000
  24. }