blob: 013db271d9fb82e14d5c84a7ac8cac314050856d [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 */
19 /* juno2 : target is a JUNO board, with mainline Hwmon */
20 /* tc2 : target is a TC2 board */
21 /* If your Juno board /sys/class/hwmon/hwmon0/energy?_name is */
22 /* of the form BOARD_*_ENERGY, then you need 'juno2'. */
23 /* Otherwise 'juno' is sufficient. In either case, lisa uses */
24 /* devlib's 'juno' target definition to talk to the board. */
Patrick Bellasi83aaf5c2016-01-22 10:57:22 +000025 /* Leave commented if your board is not listed above */
26 "board" : "juno",
Patrick Bellasi0f8ac682015-10-12 11:29:40 +010027
Patrick Bellasi83aaf5c2016-01-22 10:57:22 +000028 /* Target IP or MAC address */
29 "host" : "192.168.0.20",
Patrick Bellasi0f8ac682015-10-12 11:29:40 +010030
Michele Di Giorgio7ceb2f02016-03-07 10:28:50 +000031 /* Target Android device ID */
32 //"device" : "00b1346f0878ccb1",
33
Patrick Bellasi83aaf5c2016-01-22 10:57:22 +000034 /* Login username (has to be sudo enabled) */
35 "username" : "root",
Patrick Bellasi0f8ac682015-10-12 11:29:40 +010036
Patrick Bellasi83aaf5c2016-01-22 10:57:22 +000037 /* Login credentials */
Michele Di Giorgioe5d1d822016-02-09 16:17:47 +000038 /* You can specify either a password or keyfile */
Patrick Bellasi83aaf5c2016-01-22 10:57:22 +000039 "password" : "",
Patrick Bellasi274c8f12015-10-13 15:10:05 +010040 // "keyfile" : "/complete/path/of/your/keyfile",
41
Patrick Bellasi83aaf5c2016-01-22 10:57:22 +000042 /* RT-App Calibration */
43 /* Keep commented to do calibration at first run on a target. */
44 /* Then, replace the values with the ones reported for your */
45 /* specific target in the console logging messages */
46 // "rtapp-calib" : {
47 // "0": 354, "1": 138, "2": 138, "3": 363, "4": 355, "5": 357
48 // },
49
Patrick Bellasib69fa522015-10-13 16:10:28 +010050 /* FTFP Image server */
Patrick Bellasi83aaf5c2016-01-22 10:57:22 +000051 /* This is the folder from where the target gets kernel/DTB */
52 /* images at each boot. */
53 /* The path of images to be deployed are specified by the */
54 /* experiments configuration (e.g. tests/eas/rfc_eas.json) */
Patrick Bellasib69fa522015-10-13 16:10:28 +010055 "tftp" : {
56 "folder" : "/var/lib/tftpboot",
57 "kernel" : "kern.bin",
58 "dtb" : "dtb.bin"
59 },
60
Patrick Bellasi62152a52016-01-29 10:31:37 +000061 /* Devlib modules to enable/disbale for all the experiments */
Patrick Bellasi4e2673a2016-01-29 10:27:45 +000062 "modules" : [],
Patrick Bellasi62152a52016-01-29 10:31:37 +000063 "exclude_modules" : [],
Patrick Bellasi1e384c92015-11-05 16:48:51 +000064
Patrick Bellasi77d01722015-12-04 11:15:00 +000065 /* Binary tools to install by default for all experiments */
Michele Di Giorgio58a1b372016-04-25 13:09:27 +010066 /* Currently available tools: */
67 /* - binaries under ./tools/<ARCH>/ */
68 /* where <ARCH> is one of the supported target */
69 /* architectures */
70 /* - shell scripts under './tools/scripts/ */
Patrick Bellasi77d01722015-12-04 11:15:00 +000071 "tools" : [],
Patrick Bellasi1e384c92015-11-05 16:48:51 +000072
Michele Di Giorgioe5d1d822016-02-09 16:17:47 +000073 /* Wait time before trying to access the target after reboot */
74 // "ping_time" : "15",
75
Michele Di Giorgio691cbfe2016-02-15 12:46:06 +000076 /* Maximum time to wait after rebooting the target */
Michele Di Giorgioda58c392016-02-11 12:27:41 +000077 // "reboot_time" : "120",
78
Patrick Bellasi83aaf5c2016-01-22 10:57:22 +000079 /* List of test environment features to enable */
80 /* no-kernel : do not deploy kernel/dtb images */
81 /* no-reboot : do not force reboot the target at each */
82 /* configuration change */
83 /* debug : enable debugging messages */
Patrick Bellasi1904cb02016-01-22 14:42:17 +000084 "__features__" : "no-kernel no-reboot"
Patrick Bellasi0f8ac682015-10-12 11:29:40 +010085}