From patchwork Fri Jun 12 06:41:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11601295 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 01E8F1391 for ; Fri, 12 Jun 2020 06:41:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D327E207F7 for ; Fri, 12 Jun 2020 06:41:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kB/c1w/U"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="QZzNsedO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D327E207F7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5gAZJRXb7Yi95lCJ5MxMPg0HdF4l+Ah0s5mN2PtCIbM=; b=kB/c1w/U7bJUpO fVf2tsFpcCF6onM/qf1unjnB1OskhdIhsjwNpNRXGQBzLkv1PM+p1WmXW3nptR3bCi5uvLCun2JKD lRfQiT6B0QE+cV/WHLdZZCLzsWFpq616a6AQq9tnLwDVmNvkXaQ0taxrky9BKlhIL5WMJ9CF3f7tp 7o3D/D9pxX1oHQB41N0tA8+KpexgHqDMfwxsoUoMIt+DtBMg3o4nDIcXLikuoehrxttfN2hE9N48W JpBMkiKBDHTq5lkz1tY+aun67PyvkOCgwan3FGh3ce3v8K3cuUUbwggOEa6mbDZyyxXNC3rS4oYPE N4E6fFmfZ+pdBICsqXRA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jjdNX-0003pb-Sy; Fri, 12 Jun 2020 06:41:27 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jjdNV-0003of-Ue for linux-rockchip@lists.infradead.org; Fri, 12 Jun 2020 06:41:27 +0000 Received: by mail-pg1-x543.google.com with SMTP id t7so3684902pgt.3 for ; Thu, 11 Jun 2020 23:41:25 -0700 (PDT) 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:content-transfer-encoding; bh=VZ/BwdmGkBFMIYL+4deXgcIl5rwY9fNYUfDELeT0SXQ=; b=QZzNsedOdCaCAAjJ4kwNurEVRHIiRZ6ijFZVdcCsAB1caNeihFHvlt2aQ7h/HX0vc2 fMcNn5vuUI3FEsUIUPKco9FvFe38VwLw5yIZz4AB96C1nUl3o7B5UjifMLRZWuT0NMX5 7j10vEBEpwYeOM8PhodxPH9gZ6Escxi2np13A= 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:content-transfer-encoding; bh=VZ/BwdmGkBFMIYL+4deXgcIl5rwY9fNYUfDELeT0SXQ=; b=bKISvUvNYZ69lc1Cd5bS1RX+ojTPey12WqyrqMP0+K25acTLtB1a9hIfZTOeRDwpj+ qJar7mWrXzDtdn1Th1r82Wxy/igNFn2r2MAO5COPZsMtvOOwiiz5Rj8hYfC5au4CTzz0 1eLEpIo7/ryT2ZnH5gLIM1ab09oHtiF9Ff+DYTLgc7DM31zSgIIR7Z8XVgxh3kcZaOzb GQhtw5PQHh/PUL6rrjLEwJLUz0lFYfew1uylkwiY81RxVTO459RphPfehn0GHVzWLfqv 3EhM4g9zIJGrL+I8Z7C7oEBCVC4Pw3ZK3i/gu/9HxuEFIcmp1M76k2b10IKj6/bcWaYV I/ng== X-Gm-Message-State: AOAM532wJCPEK1G4iwg2Jja2vsyr15yfbmqhwzHAEkpjMks6lkZeujKZ CfNwW3dVlye7dXFRdiBTLhSUxQmkJ+U8Tw== X-Google-Smtp-Source: ABdhPJzwulwnXrEIRw694i4Vsza7+z1D2ni18y6mZDKMT1yJYFY03BKX8BiFvjiebriiqdFXFHoR6w== X-Received: by 2002:a62:3103:: with SMTP id x3mr10156554pfx.130.1591944085489; Thu, 11 Jun 2020 23:41:25 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b5c9:c9f3:725c:9867]) by smtp.gmail.com with ESMTPSA id j19sm5033878pfn.109.2020.06.11.23.41.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 23:41:23 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH] roc-rk3399-pc: Update ENV offset, size Date: Fri, 12 Jun 2020 12:11:07 +0530 Message-Id: <20200612064108.459227-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200612064108.459227-1-jagan@amarulasolutions.com> References: <20200612064108.459227-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200611_234125_986449_3078EB0D X-CRM114-Status: UNSURE ( 6.92 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:543 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki , Suniel Mahesh Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org Adjust the ENV offset, size to fit into all images on 16MB flash. Signed-off-by: Jagan Teki --- configs/roc-pc-mezzanine-rk3399_defconfig | 4 ++-- configs/roc-pc-rk3399_defconfig | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/roc-pc-mezzanine-rk3399_defconfig b/configs/roc-pc-mezzanine-rk3399_defconfig index 7906948374..595f052cb7 100644 --- a/configs/roc-pc-mezzanine-rk3399_defconfig +++ b/configs/roc-pc-mezzanine-rk3399_defconfig @@ -1,8 +1,8 @@ CONFIG_ARM=y CONFIG_ARCH_ROCKCHIP=y CONFIG_SYS_TEXT_BASE=0x00200000 -CONFIG_ENV_SIZE=0x6000 -CONFIG_ENV_OFFSET=0x460000 +CONFIG_ENV_SIZE=0x8000 +CONFIG_ENV_OFFSET=0x3F8000 CONFIG_ENV_SECT_SIZE=0x1000 CONFIG_ROCKCHIP_RK3399=y CONFIG_TARGET_ROC_PC_RK3399=y diff --git a/configs/roc-pc-rk3399_defconfig b/configs/roc-pc-rk3399_defconfig index 046fb73858..1c4db3443f 100644 --- a/configs/roc-pc-rk3399_defconfig +++ b/configs/roc-pc-rk3399_defconfig @@ -1,8 +1,8 @@ CONFIG_ARM=y CONFIG_ARCH_ROCKCHIP=y CONFIG_SYS_TEXT_BASE=0x00200000 -CONFIG_ENV_SIZE=0x6000 -CONFIG_ENV_OFFSET=0x460000 +CONFIG_ENV_SIZE=0x8000 +CONFIG_ENV_OFFSET=0x3F8000 CONFIG_ENV_SECT_SIZE=0x1000 CONFIG_ROCKCHIP_RK3399=y CONFIG_TARGET_ROC_PC_RK3399=y From patchwork Fri Jun 12 06:41:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11601299 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E02AD1391 for ; Fri, 12 Jun 2020 06:41:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BE27320801 for ; Fri, 12 Jun 2020 06:41:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aSuGny+9"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="TKW9NA1t" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BE27320801 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xTr3Wi0OH+pVcw6Gdc7ilWFraAXgn9fTaF00RqjLH34=; b=aSuGny+9oLpcr7 x4O1cLbRf1J5wYeiV+psg2Q8FD0YBxzP2URuHqBXLKHk4QA3764SqwWO3ww8zCqncevapn6Xm0iBc Xiyr+lhLtg1tub6g8uR8TueMAJeHPDKNfrftS2SjCFf3owArzKtoSkhY4n8TXDZmmlWDE97uQ/Ad0 Gkez6O9jcQd4uvEPMAqd+NRybTikDW7T07hnWg56POI0NzQcCuo64J61dwgdUNu22rB3Z+Kafogbo UH254oNeV6/z69KP/og7MEzn+dVXtNaKCYo5XIIx30R5kTocJaMn61QmtGkoNuJ4QZqM8kDCwuoQo 1flTxccIvfzvuI9uu61A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jjdNd-0003sh-Gk; Fri, 12 Jun 2020 06:41:33 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jjdNa-0003rG-NQ for linux-rockchip@lists.infradead.org; Fri, 12 Jun 2020 06:41:31 +0000 Received: by mail-pf1-x444.google.com with SMTP id d66so3847937pfd.6 for ; Thu, 11 Jun 2020 23:41:30 -0700 (PDT) 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:content-transfer-encoding; bh=MQQWYjNi+KcpW1XYoBFyoT4VQtOEN3rSfwRqqQtAqGY=; b=TKW9NA1t2OeEt+Qgk5qjO8ZvhlTX70NLvo1KNVn8XUd00MA6i+y5dJC7ulEC3wyV4g lOiFWIaEevkA2XoysyjuczPCC9Iq2bLoNkOUkgUEEBJaehziXiWaOamYWFRdWUkSwSR4 cQpBA33eQ3h+K8uvF415oBK/SDBHG7UYR0X1g= 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:content-transfer-encoding; bh=MQQWYjNi+KcpW1XYoBFyoT4VQtOEN3rSfwRqqQtAqGY=; b=YMxTqm6pab2IbErAXlTY8jvNJWABOrNJbKuHXcC2oUrX6cTiCQuaS5JkWPkeQur9yB wH+Ddl0tVuFo3nSTGtDlvmJM75y2NDUp860Nx0MAK1QNz6tQ6Z63sQcnHIJJzAUqTFaq LNb7zVsHNFdQTcQEArDlLTadzYDUwDb3JIBT6rR6cOzDf0nU3BXNyGeubC3aKTZ896bN QgJwqRCESbIWYSeRDHiBLuiSGu6E+ic0K3aiA3ORIvrVy+P+qBECSqqakkg0xwfE3smw jOSmkgAL2cUkw//eHoaXKjoy3CCpvW3yylbKnoCeoCbIAQTcpPKAEXy9zDgA1TCqh2Ua EAGA== X-Gm-Message-State: AOAM531usEhOCCZM/g+PdX6XQ7lwgTwTqnRZXt3IJsvRh00yr3hekeWG OIUfeg4VQ24Q1IAyS4gkRDAO8w== X-Google-Smtp-Source: ABdhPJxosVQxcdV6gizjsNW2Wtij/jMvnOdwChSxLVzwjnVWsJD9lGkxgchF/+n///9R57MDi2x9oA== X-Received: by 2002:a62:4ec7:: with SMTP id c190mr8699410pfb.55.1591944089984; Thu, 11 Jun 2020 23:41:29 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b5c9:c9f3:725c:9867]) by smtp.gmail.com with ESMTPSA id j19sm5033878pfn.109.2020.06.11.23.41.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 23:41:29 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 2/2] rock-pi-4: Enable HDMI output Date: Fri, 12 Jun 2020 12:11:08 +0530 Message-Id: <20200612064108.459227-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200612064108.459227-1-jagan@amarulasolutions.com> References: <20200612064108.459227-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200611_234130_757623_DC48AFE3 X-CRM114-Status: UNSURE ( 7.09 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:444 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki , Suniel Mahesh Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org Enable config options to get HDMI output on RockPI-4 boards. Signed-off-by: Jagan Teki --- configs/rock-pi-4-rk3399_defconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig index a4b322074c..98f71a50a5 100644 --- a/configs/rock-pi-4-rk3399_defconfig +++ b/configs/rock-pi-4-rk3399_defconfig @@ -58,6 +58,7 @@ CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_DWC3=y CONFIG_USB_DWC3_GENERIC=y +CONFIG_USB_KEYBOARD=y CONFIG_USB_GADGET=y CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_ASIX=y @@ -65,5 +66,9 @@ CONFIG_USB_ETHER_ASIX88179=y CONFIG_USB_ETHER_MCS7830=y CONFIG_USB_ETHER_RTL8152=y CONFIG_USB_ETHER_SMSC95XX=y +CONFIG_DM_VIDEO=y +CONFIG_DISPLAY=y +CONFIG_VIDEO_ROCKCHIP=y +CONFIG_DISPLAY_ROCKCHIP_HDMI=y CONFIG_SPL_TINY_MEMSET=y CONFIG_ERRNO_STR=y