From owner-freebsd-arm@freebsd.org Sun Jan 12 15:22:26 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 682301D97CB for ; Sun, 12 Jan 2020 15:22:26 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47wgSf27F4z4TG8 for ; Sun, 12 Jan 2020 15:22:26 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 3B60116B73 for ; Sun, 12 Jan 2020 15:22:26 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f179.google.com with SMTP id n15so6894354qtp.5 for ; Sun, 12 Jan 2020 07:22:26 -0800 (PST) X-Gm-Message-State: APjAAAVvRC9OqTHMckZYVZH0+j8co297NzkaJy6kRiich/mRub905Euh WAxaKVyBTaDt9hNnUx+WCT66+mG+VBxIIimzkD8= X-Google-Smtp-Source: APXvYqy1ElDoeyLC660mgYOO8WONBRgZPbSmSqBuqwKRwTfdJeLilRsEb0OkJiRkprYm1I7WRVUTVHwV/ZRh9IvlgNo= X-Received: by 2002:ac8:f77:: with SMTP id l52mr10519343qtk.310.1578842545812; Sun, 12 Jan 2020 07:22:25 -0800 (PST) MIME-Version: 1.0 References: <20200112080247.GF25924@server.rulingia.com> In-Reply-To: <20200112080247.GF25924@server.rulingia.com> From: Kyle Evans Date: Sun, 12 Jan 2020 09:22:14 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Banana Pi M1 SATA problems To: Peter Jeremy Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" 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: Sun, 12 Jan 2020 15:22:26 -0000 On Sun, Jan 12, 2020 at 2:03 AM Peter Jeremy wrote: > > I'm trying to get my (new) Banana Pi M1 to talk to a SATA drive. > Unfortunately, something is disabling the SATA port. According to a > verbose boot (using both the Release 12.1 memstick and a newly built > head at r356414): > ahci0: mem 0x1c18000-0x1c18fff irq 25 on simplebus0 > ahci0: AHCI v1.10 with 1 3Gbps ports, Port Multiplier not supported > ahci0: quirks=0x2 > ahci0: Caps: NCQ SNTF ALP AL CLO 3Gbps PMD SSC PSC 32cmd CCC 1ports > ahcich0: not probed (disabled) > > I haven't explicitly disabled anything. Running "devctl enable ahcich0" > results in the device probing/attaching but it still won't talk to a HDD. > > I've looked at my loader configuration (and kenv), sysctl and u-boot > environment without finding anything obviously wrong. Does anyone have any > ideas? Try updating past r356600; earlier than that and probably 12.1-RELEASE we were shutting down the regulator. hw.regulator.disable_unused=0 should also work around it. Thanks, Kyle Evans