lin
2025-04-17 61fc17be73a8a29ba860ed54a77e02c82a6866a2
feat(build) distinguish between K5 and K5C .fex files

Signed-off-by: lin <lin@kickpi.com>
1 files renamed
1 files added
2 files modified
887 ■■■■■ changed files
.gitignore 1 ●●●● patch | view | raw | blame | history
build.sh 2 ●●●●● patch | view | raw | blame | history
longan/device/config/chips/a133/configs/c3/kickpi-k5.fex 884 ●●●●● patch | view | raw | blame | history
longan/device/config/chips/a133/configs/c3/kickpi-k5c.fex patch | view | raw | blame | history
.gitignore
....@@ -5,3 +5,4 @@
55 android/device/softwinner/ceres-c3/fstab.sun50iw10p1.noverify
66
77 longan/device/.BoardConfig.mk
8
+longan/device/config/chips/a133/configs/c3/sys_config.fex
build.sh
....@@ -38,7 +38,9 @@
3838 source $BOARD_CONFIG_FILE
3939 echo "you board is ${DTS_NAME}"
4040
41
+ ln -rsf "${DTS_DIR}/${DTS_NAME}.fex" "${DTS_DIR}/sys_config.fex"
4142 echo "Start clean kerenl"
43
+
4244 cd longan/kernel/linux-4.9 && make clean -j32 && cd -
4345 source $BOARD_CONFIG_FILE
4446 longan/build/mkcommon.sh autoconfig -i a133 -o android -b c3
longan/device/config/chips/a133/configs/c3/kickpi-k5.fex
....@@ -0,0 +1,884 @@
1
+;sunxi platform application
2
+;---------------------------------------------------------------------------------------------------------
3
+; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
4
+; 描述gpio的形式:Port:端口+组内序号<功能分配><内部电阻状态><驱动能力><输出电平状态>
5
+;---------------------------------------------------------------------------------------------------------
6
+
7
+[product]
8
+version = "100"
9
+machine = "evb"
10
+
11
+[platform]
12
+eraseflag = 1
13
+next_work = 3
14
+debug_mode = 10
15
+
16
+;----------------------------------------------------------------------------------
17
+;[target] system bootup configuration
18
+;boot_clock = CPU boot frequency, Unit: MHz
19
+;storage_type = boot medium, 0-nand, 1-card0, 2-card2, -1(defualt)auto scan
20
+;burn_key 1:support burn key; 0:not support burn key
21
+;dragonboard_test 1:support card boot dragonboard; 0:not support card boot dragonboard
22
+;power_mode = axp_type, 0:axp81X, 1:dummy, 2:axp806, 3:axp2202, 4:axp858
23
+;----------------------------------------------------------------------------------
24
+[target]
25
+boot_clock = 1008
26
+storage_type = -1
27
+burn_key = 0
28
+; for dragonboard test
29
+dragonboard_test = 0
30
+power_mode = 0
31
+
32
+;----------------------------------------------------------------------------------
33
+; system configuration
34
+; ?
35
+;dcdc1_vol ---set dcdc1 voltage,mV,500-1200,10mV/step
36
+; 1220-3400,20mV/step
37
+;dcdc2_vol ---set dcdc2 voltage,mV,500-1200,10mV/step
38
+; 1220-1540,20mV/step
39
+;aldo1_vol ---set aldo1 voltage,mV,500-3500,100mV/step
40
+;dldo1_vol ---set dldo1 voltage,mV,500-3500,100mV/step
41
+;dcdcX_mode ---set dcdc mode, 0:pfm-pwm 1:force pwm
42
+;----------------------------------------------------------------------------------
43
+[power_sply]
44
+dcdc1_vol = 1003300
45
+aldo1_vol = 1001800
46
+aldo2_vol = 1001800
47
+aldo3_vol = 1003300
48
+dldo1_vol = 3300
49
+dldo2_vol = 1001800
50
+dldo3_vol = 1001800
51
+dldo4_vol = 1001800
52
+eldo1_vol = 1001800
53
+eldo2_vol = 1001800
54
+eldo3_vol = 1001800
55
+fldo1_vol = 100900
56
+dc1sw_vol = 1003300
57
+dcdc5_mode = 0
58
+dcdc2_mode = 0
59
+dcdc3_mode = 0
60
+battery_exist = 0
61
+
62
+[card_boot]
63
+logical_start = 40960
64
+;sprite_gpio0 = port:PH6<1><default><default><1>
65
+
66
+;----------------------------------------------------------------------------------
67
+;fastboot key
68
+;----------------------------------------------------------------------------------
69
+[fastboot_key]
70
+key_max = 0x2a
71
+key_min = 0x28
72
+
73
+;----------------------------------------------------------------------------------
74
+;recovery key
75
+;----------------------------------------------------------------------------------
76
+[recovery_key]
77
+key_max = 0x1f
78
+key_min = 0x1c
79
+
80
+;---------------------------------------------------------------------------------------------------------
81
+; if 1 == standby_mode, then support super standby;
82
+; else, support normal standby.
83
+;---------------------------------------------------------------------------------------------------------
84
+[pm_para]
85
+standby_mode = 1
86
+
87
+[card0_boot_para]
88
+card_ctrl = 0
89
+card_high_speed = 1
90
+card_line = 4
91
+sdc_d1 = port:PF0<2><1><3><default>
92
+sdc_d0 = port:PF1<2><1><3><default>
93
+sdc_clk = port:PF2<2><1><3><default>
94
+sdc_cmd = port:PF3<2><1><3><default>
95
+sdc_d3 = port:PF4<2><1><3><default>
96
+sdc_d2 = port:PF5<2><1><3><default>
97
+;sdc_type = "tm1"
98
+
99
+[card2_boot_para]
100
+card_ctrl = 2
101
+card_high_speed = 1
102
+card_line = 8
103
+sdc_clk = port:PC5<3><1><3><default>
104
+sdc_cmd = port:PC6<3><1><3><default>
105
+sdc_d0 = port:PC10<3><1><3><default>
106
+sdc_d1 = port:PC13<3><1><3><default>
107
+sdc_d2 = port:PC15<3><1><3><default>
108
+sdc_d3 = port:PC8<3><1><3><default>
109
+sdc_d4 = port:PC9<3><1><3><default>
110
+sdc_d5 = port:PC11<3><1><3><default>
111
+sdc_d6 = port:PC14<3><1><3><default>
112
+sdc_d7 = port:PC16<3><1><3><default>
113
+sdc_emmc_rst = port:PC1<3><1><3><default>
114
+sdc_ds = port:PC0<3><2><3><default>
115
+sdc_tm4_hs200_max_freq = 150
116
+sdc_tm4_hs400_max_freq = 100
117
+sdc_ex_dly_used = 2
118
+sdc_io_1v8 = 1
119
+sdc_tm4_win_th = 8
120
+;sdc_dis_host_caps = 0x100
121
+;sdc_erase = 2
122
+;sdc_boot0_sup_1v8 = 1
123
+;sdc_type = "tm4"
124
+
125
+[gpio_bias]
126
+pc_bias = 1800
127
+;pl_bias = 1800
128
+
129
+[auto_print]
130
+auto_print_used = 1
131
+
132
+[uart_para]
133
+uart_debug_port = 0
134
+uart_debug_tx = port:PB09<2><1><default><default>
135
+uart_debug_rx = port:PB10<2><1><default><default>
136
+
137
+;[jtag_para]
138
+;jtag_enable = 1
139
+;jtag_ms = port:PH9<3><default><default><default>
140
+;jtag_ck = port:PH10<3><default><default><default>
141
+;jtag_do = port:PH11<3><default><default><default>
142
+;jtag_di = port:PH12<3><default><default><default>
143
+
144
+[clock]
145
+pll4 = 300
146
+pll6 = 600
147
+pll8 = 360
148
+pll9 = 297
149
+pll10 = 264
150
+
151
+;*****************************************************************************
152
+;
153
+;dram select configuration
154
+;
155
+;select_mode : dram模式选择, 0:不进行自动识别
156
+; 1:gpio识别模式(dram_para, dram_para1-15, 共16组有效)
157
+; 2:gpadc识别模式(dram_para, dram_para1-7, 共8组有效)
158
+; 3:1个IO+gpadc识别模式(dram_para, dram_para1-15, 共16组有效)。其中IO配置优先级按select_gpio0>select_gpio1>select_gpio2>select_gpio3
159
+;gpadc_channel : 选择gpadc通道 有效值(0-3)
160
+;select_gpio1-4 : 选择gpio pin
161
+;*****************************************************************************
162
+
163
+
164
+[dram_select_para]
165
+select_mode = 0
166
+gpadc_channel = 1
167
+;select_gpio0 = port:PB7<0><1><default><default>
168
+select_gpio1 = port:PB4<0><1><default><default>
169
+;select_gpio2 = port:PH1<0><1><default><default>
170
+;select_gpio3 = port:PH0<0><1><default><default>
171
+
172
+
173
+
174
+[dram_para]
175
+dram_clk = 648
176
+dram_type = 3
177
+dram_dx_odt = 0x07070707
178
+dram_dx_dri = 0x0c0c0c0c
179
+dram_ca_dri = 0x0e0e
180
+dram_para0 = 0x15101212
181
+dram_para1 = 0x30FA
182
+dram_para2 = 0x0000
183
+dram_mr0 = 0x840
184
+dram_mr1 = 0x4
185
+dram_mr2 = 0x8
186
+dram_mr3 = 0x0
187
+dram_mr4 = 0x0
188
+dram_mr5 = 0x0
189
+dram_mr6 = 0x0
190
+dram_mr11 = 0x0
191
+dram_mr12 = 0x0
192
+dram_mr13 = 0x0
193
+dram_mr14 = 0x0
194
+dram_mr16 = 0x0
195
+dram_mr17 = 0x0
196
+dram_mr22 = 0x0
197
+dram_tpr0 = 0x0
198
+dram_tpr1 = 0x0
199
+dram_tpr2 = 0x0
200
+dram_tpr3 = 0x0
201
+dram_tpr6 = 0x33808080
202
+dram_tpr10 = 0x002f7458
203
+dram_tpr11 = 0x0f0b0e0c
204
+dram_tpr12 = 0x19191818
205
+dram_tpr13 = 0x00
206
+dram_tpr14 = 0x26232323
207
+
208
+;*****************************************************************************
209
+;sdram configuration
210
+;
211
+;*****************************************************************************
212
+;[dram_para]
213
+;dram_clk = 648
214
+;dram_type = 3
215
+;dram_dx_odt = 0x03030303
216
+;dram_dx_dri = 0x0e0e0e0e
217
+;dram_ca_dri = 0x1c12
218
+;dram_odt_en = 0
219
+;dram_para1 = 0x30fb
220
+;dram_para2 = 0x0000
221
+;dram_mr0 = 0x840
222
+;dram_mr1 = 0x4
223
+;dram_mr2 = 0x8
224
+;dram_mr3 = 0x0
225
+;dram_mr4 = 0x0
226
+;dram_mr5 = 0x0
227
+;dram_mr6 = 0x0
228
+;dram_mr11 = 0x0
229
+;dram_mr12 = 0x0
230
+;dram_mr13 = 0x0
231
+;dram_mr14 = 0x0
232
+;dram_mr16 = 0x0
233
+;dram_mr17 = 0x0
234
+;dram_mr22 = 0x0
235
+;dram_tpr0 = 0xC0000C05
236
+;dram_tpr1 = 0x0
237
+;dram_tpr2 = 0x0
238
+;dram_tpr3 = 0x0
239
+;dram_tpr6 = 0x33808080
240
+;dram_tpr10 = 0x002F0007
241
+;dram_tpr11 = 0xffffdddd
242
+;dram_tpr12 = 0xfedf7557
243
+;dram_tpr13 = 0x40
244
+
245
+;[dram_para]
246
+;dram_clk = 648
247
+;dram_type = 3
248
+;dram_dx_odt = 0x07070707
249
+;dram_dx_dri = 0x0d0d0d0d
250
+;dram_ca_dri = 0x0e0e
251
+;dram_para0 = 0x0d0a050c
252
+;dram_para1 = 0x30ea
253
+;dram_para2 = 0x1000
254
+;dram_mr0 = 0x0
255
+;dram_mr1 = 0x34
256
+;dram_mr2 = 0x1b
257
+;dram_mr3 = 0x33
258
+;dram_mr4 = 0x3
259
+;dram_mr5 = 0x0
260
+;dram_mr6 = 0x0
261
+;dram_mr11 = 0x04
262
+;dram_mr12 = 0x72
263
+;dram_mr13 = 0x0
264
+;dram_mr14 = 0x7
265
+;dram_mr16 = 0x0
266
+;dram_mr17 = 0x0
267
+;dram_mr22 = 0x26
268
+;dram_tpr0 = 0x06060606
269
+;dram_tpr1 = 0x04040404
270
+;dram_tpr2 = 0x0
271
+;dram_tpr3 = 0x0
272
+;dram_tpr6 = 0x48010101
273
+;dram_tpr10 = 0x00273333
274
+;dram_tpr11 = 0x241f1923
275
+;dram_tpr12 = 0x14151313
276
+;dram_tpr13 = 0x81d20
277
+;dram_tpr14 = 0x2023211f
278
+;test_list = 0x00000000
279
+
280
+[dram_para1]
281
+dram_clk = 672
282
+dram_type = 7
283
+dram_dx_odt = 0x06060606
284
+dram_dx_dri = 0x0c0c0c0c
285
+dram_ca_dri = 0x1919
286
+dram_para0 = 0x16171411
287
+dram_para1 = 0x30eb
288
+dram_para2 = 0x0000
289
+dram_mr0 = 0x0
290
+dram_mr1 = 0xc3
291
+dram_mr2 = 0x6
292
+dram_mr3 = 0x2
293
+dram_mr4 = 0x0
294
+dram_mr5 = 0x0
295
+dram_mr6 = 0x0
296
+dram_mr11 = 0x0
297
+dram_mr12 = 0x0
298
+dram_mr13 = 0x0
299
+dram_mr14 = 0x0
300
+dram_mr16 = 0x0
301
+dram_mr17 = 0x0
302
+dram_mr22 = 0x0
303
+dram_tpr0 = 0x0
304
+dram_tpr1 = 0x0
305
+dram_tpr2 = 0x0
306
+dram_tpr3 = 0x0
307
+dram_tpr6 = 0x2fb48080
308
+dram_tpr10 = 0x002f876b
309
+dram_tpr11 = 0x10120c05
310
+dram_tpr12 = 0x12121111
311
+dram_tpr13 = 0x61
312
+dram_tpr14 = 0x211e1e22
313
+
314
+[dram_para2]
315
+
316
+dram_clk = 672
317
+dram_type = 7
318
+dram_dx_odt = 0x06060606
319
+dram_dx_dri = 0x0c0c0c0c
320
+dram_ca_dri = 0x1919
321
+dram_para0 = 0x16171411
322
+dram_para1 = 0x30eb
323
+dram_para2 = 0x0000
324
+dram_mr0 = 0x0
325
+dram_mr1 = 0xc3
326
+dram_mr2 = 0x6
327
+dram_mr3 = 0x2
328
+dram_mr4 = 0x0
329
+dram_mr5 = 0x0
330
+dram_mr6 = 0x0
331
+dram_mr11 = 0x0
332
+dram_mr12 = 0x0
333
+dram_mr13 = 0x0
334
+dram_mr14 = 0x0
335
+dram_mr16 = 0x0
336
+dram_mr17 = 0x0
337
+dram_mr22 = 0x0
338
+dram_tpr0 = 0x0
339
+dram_tpr1 = 0x0
340
+dram_tpr2 = 0x0
341
+dram_tpr3 = 0x0
342
+dram_tpr6 = 0x2fb48080
343
+dram_tpr10 = 0x002f876b
344
+dram_tpr11 = 0x10120c05
345
+dram_tpr12 = 0x12121111
346
+dram_tpr13 = 0x61
347
+dram_tpr14 = 0x211e1e22
348
+
349
+[dram_para3]
350
+
351
+dram_clk = 672
352
+dram_type = 7
353
+dram_dx_odt = 0x06060606
354
+dram_dx_dri = 0x0c0c0c0c
355
+dram_ca_dri = 0x1919
356
+dram_para0 = 0x16171411
357
+dram_para1 = 0x30eb
358
+dram_para2 = 0x0000
359
+dram_mr0 = 0x0
360
+dram_mr1 = 0xc3
361
+dram_mr2 = 0x6
362
+dram_mr3 = 0x2
363
+dram_mr4 = 0x0
364
+dram_mr5 = 0x0
365
+dram_mr6 = 0x0
366
+dram_mr11 = 0x0
367
+dram_mr12 = 0x0
368
+dram_mr13 = 0x0
369
+dram_mr14 = 0x0
370
+dram_mr16 = 0x0
371
+dram_mr17 = 0x0
372
+dram_mr22 = 0x0
373
+dram_tpr0 = 0x0
374
+dram_tpr1 = 0x0
375
+dram_tpr2 = 0x0
376
+dram_tpr3 = 0x0
377
+dram_tpr6 = 0x2fb48080
378
+dram_tpr10 = 0x002f876b
379
+dram_tpr11 = 0x10120c05
380
+dram_tpr12 = 0x12121111
381
+dram_tpr13 = 0x61
382
+dram_tpr14 = 0x211e1e22
383
+
384
+[dram_para4]
385
+
386
+dram_clk = 672
387
+dram_type = 7
388
+dram_dx_odt = 0x06060606
389
+dram_dx_dri = 0x0c0c0c0c
390
+dram_ca_dri = 0x1919
391
+dram_para0 = 0x16171411
392
+dram_para1 = 0x30eb
393
+dram_para2 = 0x0000
394
+dram_mr0 = 0x0
395
+dram_mr1 = 0xc3
396
+dram_mr2 = 0x6
397
+dram_mr3 = 0x2
398
+dram_mr4 = 0x0
399
+dram_mr5 = 0x0
400
+dram_mr6 = 0x0
401
+dram_mr11 = 0x0
402
+dram_mr12 = 0x0
403
+dram_mr13 = 0x0
404
+dram_mr14 = 0x0
405
+dram_mr16 = 0x0
406
+dram_mr17 = 0x0
407
+dram_mr22 = 0x0
408
+dram_tpr0 = 0x0
409
+dram_tpr1 = 0x0
410
+dram_tpr2 = 0x0
411
+dram_tpr3 = 0x0
412
+dram_tpr6 = 0x2fb48080
413
+dram_tpr10 = 0x002f876b
414
+dram_tpr11 = 0x10120c05
415
+dram_tpr12 = 0x12121111
416
+dram_tpr13 = 0x61
417
+dram_tpr14 = 0x211e1e22
418
+
419
+[dram_para5]
420
+
421
+dram_clk = 672
422
+dram_type = 7
423
+dram_dx_odt = 0x06060606
424
+dram_dx_dri = 0x0c0c0c0c
425
+dram_ca_dri = 0x1919
426
+dram_para0 = 0x16171411
427
+dram_para1 = 0x30eb
428
+dram_para2 = 0x0000
429
+dram_mr0 = 0x0
430
+dram_mr1 = 0xc3
431
+dram_mr2 = 0x6
432
+dram_mr3 = 0x2
433
+dram_mr4 = 0x0
434
+dram_mr5 = 0x0
435
+dram_mr6 = 0x0
436
+dram_mr11 = 0x0
437
+dram_mr12 = 0x0
438
+dram_mr13 = 0x0
439
+dram_mr14 = 0x0
440
+dram_mr16 = 0x0
441
+dram_mr17 = 0x0
442
+dram_mr22 = 0x0
443
+dram_tpr0 = 0x0
444
+dram_tpr1 = 0x0
445
+dram_tpr2 = 0x0
446
+dram_tpr3 = 0x0
447
+dram_tpr6 = 0x2fb48080
448
+dram_tpr10 = 0x002f876b
449
+dram_tpr11 = 0x10120c05
450
+dram_tpr12 = 0x12121111
451
+dram_tpr13 = 0x61
452
+dram_tpr14 = 0x211e1e22
453
+
454
+[dram_para6]
455
+
456
+dram_clk = 672
457
+dram_type = 7
458
+dram_dx_odt = 0x06060606
459
+dram_dx_dri = 0x0c0c0c0c
460
+dram_ca_dri = 0x1919
461
+dram_para0 = 0x16171411
462
+dram_para1 = 0x30eb
463
+dram_para2 = 0x0000
464
+dram_mr0 = 0x0
465
+dram_mr1 = 0xc3
466
+dram_mr2 = 0x6
467
+dram_mr3 = 0x2
468
+dram_mr4 = 0x0
469
+dram_mr5 = 0x0
470
+dram_mr6 = 0x0
471
+dram_mr11 = 0x0
472
+dram_mr12 = 0x0
473
+dram_mr13 = 0x0
474
+dram_mr14 = 0x0
475
+dram_mr16 = 0x0
476
+dram_mr17 = 0x0
477
+dram_mr22 = 0x0
478
+dram_tpr0 = 0x0
479
+dram_tpr1 = 0x0
480
+dram_tpr2 = 0x0
481
+dram_tpr3 = 0x0
482
+dram_tpr6 = 0x2fb48080
483
+dram_tpr10 = 0x002f876b
484
+dram_tpr11 = 0x10120c05
485
+dram_tpr12 = 0x12121111
486
+dram_tpr13 = 0x61
487
+dram_tpr14 = 0x211e1e22
488
+
489
+[dram_para7]
490
+
491
+dram_clk = 672
492
+dram_type = 7
493
+dram_dx_odt = 0x06060606
494
+dram_dx_dri = 0x0c0c0c0c
495
+dram_ca_dri = 0x1919
496
+dram_para0 = 0x16171411
497
+dram_para1 = 0x30eb
498
+dram_para2 = 0x0000
499
+dram_mr0 = 0x0
500
+dram_mr1 = 0xc3
501
+dram_mr2 = 0x6
502
+dram_mr3 = 0x2
503
+dram_mr4 = 0x0
504
+dram_mr5 = 0x0
505
+dram_mr6 = 0x0
506
+dram_mr11 = 0x0
507
+dram_mr12 = 0x0
508
+dram_mr13 = 0x0
509
+dram_mr14 = 0x0
510
+dram_mr16 = 0x0
511
+dram_mr17 = 0x0
512
+dram_mr22 = 0x0
513
+dram_tpr0 = 0x0
514
+dram_tpr1 = 0x0
515
+dram_tpr2 = 0x0
516
+dram_tpr3 = 0x0
517
+dram_tpr6 = 0x2fb48080
518
+dram_tpr10 = 0x002f876b
519
+dram_tpr11 = 0x10120c05
520
+dram_tpr12 = 0x12121111
521
+dram_tpr13 = 0x61
522
+dram_tpr14 = 0x211e1e22
523
+
524
+[dram_para8]
525
+
526
+dram_clk = 672
527
+dram_type = 7
528
+dram_dx_odt = 0x06060606
529
+dram_dx_dri = 0x0c0c0c0c
530
+dram_ca_dri = 0x1919
531
+dram_para0 = 0x16171411
532
+dram_para1 = 0x30eb
533
+dram_para2 = 0x0000
534
+dram_mr0 = 0x0
535
+dram_mr1 = 0xc3
536
+dram_mr2 = 0x6
537
+dram_mr3 = 0x2
538
+dram_mr4 = 0x0
539
+dram_mr5 = 0x0
540
+dram_mr6 = 0x0
541
+dram_mr11 = 0x0
542
+dram_mr12 = 0x0
543
+dram_mr13 = 0x0
544
+dram_mr14 = 0x0
545
+dram_mr16 = 0x0
546
+dram_mr17 = 0x0
547
+dram_mr22 = 0x0
548
+dram_tpr0 = 0x0
549
+dram_tpr1 = 0x0
550
+dram_tpr2 = 0x0
551
+dram_tpr3 = 0x0
552
+dram_tpr6 = 0x2fb48080
553
+dram_tpr10 = 0x002f876b
554
+dram_tpr11 = 0x10120c05
555
+dram_tpr12 = 0x12121111
556
+dram_tpr13 = 0x61
557
+dram_tpr14 = 0x211e1e22
558
+
559
+[dram_para9]
560
+
561
+dram_clk = 672
562
+dram_type = 7
563
+dram_dx_odt = 0x06060606
564
+dram_dx_dri = 0x0c0c0c0c
565
+dram_ca_dri = 0x1919
566
+dram_para0 = 0x16171411
567
+dram_para1 = 0x30eb
568
+dram_para2 = 0x0000
569
+dram_mr0 = 0x0
570
+dram_mr1 = 0xc3
571
+dram_mr2 = 0x6
572
+dram_mr3 = 0x2
573
+dram_mr4 = 0x0
574
+dram_mr5 = 0x0
575
+dram_mr6 = 0x0
576
+dram_mr11 = 0x0
577
+dram_mr12 = 0x0
578
+dram_mr13 = 0x0
579
+dram_mr14 = 0x0
580
+dram_mr16 = 0x0
581
+dram_mr17 = 0x0
582
+dram_mr22 = 0x0
583
+dram_tpr0 = 0x0
584
+dram_tpr1 = 0x0
585
+dram_tpr2 = 0x0
586
+dram_tpr3 = 0x0
587
+dram_tpr6 = 0x2fb48080
588
+dram_tpr10 = 0x002f876b
589
+dram_tpr11 = 0x10120c05
590
+dram_tpr12 = 0x12121111
591
+dram_tpr13 = 0x61
592
+dram_tpr14 = 0x211e1e22
593
+
594
+[dram_para10]
595
+
596
+dram_clk = 672
597
+dram_type = 7
598
+dram_dx_odt = 0x06060606
599
+dram_dx_dri = 0x0c0c0c0c
600
+dram_ca_dri = 0x1919
601
+dram_para0 = 0x16171411
602
+dram_para1 = 0x30eb
603
+dram_para2 = 0x0000
604
+dram_mr0 = 0x0
605
+dram_mr1 = 0xc3
606
+dram_mr2 = 0x6
607
+dram_mr3 = 0x2
608
+dram_mr4 = 0x0
609
+dram_mr5 = 0x0
610
+dram_mr6 = 0x0
611
+dram_mr11 = 0x0
612
+dram_mr12 = 0x0
613
+dram_mr13 = 0x0
614
+dram_mr14 = 0x0
615
+dram_mr16 = 0x0
616
+dram_mr17 = 0x0
617
+dram_mr22 = 0x0
618
+dram_tpr0 = 0x0
619
+dram_tpr1 = 0x0
620
+dram_tpr2 = 0x0
621
+dram_tpr3 = 0x0
622
+dram_tpr6 = 0x2fb48080
623
+dram_tpr10 = 0x002f876b
624
+dram_tpr11 = 0x10120c05
625
+dram_tpr12 = 0x12121111
626
+dram_tpr13 = 0x61
627
+dram_tpr14 = 0x211e1e22
628
+
629
+[dram_para11]
630
+
631
+dram_clk = 672
632
+dram_type = 7
633
+dram_dx_odt = 0x06060606
634
+dram_dx_dri = 0x0c0c0c0c
635
+dram_ca_dri = 0x1919
636
+dram_para0 = 0x16171411
637
+dram_para1 = 0x30eb
638
+dram_para2 = 0x0000
639
+dram_mr0 = 0x0
640
+dram_mr1 = 0xc3
641
+dram_mr2 = 0x6
642
+dram_mr3 = 0x2
643
+dram_mr4 = 0x0
644
+dram_mr5 = 0x0
645
+dram_mr6 = 0x0
646
+dram_mr11 = 0x0
647
+dram_mr12 = 0x0
648
+dram_mr13 = 0x0
649
+dram_mr14 = 0x0
650
+dram_mr16 = 0x0
651
+dram_mr17 = 0x0
652
+dram_mr22 = 0x0
653
+dram_tpr0 = 0x0
654
+dram_tpr1 = 0x0
655
+dram_tpr2 = 0x0
656
+dram_tpr3 = 0x0
657
+dram_tpr6 = 0x2fb48080
658
+dram_tpr10 = 0x002f876b
659
+dram_tpr11 = 0x10120c05
660
+dram_tpr12 = 0x12121111
661
+dram_tpr13 = 0x61
662
+dram_tpr14 = 0x211e1e22
663
+
664
+[dram_para12]
665
+
666
+dram_clk = 672
667
+dram_type = 7
668
+dram_dx_odt = 0x06060606
669
+dram_dx_dri = 0x0c0c0c0c
670
+dram_ca_dri = 0x1919
671
+dram_para0 = 0x16171411
672
+dram_para1 = 0x30eb
673
+dram_para2 = 0x0000
674
+dram_mr0 = 0x0
675
+dram_mr1 = 0xc3
676
+dram_mr2 = 0x6
677
+dram_mr3 = 0x2
678
+dram_mr4 = 0x0
679
+dram_mr5 = 0x0
680
+dram_mr6 = 0x0
681
+dram_mr11 = 0x0
682
+dram_mr12 = 0x0
683
+dram_mr13 = 0x0
684
+dram_mr14 = 0x0
685
+dram_mr16 = 0x0
686
+dram_mr17 = 0x0
687
+dram_mr22 = 0x0
688
+dram_tpr0 = 0x0
689
+dram_tpr1 = 0x0
690
+dram_tpr2 = 0x0
691
+dram_tpr3 = 0x0
692
+dram_tpr6 = 0x2fb48080
693
+dram_tpr10 = 0x002f876b
694
+dram_tpr11 = 0x10120c05
695
+dram_tpr12 = 0x12121111
696
+dram_tpr13 = 0x61
697
+dram_tpr14 = 0x211e1e22
698
+
699
+[dram_para13]
700
+
701
+dram_clk = 672
702
+dram_type = 7
703
+dram_dx_odt = 0x06060606
704
+dram_dx_dri = 0x0c0c0c0c
705
+dram_ca_dri = 0x1919
706
+dram_para0 = 0x16171411
707
+dram_para1 = 0x30eb
708
+dram_para2 = 0x0000
709
+dram_mr0 = 0x0
710
+dram_mr1 = 0xc3
711
+dram_mr2 = 0x6
712
+dram_mr3 = 0x2
713
+dram_mr4 = 0x0
714
+dram_mr5 = 0x0
715
+dram_mr6 = 0x0
716
+dram_mr11 = 0x0
717
+dram_mr12 = 0x0
718
+dram_mr13 = 0x0
719
+dram_mr14 = 0x0
720
+dram_mr16 = 0x0
721
+dram_mr17 = 0x0
722
+dram_mr22 = 0x0
723
+dram_tpr0 = 0x0
724
+dram_tpr1 = 0x0
725
+dram_tpr2 = 0x0
726
+dram_tpr3 = 0x0
727
+dram_tpr6 = 0x2fb48080
728
+dram_tpr10 = 0x002f876b
729
+dram_tpr11 = 0x10120c05
730
+dram_tpr12 = 0x12121111
731
+dram_tpr13 = 0x61
732
+dram_tpr14 = 0x211e1e22
733
+
734
+[dram_para14]
735
+
736
+dram_clk = 672
737
+dram_type = 7
738
+dram_dx_odt = 0x06060606
739
+dram_dx_dri = 0x0c0c0c0c
740
+dram_ca_dri = 0x1919
741
+dram_para0 = 0x16171411
742
+dram_para1 = 0x30eb
743
+dram_para2 = 0x0000
744
+dram_mr0 = 0x0
745
+dram_mr1 = 0xc3
746
+dram_mr2 = 0x6
747
+dram_mr3 = 0x2
748
+dram_mr4 = 0x0
749
+dram_mr5 = 0x0
750
+dram_mr6 = 0x0
751
+dram_mr11 = 0x0
752
+dram_mr12 = 0x0
753
+dram_mr13 = 0x0
754
+dram_mr14 = 0x0
755
+dram_mr16 = 0x0
756
+dram_mr17 = 0x0
757
+dram_mr22 = 0x0
758
+dram_tpr0 = 0x0
759
+dram_tpr1 = 0x0
760
+dram_tpr2 = 0x0
761
+dram_tpr3 = 0x0
762
+dram_tpr6 = 0x2fb48080
763
+dram_tpr10 = 0x002f876b
764
+dram_tpr11 = 0x10120c05
765
+dram_tpr12 = 0x12121111
766
+dram_tpr13 = 0x61
767
+dram_tpr14 = 0x211e1e22
768
+
769
+[dram_para15]
770
+
771
+dram_clk = 672
772
+dram_type = 7
773
+dram_dx_odt = 0x06060606
774
+dram_dx_dri = 0x0c0c0c0c
775
+dram_ca_dri = 0x1919
776
+dram_para0 = 0x16171411
777
+dram_para1 = 0x30eb
778
+dram_para2 = 0x0000
779
+dram_mr0 = 0x0
780
+dram_mr1 = 0xc3
781
+dram_mr2 = 0x6
782
+dram_mr3 = 0x2
783
+dram_mr4 = 0x0
784
+dram_mr5 = 0x0
785
+dram_mr6 = 0x0
786
+dram_mr11 = 0x0
787
+dram_mr12 = 0x0
788
+dram_mr13 = 0x0
789
+dram_mr14 = 0x0
790
+dram_mr16 = 0x0
791
+dram_mr17 = 0x0
792
+dram_mr22 = 0x0
793
+dram_tpr0 = 0x0
794
+dram_tpr1 = 0x0
795
+dram_tpr2 = 0x0
796
+dram_tpr3 = 0x0
797
+dram_tpr6 = 0x2fb48080
798
+dram_tpr10 = 0x002f876b
799
+dram_tpr11 = 0x10120c05
800
+dram_tpr12 = 0x12121111
801
+dram_tpr13 = 0x61
802
+dram_tpr14 = 0x211e1e22
803
+
804
+;----------------------------------------------------------------------------------
805
+;os life cycle para configuration
806
+;----------------------------------------------------------------------------------
807
+
808
+;----------------------------------------------------------------------------------
809
+;uart configuration
810
+;uart_type --- 2 (2 wire), 4 (4 wire), 8 (8 wire, full function)
811
+;----------------------------------------------------------------------------------
812
+[uart0]
813
+uart0_used = 1
814
+uart0_port = 0
815
+uart0_type = 2
816
+uart0_tx = port:PB09<2><1><default><default>
817
+uart0_rx = port:PB10<2><1><default><default>
818
+
819
+[nand0_para]
820
+nand0_support_2ch = 0
821
+
822
+nand0_used = 0
823
+nand0_we = port:PC00<2><0><1><default>
824
+nand0_ale = port:PC01<2><0><1><default>
825
+nand0_cle = port:PC02<2><0><1><default>
826
+nand0_ce0 = port:PC03<2><1><1><default>
827
+nand0_nre = port:PC04<2><0><1><default>
828
+nand0_rb0 = port:PC05<2><1><1><default>
829
+nand0_d0 = port:PC06<2><0><1><default>
830
+nand0_d1 = port:PC07<2><0><1><default>
831
+nand0_d2 = port:PC08<2><0><1><default>
832
+nand0_d3 = port:PC09<2><0><1><default>
833
+nand0_d4 = port:PC10<2><0><1><default>
834
+nand0_d5 = port:PC11<2><0><1><default>
835
+nand0_d6 = port:PC12<2><0><1><default>
836
+nand0_d7 = port:PC13<2><0><1><default>
837
+nand0_ndqs = port:PC14<2><0><1><default>
838
+nand0_ce1 = port:PC15<2><1><1><default>
839
+nand0_rb1 = port:PC16<2><1><1><default>
840
+
841
+nand0_regulator1 = "vcc-nand"
842
+nand0_regulator2 = "none"
843
+nand0_cache_level = 0x55aaaa55
844
+nand0_flush_cache_num = 0x55aaaa55
845
+nand0_capacity_level = 0x55aaaa55
846
+nand0_id_number_ctl = 0x55aaaa55
847
+nand0_print_level = 0x55aaaa55
848
+nand0_p0 = 0x55aaaa55
849
+nand0_p1 = 0x55aaaa55
850
+nand0_p2 = 0x55aaaa55
851
+nand0_p3 = 0x55aaaa55
852
+
853
+[charger0]
854
+pmu_safe_vol = 3500
855
+
856
+;[secure]
857
+;dram_region_mbytes = 80
858
+;drm_region_mbytes = 0
859
+;drm_region_start_mbytes = 0
860
+
861
+;XR829
862
+[sdc1]
863
+sdc1_used = 1
864
+bus-width = 4
865
+sdc1_clk = port:PG00<2><1><0><default>
866
+sdc1_cmd = port:PG01<2><1><0><default>
867
+sdc1_d0 = port:PG02<2><1><0><default>
868
+sdc1_d1 = port:PG03<2><1><0><default>
869
+sdc1_d2 = port:PG04<2><1><0><default>
870
+sdc1_d3 = port:PG05<2><1><0><default>
871
+;non-removable =
872
+;cd-gpios =
873
+;sunxi-power-save-mode =
874
+ctl-spec-caps = 0x1
875
+sunxi-power-save-mode =
876
+sunxi-dis-signal-vol-sw =
877
+;sd-uhs-sdr50 =
878
+;sd-uhs-ddr50 =
879
+;sd-uhs-sdr104 =
880
+;cap-sdio-irq =
881
+keep-power-in-suspend =
882
+ignore-pm-notify =
883
+;max-frequency = 150000000
884
+min-frequency = 150000
longan/device/config/chips/a133/configs/c3/sys_config.fex
similarity index 100%rename from longan/device/config/chips/a133/configs/c3/sys_config.fexrename to longan/device/config/chips/a133/configs/c3/kickpi-k5c.fex