Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2085784rdb; Mon, 9 Oct 2023 12:01:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGfLehh3F75/lrliQcI5q7bIxTVZ/SV8RmpzpJFIOtAP98k1BfVs/97G4rHg9sk6R5nGQUk X-Received: by 2002:a05:6a00:8c7:b0:68b:e710:ee9c with SMTP id s7-20020a056a0008c700b0068be710ee9cmr18742480pfu.19.1696878069088; Mon, 09 Oct 2023 12:01:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696878069; cv=none; d=google.com; s=arc-20160816; b=LdAfs4pqI/HsaMfEl/e0vI7/153kXJVlwgdu3uKdqkl38F55aJNR76NztyK9Wo36OD mCIETcN3VEnqNkpe9y4uFaWf/l+m1ghiAPHz4q/YGGZxqB6ge9qiivIuyUo+3RiN/UEN sGvn0pvE0ZYrxoI3CCgOne6JHtlaQxwX/cvjkOt4Q928gSrpkTjs/YDvq+fYcLFmYcxu gfbwWl1RJuogqfBfwvfOCeea/rV1bDqBUA1VFNCA/DWg/QhKIBBTiXZMC2w3zVeLnB5q fO0pGDJTw52SDGi3qlBtEp7zAv6FBA9qWRFJdvMTCt1cSMAn7B2SrEIKQeia5s6aBF7Z gjCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Q0kzR1Hkqz2cOVD+5iFO30kiqBo+q8tCC8dS7GzQR8s=; fh=3IHEzIQvq3y6q5JQwsI67qbn4Gpc8nFoUO9wZPxuCoY=; b=iriWsAJqmSKFfLZGdIJ7Ouj4ykmwqlCYsgHqIrerhsHd4WQx2bj6ioqv6fjkrPJncw fF5drrthmHA0wpBUa9jNegejbv2hKzz9IVWgt7BIXUEp+BtX/wnHgqlmiB3gCpcO2gDQ RzAyxMK8c83EAj+gE2UdRo9Urou5h4ivpd1E78SI87IjwA3Qxisr4vNzLimWB0k2p6Ix R4Im/f+Ca+xy5062hWP7pL8eu1yhWUOYPt9jbP87HxRcMjUKoPQuoWRKAtQtr53eSbzA 5IqEcwfn/0nD2DiJbYblNoC3RZqGvjBO/ILqqMtxie/M4mtLcJbDURxiZvXfPyPAftpm AEgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@6tel.net header.s=mail header.b=JLtChTSw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id j6-20020a056a00174600b0068e3950c705si8180996pfc.24.2023.10.09.12.01.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 12:01:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@6tel.net header.s=mail header.b=JLtChTSw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id B207B80934A7; Mon, 9 Oct 2023 12:01:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378218AbjJITAz (ORCPT + 99 others); Mon, 9 Oct 2023 15:00:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378172AbjJITAy (ORCPT ); Mon, 9 Oct 2023 15:00:54 -0400 Received: from forward100b.mail.yandex.net (forward100b.mail.yandex.net [178.154.239.147]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1FC99C; Mon, 9 Oct 2023 12:00:51 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-63.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-63.sas.yp-c.yandex.net [IPv6:2a02:6b8:c14:6e01:0:640:627f:0]) by forward100b.mail.yandex.net (Yandex) with ESMTP id 513D460A9E; Mon, 9 Oct 2023 22:00:49 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-63.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id Z0imEe6DeSw0-tb5Kw72p; Mon, 09 Oct 2023 22:00:48 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6tel.net; s=mail; t=1696878048; bh=Q0kzR1Hkqz2cOVD+5iFO30kiqBo+q8tCC8dS7GzQR8s=; h=Cc:Message-ID:References:Date:In-Reply-To:Subject:To:From; b=JLtChTSwho6cSk5GB+t52/2PP2CUNKzRSTrNKHb+N57FkOR2uUdsrbIYNfZlz8kdc vBL6blQzTg9Pzjdd5BBkGTM+cWB+SYJ+S4Cy3h8rHOz8B2QzTOXmt2PARTJoUcnyjl f6I8oD/FvT/m4sRE/bwTkJthJi0cYmSIX9T7NbeM= Authentication-Results: mail-nwsmtp-smtp-production-main-63.sas.yp-c.yandex.net; dkim=pass header.i=@6tel.net From: Muhammed Efe Cetin To: d-gole@ti.com Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, efectn@6tel.net, heiko@sntech.de, jonas@kwiboo.se, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, megi@xff.cz, robh+dt@kernel.org, sebastian.reichel@collabora.com Subject: Re: [PATCH v3 3/3] arm64: dts: rockchip: Add Orange Pi 5 Date: Mon, 9 Oct 2023 22:00:26 +0300 Message-ID: <20231009190027.10304-1-efectn@6tel.net> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231009054034.am2e4hcmwoworeml@dhruva> References: <20231009054034.am2e4hcmwoworeml@dhruva> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 09 Oct 2023 12:01:06 -0700 (PDT) X-Spam-Level: ** Hi, On 9.10.2023 08:40, Dhruva Gole wrote: > Hello, > > On Oct 05, 2023 at 16:54:04 +0300, Muhammed Efe Cetin wrote: >> Hello, >> >> On 28.09.2023 13:51, Dhruva Gole wrote: >>> Hi, >>> >>> On Aug 21, 2023 at 18:47:59 +0300, Muhammed Efe Cetin wrote: >>>> Add initial support for OPi5 that includes support for USB2, PCIe2, Sata, >>>> Sdmmc, SPI Flash, PMIC. >>>> >>>> Signed-off-by: Muhammed Efe Cetin >>>> Reviewed-by: Ondřej Jirman >>>> --- >>>> arch/arm64/boot/dts/rockchip/Makefile | 1 + >>>> .../boot/dts/rockchip/rk3588s-orangepi-5.dts | 673 ++++++++++++++++++ >>>> 2 files changed, 674 insertions(+) >>>> create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts >>>> >>> ... >>> >>> Can you provide some sort of documentation on how I can build and boot >>> the kernel on this board? I was unable to use the upstream arm64 >>> defconfig with this exact series applied to boot the board. >> >> What was wrong when you tried to compile & boot the board? Can you provide some logs? > > Umm don't have logs at hand, but I remember it didn't really reach the > linux first line either, it went into sort of a bootloop just after > the uboot stage. Hmm there might be issue with your uboot compilation. It'd be better if you provide useful logs. > >> >>> >>>> + >>>> +&i2c6 { >>>> + pinctrl-names = "default"; >>>> + pinctrl-0 = <&i2c6m3_xfer>; >>>> + status = "okay"; >>>> + >>>> + hym8563: rtc@51 { >>>> + compatible = "haoyu,hym8563"; >>>> + reg = <0x51>; >>>> + #clock-cells = <0>; >>>> + clock-output-names = "hym8563"; >>>> + pinctrl-names = "default"; >>>> + pinctrl-0 = <&hym8563_int>; >>>> + interrupt-parent = <&gpio0>; >>>> + interrupts = ; >>>> + wakeup-source; >>> >>> Are you able to actually use rtc as a wakeup source? I tried this >>> on a downstream kernel that I mention below.. >>> >>> rtcwake -s 10 -m mem >>> >>> didn't actually seem to wake the device from deepsleep after 10 seconds. >>> Do you know what other pins I can use as wakeup sources? >> >> No, i've not tried it before. > > ah okay > >> >>> >>>> + }; >>>> +}; >>>> + >>>> +&mdio1 { >>>> + rgmii_phy1: ethernet-phy@1 { >>>> + compatible = "ethernet-phy-ieee802.3-c22"; >>> >>> Just wondering, can you please give some logs of the board with eth >>> working? The image that I have from opi seems to fail eth? As in I am >>> not able to see any ip address. here are the logs: >>> >>> https://gist.github.com/DhruvaG2000/eda2762e35013c8d5ac9f37e818103a3 >> >> Unfortunately the board is not near me currently. However, i was able to use GMAC ethernet in both the upstreram and downstream kernels. Did you try any images other than Orange Pi ones? > > Nope, are there any other images that maybe more suitable? Please can you point me to them? You can check the images below the Third Party Images section in OPi's download page. GMAC should work properly with most of them. > >> >>> >>> ... >>> >> >