Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Aug 2017 09:11:03 +0200
From:      Henri Hennebert <hlh@restart.be>
To:        Emmanuel Vadot <manu@bidouilliste.com>, Mark Millard <markmi@dsl-only.net>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Pine64+ 2GB and RPI3 (A64 examples): Any general idea on what/when to expect for the return of USB support to head?
Message-ID:  <b161cc9e-71df-cc15-63a8-523df407b25e@restart.be>
In-Reply-To: <20170802210607.dc92b751dcc23f3ddaea5144@bidouilliste.com>
References:  <F43B3C72-4370-4A02-B921-A2AD6082699D@dsl-only.net> <20170802210607.dc92b751dcc23f3ddaea5144@bidouilliste.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/02/2017 21:06, Emmanuel Vadot wrote:
> On Tue, 1 Aug 2017 14:03:23 -0700
> Mark Millard <markmi@dsl-only.net> wrote:
> 
>> [I historically use a ufs USB SSD for a (head) root file
>> system on a Pine64+ 2GB and a RPI3. Thus the question
>> below.]
>>
>> Context for question (note the "USB not working for now"
>> in the Log Message):
>>
>>> Revision 320612
>>>
>>> Author:
>>> manu
>>> Date:
>>> Mon Jul 3 19:30:03 2017 UTC (4 weeks, 1 day ago)
>>> Changed paths:
>>> 5
>>> Log Message:
>>> allwinner: Add A64 ccung support
>>>
>>> Upstream DTS for A64 SoC doesn't provide a /clocks node as Linux switched
>>> to ccu-ng
>>> This commit adds the necessary bits to boot on pine64 with latest DTS from
>>> upstream.
>>> USB is not working for now and some node aren't present in the DTS (like the
>>> PMU, Power Management Unit).
>>>
>>> Tested on: Pine64
>>>
>>> Changed paths
>>> Path
>>> Details
>>> head/sys/arm/allwinner/a10_mmc.c
>>> modified , text changed
>>> head/sys/arm/allwinner/clkng/aw_ccung.c
>>> modified , text changed
>>> head/sys/arm/allwinner/clkng/ccu_a64.c
>>> added
>>> head/sys/arm/allwinner/clkng/ccu_a64.h
>>> added
>>> head/sys/conf/files.arm64
>>> modified , text changed
>>
>> /head/sys/arm/allwinner/clkng/ccu_a64.c shows an
>> empty "USBPHY clk sel" section:
>>
>> 553	/* USBPHY clk sel */
>> 554	
>> 555	/* DRAM needs update bit */
>>
>> tending to confirm the log message.
> 
>   This is unrelated, this was a comment I've put during developement to
> remind me to add the gate bits for usb.
>   I'll remove it.
> 
>>
>> The questions:
>>
>> Does anyone have a general idea that they can report for
>> what/when to expect for the return of USB support for
>> Pine64+ 2GB, RPI3, and the like A64 based contexts?
> 
>   I'm the only one who could have an idea (for Pine64) and I don't know.

If it can help, I succeed at least one time to boot r321003 and have the 
APs released. Then it detect my usb hub and mount a root on zfs from my 
usb disk.

For now, the APs not started is the only problem I encounter with PINE64+

I try r321776 but the APs not started is still present.

Henri
> 
>> Should I just ignore updating the Pine64+ 2GB and RPI3 for
>> a few months more? (Because I do self-hosted builds on them
>> I want the USB file system to be used for such activity.)
> 
>   You can do whatever you want, either ignore or help.
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b161cc9e-71df-cc15-63a8-523df407b25e>