From owner-freebsd-embedded@FreeBSD.ORG Sun Jul 21 06:22:17 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7B446F8D; Sun, 21 Jul 2013 06:22:17 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) by mx1.freebsd.org (Postfix) with ESMTP id E54753DC; Sun, 21 Jul 2013 06:22:16 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id l18so83489wgh.35 for ; Sat, 20 Jul 2013 23:22:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=v7TG6tdPPUSkgZaBVMM2yvg90fltHiHXaaGHHyeXALM=; b=QsxX1qjDq0adtJ8lCK2/mbfnYYrB7Kx1Zsjg4DCkloJFQQicpvOCcxE/RhdbDgiF+0 BeunW7Vjo34hlDsMjp81cDAUR43YyuioSb3nvxYAO/5Kb1SWgThdBQGpaN6EtMfQiYG4 767tbmnq1gWODEV1UzcuVWVgu58qvD/gABUxDz8Qz5QEa1ReUhlOqNUYglWVI7o4WyCg USBUVDcgBUL5USMe+MPJ4p0cL+XedW2eQQRocWfMr1wFdy+CJg7D9ZKg/QBJJ2XSgIAc QpoXpeXtc6EtyW4DO3oSnyCPYNiiHHeFICWzixTCRZv5nSaI9RwHV4j46PqBB+3pAm0d HZxA== MIME-Version: 1.0 X-Received: by 10.180.185.148 with SMTP id fc20mr15457575wic.0.1374387736021; Sat, 20 Jul 2013 23:22:16 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.94.132 with HTTP; Sat, 20 Jul 2013 23:22:15 -0700 (PDT) In-Reply-To: <1374340359.1421.3.camel@localhost> References: <1374340359.1421.3.camel@localhost> Date: Sat, 20 Jul 2013 23:22:15 -0700 X-Google-Sender-Auth: Xfxdg8BJO8EYR3AtGkFm1_zHrCc Message-ID: Subject: Re: Dlink DIR-825 B1 status From: Adrian Chadd To: sbruno@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jul 2013 06:22:17 -0000 so there's some fixup code that has to be run. Look at ar71xx_pci.c, AR71XX_ATH_EEPROM, and ar71xx_pci_fixup(). In DIR-825.hints: # ath0 - slot 17 hint.pcib.0.bus.0.17.0.ath_fixup_addr=0x1fff1000 hint.pcib.0.bus.0.17.0.ath_fixup_size=4096 # ath1 - slot 18 hint.pcib.0.bus.0.18.0.ath_fixup_addr=0x1fff5000 hint.pcib.0.bus.0.18.0.ath_fixup_size=4096 So ignoring the driver attach bit, we need to figure out why the eeprom isn't correctly loading in these values. Now, what I think is going on - I think my values above are incorrect. The default image puts it ~ 6mb into the image, NOT the last 64k in the 8mb flash: # The DIR-825 has an 8MB flash part - HOWEVER, the 64k caldata isn't # at the end of the flash. It's ~ 6MB into the flash image. # mtdparts=ar7100-nor0:256k(uboot),64k(Config),1024k(vmlinux),5184k(rootfs),64k(caldata) .. hint.map.4.at="flash/spi0" hint.map.4.start=0x00660000 hint.map.4.end=0x00670000 hint.map.4.name="art" hint.map.4.readonly=1 .. and so I think the address needs to be 0x1f661000 and 0x1f665000 .. not 0x1fff1000/0x1fff5000. So try modifying the fixup_addr to be 0x1f661000 and 0x1f665000 and see if the fixup stuff .. actually fixes things up. -adrian On 20 July 2013 10:12, Sean Bruno wrote: > Using adrian's build sys, I've been able to get this router up with > FreeBSD. There's no indication that it has wireless interfaces on it, > which is odd. > > dmesg --> http://people.freebsd.org/~sbruno/dir_825_dmesg.txt > > There appears to be unattached devices, I suspect maybe I should just > add them to the appropriate driver and recompile? > > # pciconf -lvb > none0@pci0:0:17:0: class=0x020000 card=0xee1c168c chip=0xff1d168c > rev=0x01 hdr=0x00 > vendor = 'Atheros Communications Inc.' > device = 'AR5008 Wireless Network Adapter' > class = network > subclass = ethernet > bar [10] = type Memory, range 32, base 0, size 65536, disabled > none1@pci0:0:18:0: class=0x020000 card=0xee1c168c chip=0xff1d168c > rev=0x01 hdr=0x00 > vendor = 'Atheros Communications Inc.' > device = 'AR5008 Wireless Network Adapter' > class = network > subclass = ethernet > bar [10] = type Memory, range 32, base 0, size 65536, disabled > > > Sean > > p.s. I was totally shocked that there's a pci bus on this thing. That > blew my mind. From owner-freebsd-embedded@FreeBSD.ORG Sun Jul 21 15:01:51 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0FEE6903 for ; Sun, 21 Jul 2013 15:01:51 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from phoenix.eternamente.info (phoenix.eternamente.info [109.169.62.232]) by mx1.freebsd.org (Postfix) with ESMTP id C1D2528A for ; Sun, 21 Jul 2013 15:01:50 +0000 (UTC) Received: by phoenix.eternamente.info (Postfix, from userid 80) id 197731CC58; Sun, 21 Jul 2013 12:01:49 -0300 (BRT) Received: from 189.124.236.201 (SquirrelMail authenticated user matheus) by arroway.org with HTTP; Sun, 21 Jul 2013 12:01:49 -0300 Message-ID: In-Reply-To: References: <20130701152313.60982@relay.ibs.dn.ua> <20130701220301.1636@relay.ibs.dn.ua> <20130702085213.52064@relay.ibs.dn.ua> <18a9b686d7f49d3773ad63eb853b1c88.squirrel@arroway.org> <177ad5f8896d866e3b46b73e0226af06.squirrel@arroway.org> <7d75020201891ae6047eea627aadef62.squirrel@arroway.org> Date: Sun, 21 Jul 2013 12:01:49 -0300 Subject: Re: FreeBSD on ASUS, TP-Link and D-Link routers? From: "Nenhum_de_Nos" Cc: "freebsd-embedded" User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jul 2013 15:01:51 -0000 On Tue, July 16, 2013 11:37, Luiz Otavio O Souza wrote: > On 6 July 2013 17:25, Nenhum_de_Nos wrote: > > >> how can I configure it to use the usb port as storage ? >> >> is there a limit to the size of the usb stick ? >> >> thanks, >> >> matheus >> >> > Hi Matheus, > > Any kind of storage (supported by umass) should just work, here are two > examples. > > A 160GB hard drive connected thru a USB->[S]ATA adaptor: > > ugen0.3: at usbus0 > umass0: on usbus0 > umass0: SCSI over Bulk-Only; quirks = 0x4000 > umass0:0:0:-1: Attached to scbus0 > da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > da0: Fixed Direct Access SCSI-2 device > da0: 40.000MB/s transfers > da0: 152627MB (312581808 512 byte sectors: 255H 63S/T 19457C) > da0: quirks=0x2 > > # geom disk list da0 > Geom name: da0 > Providers: > 1. Name: da0 > Mediasize: 160041885696 (149G) > Sectorsize: 512 > Mode: r8w8e23 > descr: ST316021 2A > ident: (null) > fwsectors: 63 > fwheads: 255 > > # gpart show da0 > => 34 312581741 da0 GPT (149G) > 34 478 - free - (239k) > 512 524288 1 freebsd-swap (256M) > 524800 20971520 2 freebsd-ufs (10G) > 21496320 20971520 3 freebsd-ufs (10G) > 42467840 41943040 4 freebsd-ufs (20G) > 84410880 41943040 5 freebsd-ufs (20G) > 126353920 41943040 6 freebsd-ufs (20G) > 168296960 20971520 7 freebsd-ufs (10G) > 189268480 10485760 8 freebsd-ufs (5.0G) > 199754240 112827535 - free - (53G) > > > And a memory stick: > > ugen0.2: at usbus0 > umass0: on usbus0 > umass0: SCSI over Bulk-Only; quirks = 0x4100 > umass0:0:0:-1: Attached to scbus0 > da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > da0: Removable Direct Access SCSI-5 device > da0: 40.000MB/s transfers > da0: 7633MB (15633408 512 byte sectors: 255H 63S/T 973C) > > # geom disk list da0 > Geom name: da0 > Providers: > 1. Name: da0 > Mediasize: 8004304896 (7.5G) > Sectorsize: 512 > Mode: r6w4e13 > descr: SanDisk Cruzer Blade > ident: (null) > fwsectors: 63 > fwheads: 255 > > # gpart show da0 > => 34 15633341 da0 GPT (7.5G) > 34 94 - free - (47k) > 128 262144 1 freebsd-swap (128M) > 262272 786432 2 freebsd-ufs (384M) > 1048704 1048576 3 freebsd-ufs (512M) > 2097280 2097152 4 freebsd-ufs (1.0G) > 4194432 2097152 5 freebsd-ufs (1.0G) > 6291584 20480 6 freebsd-ufs (10M) > 6312064 9321311 - free - (4.5G) > > > The only difference is that you can't read the big endian UFS on your (x86) > PC. > > Luiz thanks Luiz, I bought the serial-usb cable as suggested on the site, and when it gets here I will ask for guidance again. I plan on buying another 1043 for test purposes. this way I can play as much as needed. I have no kernel coding skills, but I sure can help testing :) thanks, matheus ps: by the way, I can't still build the image. wait for head yet ? -- We will call you Cygnus, The God of balance you shall be A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? http://en.wikipedia.org/wiki/Posting_style From owner-freebsd-embedded@FreeBSD.ORG Sun Jul 21 16:15:57 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 86616AC8 for ; Sun, 21 Jul 2013 16:15:57 +0000 (UTC) (envelope-from sean_bruno@yahoo.com) Received: from nm28-vm3.bullet.mail.gq1.yahoo.com (nm28-vm3.bullet.mail.gq1.yahoo.com [98.136.216.162]) by mx1.freebsd.org (Postfix) with ESMTP id 03BDD8AD for ; Sun, 21 Jul 2013 16:15:56 +0000 (UTC) Received: from [98.137.12.189] by nm28.bullet.mail.gq1.yahoo.com with NNFMP; 21 Jul 2013 16:10:43 -0000 Received: from [98.136.164.67] by tm10.bullet.mail.gq1.yahoo.com with NNFMP; 21 Jul 2013 16:10:43 -0000 Received: from [127.0.0.1] by smtp229.mail.gq1.yahoo.com with NNFMP; 21 Jul 2013 16:10:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1374423043; bh=6vc0ovVqX4XmQUzNJ5zH9y091/kSweawbRuVqV9ZLTg=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Subject:From:Reply-To:To:Cc:In-Reply-To:References:Content-Type:Date:Message-ID:Mime-Version:X-Mailer; b=P3QRLpmArRAiy6Nu/WIZ5yHdRDdMGwvPlc4q9Ijxxv4laLDsl0kmexOTiU/gLZM9cygK9Vfzy9wXNmLvwrrNz4Yk4E2yIxLau0eTafR03SQDa69n7ASSelRpW3BFA5KCWTs8R5iJROKtrQPMB95nyPy0lAx8ztH9pkI3Rva5jrw= X-Yahoo-Newman-Id: 103813.78379.bm@smtp229.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: wAYuXZwVM1lslDS6fpEFaOo_C6FOXTusp844dqrmoUNik4O JPD9pC2sslzYpIMVqvK7kEEj_G8pYtule5X1ughqv_pnWQNSoVqiSeA5czuh s2j3oCIjcROsXBuw1eIhksCijuVDnYXiSfkWWYRZFgGvkCXrQiykdL70N.A3 wr5dHT65nyf62ogdD_98YplcsWgQ41bEVrfmlMP3Sb5QrY0gL_2YyXxzyz31 mU4_SPOh4FCuYLWBUk5LN4MgNw1dKldv2O8WeydmV9bZ47twxoQDmo3Ck.b. r5CF15wG5XBmM9HZgeBIfEomdxNd29pI.klxhfJ4BNj2bf.760Il3kLNKQKi w6nbrkS.bPe4aU.ElZOxAtsXY9CQvhPIMY0XnxgWej8sjoysVUEgz9bn43AR 3x88O1EiJsnE2FaCSHdov1M_jB8fqS9qVe0oje4CmEvKd57D7UwlGVZQyYVf FDOLD2c5X8qR8B4m5Awbds49a9s3AkkFdaIBKxTGA4b.QJNjFbAaYXZW8LG1 PtsqwI1JoYhYUMf5cOCIMLsiQsaQg38eFjaOBBqmi_MB3QN4YwjS.2OErBMX Jv6tfNbNmwiViUVGKbLLDAqzYvq21li7N7NXcfIkKDgOtWB8zDKfuVGouxbF AUkNe4Hob4IJkJIr9 X-Yahoo-SMTP: u5BKR6OswBC_iZJVfGRoMkTIpc8pEA4- X-Rocket-Received: from [192.168.1.210] (sean_bruno@71.202.40.63 with ) by smtp229.mail.gq1.yahoo.com with SMTP; 21 Jul 2013 16:10:42 +0000 UTC Subject: Re: Dlink DIR-825 B1 status From: Sean Bruno To: Adrian Chadd In-Reply-To: References: <1374340359.1421.3.camel@localhost> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-ifaDTA641hHbIWNlmy9o" Date: Sun, 21 Jul 2013 09:07:30 -0700 Message-ID: <1374422850.1402.8.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jul 2013 16:15:57 -0000 --=-ifaDTA641hHbIWNlmy9o Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Sat, 2013-07-20 at 23:22 -0700, Adrian Chadd wrote: >=20 > .. and so I think the address needs to be 0x1f661000 and 0x1f665000 .. > not 0x1fff1000/0x1fff5000. >=20 > So try modifying the fixup_addr to be 0x1f661000 and 0x1f665000 and > see if the fixup stuff .. actually fixes things up.=20 Before changes --> http://people.freebsd.org/~sbruno/dir825_fbsd_boot_verbose.txt After changes --> http://people.freebsd.org/~sbruno/dir825_fbsd_boot_verbose_fixup.txt pciconf -lv none0@pci0:0:17:0: class=3D0x028000 card=3D0xa095168c chip=3D0x0029168= c rev=3D0x01 hdr=3D0x00 none1@pci0:0:18:0: class=3D0x028000 card=3D0xa094168c chip=3D0x0029168= c rev=3D0x01 hdr=3D0x00 Fixup is now running on the B1. Now looking at why ath(4) didn't attach. Its not clear to me as the chip=3D0029168c should match. Sean --=-ifaDTA641hHbIWNlmy9o Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iQEcBAABAgAGBQJR7AdCAAoJEBkJRdwI6BaH9oYH/36BVO+wvyUz3zYR+7lBkXKT T4cBCh/jw/PWcAQcpjlEeefuGcsa8sApnQukMl588Raf7ZQheasPCbXqNVmpRwDf XUWhgd6rKEA8EcJ2wCA4cNbXdER8PIvriJFPTsM/pt2kpjumz0xk2BCvT9BUbUzZ FOIQ9DPxZqAHsbG5r0FDxhEuc62+LlAkYEjpCPaJm0uUulbzUnSejplQ51vPFg5H b1ot3zEj/2ZrV7ovNLB0vw9qFNVbIAbgisdcKj1RAt3VAvBPNqECHHotq3iVYxH8 K3iRhHXevZ7NqBxgKK/HmXvYiAWUYg3xuDJPWXkVntNZzRT4HU7Zuw147X6nAJY= =+9uv -----END PGP SIGNATURE----- --=-ifaDTA641hHbIWNlmy9o-- From owner-freebsd-embedded@FreeBSD.ORG Sun Jul 21 18:32:38 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B0780DD9; Sun, 21 Jul 2013 18:32:38 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) by mx1.freebsd.org (Postfix) with ESMTP id 24F59CA1; Sun, 21 Jul 2013 18:32:37 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id hq4so1171770wib.8 for ; Sun, 21 Jul 2013 11:32:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=vx6mFK/pQfB352v6GVfm/DkJKnju3xzsJm/q9NEC3UU=; b=WbenTlsUopXPiX07gz8CFOUJtoqsgB1rumrA15R1t093GQRtHRIQmwBh4FufgkU8kN QdL+pIBhhcgpZtz+PBBmGz9fv/BJMdvQopIPpk2TvVjud65mp7nu4GaGVqGeG8pAbS3T gxx/UXp5V6+g+oR/E/FRkovSg7zkdq/ErqsHFrEoj9RFzYnArIAg9U0bZzxylsFud3ol sXNfCH037Ng6KtfAT6opUswpmDtihCIbqEXj+dkyZ1S/oRivQA4auSyAYyPnV6ATs7P9 EnhdlzUaaSbfroNirdY9V0lyYbTBC1JvtLaK8vUEuUcJdGp3NbjTZCUm/K3e+mzk5dPH i0JQ== MIME-Version: 1.0 X-Received: by 10.194.63.229 with SMTP id j5mr16869886wjs.79.1374431557266; Sun, 21 Jul 2013 11:32:37 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.94.132 with HTTP; Sun, 21 Jul 2013 11:32:37 -0700 (PDT) In-Reply-To: <1374422850.1402.8.camel@localhost> References: <1374340359.1421.3.camel@localhost> <1374422850.1402.8.camel@localhost> Date: Sun, 21 Jul 2013 11:32:37 -0700 X-Google-Sender-Auth: nIedoEOjIzFuLZxm5U07a8_Ep74 Message-ID: Subject: Re: Dlink DIR-825 B1 status From: Adrian Chadd To: sbruno@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jul 2013 18:32:38 -0000 Woo! Please submit a diff and I'll give you the OK to commit it. Oh, I think ath isn't being built in the kernel, due to size constraints. See if I built it in the filesystem image. -adrian On 21 July 2013 09:07, Sean Bruno wrote: > On Sat, 2013-07-20 at 23:22 -0700, Adrian Chadd wrote: >> >> .. and so I think the address needs to be 0x1f661000 and 0x1f665000 .. >> not 0x1fff1000/0x1fff5000. >> >> So try modifying the fixup_addr to be 0x1f661000 and 0x1f665000 and >> see if the fixup stuff .. actually fixes things up. > > Before changes --> > http://people.freebsd.org/~sbruno/dir825_fbsd_boot_verbose.txt > > After changes --> > http://people.freebsd.org/~sbruno/dir825_fbsd_boot_verbose_fixup.txt > > pciconf -lv > none0@pci0:0:17:0: class=0x028000 card=0xa095168c chip=0x0029168c > rev=0x01 hdr=0x00 > none1@pci0:0:18:0: class=0x028000 card=0xa094168c chip=0x0029168c > rev=0x01 hdr=0x00 > > > Fixup is now running on the B1. Now looking at why ath(4) didn't > attach. Its not clear to me as the chip=0029168c should match. > > Sean From owner-freebsd-embedded@FreeBSD.ORG Sun Jul 21 22:55:37 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8AD7D8B4 for ; Sun, 21 Jul 2013 22:55:37 +0000 (UTC) (envelope-from sean_bruno@yahoo.com) Received: from nm33-vm3.bullet.mail.gq1.yahoo.com (nm33-vm3.bullet.mail.gq1.yahoo.com [98.136.216.242]) by mx1.freebsd.org (Postfix) with ESMTP id CCB0C880 for ; Sun, 21 Jul 2013 22:55:36 +0000 (UTC) Received: from [98.137.12.59] by nm33.bullet.mail.gq1.yahoo.com with NNFMP; 21 Jul 2013 22:49:38 -0000 Received: from [208.71.42.190] by tm4.bullet.mail.gq1.yahoo.com with NNFMP; 21 Jul 2013 22:49:38 -0000 Received: from [127.0.0.1] by smtp201.mail.gq1.yahoo.com with NNFMP; 21 Jul 2013 22:49:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1374446978; bh=447T5pveYKEx4bbKY+veFJj+h7qA8lJLuFH4PleRXeo=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Subject:From:Reply-To:To:Cc:In-Reply-To:References:Content-Type:Date:Message-ID:Mime-Version:X-Mailer; b=cJD9TIYWXRCJyjZkP3mVT+aC8EuSEZzm3cqIkNV2K/e2kg99px06ybuSEhyJJK2tNbfeh4rAEXncN/aKZ74YeecMGTMOhXvwAqs9vE+XYRoNuKUmNi9N+y/UoExyJh79bENRIYkrMCa09Y5XFtq2bIAYBNXq/Gdz1SEAqvtd5KI= X-Yahoo-Newman-Id: 464248.42580.bm@smtp201.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: T2b_UvkVM1khdGN9LyQcMwpbL5Fxc_C5C1XZkakrSLfSZbS 8HjQpjxt1ovgrgxp8Z2tsxSoUgEI4ZtZJfoCiO1qmsbAW1wwfgbn0b8pa8r3 GTUdVEcpwbc.IQofMXeOnvL_zRrAWvxyeBMtnC4ewksbwRUQg86tTCHxYC4j QbCBY6xyMIw8JrxxHHIsA99rJo2vvAT4gVRgFI80K82yQf9oGwqdeGZTsDeF IMPwlx7mrLIRx1HMK_txWMHgDsMWbiSg7h81R1MgWbRjiOx9fwQVADP.nwl2 Fbd7eR.XPY47SxJYoWbHvN8SRJt9.QnFFDgJOwM07MnN.RzHztuVwmMPl.WC O0DbQezRtuvKKPXRvjGQUx5DcwOAbdlrESOBhsJzhr6htVp9lILB_upM9wri FGxve52OhbtJ03Rql1zAKwLQ2iz_UQXgfYRhIGlF6.TjCmDKEYmAKXzBMk1x GahBmC3M0TJrlnH5FADh7K8pKEXP8KmdDzqgG8m_sp_mGtV3Clwex1dGMful Cg4px0YLfKeAf0la5t.J1tcY- X-Yahoo-SMTP: u5BKR6OswBC_iZJVfGRoMkTIpc8pEA4- X-Rocket-Received: from [192.168.1.210] (sean_bruno@71.202.40.63 with ) by smtp201.mail.gq1.yahoo.com with SMTP; 21 Jul 2013 15:49:38 -0700 PDT Subject: Re: Dlink DIR-825 B1 status From: Sean Bruno To: Adrian Chadd In-Reply-To: References: <1374340359.1421.3.camel@localhost> <1374422850.1402.8.camel@localhost> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-GBQM1KkayeVTHn+On+sM" Date: Sun, 21 Jul 2013 15:18:26 -0700 Message-ID: <1374445106.1402.10.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jul 2013 22:55:37 -0000 --=-GBQM1KkayeVTHn+On+sM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Sun, 2013-07-21 at 11:32 -0700, Adrian Chadd wrote: > Woo! Please submit a diff and I'll give you the OK to commit it. >=20 > Oh, I think ath isn't being built in the kernel, due to size > constraints. See if I built it in the filesystem image. >=20 >=20 >=20 >=20 > -adrian Ok, diff for freebsd things first. --sys/mips/conf/DIR-825 -- s/bridge/if_bridge/ --sys/mips/conf/DIR-825.hints change fixup_addr to make the DIR-825 B1 work Index: sys/mips/conf/DIR-825 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/mips/conf/DIR-825 (revision 253531) +++ sys/mips/conf/DIR-825 (working copy) @@ -24,7 +24,7 @@ nodevice gpioled nodevice gif nodevice gre -nodevice bridge +nodevice if_bridge nodevice usb nodevice ehci nodevice wlan Index: sys/mips/conf/DIR-825.hints =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/mips/conf/DIR-825.hints (revision 253531) +++ sys/mips/conf/DIR-825.hints (working copy) @@ -15,11 +15,11 @@ hint.arge.1.fduplex=3D1 =20 # ath0 - slot 17 -hint.pcib.0.bus.0.17.0.ath_fixup_addr=3D0x1fff1000 +hint.pcib.0.bus.0.17.0.ath_fixup_addr=3D0x1f661000 hint.pcib.0.bus.0.17.0.ath_fixup_size=3D4096 =20 # ath1 - slot 18 -hint.pcib.0.bus.0.18.0.ath_fixup_addr=3D0x1fff5000 +hint.pcib.0.bus.0.18.0.ath_fixup_addr=3D0x1f665000 hint.pcib.0.bus.0.18.0.ath_fixup_size=3D4096 =20 # .. and now, telling each ath(4) NIC where to find the firmware --=-GBQM1KkayeVTHn+On+sM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iQEcBAABAgAGBQJR7F4yAAoJEBkJRdwI6BaH5CcIAJIbjEgJ2z1p7inUyQHdxM/2 lOlC078P551saPB6mc5v5h4Ta05cVBKvj+REzyUNJhLEeg05cWvwkupKxmx6Ch1s jfNQLaITHlsvSNatDT6eJxoB8M8joHvuDRr8Zh7qLRttNqH4uZOaBZKt+k2srckG Cjo/Dm7MgTH+40ma10emzlumLPnSYVRVuLUOSIaY1Ls9t678iqj/pmOsUQuzqokR zHGKR4vE4oQau0hzWIwDL6CC9s1iVQtwX9YGjdyYPRxqvtsWIPWBY2mjONbS3R8N rYpT+zJ9CsZLgfCZO0mg3se+OOU32n2vXpknDbEHxu04XC2uR21L/E2sf5KEp8s= =/+Js -----END PGP SIGNATURE----- --=-GBQM1KkayeVTHn+On+sM-- From owner-freebsd-embedded@FreeBSD.ORG Sun Jul 21 23:52:58 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 296CCE1 for ; Sun, 21 Jul 2013 23:52:58 +0000 (UTC) (envelope-from sean_bruno@yahoo.com) Received: from nm33-vm2.bullet.mail.bf1.yahoo.com (nm33-vm2.bullet.mail.bf1.yahoo.com [72.30.239.202]) by mx1.freebsd.org (Postfix) with ESMTP id D91C117BE for ; Sun, 21 Jul 2013 23:52:57 +0000 (UTC) Received: from [98.139.212.147] by nm33.bullet.mail.bf1.yahoo.com with NNFMP; 21 Jul 2013 23:52:49 -0000 Received: from [98.139.211.204] by tm4.bullet.mail.bf1.yahoo.com with NNFMP; 21 Jul 2013 23:52:49 -0000 Received: from [127.0.0.1] by smtp213.mail.bf1.yahoo.com with NNFMP; 21 Jul 2013 23:52:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1374450769; bh=tq4vE/GIuv4xuU4ytiR+eflwGuFzLhFrAlpxSnMB0ro=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Subject:From:Reply-To:To:Cc:In-Reply-To:References:Content-Type:Date:Message-ID:Mime-Version:X-Mailer; b=nLpmtz9m8kR/Wbt8S1X6p690lYCChSy/GfVjeSr5hWBSan0/vuNId40p+sbxssgQj1k8VzG9D5edUIDuARYRtj+BVwnNEU/QLt8f/yurMXMEkEyXsT1abDeeXxXq5feLhfj7x7oTZyGQsjvEWF19eq0Gmul918dOQWlrmVXoNhw= X-Yahoo-Newman-Id: 704401.3395.bm@smtp213.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: jMezhIUVM1loUb6RAJ6TAVhKoJWW48NZD4jHZUYibCPHPL_ XV8C8tktJs6wa062WF9kwqEc87XCKvDCGNGdlUu5y3yhXgX6uQE6AvUOUlZq NbaTiQhcDXSm19Pl.D0xheTfmFBDKsMy5hhEiQhax15kq6dFORFzniBPg0vw WGsWFbr3V1K27fQj2HKzaxhiFA6tlUpiUgqA5hz.hRoBhz2vI5ifbN_ZlRcg .DzGdSSSTG_loQaA5PX8yuGdPGnY.UDWYgYrximwaEuoE1g8tqUWq4ojCJKH ycvcKYsQFex4mZ5iqF.yRGTQB6ghBXmewHvbq6xYqL6JABocddOTWcioaMaB UbDAxQHpYpKL0tqPf2WqJxSrPMYfrQtVQgG8h1tklSFsfpqfzE4bGN0i1qeD sI8_DcnMMSV.wkjY5dpdsb3dXubU_admcrMg2gZshT4wmg7qGtFbW5jPxvRW QT181mQZdQRCZkW9zZ4q.llYlmV_DvJeMKYMrcnwR0qR0.J8y5L5JXtnB3v8 yVsT_6WvNxezkm1izcPysJSqgnhoTPUZedA9DvG5TCeeOnmfVh2lzT2PmdB6 lBn79h9nNkUEktlV6shJCpxP9GBXmaJgjQ.OjeyU0nX1sKG2j1OlrHiLA0mw v X-Yahoo-SMTP: u5BKR6OswBC_iZJVfGRoMkTIpc8pEA4- X-Rocket-Received: from [192.168.1.210] (sean_bruno@71.202.40.63 with ) by smtp213.mail.bf1.yahoo.com with SMTP; 21 Jul 2013 16:52:49 -0700 PDT Subject: Re: Dlink DIR-825 B1 status From: Sean Bruno To: Adrian Chadd In-Reply-To: References: <1374340359.1421.3.camel@localhost> <1374422850.1402.8.camel@localhost> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-z5wIZpcw94K0aPKZvEFU" Date: Sun, 21 Jul 2013 15:49:51 -0700 Message-ID: <1374446991.1402.41.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jul 2013 23:52:58 -0000 --=-z5wIZpcw94K0aPKZvEFU Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Sun, 2013-07-21 at 11:32 -0700, Adrian Chadd wrote: > Woo! Please submit a diff and I'll give you the OK to commit it. >=20 > Oh, I think ath isn't being built in the kernel, due to size > constraints. See if I built it in the filesystem image. >=20 >=20 >=20 >=20 > -adrian Patches for the freebsd builder at http://code.google.com/p/freebsd-wifi-build/ -- libkvm so bump -- added needed modules at load time for wlan/ath -- add a useable configuration for wlan0 Index: build/bin/build_mfsroot =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- build/bin/build_mfsroot (revision 226) +++ build/bin/build_mfsroot (working copy) @@ -265,7 +265,7 @@ ${INSTALL_PROG} ${X_DESTDIR}/lib/libsbuf.so.6 ${X_STAGING_FSROOT}/lib/ # install ${X_DESTDIR}/lib/libipx.so.5 ${X_STAGING_FSROOT}/lib/ ${INSTALL_PROG} ${X_DESTDIR}/lib/libutil.so.9 ${X_STAGING_FSROOT}/lib/ -${INSTALL_PROG} ${X_DESTDIR}/lib/libkvm.so.5 ${X_STAGING_FSROOT}/lib/ +${INSTALL_PROG} ${X_DESTDIR}/lib/libkvm.so.6 ${X_STAGING_FSROOT}/lib/ ${INSTALL_PROG} ${X_DESTDIR}/lib/libpcap.so.8 ${X_STAGING_FSROOT}/lib/ ${INSTALL_PROG} ${X_DESTDIR}/lib/libcrypto.so.7 ${X_STAGING_FSROOT}/lib/ ${INSTALL_PROG} ${X_DESTDIR}/lib/libm.so.5 ${X_STAGING_FSROOT}/lib/ Index: build/files/hostap.wlan0.conf =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- build/files/hostap.wlan0.conf (revision 0) +++ build/files/hostap.wlan0.conf (working copy) @@ -0,0 +1,8 @@ +interface=3Dwlan0 +driver=3Dbsd +ssid=3DTEST +wpa=3D3 +wpa_key_mgmt=3DWPA-PSK +wpa_passphrase=3Dpassword123 +wpa_pairwise=3DCCMP TKIP +ctrl_interface=3D/var/run/hostapd Index: build/files/rc.conf =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- build/files/rc.conf (revision 227) +++ build/files/rc.conf (working copy) @@ -2,11 +2,24 @@ system_hostname=3D"freebsd-wifi-build" =20 # Modules to load -kernel_modules=3D"bridgestp if_bridge random" +kernel_modules=3D"if_ath_pci bridgestp if_bridge random wlan_xauth wlan_tkip" =20 # These interfaces are configured in-order -network_interfaces=3D"arge0 bridge0" +network_interfaces=3D"arge0 wlan0 bridge0" =20 +netif_wlan0_enable=3D"YES" +netif_wlan0_type=3D"wifi" +netif_wlan0_wifi_mode=3D"hostap" +netif_wlan0_descr=3D"default" +netif_wlan0_addrtype=3D"none" +netif_wlan0_name=3D"wlan0" +netif_wlan0_wifi_parent=3D"ath0" +netif_wlan0_wifi_createargs1=3D"country US regdomain FCC3" +netif_wlan0_wifi_createargs2=3D"channel 36:ht/40 up" +netif_wlan0_wifi_hostapd_enable=3D"yes" +netif_wlan0_wifi_hostapd_conf=3D"/etc/cfg/hostapd.wlan0.conf" + + # Create arge0, no interface address netif_arge0_enable=3D"YES" netif_arge0_type=3D"ether" @@ -23,5 +36,5 @@ netif_bridge0_members_stp=3D"arge0" # These are bridge members w/ STP disabled netif_bridge0_members=3D"" -netif_bridge0_ipv4_address=3D"192.168.1.20" +netif_bridge0_ipv4_address=3D"192.168.100.20" netif_bridge0_ipv4_netmask=3D"255.255.255.0" --=-z5wIZpcw94K0aPKZvEFU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iQEcBAABAgAGBQJR7GWPAAoJEBkJRdwI6BaHPMEH/2c+t4oyMhBpkpOsexrdBZ4C kY+WDvvH2UERpukluWZsph0WWttHOlCnKvD+jOuflrPzdE2Fvsd26doMWsfi1VvV TQn09vYYcmN61UhmnlZV6beB0W+EvSBkxj497EkM5USRYZCmMxwV9fEWgbiqn/fO 5vIIjVzSTowBrN71QkJxMJYmIT4WTx7VnZ+fBSbJj9c+p7Yyhkom8BP5YZ/Xx4+6 o1JbUW4SnpQBGsLGyMlJNNc4gHQ8lt/Ye0UYLHAfW7Hpzs/nHqHfYAUMqk8XIDr8 GVS5dnhwA0SlPyuo7wpVNJig1AgAHCqgQnbZOB0XTB04BT81sffWZRPuc5B9cZo= =ZorQ -----END PGP SIGNATURE----- --=-z5wIZpcw94K0aPKZvEFU-- From owner-freebsd-embedded@FreeBSD.ORG Mon Jul 22 11:06:42 2013 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AC19D443 for ; Mon, 22 Jul 2013 11:06:42 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9D1542493 for ; Mon, 22 Jul 2013 11:06:42 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r6MB6gmi053644 for ; Mon, 22 Jul 2013 11:06:42 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r6MB6gZF053642 for freebsd-embedded@FreeBSD.org; Mon, 22 Jul 2013 11:06:42 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Jul 2013 11:06:42 GMT Message-Id: <201307221106.r6MB6gZF053642@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jul 2013 11:06:42 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/177878 embedded [rtl8366rb] [patch] Update rtl8366rb switch driver to o bin/177873 embedded [patch] etherswitchcfg(): Change the per port vlangrou o bin/177872 embedded [patch] etherswitchcfg(8) crashes if called with no ar o bin/177871 embedded [patch] etherswitchcfg(8): uninitialized variable whil o kern/172968 embedded [arge] probe/attach occasionally fails to find a PHY o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c 7 problems total.