From 7cd8aba939cedb8140b600abb9d0be5bb580a6a9 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Wed, 5 Feb 2020 13:10:26 +0900 Subject: [PATCH] tizen: bootmode: enable uart console with home key Even though jig is not connected, enabling uart console can be helpful. Enable uart console with pressed home key. Note: At booting time, it needs to press home key 4 seconds. Change-Id: Ib1352391d10eac7b6339ff44c49aa186ccbb68ef Signed-off-by: Seung-Woo Kim --- property/normal_mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/property/normal_mode.c b/property/normal_mode.c index 90f7a2e..1d02412 100644 --- a/property/normal_mode.c +++ b/property/normal_mode.c @@ -273,7 +273,7 @@ int fdt_fixup_for_tizen(void *fdt) ptr += sprintf(ptr, " sec_debug.enable_user=0"); } - if (tizen_get_jig_state() == 2) { + if (tizen_get_jig_state() == 2 || tizen_board_key_scan() == 0x81) { s = getenv("console"); if (s && (*s == 'o')) ptr += sprintf(ptr, " console=ttyS1,115200n8 loglevel=7"); -- 2.34.1