blob: 3b04932b8a0a5bffcc3aa31540fba2b7adae06b9 [file] [log] [blame]
Michele Di Giorgioe5d1d822016-02-09 16:17:47 +00001/* target.config */
2/* */
3/* Configuration file to specify target parameters such as: the */
4/* kind of platform/board, and login credentials. */
5/* */
6/* NOTE: all commented parameters are optional and report their */
7/* default value. */
8
Patrick Bellasi0f8ac682015-10-12 11:29:40 +01009{
Patrick Bellasi83aaf5c2016-01-22 10:57:22 +000010 /* Platform */
11 /* - linux : accessed via SSH connection */
12 /* - android : accessed via ADB connection */
13 /* - host : run on the local host */
14 "platform" : "linux",
Patrick Bellasi0f8ac682015-10-12 11:29:40 +010015
Patrick Bellasi83aaf5c2016-01-22 10:57:22 +000016 /* Board */
17 /* Currently supported boards are: */
Chris Redpath16a0fc42016-04-27 16:00:44 +010018 /* juno : target is a JUNO board */
Chris Redpath16a0fc42016-04-27 16:00:44 +010019 /* tc2 : target is a TC2 board */
Patrick Bellasi83aaf5c2016-01-22 10:57:22 +000020 /* Leave commented if your board is not listed above */
21 "board" : "juno",
Patrick Bellasi0f8ac682015-10-12 11:29:40 +010022
Patrick Bellasi83aaf5c2016-01-22 10:57:22 +000023 /* Target IP or MAC address */
24 "host" : "192.168.0.20",
Patrick Bellasi0f8ac682015-10-12 11:29:40 +010025
Michele Di Giorgio7ceb2f02016-03-07 10:28:50 +000026 /* Target Android device ID */
27 //"device" : "00b1346f0878ccb1",
28
Patrick Bellasi83aaf5c2016-01-22 10:57:22 +000029 /* Login username (has to be sudo enabled) */
30 "username" : "root",
Patrick Bellasi0f8ac682015-10-12 11:29:40 +010031
Patrick Bellasi83aaf5c2016-01-22 10:57:22 +000032 /* Login credentials */
Michele Di Giorgioe5d1d822016-02-09 16:17:47 +000033 /* You can specify either a password or keyfile */
Patrick Bellasi83aaf5c2016-01-22 10:57:22 +000034 "password" : "",
Patrick Bellasi274c8f12015-10-13 15:10:05 +010035 // "keyfile" : "/complete/path/of/your/keyfile",
36
Patrick Bellasi83aaf5c2016-01-22 10:57:22 +000037 /* RT-App Calibration */
38 /* Keep commented to do calibration at first run on a target. */
39 /* Then, replace the values with the ones reported for your */
40 /* specific target in the console logging messages */
41 // "rtapp-calib" : {
42 // "0": 354, "1": 138, "2": 138, "3": 363, "4": 355, "5": 357
43 // },
44
Patrick Bellasib69fa522015-10-13 16:10:28 +010045 /* FTFP Image server */
Patrick Bellasi83aaf5c2016-01-22 10:57:22 +000046 /* This is the folder from where the target gets kernel/DTB */
47 /* images at each boot. */
48 /* The path of images to be deployed are specified by the */
49 /* experiments configuration (e.g. tests/eas/rfc_eas.json) */
Patrick Bellasib69fa522015-10-13 16:10:28 +010050 "tftp" : {
51 "folder" : "/var/lib/tftpboot",
52 "kernel" : "kern.bin",
53 "dtb" : "dtb.bin"
54 },
55
Patrick Bellasi62152a52016-01-29 10:31:37 +000056 /* Devlib modules to enable/disbale for all the experiments */
Patrick Bellasi4e2673a2016-01-29 10:27:45 +000057 "modules" : [],
Patrick Bellasi62152a52016-01-29 10:31:37 +000058 "exclude_modules" : [],
Patrick Bellasi1e384c92015-11-05 16:48:51 +000059
Patrick Bellasi77d01722015-12-04 11:15:00 +000060 /* Binary tools to install by default for all experiments */
Michele Di Giorgio58a1b372016-04-25 13:09:27 +010061 /* Currently available tools: */
62 /* - binaries under ./tools/<ARCH>/ */
63 /* where <ARCH> is one of the supported target */
64 /* architectures */
65 /* - shell scripts under './tools/scripts/ */
Patrick Bellasi77d01722015-12-04 11:15:00 +000066 "tools" : [],
Patrick Bellasi1e384c92015-11-05 16:48:51 +000067
Michele Di Giorgioe5d1d822016-02-09 16:17:47 +000068 /* Wait time before trying to access the target after reboot */
69 // "ping_time" : "15",
70
Michele Di Giorgio691cbfe2016-02-15 12:46:06 +000071 /* Maximum time to wait after rebooting the target */
Michele Di Giorgioda58c392016-02-11 12:27:41 +000072 // "reboot_time" : "120",
73
Patrick Bellasi83aaf5c2016-01-22 10:57:22 +000074 /* List of test environment features to enable */
75 /* no-kernel : do not deploy kernel/dtb images */
76 /* no-reboot : do not force reboot the target at each */
77 /* configuration change */
78 /* debug : enable debugging messages */
Patrick Bellasi1904cb02016-01-22 14:42:17 +000079 "__features__" : "no-kernel no-reboot"
Patrick Bellasi0f8ac682015-10-12 11:29:40 +010080}