From patchwork Mon Jul 20 18:51:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1530 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 04C293F03F for ; Mon, 20 Jul 2020 20:53:39 +0200 (CEST) Received: by mail-pj1-f70.google.com with SMTP id q70sf373457pjb.0 for ; Mon, 20 Jul 2020 11:53:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271217; cv=pass; d=google.com; s=arc-20160816; b=OFF2SkdgSeFSNkBExhANSUOplwmFnBXS5KW/zA84/Kiq7LIFkfPNvM8rj0sJFf2Zpl dn3IQ9nmgqMCgK+JkYo4yZZMAKV1HO7MfTi/iLuwEltg3WPAzsyb9gq2H/7xDS0Ip/Ls 7NEJ5Mv2ENjQm06DpPpaJe1jPcOs6tYr4s1F1d6Jk8qX/znNU8+10otvrW86muqE9Oqb s+YQMjDa8o0r6jncXu2lqrLhAOqvOMMDVyRaLApbP9Zby4tQAPYi7S20HOoyy3DwxhLF 46qxbH7G0uN4YM0mgp8uFUp1Le3Z1kih7eLTKGjc6FE4Qrtc3sRRrhvm+QZm478sCYkk LdRg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=9WcAu7AQsspL9zLcHxrzJzA8lkb952qEJMCZi7sQpO8=; b=hfBu6nN4VHRUZoO+gPEwt1BdWJlu8z3s6JH/ChKYrIOnoy1wKaoV8pYopdPzJ8F3pU iKAt2jA38PED9+e/lWrVb7dgaDhJRhuofFu3YL/elOy7FKX9CXIf/18kyeCjuUVVAPxm M03CR2LNHDzS9d57Y2nKiRnzqvCx/DWtUFby4Y2WXFSDkbt9eqKptl7nn0szRaBi58wL 9HZTp9PUp42L2suhQDP6q0Ig+RCrnqyQ7DMapzjcRjAjvv36I8QLNFkQ+M3srmW/tCfu GhjU2K02drTE6wj0EghMDJ112BOSLpr7cB5SDW1cvlg7HL2cjhPDKDDKiZ845yoVqPfH ioLw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oQtvlDf6; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=9WcAu7AQsspL9zLcHxrzJzA8lkb952qEJMCZi7sQpO8=; b=J2hPqp0cwSoNGzRe7E5cPjJ60jkV0I67ZOzeEBhtDTEO6ck7b6mfUV6bdiB3x8BBD+ 825JoI3aNv+Gut4+SqQbTN4rmvvmftese+JwqwRkPEkgc41RKJ+2TLwigYhp/Asci8Ni nCNe4Bp4tyRQptMaEuDJFoNZ+YZFrb454d5xE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=9WcAu7AQsspL9zLcHxrzJzA8lkb952qEJMCZi7sQpO8=; b=HnJi8BR25JLS+0vXY99LE+092j6LgjVrONeD9ImEVoxBf5hv6j9RWwiMoolTxogGMj sVPqWPSbCY9EEuzr00U475iU90q0/gsGWSNhGK6F52uP62O4qSZY4W799thTNeMVFuEs B/PumijQEqMF0K/goz0AT5k3xSeEPutqCDFdxh7+rPropHXPkXAGNpNx0xGXLxvxjT1t Pp7Ep0jMq/1+bOshthTcQeac+FOQVDZxWgfefJJEq5R2yTkh2KbTDjSZ2NixPibk+7cA AwW3ATFANRnr+ejSc77NQ2OhlzATxvw+w8AD23+nYtD+JfigHBAaushp7UERZO3yeH/j 826w== X-Gm-Message-State: AOAM531UzToRfttMb8TZa0hZNOly9H+ZNLTi8pT0PYaiRudN3Zl71cqD M4vzabSg40OLE0YfvWoUsGmPsicX X-Google-Smtp-Source: ABdhPJx8xmxbwADTm3WUGNgruzPk1vvcyOfRHRwXWRI3cHT1fNyGWTbonXkvS+KV0+BFw9mXgVT9iA== X-Received: by 2002:a62:be04:: with SMTP id l4mr20745878pff.323.1595271217666; Mon, 20 Jul 2020 11:53:37 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:b288:: with SMTP id u8ls3024219plr.4.gmail; Mon, 20 Jul 2020 11:53:37 -0700 (PDT) X-Received: by 2002:a17:90b:30c4:: with SMTP id hi4mr755319pjb.166.1595271217185; Mon, 20 Jul 2020 11:53:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271217; cv=none; d=google.com; s=arc-20160816; b=YHGxYbtJ3XT8YONJbaUDNxpFoAHHq0vOTt7D0QcS04aYVbhztw/Ir1Fw2wkVURoJC4 zBwHhHNE3jsgotI99TQKnFplLDVYJ9XVdbFP9DgFDE8/Z5nBs6oQQLjAYqSWncK+oiMU iiYwHVYPcjM5HM1pz2pX2brlqeW1lTK44IKxn21vfw2uWFbsVPO0a6n/eFWVJ0bm/3eU yj4JaFHNp1GTpudJ2gyXP8Mh/iOPy71e8LptxbTkE4r9DOnUlSdKq6Dd0QgYI/8MI9yo O260QA4teWCvTSQXwtoodrxjSxQFJk0rIdcLisR2TnyhU1sPEg0nQwNfzo9IZrHGQRnq CR/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=3VBSFKUOY9MXfcZYLxIjWlt+g5ws/WOsWjwfRnfToQM=; b=pJ3HOhbYMKWrd+RhFGnlTh6HGVJLuThigfENHofjvP1+lfU1tKnQeAdliVsbhba0JA oklvaYWgQK2aCP5+g63uXc7ukgfWPaSqIuQcPz+fyhpvnnSSGpD6g/JJ+jMGFiEND0j9 HO8p8nfzbIXLSfsfB/mCsr2ws2U6nf02ZyuxDAuFwDL52Kzji6HX4QQcmYb47xBJscHp AZmyFO8jMdwW1ZMiTlWEJdCgz+GoH5yVgXPRzKHLMKo3UNW0C2Qhmef1MKsYLHuON1ui ibB8VGvkdtg8S4QwyFKrAYqFpcyS0iTFTndqALLWY8W24I1khwfI/ckGaE7xOw8jy+kI e23w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oQtvlDf6; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id 63sor21324433pfw.94.2020.07.20.11.53.37 for (Google Transport Security); Mon, 20 Jul 2020 11:53:37 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:5013:: with SMTP id e19mr19811136pgb.68.1595271216889; Mon, 20 Jul 2020 11:53:36 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.53.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:53:36 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula Subject: [PATCH 12/16] rk3288: rock-pi-n8: Add console settings Date: Tue, 21 Jul 2020 00:21:16 +0530 Message-Id: <20200720185120.671064-13-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oQtvlDf6; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Suniel Mahesh Add console settings like stdin, stdout and stderr as usbkbd and vidconsole respectively for rock-pi-n8 target. This would certainly help to detect the attached video devices (like HDMI) and print the console messages on display. Signed-off-by: Suniel Mahesh --- include/configs/evb_rk3288.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/configs/evb_rk3288.h b/include/configs/evb_rk3288.h index ddd7012c8f..e19fa90212 100644 --- a/include/configs/evb_rk3288.h +++ b/include/configs/evb_rk3288.h @@ -6,7 +6,11 @@ #ifndef __CONFIG_H #define __CONFIG_H -#define ROCKCHIP_DEVICE_SETTINGS +#define ROCKCHIP_DEVICE_SETTINGS \ + "stdin=serial,usbkbd\0" \ + "stdout=serial,vidconsole\0" \ + "stderr=serial,vidconsole\0" + #include #define CONFIG_SYS_MMC_ENV_DEV 0