From The Compiler, 4 Years ago, written in Diff-output.
Embed
  1. diff -Nau script_arch.fex script_real.fex
  2. --- script_arch.fex     2012-09-06 09:53:18.042312773 +0200
  3. +++ script_real.fex     2012-09-06 09:45:56.938981159 +0200
  4. @@ -1,6 +1,6 @@
  5.  [product]
  6.  version = "1.0"
  7. -machine = "A10-EVB-V1.1"
  8. +machine = "A10-EVB-V1.2"
  9.  
  10.  [target]
  11.  boot_clock = 1008
  12. @@ -9,8 +9,21 @@
  13.  ldo2_vol = 3000
  14.  ldo3_vol = 2800
  15.  ldo4_vol = 2800
  16. +pll4_freq = 1200
  17. +pll6_freq = 1200
  18.  power_start = 1
  19.  
  20. +[card_burn_para]
  21. +card_no = 0
  22. +card_line = 4
  23. +card_mode = 0
  24. +sdc_d1 = port:PF00<2><1><default><default>
  25. +sdc_d0 = port:PF01<2><1><default><default>
  26. +sdc_clk = port:PF02<2><1><default><default>
  27. +sdc_cmd = port:PF03<2><1><default><default>
  28. +sdc_d3 = port:PF04<2><1><default><default>
  29. +sdc_d2 = port:PF05<2><1><default><default>
  30. +
  31.  [card_boot]
  32.  logical_start = 40960
  33.  sprite_gpio0 = port:PH20<1><default><default><0>
  34. @@ -46,8 +59,13 @@
  35.  
  36.  [uart_para]
  37.  uart_debug_port = 0
  38. -uart_debug_tx = port:PB22<2><default><default><default>
  39. -uart_debug_rx = port:PB23<2><default><default><default>
  40. +uart_debug_tx = port:PB22<2><1><default><default>
  41. +uart_debug_rx = port:PB23<2><1><default><default>
  42. +
  43. +[uart_force_debug]
  44. +uart_debug_port = 0
  45. +uart_debug_tx = port:PF02<4><default><default><default>
  46. +uart_debug_rx = port:PF04<4><default><default><default>
  47.  
  48.  [jtag_para]
  49.  jtag_enable = 1
  50. @@ -60,14 +78,14 @@
  51.  dram_baseaddr = 0x40000000
  52.  dram_clk = 360
  53.  dram_type = 3
  54. -dram_rank_num = 1
  55. -dram_chip_density = 2048
  56. -dram_io_width = 16
  57. -dram_bus_width = 32
  58. +dram_rank_num =
  59. +dram_chip_density =
  60. +dram_io_width =
  61. +dram_bus_width =
  62.  dram_cas = 6
  63.  dram_zq = 0x7b
  64.  dram_odt_en = 0
  65. -dram_size = 512
  66. +dram_size =
  67.  dram_tpr0 = 0x30926692
  68.  dram_tpr1 = 0x1090
  69.  dram_tpr2 = 0x1a0c8
  70. @@ -80,7 +98,7 @@
  71.  
  72.  [mali_para]
  73.  mali_used = 1
  74. -mali_clkdiv = 3
  75. +mali_clkdiv = 4
  76.  
  77.  [g2d_para]
  78.  g2d_used = 1
  79. @@ -106,7 +124,7 @@
  80.  emac_crs = port:PA15<2><default><default><default>
  81.  emac_col = port:PA16<2><default><default><default>
  82.  emac_reset = port:PA17<1><default><default><default>
  83. -emac_power = port:PH15<1><default><default><0>
  84. +emac_power =
  85.  
  86.  [twi0_para]
  87.  twi0_used = 1
  88. @@ -127,67 +145,67 @@
  89.  uart_used = 1
  90.  uart_port = 0
  91.  uart_type = 2
  92. -uart_tx = port:PB22<2><default><default><default>
  93. -uart_rx = port:PB23<2><default><default><default>
  94. +uart_tx = port:PB22<2><1><default><default>
  95. +uart_rx = port:PB23<2><1><default><default>
  96.  
  97.  [uart_para1]
  98.  uart_used = 0
  99.  uart_port = 1
  100.  uart_type = 8
  101. -uart_tx = port:PA10<4><default><default><default>
  102. -uart_rx = port:PA11<4><default><default><default>
  103. -uart_rts = port:PA12<4><default><default><default>
  104. -uart_cts = port:PA13<4><default><default><default>
  105. -uart_dtr = port:PA14<4><default><default><default>
  106. -uart_dsr = port:PA15<4><default><default><default>
  107. -uart_dcd = port:PA16<4><default><default><default>
  108. -uart_ring = port:PA17<4><default><default><default>
  109. +uart_tx = port:PA10<4><1><default><default>
  110. +uart_rx = port:PA11<4><1><default><default>
  111. +uart_rts = port:PA12<4><1><default><default>
  112. +uart_cts = port:PA13<4><1><default><default>
  113. +uart_dtr = port:PA14<4><1><default><default>
  114. +uart_dsr = port:PA15<4><1><default><default>
  115. +uart_dcd = port:PA16<4><1><default><default>
  116. +uart_ring = port:PA17<4><1><default><default>
  117.  
  118.  [uart_para2]
  119.  uart_used = 1
  120.  uart_port = 2
  121.  uart_type = 4
  122. -uart_tx = port:PI18<3><default><default><default>
  123. -uart_rx = port:PI19<3><default><default><default>
  124. -uart_rts = port:PI16<3><default><default><default>
  125. -uart_cts = port:PI17<3><default><default><default>
  126. +uart_tx = port:PI18<3><1><default><default>
  127. +uart_rx = port:PI19<3><1><default><default>
  128. +uart_rts = port:PI16<3><1><default><default>
  129. +uart_cts = port:PI17<3><1><default><default>
  130.  
  131.  [uart_para3]
  132.  uart_used = 0
  133.  uart_port = 3
  134.  uart_type = 4
  135. -uart_tx = port:PH00<4><default><default><default>
  136. -uart_rx = port:PH01<4><default><default><default>
  137. -uart_rts = port:PH02<4><default><default><default>
  138. -uart_cts = port:PH03<4><default><default><default>
  139. +uart_tx = port:PH00<4><1><default><default>
  140. +uart_rx = port:PH01<4><1><default><default>
  141. +uart_rts = port:PH02<4><1><default><default>
  142. +uart_cts = port:PH03<4><1><default><default>
  143.  
  144.  [uart_para4]
  145.  uart_used = 0
  146.  uart_port = 4
  147.  uart_type = 2
  148. -uart_tx = port:PH04<4><default><default><default>
  149. -uart_rx = port:PH05<4><default><default><default>
  150. +uart_tx = port:PH04<4><1><default><default>
  151. +uart_rx = port:PH05<4><1><default><default>
  152.  
  153.  [uart_para5]
  154.  uart_used = 0
  155.  uart_port = 5
  156.  uart_type = 2
  157. -uart_tx = port:PH06<4><default><default><default>
  158. -uart_rx = port:PH07<4><default><default><default>
  159. +uart_tx = port:PH06<4><1><default><default>
  160. +uart_rx = port:PH07<4><1><default><default>
  161.  
  162.  [uart_para6]
  163.  uart_used = 0
  164.  uart_port = 6
  165.  uart_type = 2
  166. -uart_tx = port:PA12<4><default><default><default>
  167. -uart_rx = port:PA13<4><default><default><default>
  168. +uart_tx = port:PA12<4><1><default><default>
  169. +uart_rx = port:PA13<4><1><default><default>
  170.  
  171.  [uart_para7]
  172.  uart_used = 0
  173.  uart_port = 7
  174.  uart_type = 2
  175. -uart_tx = port:PA14<4><default><default><default>
  176. -uart_rx = port:PA15<4><default><default><default>
  177. +uart_tx = port:PA14<4><1><default><default>
  178. +uart_rx = port:PA15<4><1><default><default>
  179.  
  180.  [spi0_para]
  181.  spi_used = 0
  182. @@ -253,7 +271,7 @@
  183.  ctp_twi_id = 2
  184.  ctp_twi_addr = 0x70
  185.  ctp_screen_max_x = 800
  186. -ctp_screen_max_y = 600
  187. +ctp_screen_max_y = 480
  188.  ctp_revert_x_flag = 0
  189.  ctp_revert_y_flag = 0
  190.  ctp_exchange_x_y_flag = 0
  191. @@ -306,7 +324,7 @@
  192.  screen0_output_type = 3
  193.  screen0_output_mode = 5
  194.  screen1_output_type = 1
  195. -screen1_output_mode = 5
  196. +screen1_output_mode = 4
  197.  fb0_framebuffer_num = 2
  198.  fb0_format = 10
  199.  fb0_pixel_sequence = 0
  200. @@ -315,6 +333,16 @@
  201.  fb1_format = 10
  202.  fb1_pixel_sequence = 0
  203.  fb1_scaler_mode_enable = 1
  204. +lcd0_bright = 197
  205. +lcd1_bright = 197
  206. +lcd0_screen_bright = 50
  207. +lcd0_screen_contrast = 50
  208. +lcd0_screen_saturation = 57
  209. +lcd0_screen_hue = 50
  210. +lcd1_screen_bright = 50
  211. +lcd1_screen_contrast = 50
  212. +lcd1_screen_saturation = 57
  213. +lcd1_screen_hue = 50
  214.  
  215.  [lcd0_para]
  216.  lcd_used = 1
  217. @@ -348,9 +376,9 @@
  218.  lcd_gamma_tbl_1 = 0x10101
  219.  lcd_gamma_tbl_255 = 0xffffff
  220.  lcd_bl_en_used = 0
  221. -lcd_bl_en =
  222. +lcd_bl_en = port:PH07<1><0><default><1>
  223.  lcd_power_used = 1
  224. -lcd_power = port:PH08<1><0><default><0>
  225. +lcd_power = port:PH08<1><0><default><1>
  226.  lcd_pwm_used = 1
  227.  lcd_pwm = port:PB02<2><0><default><default>
  228.  lcd_gpio_0 =
  229. @@ -700,10 +728,10 @@
  230.  
  231.  [usbc0]
  232.  usb_used = 1
  233. -usb_port_type = 0
  234. -usb_detect_type = 0
  235. -usb_id_gpio =
  236. -usb_det_vbus_gpio =
  237. +usb_port_type = 2
  238. +usb_detect_type = 1
  239. +usb_id_gpio = port:PH04<0><0><default><default>
  240. +usb_det_vbus_gpio = port:PH05<0><0><default><default>
  241.  usb_drv_vbus_gpio = port:PB09<1><0><default><0>
  242.  usb_host_init_state = 0
  243.  
  244. @@ -824,7 +852,12 @@
  245.  
  246.  [audio_para]
  247.  audio_used = 1
  248. -audio_pa_ctrl = port:PB03<1><default><default><0>
  249. +capture_used = 1
  250. +audio_lr_change = 0
  251. +audio_pa_ctrl = port:PH07<1><default><default><0>
  252. +
  253. +[switch_para]
  254. +switch_used = 0
  255.  
  256.  [ir_para]
  257.  ir_used = 1
  258. @@ -835,8 +868,8 @@
  259.  pmu_twi_addr = 52
  260.  pmu_twi_id = 0
  261.  pmu_irq_id = 0
  262. -pmu_battery_rdc = 200
  263. -pmu_battery_cap = 2600
  264. +pmu_battery_rdc = 100
  265. +pmu_battery_cap = 3200
  266.  pmu_init_chgcur = 300
  267.  pmu_earlysuspend_chgcur = 600
  268.  pmu_suspend_chgcur = 1000
  269. @@ -851,24 +884,26 @@
  270.  pmu_init_chg_csttime = 720
  271.  pmu_bat_para1 = 0
  272.  pmu_bat_para2 = 0
  273. -pmu_bat_para3 = 1
  274. -pmu_bat_para4 = 5
  275. -pmu_bat_para5 = 7
  276. -pmu_bat_para6 = 13
  277. -pmu_bat_para7 = 16
  278. -pmu_bat_para8 = 26
  279. -pmu_bat_para9 = 36
  280. -pmu_bat_para10 = 46
  281. -pmu_bat_para11 = 53
  282. -pmu_bat_para12 = 61
  283. -pmu_bat_para13 = 73
  284. -pmu_bat_para14 = 84
  285. +pmu_bat_para3 = 0
  286. +pmu_bat_para4 = 0
  287. +pmu_bat_para5 = 5
  288. +pmu_bat_para6 = 8
  289. +pmu_bat_para7 = 11
  290. +pmu_bat_para8 = 22
  291. +pmu_bat_para9 = 33
  292. +pmu_bat_para10 = 43
  293. +pmu_bat_para11 = 50
  294. +pmu_bat_para12 = 59
  295. +pmu_bat_para13 = 71
  296. +pmu_bat_para14 = 83
  297.  pmu_bat_para15 = 92
  298.  pmu_bat_para16 = 100
  299.  pmu_usbvol_limit = 1
  300. -pmu_usbvol = 4000
  301.  pmu_usbcur_limit = 0
  302. -pmu_usbcur = 900
  303. +pmu_usbvol = 4000
  304. +pmu_usbcur = 0
  305. +pmu_usbvol_pc = 4000
  306. +pmu_usbcur_pc = 0
  307.  pmu_pwroff_vol = 3300
  308.  pmu_pwron_vol = 2900
  309.  pmu_pekoff_time = 6000
  310. @@ -885,6 +920,8 @@
  311.  pmu_suspend_chgcur2 = 1200
  312.  pmu_resume_chgcur2 = 400
  313.  pmu_shutdown_chgcur2 = 1200
  314. +pmu_suspendpwroff_vol = 3500
  315. +pmu_batdeten = 1
  316.  
  317.  [recovery_key]
  318.  key_min = 4
  319. @@ -892,10 +929,11 @@
  320.  
  321.  [gpio_para]
  322.  gpio_used = 1
  323. -gpio_num = 3
  324. +gpio_num = 4
  325.  gpio_pin_1 = port:PH10<1><default><default><0>
  326.  gpio_pin_2 = port:PH20<1><default><default><1>
  327. -gpio_pin_3 = port:PB03<1><default><default><1>
  328. +gpio_pin_3 = port:PB03<0><default><default><default>
  329. +gpio_pin_4 = port:PH22<1><default><default><0>
  330.  
  331.  [gpio_init]
  332.  pin_1 = port:PH10<1><default><default><0>
  333. @@ -904,3 +942,21 @@
  334.  [dynamic]
  335.  MAC = "000000000000"
  336.  
  337. +[system]
  338. +recovery_key = port:PH16<0><1><default><default>
  339. +
  340. +[dvfs_table]
  341. +max_freq = 1008000000
  342. +min_freq = 60000000
  343. +LV_count = 5
  344. +LV1_freq = 1056000000
  345. +LV1_volt = 1500
  346. +LV2_freq = 1008000000
  347. +LV2_volt = 1400
  348. +LV3_freq = 912000000
  349. +LV3_volt = 1350
  350. +LV4_freq = 864000000
  351. +LV4_volt = 1300
  352. +LV5_freq = 624000000
  353. +LV5_volt = 1250
  354. +