Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Aug 2010 10:33:08 -0300
From:      Luiz Otavio O Souza <lists.br@gmail.com>
To:        false <vrtuff@yahoo.com>
Cc:        freebsd-mips@freebsd.org
Subject:   Re: Reporting success with FreeBSD on Netgear WNDR3700
Message-ID:  <746AF81F-05D4-400A-842C-75B3346E915E@gmail.com>
In-Reply-To: <677389.94707.qm@web33207.mail.mud.yahoo.com>
References:  <AANLkTimykzp%2Bv-x1V_u%2Bp3Q9BUW=vdbv84D0e%2BTwJ1Em@mail.gmail.com> <AANLkTimXKCPUWvmitNADEakCRxDks51Bd3-0MqhR=kwb@mail.gmail.com> <AANLkTikiTun2GXNnLs%2BwftBBJqjaMr73CXGghbgcLkW5@mail.gmail.com> <AANLkTi=xnCRZPdM8b0kwLjSM_0RPMLf2D2wZp%2BHgFFYy@mail.gmail.com> <AANLkTi=2x%2BSkzUZLL9wWbfsCHL4NfwUwFonop2_zwj6j@mail.gmail.com> <AANLkTim8r9xEMYz9PO%2BYwYEyVphQQ%2Bd4vZFhFZsVE9Hx@mail.gmail.com> <AANLkTi==cx1EVOPH-zto9bVa4fBb_Hgz5RMjmt%2BpUfkM@mail.gmail.com> <AANLkTi=cj5boi_wjqJYr10r4tNEG14mmOJFfhsLtjWHH@mail.gmail.com> <677389.94707.qm@web33207.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 12, 2010, at 12:21 AM, false wrote:

> In my search to run pf from a consumer device.
> It is closely related to RB450
>=20
> full dmesg:
>=20
> ************************************************************
>=20
> Starting kernel ...
>=20
> platform frequency: 680000000
> arguments:=20
>  a0 =3D 00080410
>  a1 =3D 804448ac
>  a2 =3D 00000010
>  a3 =3D 804b2180
> Cache info:
>  picache_stride    =3D 4096
>  picache_loopcount =3D 16
>  pdcache_stride    =3D 4096
>  pdcache_loopcount =3D 8
> cpu0: MIPS Technologies processor v116.147
>  MMU: Standard TLB, 16 entries
>  L1 i-cache: 4 ways of 512 sets, 32 bytes per line
>  L1 d-cache: 4 ways of 256 sets, 32 bytes per line
>  Config1=3D0x9ee3519e<PerfCount,WatchRegs,MIPS16,EJTAG>
>  Config3=3D0x20
> KDB: debugger backends: ddb
> KDB: current backend: ddb
> Copyright (c) 1992-2010 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, =
1994
>        The Regents of the University of California. All rights =
reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 9.0-CURRENT #16: Wed Aug 11 06:27:58 UTC 2010
>=20
> =
root@hollu.lan:/usr/wndr3700-current-obj/mips.mips/usr/src/freebsd-current=
/src/sys/WNDR3700
> mips
> real memory  =3D 67108864 (65536K bytes)
> avail memory =3D 59437056 (56MB)
> nexus0: <MIPS32 root nexus>
> Either maddr or msize hint is missing for apb0
> Either maddr or msize hint is missing for pcib0
> clock0: <Generic MIPS32 ticker> on nexus0
> clock0: [FILTER]
> Timecounter "MIPS32" frequency 340000000 Hz quality 800
> Event timer "MIPS32" frequency 340000000 Hz quality 800
> apb0 at irq 4 on nexus0
> apb0: [FILTER]
> uart0: <16550 or compatible> on apb0
> uart0: [FILTER]
> uart0: console (115200,n,8,1)
> ohci0: <AR71XX integrated OHCI controller> on apb0
> ohci0: [ITHREAD]
> usbus0 on ohci0
> ehci0: <AR71XX Integrated USB 2.0 controller> at mem =
0x1b000000-0x1bffffff irq 3=20
> on nexus0
> ehci0: [ITHREAD]
> usbus1: set host controller mode
> usbus1: EHCI version 1.0
> usbus1: set host controller mode
> usbus1: <AR71XX Integrated USB 2.0 controller> on ehci0
> pcib0 at irq 0 on nexus0
> pcib0: [FILTER]
> pci0: <PCI bus> on pcib0
> pci0: <old, non-VGA display device> at device 0.0 (no driver attached)
> pci0: <network, ethernet> at device 17.0 (no driver attached)
> pci0: <network, ethernet> at device 18.0 (no driver attached)
> spi0: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on nexus0
> spibus0: <spibus bus> on spi0
> ar71xx_wdog0: <Atheros AR71XX watchdog timer> on nexus0
> cryptosoft0: <software crypto> on nexus0
> Starting kernel event timers: MIPS32 @ 2000Hz, NONE @ 0Hz
> Timecounters tick every 1.000 msec
> IPsec: Initialized Security Association Processing.
> ipfw2 initialized, divert enabled, nat loadable, rule-based forwarding =
enabled,=20
> default to accept, logging disabled
> DUMMYNET 0 with IPv6 initialized (100409)
> load_dn_sched dn_sched RR loaded
> load_dn_sched dn_sched WF2Q+ loaded
> load_dn_sched dn_sched FIFO loaded
> load_dn_sched dn_sched PRIO loaded
> load_dn_sched dn_sched QFQ loaded
> usbus0: 12Mbps Full Speed USB v1.0
> usbus1: 480Mbps High Speed USB v2.0
> ugen0.1: <Atheros> at usbus0
> uhub0: <Atheros OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on =
usbus0
> ugen1.1: <Atheros> at usbus1
> uhub1: <Atheros EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on =
usbus1
> uhub0: 2 ports with 2 removable, self powered
> uhub1: 2 ports with 2 removable, self powered
> Trying to mount root from ufs:da0s1
> ROOT MOUNT ERROR:=20
> If you have invalid mount options, reboot, and first try the following =
from
> the loader prompt:
>=20
>     set vfs.root.mountfrom.options=3Drw
>=20
> and then remove invalid mount options from /etc/fstab.
>=20
> Loader variables:
> vfs.root.mountfrom=3D
> vfs.root.mountfrom.options=3D
>=20
> Manual root filesystem specification:
>  <fstype>:<device>  Mount <device> using filesystem <fstype>
>                       eg. zfs:tank
>                       eg. ufs:/dev/da0s1a
>                       eg. cd9660:/dev/acd0
>                       This is equivalent to: mount -t cd9660 /dev/acd0 =
/
>=20
>  ?                  List valid disk boot devices
>  <empty line>       Abort manual input
>=20
> mountroot>=20
>=20
> **************************************************
>=20
> Hopefully the board will help with getting the switch/ethernet/wifi =
working
>=20
> Thanks
> YA


Cool !

You should be able to use the arge1 interface (WAN port) by setting the =
correct phy mask on hints (0x10 for arge1 on WNDR3700).

Looks like the arge0 is connected to a RTL8366 gigabit switch which, at =
least, has a public available datasheet: =
http://realtek.info/pdf/rtl8366_8369_datasheet_1-1.pdf


Luiz=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?746AF81F-05D4-400A-842C-75B3346E915E>