From owner-freebsd-embedded@freebsd.org  Sun Feb 26 09:57:03 2017
Return-Path: <owner-freebsd-embedded@freebsd.org>
Delivered-To: freebsd-embedded@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 504E9CEC0F2
 for <freebsd-embedded@mailman.ysv.freebsd.org>;
 Sun, 26 Feb 2017 09:57:03 +0000 (UTC)
 (envelope-from bored_to_death85@yahoo.com)
Received: from sonic306-36.consmr.mail.bf2.yahoo.com
 (sonic306-36.consmr.mail.bf2.yahoo.com [74.6.132.235])
 by mx1.freebsd.org (Postfix) with ESMTP id 1C102D37
 for <freebsd-embedded@freebsd.org>; Sun, 26 Feb 2017 09:57:02 +0000 (UTC)
 (envelope-from bored_to_death85@yahoo.com)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1488103021; bh=LY+7y37NtcdleWlWw48gs1IBHVM3Sz+hP/jvSF+8D08=;
 h=Date:From:Reply-To:To:Subject:References:From:Subject;
 b=tkbAnw62DU41yxBAhcvDhhRn7Amo6iZAINJozmyJQ8r+/FnlIL5ryQyBegLF+QQ5skFdTFwQORvLA9G0sTJjcL2JKgRV7c7FhgRYnNgUVMckxTPAo6wHB2a+C6+HvXSkLnqV+lqEOHML9YKQn+vMjxt+5Z5i1Gmc2jd1a3I8U44ZHwNtVnV3P5aK2wvqdW81E/XqXe7U/zpOt2dc2qu1XDRhtHkEhIbtAvDMH8KF7hNmy7AkcENX6BQp3h64kagIlDCJlzZ9kAUe/X3AOS4tuQfHNL/JpQCQmVrAgKt2+wddsHdjtLRvu1pE+Bfvuah2ars1DDeOE1F91Z7K4yxEhg==
X-YMail-OSG: Iw7xnkgVM1mLoxjdFV7ho4vErScoWVcVlLdUcxt4NNd5LIDnGGLpRj7uiXNjS.S
 tn1DNO6seRt1HWeKFVVvoMCyVRSVQo6BxvZbE5.k.POa_HGcGd11DLh9AhJ7ahBnECD4Yf4G_QCf
 z9m4z9.3Miyy2odWPBcpS2X1KnrSSJZVbT760XtIIxYjgVwMWdLRcNQzk36iVrDrR5fxBlJcmGkZ
 IOnpIUmWInDU2P9nG71OOIR5UjTQt41g__2ogj6a0wDhjbLzvRh7dtbh6SWFnxhTT.81JVtndXb5
 qCGY1WVphLlDnYNfZfeIzh2GH9bdsgTlQtitfRrZLPI.ak1ZfZocM7emjxTterNwEYrmw0H1F.J9
 StiwAxqGuuHn72ZW46XC9ea5zaQFDuZpC9WRpP8YDrjzbhj4kwZq1eAC.quPX_60oNFp.t2gPaog
 yGr_3GOV8Wjlfgo3gRcXjCljBJFpZZz83O3KfSCXnc_OQYvIXoLlblJ7xoHHmvs5UXHjBSI.6Y_x
 K4NNoV9TjhYiiBU2Gdwkg31wb.urS8zgMOIUMgkPjB8Xj4yjNvTT9N5aXaj3lFgvf7UssA_rzvzh
 lDguDizY4YChjKCgOYRnq7UnY_1_5mzpP697yS0Q21A59qAWAWFXmOZCuO6pGYzAjPo.QnVShauq
 yO3G7H.KSuqskovHGD77OUBl.1fpz
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic306.consmr.mail.bf2.yahoo.com with HTTP; Sun, 26 Feb 2017 09:57:01 +0000
Date: Sun, 26 Feb 2017 09:48:48 +0000 (UTC)
From: "M. V." <bored_to_death85@yahoo.com>
Reply-To: "M. V." <bored_to_death85@yahoo.com>
To: "freebsd-embedded@freebsd.org" <freebsd-embedded@freebsd.org>
Message-ID: <513684696.1212163.1488102528528@mail.yahoo.com>
Subject: problem with Banana PI R1 Network Adapter
MIME-Version: 1.0
References: <513684696.1212163.1488102528528.ref@mail.yahoo.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.23
X-BeenThere: freebsd-embedded@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: Dedicated and Embedded Systems <freebsd-embedded.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-embedded>, 
 <mailto:freebsd-embedded-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-embedded/>
List-Post: <mailto:freebsd-embedded@freebsd.org>
List-Help: <mailto:freebsd-embedded-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-embedded>, 
 <mailto:freebsd-embedded-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 26 Feb 2017 09:57:03 -0000

Hi guys, 

I Tried two different versions of FreeBSD image on Banana PI R1 board (BPI with 5 network ports) But I have same problem with setting up network in both:
https://download.freebsd.org/ftp/releases/arm/armv6/ISO-IMAGES/11.0/FreeBSD-11.0-RELEASE-arm-armv6-BANANAPI.img.xzhttp://download.raspbsd.org/FreeBSD-armv6-12.0-ALLWINNER-310828.img.gz
As I read in board's manual and checked on linux, It supposed to give us one interface that is reachable via either port of device (like a bridge). In installed FreeBSD, It gives me one interface (dwc0) but it gets active only if I plug the cable to Port-2 (connecting cable to any other port will result in interface remaining "no carrier"), and even with port-2 I don't have any ping or connection whatsoever (checking with tcpdump, no packet is getting in or out of device)
Does anyone have any experience with this board to help me?
Thank you.


From owner-freebsd-embedded@freebsd.org  Mon Feb 27 10:02:33 2017
Return-Path: <owner-freebsd-embedded@freebsd.org>
Delivered-To: freebsd-embedded@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07EAACE9A1F
 for <freebsd-embedded@mailman.ysv.freebsd.org>;
 Mon, 27 Feb 2017 10:02:33 +0000 (UTC)
 (envelope-from mizhka@gmail.com)
Received: from mail-ua0-f172.google.com (mail-ua0-f172.google.com
 [209.85.217.172])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id B72BB9A6
 for <freebsd-embedded@freebsd.org>; Mon, 27 Feb 2017 10:02:32 +0000 (UTC)
 (envelope-from mizhka@gmail.com)
Received: by mail-ua0-f172.google.com with SMTP id e4so16570120uae.0
 for <freebsd-embedded@freebsd.org>; Mon, 27 Feb 2017 02:02:32 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=wvwboSh8vAbZdPv217X9OON8Hl9T/jKxZqW8y8s/wF0=;
 b=qALs/rWQsvA4MF7KfMIZfROf8U/jEBlhurLRY1BjPDGNTErUSwzRUcBpz1W1+7A0J/
 VJ/4Mkk4Ro23LdGk/w+BDz1ndz2qcROMr9rTCMJfGqWbE6VyrqUbD6uPGDXIZWXXsTaR
 1O2Jp+tbxxe2aRnTKNJy0GuUDXXcizaOpWDiMqkakOyqAgaK4msBrs6TDnplNVxNpjA0
 y5LC+rZYMFqStZMqPgYlTWeuimsNILiZR7wriP+rS95SBysfTjpY/LDkDcdRR7ZBQASc
 LarxlFGyWpLRmIO3+RgUw7Q1OSsf74uQVfIXHvug7Gci8bjccnP7Pw7jJL7rCpYUiRCn
 1OBw==
X-Gm-Message-State: AMke39mF9cLQXpe8CURMAgSxqVC6fVt5Wdd2UnLgnXtCdrkAtkh2J6l4UPHav1fWb8C3kQ==
X-Received: by 10.31.13.76 with SMTP id 73mr6511120vkn.154.1488189750258;
 Mon, 27 Feb 2017 02:02:30 -0800 (PST)
Received: from mail-ua0-f173.google.com (mail-ua0-f173.google.com.
 [209.85.217.173])
 by smtp.gmail.com with ESMTPSA id n60sm4221624uan.36.2017.02.27.02.02.29
 for <freebsd-embedded@freebsd.org>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 27 Feb 2017 02:02:29 -0800 (PST)
Received: by mail-ua0-f173.google.com with SMTP id 40so50758747uau.2
 for <freebsd-embedded@freebsd.org>; Mon, 27 Feb 2017 02:02:29 -0800 (PST)
X-Received: by 10.176.23.89 with SMTP id k25mr5746655uaf.49.1488189749642;
 Mon, 27 Feb 2017 02:02:29 -0800 (PST)
MIME-Version: 1.0
Received: by 10.176.17.95 with HTTP; Mon, 27 Feb 2017 02:02:29 -0800 (PST)
In-Reply-To: <513684696.1212163.1488102528528@mail.yahoo.com>
References: <513684696.1212163.1488102528528.ref@mail.yahoo.com>
 <513684696.1212163.1488102528528@mail.yahoo.com>
From: Michael Zhilin <mizhka@freebsd.org>
Date: Mon, 27 Feb 2017 13:02:29 +0300
X-Gmail-Original-Message-ID: <CAF19XBL7mHefDcpH8BuTpPsBjn1v9P6Ttgmz5QYk32fDmxmv7g@mail.gmail.com>
Message-ID: <CAF19XBL7mHefDcpH8BuTpPsBjn1v9P6Ttgmz5QYk32fDmxmv7g@mail.gmail.com>
Subject: Re: problem with Banana PI R1 Network Adapter
To: "M. V." <bored_to_death85@yahoo.com>
Cc: freebsd-embedded@freebsd.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.23
X-BeenThere: freebsd-embedded@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: Dedicated and Embedded Systems <freebsd-embedded.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-embedded>, 
 <mailto:freebsd-embedded-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-embedded/>
List-Post: <mailto:freebsd-embedded@freebsd.org>
List-Help: <mailto:freebsd-embedded-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-embedded>, 
 <mailto:freebsd-embedded-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Feb 2017 10:02:33 -0000

Hi,

This board has ethernet switch chip BCM53125 which connects SoC (dwc0) and
ethernet ports. Due to lack of FreeBSD support chip is not recognized by
images tasted by you.

Initial work to bring broadcom ethernet switches (aka RoboSwitch, brand
name) was done by ray@ as part of ZRouter project. Thanks to him, I've
managed to port it on etherswitch framework, it works for few models (for
integrated switches), but not for this one yet. This work is not yet landed
into FreeBSD SVN, I'm preparing code for it. Also I have one Banana Pi R1,
but not yet played on it.

Thanks,
   Michael

26 =D1=84=D0=B5=D0=B2=D1=80. 2017 =D0=B3. 12:57 PM =D0=BF=D0=BE=D0=BB=D1=8C=
=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "M. V. via freebsd-embedde=
d" <
freebsd-embedded@freebsd.org> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:

> Hi guys,
>
> I Tried two different versions of FreeBSD image on Banana PI R1 board (BP=
I
> with 5 network ports) But I have same problem with setting up network in
> both:
> https://download.freebsd.org/ftp/releases/arm/armv6/ISO-IMAG
> ES/11.0/FreeBSD-11.0-RELEASE-arm-armv6-BANANAPI.img.xzhttp:
> //download.raspbsd.org/FreeBSD-armv6-12.0-ALLWINNER-310828.img.gz
> As I read in board's manual and checked on linux, It supposed to give us
> one interface that is reachable via either port of device (like a bridge)=
.
> In installed FreeBSD, It gives me one interface (dwc0) but it gets active
> only if I plug the cable to Port-2 (connecting cable to any other port wi=
ll
> result in interface remaining "no carrier"), and even with port-2 I don't
> have any ping or connection whatsoever (checking with tcpdump, no packet =
is
> getting in or out of device)
> Does anyone have any experience with this board to help me?
> Thank you.
>
> _______________________________________________
> freebsd-embedded@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-embedded
> To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.or=
g
> "
>