From owner-freebsd-mips@FreeBSD.ORG Thu Aug 12 17:22:57 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 0AF48106567A for ; Thu, 12 Aug 2010 17:22:57 +0000 (UTC) (envelope-from vrtuff@yahoo.com) Received: from web33207.mail.mud.yahoo.com (web33207.mail.mud.yahoo.com [209.191.69.155]) by mx1.freebsd.org (Postfix) with SMTP id C0DAF8FC14 for ; Thu, 12 Aug 2010 17:22:56 +0000 (UTC) Received: (qmail 50619 invoked by uid 60001); 12 Aug 2010 17:22:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1281633776; bh=s7phVR8zTh3ejP7N1sEufPU1bZZamDb262qJI8a8BD8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=z6DgKOq8HQjqrPcbMNBBGw6t9d7cn5tRit2Nj1BqGM7rKM+g5BcryJPSqDWZWNVzmxmg+rGyTwd/uDQyEr2wNf4QaDzECn39wplBaLkrzWWdo7eBznNrNbQPtSlgdXvFWfwCQuy84/OUn9OiC/18VJa/Mbn8sYINOjXscz8L8sQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=48YIylXkBvR/cIg318e5pdVe5EzfXG1hjiGn/js45RJADvQSSzLn/T9uZt3gTwHpDV2v+mRZv160hLSoU9imevlRrrEvpm8wY31ktgcQNhtOoUkAHnpFRDhQEJTaq0XdWvSC+XOp+Q0Ye1ZstMwb4P2dYFnksIPIsDy3M2/B2Qc=; Message-ID: <40010.49671.qm@web33207.mail.mud.yahoo.com> X-YMail-OSG: 786zG6QVM1kensVZas_lh3XHn5yRIDSuRfafx8aqAOuKIgi D9AGljIdQ1Sn5.iwD_.PwYMsp3IkhiK1FB2eNxDEugKZHjUxCVJaSJlr.UkK Bl8xHJL3_gNR80CMONaeUvEPd5AWTzv1HNt1ELFVjy5bX365rdSaoZvx2SOB 8Y1_2Y5oaBSCQPSn5JGsXqKqe79GZRq2v2oc884rTC800FGo1QV603foSvTp 2VN0TYW4yQbw_Dx1nl6_qD.rTwUNsY.HT2sGORF7KZ9KF_.6FjfVYaA6yhsP UFpswU1ct4juknNZjWL2tajrhBz1O4eLZrj.keH4vcrYwOtGhJ2CYn276wzR xylZNaNsqbhbhTWw3m3U3JH9w0VBDZQ-- Received: from [24.189.140.45] by web33207.mail.mud.yahoo.com via HTTP; Thu, 12 Aug 2010 10:22:55 PDT X-Mailer: YahooMailRC/470 YahooMailWebService/0.8.105.279950 References: <677389.94707.qm@web33207.mail.mud.yahoo.com> <746AF81F-05D4-400A-842C-75B3346E915E@gmail.com> Date: Thu, 12 Aug 2010 10:22:55 -0700 (PDT) From: Youri Adonis To: Luiz Otavio O Souza In-Reply-To: <746AF81F-05D4-400A-842C-75B3346E915E@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-mips@freebsd.org Subject: 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: Thu, 12 Aug 2010 17:22:57 -0000 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 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@hollu.lan:/usr/wndr3700-current-obj/mips.mips/usr/src/freebsd-current/src/sys/WNDR3700 mips real memory = 67108864 (65536K bytes) avail memory = 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 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 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 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, 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: 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: : Mount using filesystem 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 Abort manual input mountroot> ----- Original Message ---- From: Luiz Otavio O Souza To: false Cc: freebsd-mips@freebsd.org Sent: Thu, August 12, 2010 9:33:08 AM Subject: Re: Reporting success with FreeBSD on Netgear WNDR3700 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 > > full dmesg: > > ************************************************************ > > Starting kernel ... > > platform frequency: 680000000 > arguments: > a0 = 00080410 > a1 = 804448ac > a2 = 00000010 > a3 = 804b2180 > 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 > 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 #16: Wed Aug 11 06:27:58 UTC 2010 > >root@hollu.lan:/usr/wndr3700-current-obj/mips.mips/usr/src/freebsd-current/src/sys/WNDR3700 >0 > mips > real memory = 67108864 (65536K bytes) > avail memory = 59437056 (56MB) > nexus0: > Either maddr or msize hint is missing for apb0 > Either maddr or msize hint is missing for pcib0 > clock0: 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: on apb0 > ohci0: [ITHREAD] > usbus0 on ohci0 > ehci0: at mem 0x1b000000-0x1bffffff irq >3 > > on nexus0 > ehci0: [ITHREAD] > usbus1: set host controller mode > usbus1: EHCI version 1.0 > usbus1: set host controller mode > usbus1: on ehci0 > pcib0 at irq 0 on nexus0 > pcib0: [FILTER] > pci0: on pcib0 > pci0: at device 0.0 (no driver attached) > pci0: at device 17.0 (no driver attached) > pci0: at device 18.0 (no driver attached) > spi0: at mem 0x1f000000-0x1f00000f on nexus0 > spibus0: on spi0 > 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, > > 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: at usbus0 > uhub0: on usbus0 > ugen1.1: at usbus1 > uhub1: 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: > 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: > : Mount using filesystem > 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 > Abort manual input > > mountroot> > > ************************************************** > > Hopefully the board will help with getting the switch/ethernet/wifi working > > 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