Reporting success with FreeBSD on Netgear WNDR3700

Youri Adonis vrtuff at yahoo.com
Mon Aug 16 01:19:49 UTC 2010


Hello Luiz,

Booting over nfs would be ideal
Now, I can get both interfaces up though with still the wrong mac address
arge0=0x0e
arge1=0x22


Regards,
Youri


----- Original Message ----
From: Luiz Otavio O Souza <lists.br at gmail.com>
To: Youri Adonis <vrtuff at yahoo.com>
Cc: freebsd-mips at freebsd.org
Sent: Fri, August 13, 2010 9:19:54 AM
Subject: Re: Reporting success with FreeBSD on Netgear WNDR3700

Youri,

The phy mask 0xa0 is the same as (0x80 | 0x20) and this is a multi-phy setting, 
you'll get better media status when using only one phy, can you try it with 0x20 
? (that's probably the correct one).

The MAC address comes from bootloader (as a command line arg or environment 
variable), you have to find out what is the method used for your router.

If the RTL switch is supported as a basic/generic PHY (like ukphy), you can try 
the arge0 with a multi-phy mask like 0x0f (or 0x1f) and check if something comes 
up.

Now you can boot it over nfs :)

Luiz



On Aug 12, 2010, at 2:22 PM, Youri Adonis wrote:

> Luiz.
> 
> I can only get  arge1 detected with 0xa0 with a bogus MAC address, not the 
> actual one. Nothing came up for arge0.
> Flash is being ack'd as well
> 
> 
> Thanks
> Youri
> 
> 
> 
> See below dmesg:
> 
> **************************************************************
> 
> Starting kernel ...
> 
> platform frequency: 680000000
> arguments: 
>  a0 = 00000006
>  a1 = a3f5ffb0
>  a2 = a3f60450
>  a3 = 00000008
> Cache info:
>  picache_stride    = 4096
>  picache_loopcount = 16
>  pdcache_stride    = 4096
>  pdcache_loopcount = 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=0x9ee3519e<PerfCount,WatchRegs,MIPS16,EJTAG>
>  Config3=0x20
> 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 #61: Thu Aug 12 16:59:08 UTC 2010
> 
>root at hollu.lan:/usr/wndr3700-current-obj/mips.mips/usr/src/freebsd-current/src/sys/WNDR3700
>0
> mips
> real memory  = 67108864 (65536K bytes)
> avail memory = 59379712 (56MB)
> nexus0: <MIPS32 root nexus>
> 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 mem 0x18000000-0x18ffffff 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 
>1 
>
> 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
> arge0: <Atheros AR71xx built-in ethernet interface> at mem 
>0xb9000000-0xb9000fff 
>
> irq 2 on nexus0
> arge0: No PHY specified, using mask 16
> arge0: MII without any phy!
> device_attach: arge0 attach returned 6
> arge1: <Atheros AR71xx built-in ethernet interface> at mem 
>0xba000000-0xba000fff 
>
> irq 3 on nexus0
> arge1: Ethernet address: 62:73:64:9b:19:68
> arge1: [FILTER+ITHREAD]
> spi0: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on nexus0
> spibus0: <spibus bus> on spi0
> mx25l0: <M25Pxx Flash Family> at cs 0 on spibus0
> mx25l0: mx25ll64, sector 65536 bytes, 128 sectors
> 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, 
>
> default to accept, logging disabled
> DUMMYNET 0 with IPv6 initialized (100409)
> load_dn_sched dn_sched FIFO loaded
> load_dn_sched dn_sched PRIO loaded
> load_dn_sched dn_sched QFQ loaded
> load_dn_sched dn_sched RR loaded
> load_dn_sched dn_sched WF2Q+ 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
> Root mount waiting for: usbus1 usbus0
> uhub0: 2 ports with 2 removable, self powered
> uhub1: 2 ports with 2 removable, self powered
> Trying to mount root from ufs:/dev/da0s1
> ROOT MOUNT ERROR: 
> If you have invalid mount options, reboot, and first try the following from
> the loader prompt:
> 
>     set vfs.root.mountfrom.options=rw
> 
> and then remove invalid mount options from /etc/fstab.
> 
> Loader variables:
> vfs.root.mountfrom=
> vfs.root.mountfrom.options=
> 
> 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 /
> 
>  ?                  List valid disk boot devices
>  <empty line>       Abort manual input
> 
> mountroot> 
> 
> 


      


More information about the freebsd-mips mailing list