From f39e00713989cf63864059ec35745a58c6d7cc45 Mon Sep 17 00:00:00 2001 From: Valentin Schneider Date: Fri, 15 Dec 2017 15:32:16 +0000 Subject: [PATCH 1/2] utils/executor: Don't freeze 'watchdogd' --- libs/utils/executor.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/utils/executor.py b/libs/utils/executor.py index f5e1f1a32..733770bc9 100644 --- a/libs/utils/executor.py +++ b/libs/utils/executor.py @@ -183,7 +183,10 @@ class Executor(): # We don't actually need this task but on Google Pixel it apparently # cannot be frozen, so the cgroup state gets stuck in FREEZING if we # try to freeze it. - 'thermal-engine' + 'thermal-engine', + # Similar issue with HiKey960, the board will crash if this is frozen + # for too long. + 'watchdogd', ] } """ -- GitLab From 70d0d91e85e20bf954dff47344f0b03c67af1dfc Mon Sep 17 00:00:00 2001 From: Valentin Schneider Date: Fri, 15 Dec 2017 15:32:34 +0000 Subject: [PATCH 2/2] target.config: Set HiKey960 as default target This board is getting increasingly useful, so let's set it as the default target for LISA. The rt-app configuration is also added, just to make things a bit smoother. --- target.config | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/target.config b/target.config index 3b04932b8..b9ab29377 100644 --- a/target.config +++ b/target.config @@ -11,17 +11,17 @@ /* - linux : accessed via SSH connection */ /* - android : accessed via ADB connection */ /* - host : run on the local host */ - "platform" : "linux", + "platform" : "android", /* Board */ /* Currently supported boards are: */ /* juno : target is a JUNO board */ /* tc2 : target is a TC2 board */ /* Leave commented if your board is not listed above */ - "board" : "juno", + "board" : "hikey960", /* Target IP or MAC address */ - "host" : "192.168.0.20", + //"host" : "192.168.0.20", /* Target Android device ID */ //"device" : "00b1346f0878ccb1", @@ -38,9 +38,9 @@ /* Keep commented to do calibration at first run on a target. */ /* Then, replace the values with the ones reported for your */ /* specific target in the console logging messages */ - // "rtapp-calib" : { - // "0": 354, "1": 138, "2": 138, "3": 363, "4": 355, "5": 357 - // }, + "rtapp-calib" : { + "0": 302, "1": 302, "2": 302, "3": 302, "4": 136, "5": 136, "6": 136, "7": 136 + }, /* FTFP Image server */ /* This is the folder from where the target gets kernel/DTB */ -- GitLab