From patchwork Tue Jul 7 13:50:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1444 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B80953F062 for ; Tue, 7 Jul 2020 15:51:03 +0200 (CEST) Received: by mail-pf1-f199.google.com with SMTP id v25sf4751503pfm.15 for ; Tue, 07 Jul 2020 06:51:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594129862; cv=pass; d=google.com; s=arc-20160816; b=udT/AgPLGtocvZIVuOfeEwPlDOFXU0q7YKYJtIxXV1f5utFQdajvWpaGRox/NHt7AF zRElSjbCl+BXNzXyQ3LXdGr2i5DTXVhbnBWtyXylvD5oVqZcdHW6Fe4DHWrPlHl79E+K UO1cLyg8kJ+STlpUJbGf4dymZJCfSYxkfwPfq8cIJJPkJ0AsJbkwsuUj6l819h//5T6O k4lgI5gA+snbOAsLPGCFP5ckNYNRfjnUaFrtiI3TDIIHRXHiYjFaUqqyJVL4rQ692L7C BhxNzNikfr4L1fdRJWsCyA5eWExNI3X89hO0S/80R0gn4BZMLYICt4+JYvIK4neVruym 6V6w== 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=LDKTlmw1B4Yv/rdr5hiQutpgJPmwKZD4eVZRCwhBx58=; b=urA2FAe7gOQ9NEfD0ZMTfoGgA2bOak53xkGeX514G4u+qGbmn2e71LatE7VKrNrdjr 8mYIpagSlWUcgidkygYdgveJLZjsOHYdYZFLf8QUy7oD6Inw6XNpbhKuakqRw6nXmqC6 KZT0aD/ylbIYp3I/CPNooVGQa9ZRvxwsOvbNIygkeoQ1j3Tlnzv+TylfuZZ+t/uE0cbn /nIjW4+U12TsRsXF6mhmIFhFGVp6Ul0MY6Znuwb9sC9lBn9PMn8sAt/VSceMEsS7uQA4 RZKOl49Jaw4RQW8NpVkfaxu0IZaZWGup1DXsaj3tXJKKho8kofHOegDNXPT+XaMSMbsu 5H9A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fAqdBECC; 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=LDKTlmw1B4Yv/rdr5hiQutpgJPmwKZD4eVZRCwhBx58=; b=r5ncDyWkLKCgCsJG4/NPNRM9JdVaiBbxzd19FjWoK7kfrycCM7g2cYf4NIXO6puEKA UYx8eycmqT/E/Y+byO03tN/XBrboPHUMJ3VDhvJyb+kLSsZTrTYTlO4ht2fFsGgrkwcq ox0K/oLBsNimjztx3DX5BR54I96MlDyyrds4s= 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=LDKTlmw1B4Yv/rdr5hiQutpgJPmwKZD4eVZRCwhBx58=; b=QZ7TgNGWjJzKhlPa0T4Feok8JpSGQN+xCLPB5sWPB8FDGlyUJMrnUAXJOuyR7mdWum DAm6yrerx6Ex8FPvOG1lGFvgupwOLESNxzi6HWSuLKzbRnoK9cv0ewX764L1C4MmQOMK Ed9KwsC4R7f8i0TaGqNP5wgtSri14gumHQw8e65GpX6prHsUtz9RW9uCOy55T/9lfk5i AAQil/SMPg3ktnT4CK4igkJwBq+eAm3W4BXfVMXLw4c/dGzB4nTQIDB/7cUkK3HXiKoU IuAEANG4tu6autzLFizF+svgLNXJpTfaDMGA8qaId2NRe3xUiQh1QU+8JPVm+GsOOibt xqeA== X-Gm-Message-State: AOAM532pNUi94LmfaYoB3pkIcQoHUmjSGMHSqfLR2ry5sdYgRyA2BN/1 +1areZ4nhRRC3tAR1cCz7P0Jxodh X-Google-Smtp-Source: ABdhPJxAun7dAEDPGmfS3rhzIWIvyJg6FWXZiA8d/d7x6JdMf5AtQ/yiEagJJZeARTOZOK4+uefGCw== X-Received: by 2002:a62:64ce:: with SMTP id y197mr27307292pfb.19.1594129861824; Tue, 07 Jul 2020 06:51:01 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:d917:: with SMTP id c23ls1507922pjv.0.canary-gmail; Tue, 07 Jul 2020 06:51:01 -0700 (PDT) X-Received: by 2002:a17:90a:d104:: with SMTP id l4mr4499214pju.65.1594129861369; Tue, 07 Jul 2020 06:51:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594129861; cv=none; d=google.com; s=arc-20160816; b=WqGXPOpYS+USiA/MRKIDRYYOb0YyPhr1xk8qYkA1J/6TXv/pyl0uYqfKyVUGVM5SfR nOcZTq1sqniyPXFpjMpx/vm5YpynW0h9565QCwpTEEMF+7zXNLYm0M5+esuO8A3azE5T csNN69YvVqzXXk1xxbqW7y7p+7Tp75zMx5GTcw67NFeRHL+lB1W3tIHb5MoTI2+shE+K fn0ZfyEh6a/29AcyRVoRYds07N26X6O+sbR+fq048Ea22g06LzMVkuyd2edxWaAsmUdX 70kamHso1VnFyOS6k6m5Z3Lq2qMdiwKOEDcF3XHeIJCM0/4W5P6wJRcD3zXPMJuVmMLH LG9A== 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=OcKDQszk38ybVOVud7KGyYFhi2Dy2zveOyRdVgXykZI=; b=H7y2HOXz2op4/R1XlT8UAI67OoA+csGCDwDkIglY98rB8HDlI9Pr9pTk+VvjuIoTt3 A7fNMuv2tCJ1RTWgvJ08MlumRMrsWJQx5PEGaCp0I4Ase6cxnRb5mJhdZbWBwEQaSj6A Ns2mig4t4GcnNytsj3KBKbrzyeAuf/eIBgDRf9S6lQffbwqaKfrXE9TnInnBfOFz+yPf EQ6eS4jtQoLYHCB6qQmeodnJl7m8SsSNyd14ft5gyvFaAO5yJ82XZLrGTChmnBA0u9xo OhPrr3IWRlss4PSzRXh7t0HRhXIMpKvAh0thioin7KxOIcn/6E1zvdjswZ26EnIgz6hj lHaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fAqdBECC; 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 s26sor29712344pgn.20.2020.07.07.06.51.00 for (Google Transport Security); Tue, 07 Jul 2020 06:51:00 -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:a65:63ca:: with SMTP id n10mr45749455pgv.252.1594129860294; Tue, 07 Jul 2020 06:51:00 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:11b1:83c1:7d95:bab3]) by smtp.gmail.com with ESMTPSA id 73sm22980495pfy.24.2020.07.07.06.50.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 06:50:59 -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 v3 1/6] rock-pi-4: Enable USB3 Host Date: Tue, 7 Jul 2020 19:20:44 +0530 Message-Id: <20200707135049.9521-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=fAqdBECC; 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 v3: - collect kever review tag 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 Tue Jul 7 13:50:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1445 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id DC42E3F062 for ; Tue, 7 Jul 2020 15:51:07 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id v15sf32523677pgi.3 for ; Tue, 07 Jul 2020 06:51:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594129866; cv=pass; d=google.com; s=arc-20160816; b=SAu9XBFohoLgDbMITzTUKoobWNTUwwhUFECTMRrIfIL+P+eWAptp4TADj2VHEY2aT/ O/utOGza7KtjzrGXhVVTdwzu55z+FWKKsXNxxn7vsdH3YwScciDXx4q9s08DwIdI7K50 UihS07Nl163MoLM3KB0Po0O/DgC5roHCCKdC3wgtaP6S9wjUwptv9p9PPfs1X3R0MENW wFHAtBwxYTNk1J5GX/CPy+zQ5l1BwgOaTKnTxwQlValWv4SqsmvHM2Xyg605q7zmDKb2 P8+5YXrrLVmnCCsYVpWs+RrQ8zeNRAI5tDHstXzSMGivc2jlIw3zULA3cVA10EF0+J+N 8B1A== 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=1UP7DW91CIwtQjDdLDJYx1FAaECtNHdQHTqfhnLaVJM=; b=FQFPyjxkZndkgaY4X1oBxAlap8lx4ZAwASh/WLfQKNWAWAMPoo3Myjmd6YAij8S/sY ZpUCyfVaCCEApDSpdZGTqVUsj3fEX3VpLor8Rvhra7QO3aVsbIkT9EekeZxpenXSrfAN jZqBxzb9lKRol9mm8uULCD5EXk6LKfmIxe13LYgJxHv5HfAMnHPFNV4XRVEOK/yCE6Dc t1hLOLwqAOFz3KUxZZqA5QiqHE3woVhkVhgUelxD2guWjyIwvrwJ1QqXC1PiFkMt665A e8QuMiF1znLaK8UJhqcYFrNxH4Q3sxBTLqwdvKz+7L5sTERn3qnyC/5NU2uTj/KiAeBb 1gyw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=g+f+97Pl; 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=1UP7DW91CIwtQjDdLDJYx1FAaECtNHdQHTqfhnLaVJM=; b=Uxuylf1svaB/sp3bT36GYntKgCaTZhpT2IgrP3Ls0s8Td/7g0Q4ERu59Pg15a+GUzI Qj0CaVre4zBjflhoh75kEArqF32zKBjITXpwnUMH3/nAKW3+n9VlShiDWfWSuiATN9+B k2o80IjufhjvNca4LelxacUOzuPoyeEjhKMcg= 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=1UP7DW91CIwtQjDdLDJYx1FAaECtNHdQHTqfhnLaVJM=; b=kNd40ldxqNEdzD6sVW9w8EnCZeP6BMM487przeeNHXasJeG1nMV9yAAkdTaZvIsCj/ x8jXtGZrV/0kphMPCapYipq+qeRiG9Gy2+uOf+iivtH0cV9pK7lP8PxYZiD7Cb1GL+R7 ZwU8EpkNfWSaSEvGeYhadNPax8A87prTxzMmPtf+UrDn2srmRORxOmbVQuLlHWZHnl7+ uBN9ACMQuTd3s40ETg4AwlFvWc9BhHyFAocZRxoTOhqJaQr3d6Yga9Dq6KRdi/vT74FX wQE9HKraS2A1DPXoX1KyJ2Mjx5j13UvDEsAfvMLDoHSzfJe98Z4QO9z/qt2fGLE+OxPy /ytw== X-Gm-Message-State: AOAM530CW0lCaPCWjovM57GabJZTvA7fqaAOK3TwiwxFKKJznffZ4cCf fJiOA7yVyY2hsyM6jV+mwspmlJ+X X-Google-Smtp-Source: ABdhPJzPZ85i6hl7cp/wFBjKSY6Df8UezUuvvt+oIo2bPUl1FpT/zNsKRMHIFNfWdDLiABMDX5FKiA== X-Received: by 2002:a17:90b:1b52:: with SMTP id nv18mr4677447pjb.129.1594129865416; Tue, 07 Jul 2020 06:51:05 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:9798:: with SMTP id o24ls6131571pfp.0.gmail; Tue, 07 Jul 2020 06:51:05 -0700 (PDT) X-Received: by 2002:a63:f91d:: with SMTP id h29mr44615404pgi.185.1594129864992; Tue, 07 Jul 2020 06:51:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594129864; cv=none; d=google.com; s=arc-20160816; b=w2Ku80UZYi6epzAhfeHAOBbca9BH4P+7OdOpXg/gCkw4QghJZnpOft8lHtNSJl96iY HXfosqGKh1Mr3WjsBOrDoHHRs/Ai19RpMFDLi0j48yv2TQpqcBVi8BPlz5KiwL32+MS0 UzY+dPsD9FZByh2SdANrCyRgjM9gpWZnbWNvvs036IHJsuKGtNPn8Ks9Iq1CCJMJdp4O hMYl12nrn18EAHp6dDg5zLllYYn9eEkky697aEt29b65JLynjfMryU86acaAqM9HeIHU HVSLufqIZBKG3hYLnf37HbtvWZXlyZTa4PeOHoQ9u3DTGnKc/Bj0jNEj39I1Zcu2Qd7j qZgg== 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=51d4v7u6qUCsnLIzAlZ6gMPyxBe3jmcotgtEKWp8NQE=; b=VGeXedUw+O93B0F6KIj0EjHIHnhS8JQUGwYXKtW1Fwpdn98AxyrxTB6zqKMzVEVO5Q bFdEhRHJrxm7aeS9U55OfJmO53OciDATKbqNl1XmE7Pz6cjYJxoN+C7Gyyo0mG/ZtoaU lzTOZGZZKFU7wKW551BmF7de7vsdnorUmVUFg7Oy7unkZU0YBfzJDxAHbH0SxfkkpAUY cVlZJemchNg4JIFPfyAp+k6z+iTYMQn0LqfyvGi0K0WCLBG+HwBTEBS0ad4RV4Piou5T QIDDG+AXvfVFtqwZqHStB6ut/T6YOOrDdVWywSlj57VcNH4kC6zMp9HuTQzijZLUihXh o2Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=g+f+97Pl; 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 be9sor3975097plb.70.2020.07.07.06.51.04 for (Google Transport Security); Tue, 07 Jul 2020 06:51:04 -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:6a83:: with SMTP id n3mr46047568plk.42.1594129864420; Tue, 07 Jul 2020 06:51:04 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:11b1:83c1:7d95:bab3]) by smtp.gmail.com with ESMTPSA id 73sm22980495pfy.24.2020.07.07.06.51.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 06:51:03 -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 v3 2/6] rock-pi-4: Enable PCI/NVME Date: Tue, 7 Jul 2020 19:20:45 +0530 Message-Id: <20200707135049.9521-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200707135049.9521-1-jagan@amarulasolutions.com> References: <20200707135049.9521-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=g+f+97Pl; 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 v3: - collect kever review tag 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 +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 From patchwork Tue Jul 7 13:50:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1446 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 087323F062 for ; Tue, 7 Jul 2020 15:51:10 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id s1sf5166712pgq.10 for ; Tue, 07 Jul 2020 06:51:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594129869; cv=pass; d=google.com; s=arc-20160816; b=foRiafrC91Ac8iK0JGdS3H0+nbo4+75FAtb5WF/hUJaKgwC8me4341o5lKVPiF9rZ3 7qy92VkxyqFDdkyioZvIsRPuKdAs/JqSIaC+xAQs3niLECaTv/HHYOVTaVM9rgfyTfNK ZP6YywM9l6JVIlZOvLZeThBwsI1/QUP2BApygHV+jf2dOTjApWgLmE77nJQvyHc0nKgE LuCuW+ABZZ169kT82pWtqz+t1BWarxMopnr89GY9RdMW3f2HBAn2r7GS1P5Cmfi/GAZ5 GWEpLHX/FfRefEUgK/VfFf2fah9oP30bEW2NKIo0aB0K68p5ThiT1Ql6+40DG2DzWcnR co7Q== 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=d5IY4J5PKWJO/tRuFIun0CmjFN8w7GIlYXlkHV/LNFg=; b=ZakPwZCuVL2jxYyb455Oy4tAt1VvvFXf7qBNxAEKh1w+V9EyBB4dciw4omoYy0ZVrR MJcaMYz/mc3CUGacCE7SuiGQACzIDYppqr5d7xkPc+6z21fMOMWoO0x/WEVCoSLRbQdA +WZp+jFStH+SwBIAGQrjDiKjaSVulAwLi5NQJdsCw7kGDt6I/6bmzLS9fe6AMUbPEVAw 9SZLNrOIea27h9m7WCdnJUYhpXWgPj94ay+Q+SR1P2lNmPgNjNDSdMBCsuV82dHcMtk4 VTky1qcLSqf0jXaZCq+HRG3iBFl4VV1pJmHyKSR3YZpwr00co2tnjWubhxI+EejiALeM szLQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=icJXs0jg; 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=d5IY4J5PKWJO/tRuFIun0CmjFN8w7GIlYXlkHV/LNFg=; b=USxPwQy/C/FuShUvVJy1fV4c6wXWI477i6MjTQCX8aeBij8T+k021TnLSJWELi8Kkk 4KGWZfktmaNRrvsDw89F+KSJDfysBC4I5ABl4yiAPaBeRN1aUaLrktdXaVot3l0JOWNL Re8ealpLCLiu19EntrO/qIMsj1anqiWE7oIm4= 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=d5IY4J5PKWJO/tRuFIun0CmjFN8w7GIlYXlkHV/LNFg=; b=tV+WI0rGo0cU9+d4YiPMdNiEl/Mh18PfmrisY0le1TUqTa7Di7tihYki8AAJZRQQE6 OUAj7azg1hX2QRuNy8aZMgoGk7IZirsgkRdskF4QczVFk6yaYOGJya96S39jUoZQthld 1BCC7si3GfSplJgb41JjFpl2ReargdP39VE3bDnxqta2EWCQMQHQIWXVZ03JTgKyOINY TiK263GpAkbQh8G226/nu/5hNKfHme01O+DCRayyRfQyBlR9pPM5w6vcgYaUYvxW0ovq rA5ODd2U0R4o1DEccw5KD50fbjLcF9k9c9dRs4t2nNI2J5t9kQcKcwlP99LflDge2tE1 wmUQ== X-Gm-Message-State: AOAM530Iqma1iKvzOTWL9qV1EQNSxClqSSs0J4T+o3kM8z6fVDtzSuMM LqEqjRE6cJjQlX7SoFSVdJ7rknBn X-Google-Smtp-Source: ABdhPJxbmoM1AT+Z1YYw7FguTqjeq3eWEQuvvC1/5FGVBO0ENrHj5O5rxzHrE77Y896DYJs93pDfow== X-Received: by 2002:a17:902:c24a:: with SMTP id 10mr40631709plg.82.1594129868528; Tue, 07 Jul 2020 06:51:08 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:8446:: with SMTP id k67ls6118050pfd.5.gmail; Tue, 07 Jul 2020 06:51:08 -0700 (PDT) X-Received: by 2002:aa7:9630:: with SMTP id r16mr44795278pfg.144.1594129868059; Tue, 07 Jul 2020 06:51:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594129868; cv=none; d=google.com; s=arc-20160816; b=KJonWOAjQNoOZVv9V7FpBdceb6AQ6Dh9343D+LKJUgJx/yg8MduMlkXRzG/n3XJKzA Q9OJNyHCR1/EHZkSMqaFmaBFwZQirwFae3SYzCcJPEC1+o9aEBp7+QNRgOdjQg2cj981 1++60iMC/Bb6JHnq3Sy4Iiu8TRwwrvbHE2kd8I1FPKfF1ebjlxk0Yn8aeOoTdDFicFVL +LIXhCUFSIWs9IO7iHrHouI7ZmhsSCFDrsxWEdvN1ENBdvZR1HSuPCTT7Wc0ShGZiA7Z sDLB7cF+WACSdiSr+35Dv28acAcOYvT8lFXxwc+qbOcIuaOj4S3vzcbnAeaFK0bBRnJf wqJQ== 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=ZklUhPKXUi8jNXq7qrID4uU3s+n83RLbPThqzwemmaE=; b=yb/o9dgVTCc33JLAu7i0ZpRsmJ+R1k8xTq93+2zRYb5Z8o2sDx+RSxeRoieMUeGu1m 7js3S7QPQ0ilQzRDrehgXdlK7p0xMth9H3P/MnluamLaDzSUIk1FIUAbLmvCkMsiHvpO pZLHYIQwm3AeoXFuekXaW2ZkxDqCvT5xemvWP6MZh5zys6xvJu+T67RdTwFK4/EgoGuQ +8RbyPBRhFLhb1nOsQomhzEfOkVEJiLhM/uNQWXRQHL8PuwUOd+3QirB5Ma87vL/T1Go m14sfym4pw6XiKnXXEeXazOlUa/7nzgPilTlV6dSg8P5wx80NjGBYIWIlECBVq6GrmZR SCQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=icJXs0jg; 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 32sor12103652pla.2.2020.07.07.06.51.08 for (Google Transport Security); Tue, 07 Jul 2020 06:51:08 -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:a515:: with SMTP id s21mr38535139plq.192.1594129867764; Tue, 07 Jul 2020 06:51:07 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:11b1:83c1:7d95:bab3]) by smtp.gmail.com with ESMTPSA id 73sm22980495pfy.24.2020.07.07.06.51.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 06:51:07 -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 v3 3/6] rock-pi-4: Enable USB Gadget Date: Tue, 7 Jul 2020 19:20:46 +0530 Message-Id: <20200707135049.9521-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200707135049.9521-1-jagan@amarulasolutions.com> References: <20200707135049.9521-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=icJXs0jg; 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 v3: - collect kever review tag 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 +# 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 From patchwork Tue Jul 7 13:50:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1447 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 9FBAD3F062 for ; Tue, 7 Jul 2020 15:51:13 +0200 (CEST) Received: by mail-pg1-f198.google.com with SMTP id e127sf22450001pgc.2 for ; Tue, 07 Jul 2020 06:51:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594129872; cv=pass; d=google.com; s=arc-20160816; b=qKqHQUgDwzDtrOqeqaMvgtb05nUhZRkhMSt3MjLL3nJGqSaGlnpFTqqBK1KdyPXc7O MmWHVwh8yCC3lLtt4DfnWhi/N8z+CZZanRnAiU82p26GxpTgHVqT3OSJ0ppLbpddV3GG Yat/1rwKBh+1kISzrCk8SDQrZN2KUo6s/QzIRFG7kUcsWQ6y/I5M06YUXtDravtHqW7F ZgNSQ2lIMj35d6DcRkGu/v6COjyjTxSCZ0i5dPoZYWQBXvZSRn151WUbKaKCxC2u8cKT FTA8mFmF13Ycvuckhqeeeu07EFiMaUCJ8+BfUoSXIim6Rs0xSr7xK/X1qEsO8h0CY3sC ukNw== 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=y6v9hiAgGbbP6MfrOgle9V4gt9rNk5SuCezTZRyNNaU=; b=I3j3o8lQIjIqwQ7kkncwpZVdDsqvlHA1s663u3bxSX/A8o+4cXjAum7PNVQGoanlva KwWp8ejL3V3o4lBUDMlrQmIXavnQpxyqVYWxvjTE4PyqqeBnzesMDLJFVdKH+v8VGS4A DoerXoXTs0x77Qg6sAZAAWmVy4ApPhDLqb+kFXF4OCxiTxSJhc/vRskJF6FYc6H6DZo5 WnAGjeaD2x1ERl/NXIBEQfAkpeRagQNs84GBCK8ViI4+LMSeG29kcoE0BBXyJbWzk4a0 oGrOqc878ZnKlqFJp0QWJ+EuszoURtcGbONMm7O/4CQ+njJXcvK3y2b6PLUsxYpF88U2 FoqQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=C14pNviP; 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=y6v9hiAgGbbP6MfrOgle9V4gt9rNk5SuCezTZRyNNaU=; b=Kf+Tbl8QhjXsl1azIACdkz79nXrgXWTdbT69t9PU88wP8vrn+QHpdoBD8NX1YNiB7/ CxMBLbc4gap6Zu25DmHpuylYCBv036SB8XK4T+PJmICp4NRXsuTGxZypAmi8X7MOEIVy TPE64vaQq+g4wgD/dXepONlSqf3K+cWloOgfo= 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=y6v9hiAgGbbP6MfrOgle9V4gt9rNk5SuCezTZRyNNaU=; b=BDJ4uWp1qbHfXhIkfSWFFOH+TEbgUuqeiDGsw4A1tz3dS4aGi6xqVHwYTdtjV5Nx2r CzpNMNr3RKae4R+RoxQCjNcNC68pVkHldaRVjs4kzSX/nSktpZOajMxMSZb7ZnAZHS8a GBY1ukrYJpsbI0Px/TqX3uhclWyd1+fZdirdvOSKr/3HL4chPqDbaaL29z0t2B52FTbh LaBHlolvYQU73WgUtOSeoTcbZrbgzcRQPc+d8rU8aejbZe94qXQ/abNTZ06E4lFwEq8h DmQx6JJGtXUUoWYqA++TB0DlMcEcfTH40PNHXpC4bfQ1QrDIesrCJ77JNBH/BEynMCmS O8FQ== X-Gm-Message-State: AOAM531V+LNIwkRO5W8OsQniuCxCs5WWJO//pgpU7WHfQNxhf0ZOh3yI bVB7n9SXVCo/+Isn+Am3xtRHTCD5 X-Google-Smtp-Source: ABdhPJztfraxMkfbplqHSSxyPnmo8r0HzI+roLS8Onw+SPCgjdGwJCwwqsUp6QITYh7IMTxb0xtXJQ== X-Received: by 2002:a17:90a:7805:: with SMTP id w5mr4737569pjk.192.1594129872457; Tue, 07 Jul 2020 06:51:12 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:658c:: with SMTP id k12ls1502107pjj.3.gmail; Tue, 07 Jul 2020 06:51:12 -0700 (PDT) X-Received: by 2002:a17:902:c402:: with SMTP id k2mr45596847plk.89.1594129872008; Tue, 07 Jul 2020 06:51:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594129872; cv=none; d=google.com; s=arc-20160816; b=K1rDw93eAn+oXuQvtUeURwlxor0igHZzi8af2CeC7AA5uGOXptNL2+608YBxOnhjpm 8QACuIdxYMOG0WTrRTtCgcwjo57DAtpMT9UjJgrq9RsJyVFWRtkL+o49SYF3YOHCbrmA IILh14qhkFdvJ0ghqz9dXhx1xzcjtxN7/FagAVq0lykpsZgei3rLCLUKNBtEhQ7l2LzO SWjdwKm1ibiY0jPepJsxweDofI/+3vGAb2Mn5KjWBPcipOqYn+2r9ScZhSteqkuYG3NZ vlFFvAvmuKU5ZeprulV9UL/seYwiH+KZLkgFsg46QqbKSEZ31du9bRtE/lT5l8PjOOyn 5yRA== 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=iFC1+uCp9rs00HK1PxPOuS+r6HkfCAjyp/N5un3y0Gw=; b=JIBJJ4/s1f2EpbqQG5zRajPK4hkvwLJ6aQVb9Hf3JUg8dEXXrb4izAMdoOeSAGFRi8 BaPVJmZtENg+XtoZA1EyDJCUdkChC5ZSX66e8Fhet3hj6UDFnCJ4HTQHLtbaZ1vJsEsN Wq7QYKQrTC+ENdLppAx8wV2PQBRYo4cmNptHi0mn8fzBX9gHoyg3i6hZ4vILRQ+9C9kg qvDq1o19p+op2accNsS8R5CT/mAnD4tXyeRDFNuBrZNosLCO7pn28a8sOOeNTMES4Hn7 F8ctNyT9vV0FamE0VI2M/3qlY5qe+HT1nCXBqgtly+FLVKoJju4FtYxfSUPMtx/Etbfx KrlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=C14pNviP; 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 r30sor2757128pga.28.2020.07.07.06.51.11 for (Google Transport Security); Tue, 07 Jul 2020 06:51:12 -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:9247:: with SMTP id s7mr46444266pgn.355.1594129871701; Tue, 07 Jul 2020 06:51:11 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:11b1:83c1:7d95:bab3]) by smtp.gmail.com with ESMTPSA id 73sm22980495pfy.24.2020.07.07.06.51.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 06:51: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 Subject: [PATCH v3 4/6] rock-pi-4: Enable HDMI output Date: Tue, 7 Jul 2020 19:20:47 +0530 Message-Id: <20200707135049.9521-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200707135049.9521-1-jagan@amarulasolutions.com> References: <20200707135049.9521-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=C14pNviP; 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 Reviewed-by: Kever Yang --- Changes for v3: - fix configs 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 From patchwork Tue Jul 7 13:50:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1448 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 50ED73F062 for ; Tue, 7 Jul 2020 15:51:18 +0200 (CEST) Received: by mail-pj1-f69.google.com with SMTP id i24sf25169483pjx.9 for ; Tue, 07 Jul 2020 06:51:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594129876; cv=pass; d=google.com; s=arc-20160816; b=eXEP7Gq82M1BXdTKrR0VsGmS0DLk28mdHoCPkdRyTkvhhW43bjZ5l/PeKKv5gvfCgZ Pdva1GP9/Ypit4JLJP2qJF/Dftp8OngobT+Y5SNFQa0gFFvD1O43vhxRGG1Vsre6mplD lNbfsK6wMKOGazrxDUrrnQwK9OAAt6leItSdAM/BUkXG6kPuSfltfqYyq4NEDfb9T0F9 a9Z8hACIULAls/xeW0W94oHkiglQ6G13HOBPyg3LZg5DYUAfbaAqvH4ZSKz57OilKfp0 KSRaH7OtJh3m3ABb46xat0BwGI18hMOuVb0/UYjFBPrqWbSRcLy+bKZYogJV9oIfCO+0 Ng1Q== 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=mZYbxLU4UgxK//KiadKsuaPKH1b/t0dzq67MiMqYJE0=; b=J7q6tBflFdcdN2/rXv6j0yF5T3faEef+q8xTSibHlaSd3fUy1CaKyuEplkUojEFtWA nJTCBbO9F4B3Kk+Gg5oz2g/HQzbZx/u8pcfEQzZNVVTrdOTh5PCounUv0M19ynGBkTcv twKbbplAnV8PwKiyG/2HrGU8wtVAisXw7Ykc6EpVDE36AwxOFmg8lcWuaXcpnINjOzlW shR6MLVMVtyII2PwmjZEltWZ2FfpI1wJxU1jXmAxecrnlI4H0hQ0+IsxHVxq1EeT6j0S 8cDAlIH1qnw7YfGEu3QKrDOxetKyclPFWZ80cq1IdQcGC0PrH0hkdQOdgbhOoES0s3j0 Alew== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eaQzIk3G; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 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=mZYbxLU4UgxK//KiadKsuaPKH1b/t0dzq67MiMqYJE0=; b=ht4uUn/YDmXU6PP9/CHobyUY5PTR9An2VbxiQL9XE5T5+Cge2pvtuJLJxNFurjh3Wn 7I+w/KGyah/MetYkYIB7q0KcBsXTaGBAN92NNkkZPmpfVkdpoCWeceH2ui5GOjuGWgDA 1G6+JK+qxe0AZXbZHT/oz+sOyO2MNBgjRLlsU= 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=mZYbxLU4UgxK//KiadKsuaPKH1b/t0dzq67MiMqYJE0=; b=n1ASW6hLuETAqfuYeT2Lm2NBUUTRcdp7LPd3FJlnxeGm8ohdguVux8f5/cVM9vWQfx 6+urFSQ6dq8hYJupq7qKizeWfNE5iTftZYJ50NCV13NurSXK8yePn+fB75X/8YrZgEkH EGUbeswdoqYVIWPBIfhOLgr2x7FDpAcmntHxtexAWJA1IdPNsuMzKPy8NuKgwknpyRHx dlk8fuRkZBCv3cvUKN2jqwcACzrqUrfm6Uz3InyQdE6WHpeWAr+Nr42cZjxTzBzS/jvC o2WVkzOr3/y2nVKDuWrNK0NrvaXrYblm6QnP/h8qy69dqMcF4Z+ZKini2xBse3HP0Vkb HBow== X-Gm-Message-State: AOAM533MMKs14JtSDzy76n0ZFb59g+jLBaHVTfSERXq3gtd/NatNqkLE 1lAXejJWuAWa5YQF+SiYZpVPeK7J X-Google-Smtp-Source: ABdhPJzVaCi5HWuzD2Gg5qskz2qNkpxTP7TKD13DwmKSNfStQUQdIcT5NMZ3DePl5epDdxOTEAIYTQ== X-Received: by 2002:a17:902:9f93:: with SMTP id g19mr43760883plq.314.1594129876476; Tue, 07 Jul 2020 06:51:16 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:525b:: with SMTP id s27ls4482896pgl.11.gmail; Tue, 07 Jul 2020 06:51:16 -0700 (PDT) X-Received: by 2002:a62:8096:: with SMTP id j144mr50380006pfd.78.1594129876008; Tue, 07 Jul 2020 06:51:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594129876; cv=none; d=google.com; s=arc-20160816; b=RXMS6ILphbCKE5mDa2pH54reVyhVpPcR51n4LuaELqbE51Xh/5TVVQEXFNIuskx68Y Wb4vXlovE6T0ehOphyLCZj8EoPbgRR73BUJr4WXEW0z11QgEeYnOYNMH5ewfKtB+04x7 khqkdqGqYkrG7n6w0SN+YSYGTenldLcDcmopmN97L2UoSTx+jKb9vT7IBCirA97ruQG9 sEuvjY3If0e2FnUnJBuv/MMmNRx4xeJ8ZnpHbRkgchioayzm9vo05An0YuOiB8FTzhwY Y6WBZaNioKgS8t009omgc/Sn9YffKML1b8edq0oo1xs66+zGxVpj8lod3Y/pDPMin7aa Wl2g== 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=570L8wHPqY4gRv/5g1wc7q9ZAEAdwqWu9R9tzybHuTI=; b=zDL5hs+fCG78lWdPlkDRuUoQhydK1TqlJNBL96v9A05a9Vh7K1MPaFaKf/1C+niJvL N+eTd9ZTJL7F/16vCT9myM5L+yP2pHvRhQ5qVzm6E3deHEw7eAN16pWnHCh992S8/nzo 5qkczxcW9nUa3PbxRUPV7BGL0v2ICC+i6HbDkBvIAJ3WtNm5SGxmaZlJRTwJBB4pOXxh Nmi/VkXsoR87uwmQfIFulj09Y8zB2fsmMVPBLHJeORJdb2SgO352gdUyNgIah/ZTLCNx uvT4vqZV4RIN5VQm6UyRB37MrvirU+2EWu9SecJlf6jZhcKtJKabOYVZCKwtdhpIGGYY o+xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eaQzIk3G; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id d9sor29208944pgf.77.2020.07.07.06.51.15 for (Google Transport Security); Tue, 07 Jul 2020 06:51:15 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a63:2e86:: with SMTP id u128mr24873346pgu.228.1594129875735; Tue, 07 Jul 2020 06:51:15 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:11b1:83c1:7d95:bab3]) by smtp.gmail.com with ESMTPSA id 73sm22980495pfy.24.2020.07.07.06.51.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 06:51: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 Subject: [PATCH v3 5/6] roc-rk3399-pc: Enable USB Gadget Date: Tue, 7 Jul 2020 19:20:48 +0530 Message-Id: <20200707135049.9521-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200707135049.9521-1-jagan@amarulasolutions.com> References: <20200707135049.9521-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=eaQzIk3G; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 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 v3: - collect kever review tag 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 b3c8f19e43..b2c370cc59 100644 --- a/configs/roc-pc-mezzanine-rk3399_defconfig +++ b/configs/roc-pc-mezzanine-rk3399_defconfig @@ -13,6 +13,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 @@ -65,7 +66,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 edb327b46b..588d03952a 100644 --- a/configs/roc-pc-rk3399_defconfig +++ b/configs/roc-pc-rk3399_defconfig @@ -13,6 +13,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 @@ -62,7 +63,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 Tue Jul 7 13:50:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1449 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 9E2263F062 for ; Tue, 7 Jul 2020 15:51:21 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id o15sf32490612pgn.15 for ; Tue, 07 Jul 2020 06:51:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594129880; cv=pass; d=google.com; s=arc-20160816; b=QOmf/EjH9SNnWflxN3Z27oki3rKRYsEiuVQ5aUrp1bpsN455F/4SsB0lI8HQz5aaHq QUjmKqksn+Q0O+DKC/vqKoJjAtDUIChy1QmQHsNuGZvyUnFpe53/Sau0wGQBUQA45GD1 tcOmquoRbVRrGFvA0gJ2Aqf4Qln4tOwkx/B9nRQcaL7B+dQh7EUr2iq3fWK4csoJVp5+ M3t8mKrlo9l+2pURbzRusr/+yW3IGZH7xtxgxo4RYRrGEN7xVI5jTJQgKNrshh0Uq7oK gWKjSpKT60z+joVpS0dpTkTPMltg6iFp/SV15jGTT+CQBJwj25PwQpD/Lfds8L6M1g0B yxZw== 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=hpifBn1YXcp+1pmsFsdDMkYBy9IqEVZZHe4TP+7y80g=; b=Cg8Tux1sXaQFN6CHTej33YeBUvRQhplmq6YdN+fjQ4ytrRbqTI7WPpczAVZoZCVYyW jMPMB12AoZUEust5gKSDTHraXTnmbSzReERK+pmgU8GHF6Swu3diHW3rlL5GzVgtq/W4 4mBS7mvu7t1TVtUDyPN1OR2mpqj+g9lUiqpcKPUUkutgNqtyhVI3V3G40EbYCtzJwl+Z QaALOg9hMZlZVwnYYeo2DOsx1uGs9MCjg/xuHnCDol9rBqz55j33/3cnowmWc12KL6Ed QUC0LVQDJNJzdLlj63Je1DbKmrpln05d32LMyvSvXlfLrLtIJ9++lld4W/sIPHiv3mkj SvqQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LikJzzlk; 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=hpifBn1YXcp+1pmsFsdDMkYBy9IqEVZZHe4TP+7y80g=; b=KqE1eS13MnOkCE51mIXuZIdUJR762+84lFwrD8SAnZtwLw/ISgSs86ZrrBTY5UOTG8 aAg3T22i4r3Igiiqq6ln0WabcJZxEjBcDoDDsNqwpeOeVe8ljnpKcAXd3C/ILUzR3lnT 5ga8c9cjoyQnuxvO4lQumtfahdqY2X5BfxpR4= 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=hpifBn1YXcp+1pmsFsdDMkYBy9IqEVZZHe4TP+7y80g=; b=jS+ToB3GcbD6Di7ju3TLy/ZRKdT1ceOF1M9jbaXjS64gpc+R511TWV/72ixaX03vpu OorM76p5FguS1/Ji4W1msO6mhqMpOCL1tfDypPNLyDbG+82H8FWNz7ptHwAHtXzLz/0g aVL8ZFfv0nms/Y700yClm/uF4nnjI8lW1PW6VgHwH9UregEYcbIuwJScXj+9iiHVbvOO DDJBT+5rkjAVgmXWRADnv47AGaXCMqco/5f0cKpUdnaaSw1qbxur+fCxZfUoIkOL35WK zTFWSkzi4CXwued2qSRtoxw6t9qBX1FeUxQP5IlPlvBHJkSb8azus1+NJ4ZZ8RY45bws TtWQ== X-Gm-Message-State: AOAM531Z2kb/m36FPPDugsNzW9selicYJj9BjObAiIH3kv7E5aWyU7nk NbS6CuSuJ/GY0YAaLE9zKgyoDTIz X-Google-Smtp-Source: ABdhPJy+/zVhbDcY3+0eTMO1RBdb6flpvBLnErgqKD3uK8sugu9o5sPDC/x9Jt8qittcRMWKjMj6zQ== X-Received: by 2002:a17:90a:ab96:: with SMTP id n22mr4563753pjq.52.1594129880399; Tue, 07 Jul 2020 06:51:20 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:be03:: with SMTP id r3ls2149912pls.11.gmail; Tue, 07 Jul 2020 06:51:20 -0700 (PDT) X-Received: by 2002:a17:902:9a02:: with SMTP id v2mr46845458plp.321.1594129879931; Tue, 07 Jul 2020 06:51:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594129879; cv=none; d=google.com; s=arc-20160816; b=UCm5d3Id14VsMMea0HIqEOWvvTRqrLc+Cwrd7p4/X6UcD5j4LlHPkxAFb3vsVa2XII WMcapTwUmgh6DGNMWBM11lQb5lcMfvA7aRgcUFZ47cIicz1kKvpzl15ApLhAXnQDlDqG aS1OncFsSUN5YRc1Nt+kPuFyBPFYv0hLonevFRcDJ9D/vLj1mcLAj2goeiEGQh/sC1e/ RBb79yCNa9LibpTksnJq6NYj9pik3pBHK49ufF73PXhkzMN1iS3e9icq/IXFqehQYcMN G2b79PTL3zaWWeHUOgieFYtWkbsyVBk17xUxkDI2V/sIQJDcpep+Xlhva/aqg5t7Yolq Uuag== 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=X09XRwdN6OD0FcvM3vVAEHq81Npbq7hoDY+clcDkkik=; b=WdheD9cOIMyjKpR13I9mv12Fc5UjrsVD5Kiy6dT5SZNQxqHwFcpw2SLb6xqLt5/yyH qwtU4+9nDoL3/XTuw0/ELRitAeguylggZD1BqZiZXi+dDqjGSa6xkzQ9j0hee0pIoZob O63wtKT+OrkMA9nQKo3J5oOQ5X4g5eo579eLFA4rg5pV8vB1jXGaBRP2EiODEr8Ks4wc pGkbYOxmwJTHR6LRCWMs9KRH4IDkveFdEHJYMJTcSPBzlhP6XK+zFAGNi4h/UvasH+fA FCnM4bUgTzfy1OlW2td9q5notI5dbHATTSMK/TMI+vxkzNU2/vmlgKlLG+UAWnqg9EKn TmoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LikJzzlk; 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 jf11sor3320093pjb.25.2020.07.07.06.51.19 for (Google Transport Security); Tue, 07 Jul 2020 06:51: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:a17:90a:8a07:: with SMTP id w7mr4516991pjn.219.1594129879693; Tue, 07 Jul 2020 06:51:19 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:11b1:83c1:7d95:bab3]) by smtp.gmail.com with ESMTPSA id 73sm22980495pfy.24.2020.07.07.06.51.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 06:51: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 v3 6/6] roc-rk3399-pc: Update ENV offset, size Date: Tue, 7 Jul 2020 19:20:49 +0530 Message-Id: <20200707135049.9521-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200707135049.9521-1-jagan@amarulasolutions.com> References: <20200707135049.9521-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=LikJzzlk; 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 Reviewed-by: Kever Yang --- Changes for v3: - fix configs 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 b2c370cc59..f15dddc684 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_SPL_DM_SPI=y CONFIG_ROCKCHIP_RK3399=y diff --git a/configs/roc-pc-rk3399_defconfig b/configs/roc-pc-rk3399_defconfig index 588d03952a..9ffde7f960 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_SPL_DM_SPI=y CONFIG_ROCKCHIP_RK3399=y