From patchwork Thu Jun 18 14:12:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1401 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 10F8D3F0D3 for ; Thu, 18 Jun 2020 16:13:15 +0200 (CEST) Received: by mail-pj1-f69.google.com with SMTP id m63sf4170035pje.8 for ; Thu, 18 Jun 2020 07:13:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592489593; cv=pass; d=google.com; s=arc-20160816; b=fCLBi8bNSbihpjIxLkdS61fTKHZcML+DSazzk11l9gM4f4O0XLu0s2V07gW0MdFYf1 HB4fuEZEvk7EVohWXrN5W7c5J43Knmsr7yZRzoJqorl3Rr+n9W/jfQNNwlpwivKjO62H FL3biE/uWlwM1ELrCaKYKrqcm0oSb85//8uyLFbp7aGJxLhXQIH6lRz9k61VJBs1MJEK Qkp/QtLJp2sbHi/ABfm4Kzo3PcivgB9qJOunez8JwlVFx36Hq7Rpqbis46nlDXTGcH6U aYuxmxEIgi2P0qDeeN3Di6Khyy0mUV5mR24CkMnGIRZpvBxrbJGS02VoJ6GDx1ll7263 YATg== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=0VtqPi6FveuzCAGiYwdQ4JdDzwuhpqW67IJ5h0qfHHg=; b=VDN7R4ptzMNJIMhBnfhS55sWvDA4UpT+6qyO8JhF6XrDSXu45ttxsX509pQLprR96u S/LOB4gsQgKLuKRyHIcFyM719Cwu63/y3CBeHw8rrpt6AY0ac/AEFWoahG4Crc2h7k12 eUH+CZxMhz+I831WJ9QDeCrDBYH495R6hRvcYFtMfjIKohSa/IHGwGv+XLqwAhZMZlrx oOmTefZyM6apz+JO7AFJ+whJlRJUczGd2SNqGJyX+AUIjA2bC5HQa+PYLnyLfTbOkvGV 3I+BBAMDnZsf5cRvNVvmuOjvW/iH5qtTKCkYy/KCt53cq6aSKBCuQk2CX00YpPRQwwvC QDQQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="N/kjHZ5E"; 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:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=0VtqPi6FveuzCAGiYwdQ4JdDzwuhpqW67IJ5h0qfHHg=; b=ACqmv9UZj1Fk0z5eUuSnYpXR07eBE7G1nb5w6+WOGulaT+yAgRgbt+QDSEZdu1kDd7 cfPJXQDwI7eEDITA3WtP5iQ81hfD0albAcb0xr0iq5Z7xZAAwmTuQNImeZOoLeQiyFXf yrQTfLh+5brdcAG+OJ7g4D04++6xL7O/odQlM= 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: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=0VtqPi6FveuzCAGiYwdQ4JdDzwuhpqW67IJ5h0qfHHg=; b=pN0sFmiAyLWebnkpp6w++CuWrTw8LHDEq9tgVr+cLdgbRKkA/x0fw8HGeDe6OBN/6t djuVILZ8DTAZ6Ta/hKv1wde2Q1TncYxVDq+noEdXIvgjjN9D6HT8thWITCCTC24NfhFS 2Mpul8J8+6yCNzGu0l/OSbd6myl80jtlWco+VLJXYXERdU0lvX4kkWBeMXl3Di9QK1Cq NoOVJ4nUX+cqWnf7VbnBWCrbMHCmEjJ32oEX2C1QrmDfgKGlg7XEukSUTrk6clW8itfR mclE9on9+wS4jhfmtDYU/jdNF3BJKqoKUQ3/pF80lINKGP8+dpRyDeLcIIRgVsWhZhKX 4MhA== X-Gm-Message-State: AOAM532/Vru5L0kw/FQq1dy+JeETQgddEbr9Bl4VvR00X7Ys6rUTErG0 rowyGsQyGksEZMSPlLtFRnmGC+3Z X-Google-Smtp-Source: ABdhPJyuKvTXZ0Wb0lnvr+C+wOj21pOueLIkfQfB/FWsjjBwpUKa0whXzeK0ucgMV4PjTbwpwzyEZg== X-Received: by 2002:a62:c105:: with SMTP id i5mr3856322pfg.250.1592489592665; Thu, 18 Jun 2020 07:13:12 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90b:104a:: with SMTP id gq10ls2481929pjb.0.canary-gmail; Thu, 18 Jun 2020 07:13:12 -0700 (PDT) X-Received: by 2002:a17:90a:d250:: with SMTP id o16mr4551870pjw.199.1592489592112; Thu, 18 Jun 2020 07:13:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592489592; cv=none; d=google.com; s=arc-20160816; b=DsziZOr1ZLxc3bA4wmjmbJUg5YcViEZwbLcHwDf4uZyk9s8yd363w/odUSsAWgluCU RjTPzqC9KdxSD5tEdiZ68e9HqA7h/ZbBnjfO6ltOBBhOYYdpk5Dxa5Zqk3YdfbsLnQ16 10Tdyv21rYsTTl3gCD81Wq6CTMGOGJDMjKL7DD9iOm/ycKkrRhEgFw/vnl/VMoYHHKK2 6fwzjYiJFmx6kAsQTZbCu+ggKRIZtlAYYUCNHJwRbgR+4A9RlcYG8yYq6k8t3eWCTpKP VqjJU9VTqAx4jDBouKiu3PXaQRJ+NaZ31VUblo9S9tI1JxjQC9t/Ooi4Q+U/zPqvDoRj uD5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=3oGKs23a93g8dSTZ3PSJDUOIgDA5dI03hvG0yMAmu9c=; b=u4pU3lQGx/je3A8CT22dghJcyTbxFPj0n3yiCqMITK/Avisuz4DkXrXiXh2wly2FV7 YQE0wmZGGCpBiA101RXy4qA4xqY+UkpIA76c/zePVVunn62ct7HqNVJPzBWq7zZZF/Qj NTXLpytwjCLzeFLYJ4WKPHNXrMdw1ZffAgGGIV4682EB6WukhAGljrNb/4DNY43sWloB mx46qvziRBSPli/vIyhuFgKXA3g6yTmZphHAL7TOyrwuKFKRrKF/nEVzrbl5261nzt7e JHSmKJeispEtJ0ga4NT/LiZPyqfMUdfcpy93bkTJ2EpStUs6f8FXe2MQn/nGB4logjW8 9JUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="N/kjHZ5E"; 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 65sor972784pjo.32.2020.06.18.07.13.11 for (Google Transport Security); Thu, 18 Jun 2020 07:13:11 -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:90b:4c0f:: with SMTP id na15mr4473249pjb.112.1592489591483; Thu, 18 Jun 2020 07:13:11 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b0c7:f192:869b:df87]) by smtp.gmail.com with ESMTPSA id p6sm3340540pfb.152.2020.06.18.07.13.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 07:13:10 -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 , Tom Cubie Subject: [PATCH v2 1/6] rock-pi-4: Enable USB3 Host Date: Thu, 18 Jun 2020 19:42:54 +0530 Message-Id: <20200618141259.155581-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 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="N/kjHZ5E"; 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: , Enable USB3.0 Host support for RockPI-4 boards. Note that the Upper USB3.0 port is marked as otg and lower USB3.0 port marked as host, so this below log capture when USB3.0 mass storage plug in at lower USB 3.0 port. Log: Bus usb@fe380000: USB EHCI 1.00 Bus usb@fe3c0000: USB EHCI 1.00 Bus dwc3: usb maximum-speed not found Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus dwc3: usb maximum-speed not found Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 scanning bus usb@fe380000 for devices... 1 USB Device(s) found scanning bus usb@fe3c0000 for devices... 1 USB Device(s) found scanning bus dwc3 for devices... 1 USB Device(s) found scanning bus dwc3 for devices... cannot reset port 1!? 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found => usb tree USB device tree: 1 Hub (480 Mb/s, 0mA) u-boot EHCI Host Controller 1 Hub (480 Mb/s, 0mA) u-boot EHCI Host Controller 1 Hub (5 Gb/s, 0mA) U-Boot XHCI Host Controller 1 Hub (5 Gb/s, 0mA) | U-Boot XHCI Host Controller | +-2 Mass Storage (5 Gb/s, 224mA) SanDisk Dual Drive 040130e3ee554b7078843f4eb331646 Cc: Tom Cubie Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v2: - rebase on master configs/rock-pi-4-rk3399_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig index 0d86fdc895..2487872219 100644 --- a/configs/rock-pi-4-rk3399_defconfig +++ b/configs/rock-pi-4-rk3399_defconfig @@ -28,6 +28,7 @@ CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_MMC_SDHCI=y @@ -35,11 +36,14 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y +CONFIG_PHY_ROCKCHIP_TYPEC=y CONFIG_PMIC_RK8XX=y CONFIG_REGULATOR_PWM=y CONFIG_REGULATOR_RK8XX=y CONFIG_PWM_ROCKCHIP=y CONFIG_RAM_RK3399_LPDDR4=y +CONFIG_DM_RESET=y CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y @@ -48,6 +52,8 @@ CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y +CONFIG_USB_DWC3=y +CONFIG_USB_DWC3_GENERIC=y CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_ASIX=y CONFIG_USB_ETHER_ASIX88179=y From patchwork Thu Jun 18 14:12:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1402 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 CE7B93F0D3 for ; Thu, 18 Jun 2020 16:13:17 +0200 (CEST) Received: by mail-pj1-f70.google.com with SMTP id fa9sf4183958pjb.4 for ; Thu, 18 Jun 2020 07:13:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592489596; cv=pass; d=google.com; s=arc-20160816; b=PROxOH2QiCne9hX3nckbLTJ+XLAl2OVyQOJgJCCVHPeP8AiYmbx07Htn1b+BaA2B1W rKniWxHsnpiEJ670wOJDyv+zjmJne3GtQzezRou6KEHRVVXRMVcUHbGiAtPQaKwVea3m Yxs8M5ryAXhNABWxFC8C6DbYIV2povlCbw/1fHQAKN/PwwvYObi4LhXllYyAfU6eiTZ8 NRSDCJ1cDMx89394bbNpe9FARP7/mfdPvmP7LBd7RcKppD/nEwrDJ3zIZ7u/O8PKT3Jg OUDbG7vI7KKT94Sd6spMykWsvNJ6j6KX7SXicG82jvtv7973bJYer2HIL8bUwUCzwGXf jNNQ== 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=Dc6v4H0y61Tn0I2JmiaYFS1T9jgGoPPxVyBQtZ69Ek8=; b=juVuqZ/g+wBG/sTKFvpBKGqkXvyYP5ouXZBcU6Spz6//+7hZOB9+J2HT4eGAqUmyVf PpbIH8b22INlfcQ8RHV6smgXW6reCzE36+zO7447tWfRw0WFfyK8+se2cNoKaL2Ryudx 4HPEQG27RCggQZM/H5FrFKKOqD16hvVlYDQsikuuPViPxvaVXu6iRxzBZrx/kcuiext9 XDGgNMURb8VdwE6jazvCa4V7XowWhSUL2WzRaX7qdCIFw9lliYIvKEobuVh/nKM8kM9w ZTzXyD5ji870EkiIt6C6ynGVjEFz1/fb2Di1H79+TZHM2rH9B3UNHSW3J/PqIeW082Sw lBKg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=DsF8S1lt; 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=Dc6v4H0y61Tn0I2JmiaYFS1T9jgGoPPxVyBQtZ69Ek8=; b=MsqrR6g3KOGF+g2HTVvr80YvoubQHe2YDw0vU0tuMPyYlRZzM+XmD5HWRFJRPMwuAT RVi/25brssnrjF41pzNF/JRG3fmogPHSzmWzEnGLVA2jPHvRwyPRN1umptbBQSsHoFqR dRM/4+bVxw7tA6nHmTnSkBT7wkFIGU2+Dvk78= 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=Dc6v4H0y61Tn0I2JmiaYFS1T9jgGoPPxVyBQtZ69Ek8=; b=MJfp9IlQZRiLFlsA3PNGAtkOHm8da3gpw6jHdHabgEo5IOqVxavv/vKOANDPhS00j1 UTX8WzSt57b/MjDR8O432iROWRyz9CeCOn2VT6Sj7XpHabCkoBl9wwsIoUt5zAy9qMkF JVd4YaH+RC7VUXsoZz+cirQnSi3gnkNI2+Lda45qhyryCm4PoI/CbuLRhuo5FkzuFfRU 1yi/nMMB3wkdCpczgdJS8wYT28QQycPBy4QQHTD3avk7mkZ+q6p5HqXRJBVaKTzDxgUS vBmIveoy0+1qd1DbUqrPZPl1y0JL1LtqPCTxc/GbOGwzgGnIB3OBZe+cEedEn3nAaKIq OyLA== X-Gm-Message-State: AOAM531T3SbTawcmToQeVb/VJBm1BdK/UQr7rW0dnKp5iXxTKuuFX8rb wsabJe5AvP/a+f/cA/0Ix2p3OXlC X-Google-Smtp-Source: ABdhPJxvrpnIwT2JQxP29YVOdKfzKQMwBQ/KiU75KuubVMx+3DTCwQpeqrPbdsyTh2IURSx2xn4K7Q== X-Received: by 2002:a62:1849:: with SMTP id 70mr3613345pfy.227.1592489596633; Thu, 18 Jun 2020 07:13:16 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:3c0d:: with SMTP id j13ls1593843pga.8.gmail; Thu, 18 Jun 2020 07:13:16 -0700 (PDT) X-Received: by 2002:a63:fd03:: with SMTP id d3mr188464pgh.76.1592489596180; Thu, 18 Jun 2020 07:13:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592489596; cv=none; d=google.com; s=arc-20160816; b=gBagM4fpRjq01cHOByhMcD7XlsdMfNIrWjPh5IBGn5MhsMDlAgjvLDD31YtlMPrrQe hDk7hMfCmNlaGfYaSAy9JM761AHF6hQo7WA0ROZLpvKOOmxQWAxJCE5bugLjZ1DPllbp cJ7E6Rzw2IH4VCpy5e+5VjLo8XuSjxBLs6btcmvc7Box9QfR8dAx696X2bULJRWloj2Y 2QdjjO+2ITMUKLcWNoI6LU90C6FFAhT3JIC3Q5kz6wYr0Wigc67fmpJ9kRnxdX0+xfyh x6K1aB3aLkH+OuwHq1WfUUlfLMcqvYZ+DMS6OsrKvYvTPrMboWXOWvs3cPsiNvWKT43A +I3Q== 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=rl0AmOyJqoqpPJL86fFQlXlDYQFCvZQU411hyTBmyG8=; b=mUfa9OWczbJsNmdu1qB+PfPG8ea97DKTSmKyJUPkdf+tIFIiU2w6AU1Nd4d2lUo/2p yz91viXYHIAeyDNSQIfk0bwqISon77MYNd4A2pkNjTQ03kPqf3oAYTwNGdkChOUxl0/Q DjEI5sj/JWy6uDHnqVUbaG2E/TKQjce0rM4+SnBYTxPT4OXr7zhaHXVioBas4kkwx9tH AQEyieV3B8zWzzddhv7TpO6yrqEdlWOLyw8yROkQIROwnmURMJdmY35i43R5hGVLPhMY CtSsdazh4RPLpWjqwhlm3ThK6qzlQqqTcbCJRU0ookDfTu901t8G1zL5Qy5CP4fhmyah U/Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=DsF8S1lt; 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 t24sor3612187pjw.31.2020.06.18.07.13.16 for (Google Transport Security); Thu, 18 Jun 2020 07:13:16 -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:90a:21a2:: with SMTP id q31mr4532653pjc.230.1592489595901; Thu, 18 Jun 2020 07:13:15 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b0c7:f192:869b:df87]) by smtp.gmail.com with ESMTPSA id p6sm3340540pfb.152.2020.06.18.07.13.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 07:13:15 -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 , Tom Cubie Subject: [PATCH v2 2/6] rock-pi-4: Enable PCI/NVME Date: Thu, 18 Jun 2020 19:42:55 +0530 Message-Id: <20200618141259.155581-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618141259.155581-1-jagan@amarulasolutions.com> References: <20200618141259.155581-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=DsF8S1lt; 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: , Enable PCI/NVME for M.2 Slot on RockPI-4 boards. => nvme info Device 0: Vendor: 0x144d Rev: 2B2QEXM7 Prod: S4EUNG0MC10012Y Type: Hard Disk Capacity: 238475.1 MB = 232.8 GB (488397168 x 512) Cc: Tom Cubie Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v2: - rebase on master configs/rock-pi-4-rk3399_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) +CONFIG_CMD_PCI=y CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_TIME=y @@ -36,6 +37,8 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_NVME=y +CONFIG_PCI=y CONFIG_PHY_ROCKCHIP_INNO_USB2=y CONFIG_PHY_ROCKCHIP_TYPEC=y CONFIG_PMIC_RK8XX=y diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig index 0d86fdc895..2487872219 100644 --- a/configs/rock-pi-4-rk3399_defconfig +++ b/configs/rock-pi-4-rk3399_defconfig @@ -28,6 +28,7 @@ CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_MMC_SDHCI=y @@ -35,11 +36,14 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y configs/rock-pi-4-rk3399_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig index 2487872219..f3eeef0293 100644 --- a/configs/rock-pi-4-rk3399_defconfig +++ b/configs/rock-pi-4-rk3399_defconfig @@ -18,6 +18,7 @@ CONFIG_TPL=y CONFIG_CMD_BOOTZ=y CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y From patchwork Thu Jun 18 14:12:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1403 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 84A363F0D3 for ; Thu, 18 Jun 2020 16:13:22 +0200 (CEST) Received: by mail-pg1-f198.google.com with SMTP id 16sf4110307pgz.2 for ; Thu, 18 Jun 2020 07:13:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592489600; cv=pass; d=google.com; s=arc-20160816; b=cItop4k3JSf//MtWgwpg8Yfi8eWa1frtbvvb0Erpm2a7d4aZ119qIGOoP0UFHvaXNj aC9OlOyJayY49rcd/y+dqX+Mqr1lcBhyDXX1PaE3cUOpSQr6JCX9JZbfWEyWuMXgCCga xwJ27GtRewTZW95SQvpYauqh+CDfzgIUIKr5iJgri0A3PgLN2pz/lfLppQDfmeMs+pPX FdxwPirMtJzM61hHy/NfrUcbUhMGkHU2ZQlepuw120bNiSyjA+tXX+mHcZkSTV+Ke89H CUY9xnmmliTiyhjVrzyw+gBhzjgIefoIyWshZKvNFsUI71epmKKOk2V2sd9wTslfh4+b NHmg== 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=KUmV8k+Yxph11fNsf5N+WEEtbistldzz75XTCO4QXsw=; b=aJPHzWeKOi0WuvcewglbTA47NGaGFYHSmRIbTam5k5hlaEFGHVUGlXKkdiiVR6yWO0 98Ki+1twz0TNwurxkqgH19weqSGdFwNj5MpKGwF9X/IgGT+xrIsHP7784ZeN94YmLEfC iLGiOB81jtk0OAV/8nOAPt84AObOv7au608iNhyNXLj/bu+/+wY9nIRgD4+GD38Rd6FN bM6pKnpQNJirwlQZeZdy8ZoEWZTg+RkhuCo+4hFzGC7+0u+BxD8TZ8QSFvoItDj9syDw BIJpZ70yyEZrRxtpj7kacz70MDXysvIOEsBqEKgt1RepCjD1hzVP0+ZfVYJcFcmw/DlO F3Jw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ECVcj5vW; 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=KUmV8k+Yxph11fNsf5N+WEEtbistldzz75XTCO4QXsw=; b=bnyDVnQ5tGIho3jB+37Z1pVCTgzZOdTvibTxs92gvfdu7MDM6QoiMfG67YeD2m5A2S uTxvU+jRN/0rAesHssIG8I1KVi66chKwyeYydZAgZFI49+2xaIsR16AI3VmM4mr9bOMd bP6vNKVY8dfz8JIMFjw9E7tAvKoESl9cd3h+U= 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=KUmV8k+Yxph11fNsf5N+WEEtbistldzz75XTCO4QXsw=; b=QXM7D347jV8zRrMTQQ7dNoLMzQA5i3poMtfUfrhIPosPnCqQNtsCR6P3CBHAZZs408 IYUm/T6v/jxyf0bsY2o/o+2gutQs0n8pPjB3CrTYmdh4/thR4t/XBpmDmdmxdXsfLnET i8KKrYzByCPyUyUUHr7Ojdbz5ONXNw6TMiBSdCA1AO4UOmVwE6JCYwjLv7gg3ZA4OuhM jypw+FGEdpp8gIYaA8AsfnkxgmHf4J6LqwympiJaczbqfu/C8DG+XDm9nGHM7PKE7zie pjkBxT9358jdNweD6RbV1csKSykMaEUCgMhoWl4o2jXD5yBdTJwlQ5/efiwkqfMbi28F 3DXg== X-Gm-Message-State: AOAM533qCRRrAFhbdhKi4MSxy47922R+nKXJV7XlPkf+RW0K47rWM6Wg mnsIqNcz4Gc+fn6OCX4dI8AyQ6PE X-Google-Smtp-Source: ABdhPJy5IPhrBWW9VeS7hGl+uISalyvBGdvyJu2/jSJQSFi/EZheTyXjHOYbRRvE7zcMkerO0R5wrQ== X-Received: by 2002:a17:902:aa0a:: with SMTP id be10mr3901976plb.263.1592489600484; Thu, 18 Jun 2020 07:13:20 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:c910:: with SMTP id o16ls1598770pgg.4.gmail; Thu, 18 Jun 2020 07:13:20 -0700 (PDT) X-Received: by 2002:a63:5409:: with SMTP id i9mr3452387pgb.231.1592489600006; Thu, 18 Jun 2020 07:13:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592489600; cv=none; d=google.com; s=arc-20160816; b=Ze1nS2H35+d8mQF+41tvGFkvCmeozDXT6t0oPzzLanqcqOfhdxOrqJ9nzzBORb9k1W 0bEo5eqvZyFJfQEvDVVh35bsTxFV0ME/m9uuar0rO3afKv3pwuhcpA/jdh5ZyyMDU4Dk CYNrKLO9AP2mOOUxIGRwtIQgW/lgHaBZYqrM3wKn/Z1v2jFcJwjAFQF28FncQfT8ObWP hQBKkF9p4DRVl8Z2tC4mqt2gakDPohxgy7T6/G3mC1cOFRKtJHbkAdEXWf+WiCjnTU3w XfOnBE6+Nul9nSf8IWdjwoYPJ27X6fYzTIyn9S9CqtWTSJ295ML5KIPFAizi5ClicNfV zxrw== 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=vaMVqTd6Q7hkQ2VrkV31UikLUkol1PdHrK1DqBlVFmc=; b=RbdEhiQcQvsYw8LY9OfWnB8cq76wVGZ/mSDiJMPRWOjac1PkuXKMkKVwHxn8S3K8ft jBJIcB9jTZ7DmQXrN8CW2sLED1vufUPh2yhjPkkCY07VCm92g+9g6tQ/RLVdgH/isJ3v 0WdPu842Wt5d/Z+a7OY+2PC6mRpHGDDo9n6c4Mo5/yBxJiVEaJsIPul4oFUvmtWSYquH KHqZYUXPdpKtDupLTv2oDIdfLsVYcb3CGgvfH9QBLDD37JfzJoI+9Qm6jBmxyB6WUeT/ RhJXMsWZs3Z8adanqwAI2zfs3jUgpdSH/e3mPa/5llFZVA7o0LCl85WUXCMVnPPBxDes TvzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ECVcj5vW; 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 z196sor4072804pfc.18.2020.06.18.07.13.19 for (Google Transport Security); Thu, 18 Jun 2020 07:13:19 -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:a05:6a00:807:: with SMTP id m7mr3911953pfk.246.1592489599666; Thu, 18 Jun 2020 07:13:19 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b0c7:f192:869b:df87]) by smtp.gmail.com with ESMTPSA id p6sm3340540pfb.152.2020.06.18.07.13.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 07:13:18 -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 3/6] rock-pi-4: Enable USB Gadget Date: Thu, 18 Jun 2020 19:42:56 +0530 Message-Id: <20200618141259.155581-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618141259.155581-1-jagan@amarulasolutions.com> References: <20200618141259.155581-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=ECVcj5vW; 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: , Enable USB gadget for rock-pi-4 boards. This would help to use fastboot by default. Note: Connect the Host USB cable (Port A or C) to rock-pi-4 Upper USB 3.0 port. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v2: - rebase on master configs/rock-pi-4-rk3399_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) +# CONFIG_ANDROID_BOOT_IMAGE is not set CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-rock-pi-4.dtb" CONFIG_MISC_INIT_R=y CONFIG_DISPLAY_BOARDINFO_LATE=y @@ -57,6 +58,7 @@ CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_DWC3=y CONFIG_USB_DWC3_GENERIC=y +CONFIG_USB_GADGET=y CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_ASIX=y CONFIG_USB_ETHER_ASIX88179=y diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig index 0d86fdc895..2487872219 100644 --- a/configs/rock-pi-4-rk3399_defconfig +++ b/configs/rock-pi-4-rk3399_defconfig @@ -28,6 +28,7 @@ CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_MMC_SDHCI=y @@ -35,11 +36,14 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y configs/rock-pi-4-rk3399_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig index f3eeef0293..a4b322074c 100644 --- a/configs/rock-pi-4-rk3399_defconfig +++ b/configs/rock-pi-4-rk3399_defconfig @@ -8,6 +8,7 @@ CONFIG_NR_DRAM_BANKS=1 CONFIG_DEBUG_UART_BASE=0xFF1A0000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_DEBUG_UART=y From patchwork Thu Jun 18 14:12:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1404 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 32D6D3F0D3 for ; Thu, 18 Jun 2020 16:13:25 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id r12sf4394295pfr.16 for ; Thu, 18 Jun 2020 07:13:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592489604; cv=pass; d=google.com; s=arc-20160816; b=aupzyx4FFlAaik0vljwrVbB1x33d3lbwQI9Cwlis+xFHaEAhEHeLq9pZ15GHEtkEP0 mVemW3IS3fTxyk+GSDw1u6ek1upyz2Tx24MMVrSj5YzPXy+gM2Pm9Zwc2OyeAn8ko5VB uAaezH4lIOnK8oT+d6T4nuWQjet1leBSatdlGjSFCRJiuCVxl9ui1hIf0TETEOxoRbMN jfhdXxY3Igi+9YSXVFHWQHY4TQaj+cHA0mlpLZ3aEaQAiMHqbKG972zvuM3Kwf5+P+BM WO46V10SjvMHaMuoa27zZDbxF6AVZMw40/ZmvP7Yg+HHVddFUk67Iku38c/I1X4RH7wl dUNA== 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=zv5VCciIlaCZf4ZHOntNBUJAmy83rygpd9ZHVJ81xJ8=; b=yKzOLqdx8JK51vMKcIAxAGQO6ukVwMjM+kRtHyxoTn5hcTfJh2a20DfjtlYmsOxJ+f O/m8EWcdmqKAlSLzuLp/GKbAOG8mZXV6HZMNya3gidbWfxarIqkfSAId3XKCrZXGZ4j1 9DYTayVbtKfAHKpKPTyfE43dLCql3a6NILfpIpZs2gqTYbG32hrcFhCvrmaHBOWeIedh Pjqimb/5WS0Z9kLCq2PSfgyhTrdbvuQ8o/pA/ys7vX8eNJpXldN892/+r+qe1e1VJP2+ lJBiA774fMYu77hKfardKZ226x9jnXWiaHsCh5uMhzEedGs/Zpgvl7o+WMofRP66aRu9 KGcw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VOMyn24P; 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=zv5VCciIlaCZf4ZHOntNBUJAmy83rygpd9ZHVJ81xJ8=; b=QihpsvEB4JpS82Wqu4qYWqCypSTiHnh4ZpHg2FQm7EJy4X4Gqdo0QFIwhyPFwsPVTy eP8O8aG5IaV+g3fbJa8/gmXvuVyZvH6arFdVoG+azgrPiv/7hKasT2XlQQ5b9TiNzR/O HWCWWan2OS16A3IGko97QfKflDmL7kclUb1sY= 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=zv5VCciIlaCZf4ZHOntNBUJAmy83rygpd9ZHVJ81xJ8=; b=abaF8RogN1DfCWw7VH6RGzlmQOjyBHKCxTh7B0JmE7+NKOgGsddnWNEGnX7tE+zS3L djg0hmS0PfmVqM4nCSqrLZmY6QFUU2AqfFTbOfEWHQP8mqGjDC9IZhVjQeID7Wx1dCVR CXK0F/0kB88G1reLEWkFnjoBiCPWs1UrE0AQ0JnntAFdp9vW8W/vmiArnYGhYc3vyTw3 uAsOt8qMAPB/m7pM9UoXHCK3+YHVs9yXTd+/vkkRdEN1queytVRBj7GD7fnyfwK0ACIa +pzQBM6fzyxySKx4u018UjcCrPi6yKUjSCA20vwR+JwG1W8u/98Q+9ve0a5kVcq7etYo K5dA== X-Gm-Message-State: AOAM532CGLt03Zty+YySbq7ZvEny9VH6wzD2bjkHIVeEZmj2juY45L61 Mn+uGA/4aDIi1tDWbtQX2N3h8Qn1 X-Google-Smtp-Source: ABdhPJwwp+eBBHamj7IEHvdUJXNWJ+dtW3LPkZLHTw90Ku9e0OSssdVPK6H1LSwDB1i97U8wWt29Cw== X-Received: by 2002:a17:90a:1ad0:: with SMTP id p74mr4780567pjp.117.1592489604020; Thu, 18 Jun 2020 07:13:24 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:8f3a:: with SMTP id y26ls1919733pfr.3.gmail; Thu, 18 Jun 2020 07:13:23 -0700 (PDT) X-Received: by 2002:a63:481:: with SMTP id 123mr3295627pge.2.1592489603508; Thu, 18 Jun 2020 07:13:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592489603; cv=none; d=google.com; s=arc-20160816; b=xk2u6XPjtOYd97dBh5qKHAfahusgZagHcve1WRniCVDCABIJyRnhV7w/GGfSqPgs+K gK8uuBKLuO7Cy5ylzTx+a3N8OETi1OtPz2ZnFsjZQWboPuWrSRyqK8BXJlggD52mgHA/ 8Dqm3MYiVvECqPJfYBuYjvbC9Qb0rIlA4SxPzBbcSCmfSAYqpLY+BuV4x39d6YVZln8D 1UVwPL7FVaG7pU+7s5gkripkWoI9DvOzcx3wjogrCxBOsn9bOCrtt1JVgRiWje9ybGfS zmdrKThO37dHFyIh+K5mHEbsrKb+zCtvj0fkmsQY2hd9ih4IydieHqReX5tw28BvT1iV +hRA== 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=90vwOvCco40Gnk0eJo9AhM52bhiGkQhRL/rtXtdVFHU=; b=jduZV95CaSmTNA1I4MK2HKpNS4dz/EoXx3Aq2QJSRfU5XxprGA43N8+M6TYwpeiFrm ZO0Q2G7wXPr/ZeseV4A4L8pl4SJkrml82raP+RgRCjZXbgRyctZID6jWXUAJr8omRX1o XpEYRBZI9vrpybNhCsuGLV7UA4SItepOQEUIxu/ln7eXwmrLp1BTqwsmc25mlXfHpLdh c6pbOQefCzs21XaZR19IiS1RF6IwAZ1098fJczTOQsc0c4z/eRlNe5cMoFY4+FyE4sOp i1hqTd7v2N4LmwwyVHz3c5Z0fkoGP3ApNGY9ai7jDoK8Vqhjokfr8uzDhwDokJxgcsmm yzOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VOMyn24P; 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 e7sor3779160pgj.35.2020.06.18.07.13.23 for (Google Transport Security); Thu, 18 Jun 2020 07:13:23 -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:e455:: with SMTP id i21mr3545873pgk.23.1592489603145; Thu, 18 Jun 2020 07:13:23 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b0c7:f192:869b:df87]) by smtp.gmail.com with ESMTPSA id p6sm3340540pfb.152.2020.06.18.07.13.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 07:13:22 -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 4/6] rock-pi-4: Enable HDMI output Date: Thu, 18 Jun 2020 19:42:57 +0530 Message-Id: <20200618141259.155581-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618141259.155581-1-jagan@amarulasolutions.com> References: <20200618141259.155581-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=VOMyn24P; 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: , Enable config options to get HDMI output on RockPI-4 boards. Signed-off-by: Jagan Teki --- Changes for v2: - rebase on master configs/rock-pi-4-rk3399_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) +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 diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig index 0d86fdc895..2487872219 100644 --- a/configs/rock-pi-4-rk3399_defconfig +++ b/configs/rock-pi-4-rk3399_defconfig @@ -28,6 +28,7 @@ CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_MMC_SDHCI=y @@ -35,11 +36,14 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y 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 From patchwork Thu Jun 18 14:12:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1405 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 809F23F0D3 for ; Thu, 18 Jun 2020 16:13:29 +0200 (CEST) Received: by mail-pg1-f199.google.com with SMTP id a19sf4101028pgl.8 for ; Thu, 18 Jun 2020 07:13:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592489608; cv=pass; d=google.com; s=arc-20160816; b=NKFyUaWjho6Tzef0Yd36IX5tkX1to6313OLPENu874DXX18qojtjx1mKDfZJJ44vJq go94L7wW+udRbSnOkJ6rlcw2um7dpsPmj3DcCvz4FdvSB4nLPIY2rhW8LuDdTXpBdKJg kl+sVPRIJBkvqUZOiEX2UhjtAI660b3mdXvzrPTST8oPMtJNZIaUiJ6mz2Nla0lyQZaf SXWrMH9Z7/tzwXQkXx8NvaG9+ONuy32E4N1LEwBsSfbW8MqndF3sLUdkBciCRLa2DgW/ D/AnT1JytHwu+01VhXm8r4Q7UKwxEROBtEnZgn/pKXvu/68yOucMXDUJQz5/qb8W8yBh nMHw== 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=bpbCjyj6L0S1CE7KeESnB6o6XPZ2SA7w0qbR0TWqhZc=; b=dPXXk+fStRN+OrSsP/ZBE2q/0pCE0HMKlLVU9eS4Po/MTyCTuagtpiVAfKo9wPjLtC qSFcKeAqpfQOgiQuFxV5hlUQMzR7aR1yHHxwJRxkg+997hckrHbKcOy0+eP9lPYusito IV4hbrB/+7iIoIMi98/FDMBtOKIvd5SHVZdf7XlF30UjiBS8QZYlKPr9w0WYWYkJPGsz 77pmFq7H/qE5b+mx7tIMhi7uohZ35z4xm6uiT2SE5YrpBkbdTCPQRmqKZO/9+XIpqd2m xZZSDoazxWnlqbXXJZzyOJPB08ifL87cL0qsdVn7ebIhEn4T+q8rzoEM8Fw9Q8M0Z5fA CfSw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="RH/08qro"; 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=bpbCjyj6L0S1CE7KeESnB6o6XPZ2SA7w0qbR0TWqhZc=; b=cDx2onIjqDqamgOMKtlAey2B4LOYgJgi45ghcEkQMGkDmX/hn0UfM2WVkWJtfz9IzH fFmfwvGeWrLF6gRHihSlqf1wk4BrGG7ygrDU0dro6e8V+I4yb8DN7qqoEux0EjEWOGdl MiGr1iYu/7qHJzXUvvYpprmUbvRZDHmlXuEAU= 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=bpbCjyj6L0S1CE7KeESnB6o6XPZ2SA7w0qbR0TWqhZc=; b=VmI0ElK2I/AiVQXwPA+2PvjXrC1FEL37i2NM+EWfWGRoTtUDOBg8dxF5cRfISSxZQs 5ssWQTt89mDYVb0oK8xN/N6a1a5qLc+zSrh6h5T0IJNErk3CwmfW09vIcxqUBrRBz/Fl Vayx9cokIFKTVsH4yYUnUpgXJOONpkChMvh8Rlom+UAXqxek1ExU68ijUVBlZz0mkABC o9LFDgO8yaY5iNiRtfE/h9xHPM978pEYKduA1VT8atmNHOFoXojidoWdxJUwLlY0+U2W SONDxE9YiVl/gRp/x5oLU6/HtHQ6O1vg0RyzGNLbuGkXD1fnQmw2ZcKvbBZxsq94O3lV r9CA== X-Gm-Message-State: AOAM533SMtk5IsuynndhpFBLw0SxI0AZqaSBcwA1zOTL+mr1x32+iRLr y9ROMLqM80AkbsvdP8ebG30XDnx8 X-Google-Smtp-Source: ABdhPJzgs2qktkEWPFJyJ1Sz2qLfj++LJpznFxfJVrMJOrcijlbz8zu4b+g2SnwNedD0KV/TM6xIbg== X-Received: by 2002:a63:924c:: with SMTP id s12mr3519941pgn.431.1592489608253; Thu, 18 Jun 2020 07:13:28 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:d34b:: with SMTP id l11ls2279485plk.6.gmail; Thu, 18 Jun 2020 07:13:28 -0700 (PDT) X-Received: by 2002:a17:902:8607:: with SMTP id f7mr1850856plo.9.1592489607753; Thu, 18 Jun 2020 07:13:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592489607; cv=none; d=google.com; s=arc-20160816; b=hO7VNOgqZ+WPnUBCB/k+Wn/0fzbMgsmtkeW+/obenj0Tdqq3mhen4vs+bdziyf6dlF 2HvxS5MfOeHJVxw3NAubEBQCj8MDry5kPMX/LmE8/gVKA8bX22Rp9+Dv+RBThSbOsctV sxNqU5DF8sNJAVCvd9oR2LClqGOlEeOeY8DV0k+7qKb/qHnAThgWSO9KXm2L0lA8jVzr 7fxnnAmuDv1Kmp9iuX+EbL8U80YKrLai6c0ON0gN0qKbnbyWc0eKXwSojm+GsFkBnAJv b0kKukkQ5BT/3tj+Y8BkrdWkM2buMUd8Iz7DNoXbIVwjp0d03zna3TGleEdetdeNmdGZ 3oUw== 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=3f7gYn6jD9fjt6ff1Ev21D9MzGvrCJFMXPDuvBapbgI=; b=0e/DEUAOaNZdhSr4eW6UQgScspmkGxaCMH+Lsu+/Pr+t1G2M7JfzuTbjX4q1Z7mgoX /B1SxWNVpoOTKn7pKfzm0j1PJd1q0dYNadDJHMiQb5mZ9ww+ibJMIoLnbXGjJxBlDGnJ 3361AalU9l4usK81LplK9jHQP04yJOQgE3QS7T/id7Cbkh2YfGtchycN7KOnKlPmUQK9 UfnBtDpjBXZaOqmiB2REna3GAjYlGlBfRVvAMWzjWqk8zjuEJwzotpZ/2fcSuBv8xhut 8yS1rQpzKBTcSh3jCRw5fdrhrF2H4hUIh9xAE7vzDfzd9Xi0EoIewon1rgDndnhMvcuH 9X2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="RH/08qro"; 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 z23sor3736104pgv.57.2020.06.18.07.13.27 for (Google Transport Security); Thu, 18 Jun 2020 07:13:27 -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:f1a:: with SMTP id e26mr996586pgl.80.1592489607416; Thu, 18 Jun 2020 07:13:27 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b0c7:f192:869b:df87]) by smtp.gmail.com with ESMTPSA id p6sm3340540pfb.152.2020.06.18.07.13.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 07:13:26 -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 5/6] roc-rk3399-pc: Enable USB Gadget Date: Thu, 18 Jun 2020 19:42:58 +0530 Message-Id: <20200618141259.155581-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618141259.155581-1-jagan@amarulasolutions.com> References: <20200618141259.155581-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="RH/08qro"; 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: , Enable DWC3 core, gadget for roc-rk3399-pc board. This would help to use fastboot by default. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v2: - rebase on master configs/rock-pi-4-rk3399_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig index 0d86fdc895..2487872219 100644 --- a/configs/rock-pi-4-rk3399_defconfig +++ b/configs/rock-pi-4-rk3399_defconfig @@ -28,6 +28,7 @@ CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_MMC_SDHCI=y @@ -35,11 +36,14 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y configs/roc-pc-mezzanine-rk3399_defconfig | 3 +++ configs/roc-pc-rk3399_defconfig | 3 +++ 2 files changed, 6 insertions(+) diff --git a/configs/roc-pc-mezzanine-rk3399_defconfig b/configs/roc-pc-mezzanine-rk3399_defconfig index fd1b85c1e4..7906948374 100644 --- a/configs/roc-pc-mezzanine-rk3399_defconfig +++ b/configs/roc-pc-mezzanine-rk3399_defconfig @@ -12,6 +12,7 @@ CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y CONFIG_DEBUG_UART=y +# CONFIG_ANDROID_BOOT_IMAGE is not set CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-roc-pc-mezzanine.dtb" CONFIG_DISPLAY_BOARDINFO_LATE=y # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set @@ -64,7 +65,9 @@ CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_DWC3=y CONFIG_USB_DWC3_GENERIC=y +CONFIG_ROCKCHIP_USB2_PHY=y CONFIG_USB_KEYBOARD=y +CONFIG_USB_GADGET=y CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_ASIX=y CONFIG_USB_ETHER_ASIX88179=y diff --git a/configs/roc-pc-rk3399_defconfig b/configs/roc-pc-rk3399_defconfig index 80e7001481..046fb73858 100644 --- a/configs/roc-pc-rk3399_defconfig +++ b/configs/roc-pc-rk3399_defconfig @@ -12,6 +12,7 @@ CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y CONFIG_DEBUG_UART=y +# CONFIG_ANDROID_BOOT_IMAGE is not set CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-roc-pc.dtb" CONFIG_DISPLAY_BOARDINFO_LATE=y # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set @@ -61,7 +62,9 @@ CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_DWC3=y CONFIG_USB_DWC3_GENERIC=y +CONFIG_ROCKCHIP_USB2_PHY=y CONFIG_USB_KEYBOARD=y +CONFIG_USB_GADGET=y CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_ASIX=y CONFIG_USB_ETHER_ASIX88179=y From patchwork Thu Jun 18 14:12:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1406 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 543D23F0D3 for ; Thu, 18 Jun 2020 16:13:34 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id r12sf4394594pfr.16 for ; Thu, 18 Jun 2020 07:13:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592489613; cv=pass; d=google.com; s=arc-20160816; b=z+FH2EQ2GedwEJmZJgNbc+K9fDz6yiNxDiXhSjjwrYzzE+pbaBqpePyr4KOJQPwNXN ytGbsW18zvaKE27q7fwDTJuhVmcwmK61dfp5Z7s6YoRvhgTIbKQOr+f8kYP00+nTZR4r kOREJ+evtwoGNhumtcSMzRwMAukIi6yM9wIZqeCgijQTI55Up1uNEksH60m4sdrOjVHp 94s5z2Jrc9D1ygDLVxNiGHmXsemXSGOzvZqmSJhi8NPSamdReFxwOH9j/HJTgQiKlHpP eIZHgB3wDLZzgZ4R9oYvo33J2zA3EzKrTeexi/7dSKELFuTbLN8Ebjzpfi71Xl6TQwCS YmCA== 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=jEczhwAhVow5i7ZqNVQTI9ngrETSSkePgu0nOBkLdfY=; b=J7sHA2c+Mz0TyZwKeToZIhRH9swSco0BxnfjOM1VKm8hxKY8KnSaIUD3BxLWP3XOXh QN4MfnVfUjxqXo2dGIKFjjLsxzZPGbbzqS59SWgGy+V05oMbqoAhd1AJpCPIrFRWeXlM p9IMEDUoNRbDYBkxJ4bJBMZbawGVkrIZddUFwqRTI5EXeB/OFY8MbJ5bLNm0YH6tauP1 t7ZH9625rU5tbG7F8ME4hnQt5BIMYvFbMCJC8A1YVLeAxrQ4E8q7X2k9F6JX4U2xBEsC TZmXyHzwicexPw+iKbVHgHVBa/yRj3uY72yoc1NcNAC+e06im8KpKBaF714spo4KEoSH 7vtg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Io2072ND; 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=jEczhwAhVow5i7ZqNVQTI9ngrETSSkePgu0nOBkLdfY=; b=pWfkb6L9Lk4ztds4bi+FE75SWE6saTyo2JK7ZdTY/OxBXly6PgVU8DXNjtZvHYnjNB Dah8bRn1vioks16qoJy7W07u6PDAF+r26YKo+k02+f/20L41aIeDOxpIL4L4s0g60aoA 8UDqayYClitu8dvt1ZJLR5ilfStQEvlesM3IM= 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=jEczhwAhVow5i7ZqNVQTI9ngrETSSkePgu0nOBkLdfY=; b=lmbKgrCDAyOORgT9rxkYeqRSeVqqE7f6I1sm5zLVpYCwXysUl/0ORHvQsvJ3e0p0rD NQ6yqmLkowG0ieeKDTozGr6+IrFK7kFNMC7dasCWB9HfASMlokpFlX+289tliVj/kzee u/N+9vygeCmwE2e1R+l5WupZmB0Il6czOYR09QVNHsyqQjMPbVaFih8D41JbsC0CuWJo 3OggC+T+C4KpjvzYkg0K3jvuMnncs/Ro60MTtf8009yS9b5n3lehV8OT+jcyiuGo3Wg2 ZtD5RHgPUIImq7QCiJqBap6SP0EYDml8WtbOV0eUCY8OOAu2uHedjZDblRFf9T/7dhEZ CXPw== X-Gm-Message-State: AOAM532U1UUQ/GlS4kzJAOzJbom51goOhPfmeE9BgbaLt/Fz6pzZFDi5 D/3TSAn8GeXOc/CTVSDSKgCWRerp X-Google-Smtp-Source: ABdhPJzZtYK5lSym2HfH3yqPH+qVsjcDVd1eZGAB6eAu2/7PgsFsqjDycbOiMv+gijbOtaRkinORrg== X-Received: by 2002:a63:fc0e:: with SMTP id j14mr3577298pgi.264.1592489613137; Thu, 18 Jun 2020 07:13:33 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:c253:: with SMTP id d19ls2477183pjx.2.gmail; Thu, 18 Jun 2020 07:13:32 -0700 (PDT) X-Received: by 2002:a17:90b:e8f:: with SMTP id fv15mr4730913pjb.47.1592489612693; Thu, 18 Jun 2020 07:13:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592489612; cv=none; d=google.com; s=arc-20160816; b=bbsfZBYxaNOyPiyrviu6R8sgpMOBMYzVpUvxe9y8aRmnjGgGMWrjqBUlm+XUQ8qPpE aCp9ZvU2l5Z2mFwEjcWhRliJFiWoRV3otWHGQDckzYfmitbHiS3h6AJfldSQejn9ExC/ 3oRggnqeyXV1zEFjPJcybKgOa/YCNQ1CrMOPXQQIa8tJMoecM2kmhRDQqyipPVLVZZwK NwQVDvt09D17WLbSPXoq6Yo7YFkNgWEouoV9sbtmqJfLZtFrlFsGO95VctdVwV9AtTWR tqaYMYcJ2+RaVq1kzeu1bXd/8JhixGXGGDQb6InETs1hyPjkv9Vjd6KLPgQx7hwEc7h0 k4NA== 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=aXo79YsDlYiUwbb10I7rIRjM4i7XWuzplBzXYRC5D7k=; b=PI8fhS04k8BGer4yfFJ0iRJ9x3Qt/Jo2nD8sX0yx7Z5Fh2k62KmjXy8cQQRe/gLYnj ePNQD9LbrWX2lSjwPKk6lxIzSOGXukM/laeMzcdMQTfXEHY1fH0gOyrf5LHwsYPcKUfE 6EFXSfrzG2DAiKrL/5UFSAU+9Mwqu6Sz+fONfYhgoEiFFY3xDnIyNtr87C8leuAeA8Sx S7/1Fj38JYtDZZ0DjUw7L5L+JLsFW7RIFHVvPCoIMCuv+3ku+2f1u6TLJTG70cdLg1u3 WEi1nM5xve0z8Rx2EbjJw2jhTD4dZKTCKnZiiAarC8azY5nbXvO2BnozQhnsahR7mI7J oJKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Io2072ND; 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 s2sor3623964pjq.38.2020.06.18.07.13.32 for (Google Transport Security); Thu, 18 Jun 2020 07:13:32 -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:90a:dc0f:: with SMTP id i15mr4315734pjv.221.1592489612365; Thu, 18 Jun 2020 07:13:32 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b0c7:f192:869b:df87]) by smtp.gmail.com with ESMTPSA id p6sm3340540pfb.152.2020.06.18.07.13.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 07:13:31 -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 6/6] roc-rk3399-pc: Update ENV offset, size Date: Thu, 18 Jun 2020 19:42:59 +0530 Message-Id: <20200618141259.155581-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618141259.155581-1-jagan@amarulasolutions.com> References: <20200618141259.155581-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=Io2072ND; 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: , Adjust the ENV offset, size to fit into all images on 16MB flash. Signed-off-by: Jagan Teki --- Changes for v2: - rebase on master configs/rock-pi-4-rk3399_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig index 0d86fdc895..2487872219 100644 --- a/configs/rock-pi-4-rk3399_defconfig +++ b/configs/rock-pi-4-rk3399_defconfig @@ -28,6 +28,7 @@ CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_MMC_SDHCI=y @@ -35,11 +36,14 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y 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