From b4f2a261bcc2cc0b32e679a48a0afdd632e8001e Mon Sep 17 00:00:00 2001 From: Yuichi Kusakabe Date: Fri, 30 Nov 2018 02:57:01 +0900 Subject: Disable sllin driver(using HVAC apps) debug log [ 30.042717] sllin: sllin_open() invoked [ 30.046603] sllin: Configured as MASTER [ 30.051508] sllin: Baudrate set to 9600 [ 30.056332] sllin0 (uninitialized): sllin_kwthread started. [ 30.062486] sllin0: sllin_kthread [ 31.153606] sllin0: sll_open() invoked [ 31.271843] can: raw protocol (rev 20170425) [ 31.276821] sllin0: sllin_kthread [ 31.281124] sllin0: sllin_kthread: lin_state <00000000> [ 31.286370] sllin0: sllin_kwthread: NON-RTR SFF CAN frame, ID = 30 dlc=0 [ 31.286390] sllin0: sllin_kthread: SLSTATE finish [ 31.299297] sllin0: sllin_send_break() invoke. [ 31.305566] sllin0: Break sent. [ 31.308743] sllin0: sllin_kthread Change-Id: Id49951cb1ed570c99eb11d19298c1e5b57bcf13c Signed-off-by: Yuichi Kusakabe --- .../0001-Disable-sllin-driver-debug-log.patch | 27 ++++++++++++++++++++++ recipes-kernel/sllin/sllin.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 recipes-kernel/sllin/files/0001-Disable-sllin-driver-debug-log.patch (limited to 'recipes-kernel') diff --git a/recipes-kernel/sllin/files/0001-Disable-sllin-driver-debug-log.patch b/recipes-kernel/sllin/files/0001-Disable-sllin-driver-debug-log.patch new file mode 100644 index 000000000..99d6183ab --- /dev/null +++ b/recipes-kernel/sllin/files/0001-Disable-sllin-driver-debug-log.patch @@ -0,0 +1,27 @@ +From 04ffb4b8f828c19e914987e271aaf3aa7eab28bf Mon Sep 17 00:00:00 2001 +From: Yuichi Kusakabe +Date: Thu, 29 Nov 2018 22:12:00 +0900 +Subject: [PATCH] Disable sllin driver debug log + +Signed-off-by: Yuichi Kusakabe +--- + sllin/sllin.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/sllin/sllin.c b/sllin/sllin.c +index 77b2cb8..133d6e9 100644 +--- a/sllin/sllin.c ++++ b/sllin/sllin.c +@@ -41,7 +41,9 @@ + * Funded by: Volkswagen Group Research + */ + ++#if 0 + #define DEBUG 1 /* Enables pr_debug() printouts */ ++#endif + + #include + #include +-- +2.7.4 + diff --git a/recipes-kernel/sllin/sllin.bb b/recipes-kernel/sllin/sllin.bb index f7ffea969..6213fd967 100644 --- a/recipes-kernel/sllin/sllin.bb +++ b/recipes-kernel/sllin/sllin.bb @@ -16,6 +16,7 @@ SRC_URI_append = " \ file://0001_update_makefile.patch;pnum=2 \ file://0002_fix_null_operation_check.patch;pnum=2 \ file://0003-Allow-recent-kernels-newer-4.11.x-to-build.patch;pnum=2 \ + file://0001-Disable-sllin-driver-debug-log.patch;pnum=2 \ file://sllin-demo.service \ file://start_lin_demo.sh \ " -- cgit 1.2.3-korg