partner-jet-setup.txt 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. LIST "partner-jet-setup.txt"
  2. LIST "(C) Copyright 2009 Renesas Solutions Corp"
  3. LIST "Kuninori Morimoto <morimoto.kuninori@renesas.com>"
  4. LIST "--------------------------------"
  5. LIST "zImage (RAM boot)"
  6. LIST "This script can be used to boot the kernel from RAM via JTAG:"
  7. LIST "> < partner-jet-setup.txt"
  8. LIST "> RD zImage, 0xa8800000"
  9. LIST "> G=0xa8800000"
  10. LIST "--------------------------------"
  11. LIST "romImage (Flash boot)"
  12. LIST "Use the following command to burn the zImage to flash via JTAG:"
  13. LIST "> RD romImage, 0"
  14. LIST "--------------------------------"
  15. LIST "disable watchdog"
  16. EW 0xa4520004, 0xa507
  17. LIST "MMU"
  18. ED 0xff000010, 0x00000004
  19. LIST "setup clocks"
  20. ED 0xa4150024, 0x00004000
  21. ED 0xa4150000, 0x8E003508
  22. WAIT 1
  23. LIST "BSC"
  24. ED 0xff800020, 0xa5a50000
  25. ED 0xfec10000, 0x00001013
  26. ED 0xfec10004, 0x11110400
  27. ED 0xfec10024, 0x00000440
  28. WAIT 1
  29. LIST "setup sdram"
  30. ED 0xfd000108, 0x00000181
  31. ED 0xfd000020, 0x015B0002
  32. ED 0xfd000030, 0x03061502
  33. ED 0xfd000034, 0x02020102
  34. ED 0xfd000038, 0x01090305
  35. ED 0xfd00003c, 0x00000002
  36. ED 0xfd000008, 0x00000005
  37. ED 0xfd000018, 0x00000001
  38. WAIT 1
  39. ED 0xfd000014, 0x00000002
  40. ED 0xfd000060, 0x00020000
  41. ED 0xfd000060, 0x00030000
  42. ED 0xfd000060, 0x00010040
  43. ED 0xfd000060, 0x00000532
  44. ED 0xfd000014, 0x00000002
  45. ED 0xfd000014, 0x00000004
  46. ED 0xfd000014, 0x00000004
  47. ED 0xfd000060, 0x00000432
  48. ED 0xfd000060, 0x000103C0
  49. ED 0xfd000060, 0x00010040
  50. WAIT 1
  51. ED 0xfd000010, 0x00000001
  52. ED 0xfd000044, 0x00000613
  53. ED 0xfd000048, 0x238C003A
  54. ED 0xfd000014, 0x00000002
  55. LIST "Dummy read"
  56. DD 0x0c400000, 0x0c400000
  57. ED 0xfd000014, 0x00000002
  58. ED 0xfd000014, 0x00000004
  59. ED 0xfd000108, 0x00000080
  60. ED 0xfd000040, 0x00010000
  61. WAIT 1
  62. LIST "setup cache"
  63. ED 0xff00001c, 0x0000090b
  64. LIST "disable USB"
  65. EW 0xA4D80000, 0x0000