Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2018 18:45:02 +0200
From:      Jakob Alvermark <jakob@alvermark.net>
To:        freebsd-arm@freebsd.org
Subject:   Re: Orange Pi R1
Message-ID:  <9bc791da-761c-165e-2ab3-afab29a3b765@alvermark.net>
In-Reply-To: <CACNAnaEaO76zgvr4AELWMJbvAbQYJFHTvCLWx901KfkWeH8L9Q@mail.gmail.com>
References:  <5e394ed2-6955-d319-bc93-2f86c7eda40e@nethead.se> <20180403220431.3d8b1a60@zeta.dino.sk> <CACNAnaEaO76zgvr4AELWMJbvAbQYJFHTvCLWx901KfkWeH8L9Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/03/18 22:23, Kyle Evans wrote:
> On Tue, Apr 3, 2018 at 3:04 PM, Milan Obuch <freebsd-arm@dino.sk> wrote:
>> On Tue, 3 Apr 2018 19:32:56 +0200
>> Per olof Ljungmark <peo@nethead.se> wrote:
>>
>>> Anyone tested FreeBSD on this one? It is a H2 Quad-core 32-bit
>>> Cortex-A7.
>>>
>>> Thanks,
>>>
>>> //per
>>>
>> Hi,
>>
>> Orange Pi R1 is basically the same board as Orange Pi Zero, just
>> instead of USB connector there is USB ethernet chip connected directly.
>> I already wrote to this list about it, FreeBSD runs on it just OK.
>> Actually I am running r330553 based kernel on it, with some newer I
>> have trouble with mounting root filesystem (mmc driver not attaching)
>> which I did not investigated yet.
>>
>> Look in archive of this list, 19. 1. 2018, subject 'Orange Pi R1
>> ethernet #2 + SDIO question', for info how to enable USB ethernet on it.
>>
> FYI- to quote the original e-mail of that thread:
>
>> Most probably we are missing some initialization step. After finding
> mention of GPIO pin 20 in some Linux DTS, I decided simply try
>
>> # gpioctl -f /dev/gpioc0 20 1
>> and voila, it works:
> This part is no longer necessary as of r330554. We were initializing
> things in an order such that the usbphy wasn't toggling this gpio. The
> change was motivated by this board in particular and has been
> confirmed working on this board, so you should be good to go with a
> stock kernel and the appropriate DTB. The source for said DTB should
> be pulled in within a couple weeks, though we won't build it by
> default unless we have a board to test on.
>
> Thanks,
>
> Kyle Evans
>
Got it booting with r333168, but the network interface does not work:

awg0: <Allwinner Gigabit Ethernet> mem 0x1c30000-0x1c3ffff irq 21 on 
simplebus0
awg0: soft reset timed out
device_attach: awg0 attach returned 60

Any hints?

Thanks,
Jakob




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9bc791da-761c-165e-2ab3-afab29a3b765>