[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-mips
Subject:    =?UTF-8?B?UmVbNl06IFJCNDUwRyBjb21waWxpbmcgdGhlIGtlcm5lbA==?=
From:       Anton <felix_mail () mail ! ru>
Date:       2014-01-15 6:40:53
Message-ID: 1389768053.407517990 () f357 ! i ! mail ! ru
[Download RAW message or body]

[Attachment #2 (text/plain)]

 Hi Adrian,

I use the kernel created from the rev. 234999 with some patches.
I added mmcsd because my system is installed to the memory card 
and I use etherswitch implementation taken from the last HEAD revisions.

Суббота,  4 января 2014, 17:29 -08:00 от Adrian Chadd <adrian@freebsd.org>:
>Right. Well, let's try and figure out exactly what we should commit to
>freebsd-head so we have a known working kernel config + hints for the
>RB450.
>
>Thanks!
>
>
>-a
>
>
>On 4 January 2014 01:05, Anton < felix_mail@mail.ru > wrote:
>> Adrian,
>>
>> I'm using the custom hints for RB450 without including other hint files.
>> Maybe my mistake was in this.
>> --
>>
>> вторник, 31 декабря 2013г., 21:57 +0400 от Adrian Chadd
>> < adrian@freebsd.org >:
>>
>> Which kernel configuration file are you building with?
>>
>> -a
>>
>> On 31 December 2013 00:23, Anton <  felix_mail@mail.ru > wrote:
>>> Adrian thanks!
>>>
>>> I resolved the problem. There was need to add both options in hints file
>>> at
>>> the same time.
>>>
>>> hints.argemdio.0.at="nexus0"
>>> hints.argemdio.0.
>>> ....
>>> hints.arge.0.at="nexus0"
>>> hints.arge.0.
>>> ....
>>>
>>> Понедельник, 30 декабря 2013, 11:38 -08:00 от Adrian Chadd
>>> <  adrian@freebsd.org >:
>>>
>>> On 30 December 2013 03:52, Антон Петухов <  felix_mail@mail.ru > wrote:
>>>>
>>>> Hi,
>>>> Can you help me? How can I use AR7161 + AR8316 as two interfaces
>>>> available
>>>> to the kernel? Etherswitch is very good solution, but he's black box for
>>>> me.
>>>> If I try to compile kernel with switch - all is Ok, but in this case
>>>> system
>>>> have only one arge1.
>>>> I need to route traffic between arge0 and arge1 ports... How, how can I
>>>> do
>>>> it? :)
>>>
>>> Well, it depends on how it's wired up.
>>>
>>> The AR8316 (and other atheros switches) have an option to peel off one
>>> of the ports as a dedicated PHY port, for situations where you have
>>> two MACs on the SoC and you want to have a WAN port and multiple LAN
>>> ports.
>>>
>>> Theres three ways to do it:
>>>
>>> * have one MAC port, map all switch ports to it, then peel off lan/wan
>>> via VLAN ids
>>> * have two MAC ports, have one port dedicated as a pass-through PHY
>>> for the WAN port and the rest be switch ports for the LAN (vlan or
>>> otherwise)
>>> * a hybrid - have two MAC ports, and just map them using vlan ids or
>>> per-port vlans as required.
>>>
>>> So it boils down to whether the RB450G wires both arge interfaces to
>>> the switch. If so, you can peel off a dedicated WAN PHY/port by
>>> configuring up the 'phy4cpu' option in the hints file. Otherwise it's
>>> vlans all the way down.
>>>
>>>
>>> -adrian
>>>
>>>
>>>
>>> --
>>> Anton


-- 
Феликс К.

["=?UTF-8?B?UkI0WFg=?=" (application/octet-stream)]
["=?UTF-8?B?UkI0NTAuaGludHM=?=" (application/octet-stream)]

_______________________________________________
freebsd-mips@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mips
To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic