From owner-freebsd-mips@FreeBSD.ORG Fri Aug 13 13:20:02 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D99A1065696 for ; Fri, 13 Aug 2010 13:20:02 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id D59238FC1C for ; Fri, 13 Aug 2010 13:20:01 +0000 (UTC) Received: by qwg5 with SMTP id 5so3248497qwg.13 for ; Fri, 13 Aug 2010 06:20:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=E/7vea4bTmPBmV3PN/j90dBm6oJoWTmWRLBw5Qxlik8=; b=CB2d1b47L7/KjnMnpwmrbAxhfoA+TAvFIzvWZEyUEAmr87Vu8kuwp9YzfqVWk/XHQS wrl2D0hVOq1Xf9UDNXvmKIvcKUoVv0lO/IcsFtXy8Q4S0kjxfypQ0sP+Zbj0D5bb6tYH Wf1GLtnt/7fdoVE/SOG/U3TDohh4KV73Tr9+A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=qmoNIctJLnStOS3IjuiAZVSdzqKvLUNKEH0657oOts3YYqFBmpcuv7N8NeYB9XYOgv +vAeFqQodBD/bGhpPjyeyeHm+DZprJ6aFmSu0GyIP/V+fRRj/KkrMXCzkuTymnRyY/3l lMslEV1vLPZbh4jJAMmWPsklAM4CWlPLM9LpU= Received: by 10.224.10.204 with SMTP id q12mr965694qaq.169.1281705599261; Fri, 13 Aug 2010 06:19:59 -0700 (PDT) Received: from [192.168.0.86] ([187.39.29.5]) by mx.google.com with ESMTPS id r36sm3397815qcs.3.2010.08.13.06.19.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 13 Aug 2010 06:19:58 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Luiz Otavio O Souza In-Reply-To: <40010.49671.qm@web33207.mail.mud.yahoo.com> Date: Fri, 13 Aug 2010 10:19:54 -0300 Content-Transfer-Encoding: quoted-printable Message-Id: <46331CC2-D733-4669-9993-9502124EE26F@gmail.com> References: <677389.94707.qm@web33207.mail.mud.yahoo.com> <746AF81F-05D4-400A-842C-75B3346E915E@gmail.com> <40010.49671.qm@web33207.mail.mud.yahoo.com> To: Youri Adonis X-Mailer: Apple Mail (2.1081) Cc: freebsd-mips@freebsd.org Subject: Re: Reporting success with FreeBSD on Netgear WNDR3700 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2010 13:20:02 -0000 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. >=20 > I can only get arge1 detected with 0xa0 with a bogus MAC address, not = the=20 > actual one. Nothing came up for arge0. > Flash is being ack'd as well >=20 >=20 > Thanks > Youri >=20 >=20 >=20 > See below dmesg: >=20 > ************************************************************** >=20 > Starting kernel ... >=20 > platform frequency: 680000000 > arguments:=20 > a0 =3D 00000006 > a1 =3D a3f5ffb0 > a2 =3D a3f60450 > a3 =3D 00000008 > 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 > 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 #61: Thu Aug 12 16:59:08 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 59379712 (56MB) > nexus0: > clock0: 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: on apb0 > ohci0: [ITHREAD] > usbus0 on ohci0 > ehci0: at mem = 0x1b000000-0x1bffffff irq 1=20 > on nexus0 > ehci0: [ITHREAD] > usbus1: set host controller mode > usbus1: EHCI version 1.0 > usbus1: set host controller mode > usbus1: on ehci0 > arge0: at mem = 0xb9000000-0xb9000fff=20 > irq 2 on nexus0 > arge0: No PHY specified, using mask 16 > arge0: MII without any phy! > device_attach: arge0 attach returned 6 > arge1: at mem = 0xba000000-0xba000fff=20 > irq 3 on nexus0 > arge1: Ethernet address: 62:73:64:9b:19:68 > arge1: [FILTER+ITHREAD] > spi0: at mem 0x1f000000-0x1f00000f on nexus0 > spibus0: on spi0 > mx25l0: at cs 0 on spibus0 > mx25l0: mx25ll64, sector 65536 bytes, 128 sectors > ar71xx_wdog0: on nexus0 > cryptosoft0: 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 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: at usbus0 > uhub0: on = usbus0 > ugen1.1: at usbus1 > uhub1: 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:=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: > : Mount using filesystem > 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 > Abort manual input >=20 > mountroot>=20 >=20 >=20