Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2020 09:22:14 -0600
From:      Kyle Evans <kevans@freebsd.org>
To:        Peter Jeremy <peter@rulingia.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: Banana Pi M1 SATA problems
Message-ID:  <CACNAnaEx-BDBEQHSWAaEa2ChR7tKHiKi-FTAd3CW4rKO6fQ1%2Bw@mail.gmail.com>
In-Reply-To: <20200112080247.GF25924@server.rulingia.com>
References:  <20200112080247.GF25924@server.rulingia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 12, 2020 at 2:03 AM Peter Jeremy <peter@rulingia.com> 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: <Allwinner Integrated AHCI controller> mem 0x1c18000-0x1c18fff irq 25 on simplebus0
> ahci0: AHCI v1.10 with 1 3Gbps ports, Port Multiplier not supported
> ahci0: quirks=0x2<NOPMP>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaEx-BDBEQHSWAaEa2ChR7tKHiKi-FTAd3CW4rKO6fQ1%2Bw>