From patchwork Tue Jul 21 15:24:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1553 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 729693F03F for ; Tue, 21 Jul 2020 17:25:31 +0200 (CEST) Received: by mail-il1-f199.google.com with SMTP id b2sf13704890ilh.22 for ; Tue, 21 Jul 2020 08:25:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595345130; cv=pass; d=google.com; s=arc-20160816; b=hgNspfqGhOXLNwbV3xMYqFwpdc+XBvsE9Q2/irinQHz1xepbnvJIIAdr/QGybBclNh jK7dPfcKQ88JkpeHy81lw79MhwpBsBCiEXApqHGYgWqpyw3S+rupMJRoxiiE/0QrtfZs /8PefVMl4L0GeopzXVm3nCrcv9mcg/GWGT7Oje9C61Q+LoPsBFkhHzA4CJUETu7VR20D EN3g021bjO60HpNnQ5rs9qwczhEBFYj0+zWcXfaRmLhbukrb7NgW8wN/usVrXMztZolt ycd/0KO3OiH8M9j3Yjm8VkxcsnFxj82KcRs3X7MTDz67sSMUzPZlOajaP7hpW04UWSAj XLkQ== 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=W+wBZzNFxPwTAfC+0xDXIQ7vPtwnvM5xZgZ47OSrl6g=; b=FcE56qQsbJM9TmqWzQmvcun+BMxrGcsDONa4tEsI3zr7mJ6z1fYe7deHGCgiGqb32J JoUHkhyAa2ySWiKu16vAcE406pkNmpqCsnfclS/Ahq8/IWs0U95YVdq/pUUyfRIqgpyn q1Udt0S7rsww813GLazWuTwRVOKvjDgzCleBTCeJgmX3voNUBqQM0p0j66OrYdc5LnAP b26A7vdJJaaoBTSp65A24h8KQCW36Vr/qdoe/qcNi8tsLQKnLVIS9BBD7tUQi58H8Tlw kY1XRD9K2c4VICkU/lsRcOGCAB0XQufyuvAeoKaGduorTccYwNT7u+3tOQ03HSd8+gww jNaQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WKnHVVrg; 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=W+wBZzNFxPwTAfC+0xDXIQ7vPtwnvM5xZgZ47OSrl6g=; b=VEtyJFq6sNQmI3E6FxiZCPjwHScOs1EXu4q3sjUhLrIv97c2EeXenIBY7RULNphkL/ RCxHON1rwgjbBIFJqHUyPz14hoGocqzmnRLp6zqOZXMzM+GVHAKAhr8btN7VtDQviPeh 09INQYgQOQSgs581kA9OmuUqLEnrdL7nJM6RE= 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=W+wBZzNFxPwTAfC+0xDXIQ7vPtwnvM5xZgZ47OSrl6g=; b=ktW+M5gP2uBz0dMGWHXP40f4QYulWBEG3bqVQlnQlaKY7Ly0ebx91YBRBS2Em74HIG 5MwruZE2RNFYcFJMAFbEsiPTtcIZADlxouAkuOZVm8eOzK8FwlBb8xwlABbVHYgjqVSt r66isS3lcYg8ZUQ6iLLoo1N/HX60/unpvEcIBJwqjmyQK1ZUMrEOA/a8xQ1OicVTaNKK NcvgCgREMjGCvSnsScm0l2VdnU5QM1I04LgKplsKUM/ecxqN4zMC/FmSK3vP1i298ft2 x/jMDs9XrJChUsUsRc4ZQ3TW8D62K5r/qUlKgWu14b4Eh3rk0CfySU+6siZICFing5XY W43Q== X-Gm-Message-State: AOAM532P87xCBSEmXh8T7XLMJb1jmGLbRzWBmYHAUNBe2mImWwc7ypJs FAviaLdCfA0fiXHDeLgLntitg3r4 X-Google-Smtp-Source: ABdhPJz8e0wx5FaJkfaovOD8NW9ZN+wcOLY8+QXJUj8Ct/nFntx0FQ3LUFqr4dSMgoXWdl3jJTAOtQ== X-Received: by 2002:a05:6e02:13e2:: with SMTP id w2mr29637356ilj.9.1595345130368; Tue, 21 Jul 2020 08:25:30 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a92:5e4c:: with SMTP id s73ls5440524ilb.3.gmail; Tue, 21 Jul 2020 08:25:30 -0700 (PDT) X-Received: by 2002:a05:6e02:926:: with SMTP id o6mr29240755ilt.239.1595345129976; Tue, 21 Jul 2020 08:25:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595345129; cv=none; d=google.com; s=arc-20160816; b=J5pH6VtOnHzQLlykxV7H/CUeVTfaNI+5qeh76dzH0rBMfBItnrdl7DVD2wAHwIwtaS CRZ7HQfP1yMJ2D0ILqIuDLmAseMKLwdbdxrP7doweg2s0XajsgawSk7ut3ZeE7gbvSs0 RzJ/fQI/Jl8DauFV9iInG36bFLCLtLy6l+RtqeB3UwugWVUbdEpClvjTR3j3ZvrBBdge DPj1IIpE1qOU/85ah30e1cbwfUtI8nAkZV9dNbVAlcG/AFq2bF1vCxVODlL1128HL/7n XN1jBObke/zbZPIHQOmB6ofPTk/q1Nru8By4Kt1/Qf82mtOefbtzePTNBXszz1l4Vgw0 dhrQ== 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=fY0EDuJJMJnieQ5B2JBjD++2/rUpU97pXNIXkIR52r8=; b=F8ljX19NENadgrPs0XFKpdEcX69XJPNGIyh5ncAQ9Wmm3TVVh8F3GsjUq1knYo1scD JfbRg3PLGUfVVdzvTclUnEfq5jGQR8L03zasCc41OonqdtTPvmSh0GoJN3YkuI+uV8Ai /pHnTIxSdLOAZ45sqsZOgZGYTrFxp3yL8hmiZOifCe4JcXWjY0yqf5Epn36nuDNO8vyw fq1irPfvltYBiZ7f2/5UlK5zeOIj/CMLwB3kjmo/Luc2enjcnIfhNo7hOirDMnqsDK3d axJ2PWBznSKN0d6/hBnZ78lUURPl3b3g1qR7Lj7HTMDQcMOUMXm9wPmNJztk/tzehAeX +NCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WKnHVVrg; 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 r14sor15952375ile.83.2020.07.21.08.25.29 for (Google Transport Security); Tue, 21 Jul 2020 08:25:29 -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:a17:902:6b8c:: with SMTP id p12mr23453859plk.192.1595345129672; Tue, 21 Jul 2020 08:25:29 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3df7:ef76:b2b5:fa14]) by smtp.gmail.com with ESMTPSA id h131sm2876838pfe.138.2020.07.21.08.25.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:25:29 -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 , Jagan Teki Subject: [PATCH v2 08/12] rockchip: evb_rk3288: Add console settings Date: Tue, 21 Jul 2020 20:54:42 +0530 Message-Id: <20200721152443.37602-9-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721152443.37602-1-jagan@amarulasolutions.com> References: <20200721152443.37602-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=WKnHVVrg; 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 evb-rk3288 targets. This would certainly help to detect the attached video devices (like HDMI) and print the console messages on display. Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v2: - update commit messaage 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