partner-jet-setup.txt 1.7 KB

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