From owner-freebsd-arm@freebsd.org Sat Jan 18 16:41:50 2020 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 4EF471FAC6F for ; Sat, 18 Jan 2020 16:41:50 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 480NxT1Yvbz47C4 for ; Sat, 18 Jan 2020 16:41:48 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from skull.home.blih.net (lfbn-idf2-1-1164-130.w90-92.abo.wanadoo.fr [90.92.223.130]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 83ea578c (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 18 Jan 2020 16:41:46 +0000 (UTC) Date: Sat, 18 Jan 2020 17:41:44 +0100 From: Emmanuel Vadot To: Peter Jeremy Cc: freebsd-arm@freebsd.org Subject: Re: SATA on BananaPi M1 Message-Id: <20200118174144.ad45c9296f7bab8f70f35131@bidouilliste.com> In-Reply-To: <20200117104142.GM25924@server.rulingia.com> References: <20200117104142.GM25924@server.rulingia.com> 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: 480NxT1Yvbz47C4 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [0.40 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.46)[-0.465,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.41)[ipnet: 212.83.128.0/19(1.82), asn: 12876(0.24), country: FR(0.00)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_SPAM_LONG(0.75)[0.755,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(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: Sat, 18 Jan 2020 16:41:50 -0000 Hi Peter, On Fri, 17 Jan 2020 21:41:42 +1100 Peter Jeremy wrote: > Is anyone using the SATA interface on a BPi M1 with FreeBSD? I'm > having problems getting the SATA PHY to communicate with a HDD and > would appreciate chatting to someone who has it working. > > -- > Peter Jeremy I've just test SATA on my A20-Olinuxino and it works if I first tell u-boot to detect drives ("scsi scan"). I have the same behavior as you if I don't. IIRC we always relied on u-boot for SATA, our driver misses some stuff. Maybe u-boot use to scan automatically at one point so nobody though that we missed stuff. Could you test if you have the same behavior ? Thanks. -- Emmanuel Vadot