;-------------------------------------------------------------------------------
|
; 测试模块配置示例
|
;
|
; [example]
|
; display_name= "Example"
|
; activated = 1
|
; program = "example.sh"
|
; category = 0
|
; run_type = 1
|
;
|
; display_name
|
; 显示到界面的名称,字符串类型,如果需要显示双引号,可以使用以下语法:
|
; display_name= string:"Example"
|
; 区别在于后者会显示"string:"后面所有的字符,包括空格和制表符。该项能够容纳
|
; 64个英文字符,32个中文字符。如果display_name为空,测试程序不会运行。
|
;
|
; activated
|
; 0: 不测试该模块
|
; 1: 测试该模块
|
;
|
; program
|
; 模块的测试程序,该项能够容纳16个英文字符。
|
;
|
; category
|
; 0: 自动化测试模块
|
; 1: 手动测试模块
|
;
|
; run_type
|
; 0: 等待当前模块的测试程序执行完毕再运行下一个模块的测试程序
|
; 1: 不等待当前模块的测试程序执行完毕
|
; 一般为了提高整体的测试速度,对于耗时较长的测试程序建议填0,反之填1;注意,当
|
; category = 1,即手动测试模块时,该项无效。
|
;-------------------------------------------------------------------------------
|
|
;-------------------------------------------------------------------------------
|
; test_size
|
; unit: MB
|
;-------------------------------------------------------------------------------
|
[dram]
|
display_name= "内存"
|
activated = 1
|
program = "memtester.sh"
|
category = 0
|
run_type = 1
|
dram_size = 1024
|
test_size = 8
|
|
[rtc]
|
display_name= "时钟"
|
activated = 1
|
program = "rtctester.sh"
|
category = 0
|
run_type = 1
|
|
;-------------------------------------------------------------------------------
|
; module_path
|
; The full path of wifi module file.
|
; module_args
|
; The arguments of wifi module.
|
;-------------------------------------------------------------------------------
|
[wifi]
|
display_name= "WIFI"
|
activated = 1
|
program = "wifitester.sh"
|
category = 0
|
run_type = 1
|
module_path = "/vendor/modules/xr829.ko"
|
module_args =
|
|
;-------------------------------------------------------------------------------
|
; TODO:重力传感器
|
;-------------------------------------------------------------------------------
|
[gsensor]
|
display_name= "重力传感器"
|
activated = 1
|
program = "gsensortester.sh"
|
category = 0
|
run_type = 1
|
module_count= 1
|
module1_path= "/system/vendor/modules/sc7a20.ko"
|
device_count= 1
|
device1_name = "sc7a20"
|
|
|
;-------------------------------------------------------------------------------
|
; TODO:以太网
|
;-------------------------------------------------------------------------------
|
[ethernet]
|
display_name= "以太网"
|
activated = 0
|
program = "ethtester.sh"
|
category = 0
|
run_type = 1
|
module_path =
|
module_args =
|
|
;-------------------------------------------------------------------------------
|
; TODO:蓝牙
|
;-------------------------------------------------------------------------------
|
[bluetooth]
|
display_name= "蓝牙"
|
activated = 1
|
program = "bttester.sh"
|
baud_rate = 115200
|
test_time = 30
|
category = 0
|
dst_bt = ":"
|
run_type = 1
|
device_node = "ttyS1"
|
bt_vnd = "xradio"
|
module_path = ""
|
|
;-------------------------------------------------------------------------------
|
; test_size
|
; Test size for nand read and write test.
|
;-------------------------------------------------------------------------------
|
[nand]
|
display_name = "NAND闪存"
|
activated = 0
|
program = "nandtester.sh"
|
category = 0
|
run_type = 1
|
module_path = "/system/vendor/modules/nand.ko"
|
test_size = 16
|
|
[emmc]
|
display_name = "emmc闪存"
|
activated = 1
|
program = "emmctester.sh"
|
category = 0
|
run_type = 1
|
test_size = 128
|
|
[mmc]
|
display_name= "SD卡"
|
activated = 1
|
program = "mmctester.sh"
|
category = 1
|
run_type = 1
|
|
[udisk]
|
display_name= "U盘"
|
activated = 1
|
program = "udisktester.sh"
|
category = 1
|
run_type = 1
|
|
[Usb_HOST1]
|
display_name= "USB主机1"
|
activated = 1
|
program = "host1tester.sh"
|
category = 1
|
run_type = 1
|
|
[Usb_HOST2]
|
display_name= "USB主机2"
|
activated = 0
|
program = "host2tester.sh"
|
category = 1
|
run_type = 1
|
|
[Usb_OTG]
|
display_name= "USB_OTG"
|
activated = 0
|
program = "otgtester.sh"
|
category = 1
|
run_type = 1
|
|
[camera]
|
activated = 1
|
module_count= 8
|
module1_path= "/system/vendor/modules/videobuf2-core.ko"
|
module2_path= "/system/vendor/modules/videobuf2-memops.ko"
|
module3_path= "/system/vendor/modules/videobuf2-dma-contig.ko"
|
module4_path= "/system/vendor/modules/videobuf2-v4l2.ko"
|
module5_path= "/system/vendor/modules/vin_io.ko"
|
module6_path= "/system/vendor/modules/gc2385_mipi.ko"
|
module7_path= "/system/vendor/modules/gc030a_mipi.ko"
|
module8_path= "/system/vendor/modules/vin_v4l2.ko"
|
dev_cnt = 2
|
csi_cnt = 2
|
fps = 10
|
|
;-------------------------------------------------------------------------------
|
; internal_loopback_test:
|
; 1:enable 0:disable
|
; external_loopback_test:
|
; 1:enable 0:disable
|
; playback_record_test:
|
; 1:enable 0:disable
|
; speaker_volume:
|
; speaker volume. range from 0 to 63. -1: use default
|
; headset_volume:
|
; headset volume. range from 0 to 63. -1: use default
|
; has_main_mic:
|
; If your case has main mic set to 1, otherwise set to 0.
|
; has_headset_mic:
|
; If your case has headset mic set to 1, otherwise set to 0.
|
; main_mic_gain:
|
; input gain for main mic. range from 0 to 63. -1: use default
|
; headset_mic_gain:
|
; input gain for headset mic. range from 0 to 63. -1: use default
|
; music_playtime:
|
; music playback time in millisecend
|
;------------------------------------------------------------------------------------
|
|
[mic]
|
display_name= "音频基本功能测试"
|
activated = 1
|
program = "mictester"
|
category = 1
|
run_type = 1
|
delay = 3
|
volume = 0
|
music_playtime = 20
|
music_file = "/dragonboard/data/test48000.pcm"
|
samplerate = 48000
|
mic1_used = 1
|
mic2_used = 1
|
mic1_gain = 1
|
mic2_gain = 1
|
mic1_threshold =4096
|
mic2_threshold =4096
|
|
[soundcard]
|
card = 0;
|
device = 0;
|
mic_spk_test = 0;
|
test_wav_time = 3;
|
|
[tp]
|
display_name= "触摸"
|
type = 1
|
module_path = "/system/vendor/modules/gslX680new.ko"
|
device_name = "gslX680"
|
|
;-------------------------------------------------------------------------------
|
; sound_file
|
; The full path of sound file.
|
; samplerate
|
; The samplerate of sound file.
|
; support_mode
|
; 0 : 480I
|
; 1 : 576I
|
; 2 : 480P
|
; 3 : 576P
|
; 4 : 720P 50HZ
|
; 5 : 720P 60HZ
|
; 6 : 1080I 50HZ
|
; 7 : 1080I 60HZ
|
; 8 : 1080P 24HZ
|
; 9 : 1080P 50HZ
|
; 10: 1080P 60HZ
|
;-------------------------------------------------------------------------------
|
[hdmi]
|
display_name= "HDMI"
|
activated = 0
|
program = "hdmitester.sh"
|
category = 1
|
run_type = 1
|
sound_file = "/dragonboard/data/test48000.pcm"
|
samplerate = 48000
|
|
[tv]
|
display_name= "TV"
|
activated = 0
|
program = "tvtester.sh"
|
category = 1
|
run_type = 1
|
sound_file = "/dragonboard/data/test48000.pcm"
|
samplerate = 48000
|
|
[spdif]
|
display_name= "SPDIF"
|
activated = 0
|
program = "spdiftester.sh"
|
category = 1
|
run_type = 1
|
sound_file = "/dragonboard/data/test48000.pcm"
|
samplerate = 48000
|
module_count = 4
|
module1_path = "/system/vendor/modules/sunxi_spdif.ko"
|
module2_path = "/system/vendor/modules/sunxi_spdma.ko"
|
module3_path = "/system/vendor/modules/sndspdif.ko"
|
module4_path = "/system/vendor/modules/sunxi_sndspdif.ko"
|
|
;-------------------------------------------------------------------------------
|
; led_pin
|
; the config of the led gpio
|
;-------------------------------------------------------------------------------
|
[gpio_led]
|
display_name= "LED"
|
activated = 0
|
program = "ledtester.sh"
|
category = 0
|
run_type = 1
|
led_count = 1
|
led1_name = "normal_led"
|
module_path = "/system/vendor/modules/gpio-sunxi.ko"
|
|
[key]
|
display_name= "按键"
|
activated = 1
|
program = "keytester"
|
category = 0
|
run_type = 1
|
|
;-------------------------------------------------------------------------------
|
; module_path
|
; The full path of ir module file.
|
;-------------------------------------------------------------------------------
|
[ir]
|
display_name= "红外"
|
activated = 0
|
program = "irtester"
|
category = 1
|
run_type = 1
|
module_path = "/system/vendor/modules/sunxi-ir-rx.ko"
|
|
;-------------------------------------------------------------------------------
|
; manual_menu_name
|
; manual test case menu name, 32bytes.
|
; auto_menu_name
|
; auto test case menu name, 32bytes.
|
; clear_button_name
|
; clear screen button name, 8bytes.
|
; font_size
|
; test case font display size, valid value: 20pixel(default), 24pixel.
|
;
|
; Color Index
|
; 0: White
|
; 1: Yellow
|
; 2: Green
|
; 3: Cyan
|
; 4: Magenta
|
; 5: Red
|
; 6: Blue
|
; 7: Black
|
; 8: Beauty
|
; menu_bgcolor
|
; The background color index of test case category menu.
|
; menu_fgcolor
|
; The foreground color index of test case category menu.
|
; item_init_bgcolor
|
; The background color index of test case item init status.
|
; item_init_fgcolor
|
; The foreground color index of test case item init status.
|
; item_ok_bgcolor
|
; The background color index of test case item OK status.
|
; item_ok_fgcolor
|
; The foreground color index of test case item OK status.
|
; item_fail_bgcolor
|
; The background color index of test case item fail status.
|
; item_fail_fgcolor
|
; The foreground color index of test case item fail status.
|
;
|
; pass_str
|
; The string display after test case display_name when test OK.
|
; fail_str
|
; The string display after test case display_name when test Fail.
|
;-------------------------------------------------------------------------------
|
[df_view]
|
tv_scale_factor = 80
|
hdmi_scale_factor = 95
|
manual_menu_name = "手动测试项"
|
auto_menu_name = "自动测试项"
|
clear_button_name = "清屏"
|
wifi_menu_name = "wifi热点列表"
|
font_size = 20
|
menu_bgcolor = 1
|
menu_fgcolor = 7
|
|
item_init_bgcolor = 7
|
item_init_fgcolor = 0
|
item_ok_bgcolor = 7
|
item_ok_fgcolor = 6
|
item_fail_bgcolor = 7
|
item_fail_fgcolor = 5
|
tp_draw_color = 0
|
|
pass_str = "通过"
|
fail_str = "失败"
|