From owner-freebsd-arm@freebsd.org Mon Aug 12 15:19:33 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A42CCB66D2 for ; Mon, 12 Aug 2019 15:19:33 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 466fdv5sVSz4T81 for ; Mon, 12 Aug 2019 15:19:30 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 686be4e2; Mon, 12 Aug 2019 17:12:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=kpCIeNbhpuW5nnSjTYXcydOV22U=; b=HJt4r/dsWQTqxPEZ3AWCt9Zt9/Nr o01kXBoyajkl7BFHYNsulypVVMCj6kVVpKt4TuBVL2+Noht+Nv4DpCTGwoMLIywP kImLNy7oPIhWbTCdb8mCrOSAMX1+5H+Ar7sVdTCWniXN/jaH/snzHz3YFArLcwsy zAVSAIyPnmXsY+8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=H5bzWAtw+IqGILqRR3xsUo72hTqm+FHA/S2YQaTSesRZp7LfwXcB6KJd aLJUFG8FTYS+Cv9qxT1ne7TTor5nMMiCnChmLNakK4PpQLzh/gkSmifzLJfi4wah BAMNHZwaZSoF8L8Q/dgvkFR+SJgOFHwGKhBIvlZW+1mZrSARUMk= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 079d1b8f TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 12 Aug 2019 17:12:48 +0200 (CEST) Date: Mon, 12 Aug 2019 17:12:48 +0200 From: Emmanuel Vadot To: Greg V Cc: freebsd-arm@freebsd.org, Denis Polygalov Subject: Re: USB 3.0 support for Rockchip RK3328 Message-Id: <20190812171248.4af265a7bd48056407f796d6@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 466fdv5sVSz4T81 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=HJt4r/ds; dmarc=none; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-1.48 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.98)[-0.975,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.98)[-0.984,0]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.04)[0.037,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.34)[ip: (-0.94), ipnet: 212.83.160.0/19(2.58), asn: 12876(0.09), country: FR(-0.01)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2019 15:19:33 -0000 On Mon, 12 Aug 2019 17:19:30 +0300 Greg V wrote: > On August 12, 2019 4:10:07 PM GMT+03:00, Denis Polygalov wrote: > >Hi. I'm testing this patch: > > > >https://reviews.freebsd.org/D19335 > > > >on my ROCK64 (v2.0) board. Not ROCKPro(!) > > > >Any ideas how to make this work please? > > Looks like the devicetree that's in the freebsd repo right now does not have the usb3 node. > > Google for rk3328 dwc3 usb3, apply the related dts changes (or just download the whole dts from a newer Linux version), rebuild the dtb and boot with the new dtb. Only the vendor DTS have something related to usb3 with a compatible "rockchip,rk3328-xhci". This controller isn't documented in the TRM so I don't know much about it, based on the property of the dts node I guess it's a dwc3 because there is some snps props but ... -- Emmanuel Vadot