From owner-freebsd-embedded@FreeBSD.ORG Mon Nov 21 11:07:01 2011 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D5A2106567E for ; Mon, 21 Nov 2011 11:07:01 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4BAA28FC19 for ; Mon, 21 Nov 2011 11:07:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id pALB71Mi053511 for ; Mon, 21 Nov 2011 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id pALB70T0053509 for freebsd-embedded@FreeBSD.org; Mon, 21 Nov 2011 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Nov 2011 11:07:00 GMT Message-Id: <201111211107.pALB70T0053509@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 Cc: Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2011 11:07:01 -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 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 2 problems total. From owner-freebsd-embedded@FreeBSD.ORG Thu Nov 24 08:13:03 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA8A7106564A for ; Thu, 24 Nov 2011 08:13:03 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9A8178FC08 for ; Thu, 24 Nov 2011 08:13:03 +0000 (UTC) Received: by vbbfa15 with SMTP id fa15so3126475vbb.13 for ; Thu, 24 Nov 2011 00:13:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=WVEKKG1Xi/isUE/eUKBV351LlelqR58jf8fX4uvul7Y=; b=q09qgjYaGYREVTdHLsxq7DAJKdfJtGKKn0KF7UvE2yqJgWazCOZvRljl/wTi+qfRtb CZjj6p6uk2q1sHQrfgeH5bSZua4pDpZodRO+6RWrfPJi11uWav2dxaxcowSLcfGm3xsD xRQQlAl6M5JdkRFZGiwD1CfW9NVYyEC+VNxdc= MIME-Version: 1.0 Received: by 10.52.174.193 with SMTP id bu1mr28618725vdc.71.1322120876266; Wed, 23 Nov 2011 23:47:56 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.52.182.134 with HTTP; Wed, 23 Nov 2011 23:47:56 -0800 (PST) Date: Thu, 24 Nov 2011 15:47:56 +0800 X-Google-Sender-Auth: DwIS1SqP4c2IKhZic3Y-tpuPrUs Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org, freebsd-embedded@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2011 08:13:03 -0000 And with this particular commit, all the bits needed to get FreeBSD-HEAD running natively on this unit are now in the tree. The process is documented here: http://code.google.com/p/freebsd-wifi-build/wiki/TpLinkTLWR1043ND I haven't yet tried building and testing a sysupgrade image, so please don't ask me how to update it via the default firmware webui. So to play this game you'll (for now) require a serial console. I do however have the unit running as a 2.4ghz 11n hostap, natively booting from flash with a 64k flash partition to store configuration data on. My work here is done. :-) Adrian On 24 November 2011 15:37, Adrian Chadd wrote: > Author: adrian > Date: Thu Nov 24 07:37:19 2011 > New Revision: 227926 > URL: http://svn.freebsd.org/changeset/base/227926 > > Log: > =A0Now that I've brought up FreeBSD via flash, I've discovered that > =A0the second-last 64k seems to be the default firmware board configurati= on > =A0area. > > =A0Since I have no idea whether uboot uses it or not - and it's prefixed > =A0with an atheros eeprom signature (0xaa55), I figure the safest thing > =A0to do is mark it as read-only. > > =A0I've modified my local tplink firmware building program to generate > =A0a board configuration section - which is separate to this partition. > =A0It's located in the 64k _before_ this particular 64k. > > =A0The firmware build program from OpenWRT never initialises those > =A0values and the firmware images from tplink also leave it 0x0, so I > =A0don't currently know what the exact, correct details should be. > > Modified: > =A0head/sys/mips/conf/TP-WN1043ND.hints > > Modified: head/sys/mips/conf/TP-WN1043ND.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=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/mips/conf/TP-WN1043ND.hints =A0 =A0 =A0 =A0Thu Nov 24 07:33:= 41 2011 =A0 =A0 =A0 =A0(r227925) > +++ head/sys/mips/conf/TP-WN1043ND.hints =A0 =A0 =A0 =A0Thu Nov 24 07:37:= 19 2011 =A0 =A0 =A0 =A0(r227926) > @@ -26,7 +26,8 @@ hint.ath.0.eepromaddr=3D0x1fff1000 > =A0# 128k: uboot > =A0# 1024k: kernel > =A0# 4096k: rootfs > -# 2880k: unknown > +# 2816: unknown > +# 64k: board config? > =A0# 64k: ART > =A0# > =A0# from printenv: > @@ -37,8 +38,9 @@ hint.ath.0.eepromaddr=3D0x1fff1000 > =A0# So: > =A0# 128k: uboot > =A0# 2048k: kernel > -# 5888k: rootfs > -# (todo: 64k: config) > +# 5824k: rootfs > +# 64k: config > +# 64k: board config? > =A0# 64k: ART > > =A0hint.map.0.at=3D"flash/spi0" > @@ -55,19 +57,38 @@ hint.map.1.readonly=3D1 > > =A0hint.map.2.at=3D"flash/spi0" > =A0hint.map.2.start=3D0x00220000 > -#hint.map.2.end=3D0x007e0000 > -hint.map.2.end=3D0x007f0000 > +hint.map.2.end=3D0x007c0000 > =A0hint.map.2.name=3D"rootfs" > =A0hint.map.2.readonly=3D1 > > -#hint.map.3.at=3D"flash/spi0" > -#hint.map.3.start=3D0x007e0000 > -#hint.map.3.end=3D0x007f0000 > -#hint.map.3.name=3D"cfg" > -#hint.map.3.readonly=3D1 > +hint.map.3.at=3D"flash/spi0" > +hint.map.3.start=3D0x007c0000 > +hint.map.3.end=3D0x007d0000 > +hint.map.3.name=3D"cfg" > +hint.map.3.readonly=3D0 > > +# I'm not sure what this is! > +# > +# It does however start with "55 aa" which is an AR5416 EEPROM > +# magic value, followed by what looks like a set of ethernet > +# MAC addresses, then a bunch of what looks like my local firmware > +# board configuration. > +# > +# For now, I'm going to leave this particular chunk of flash > +# alone. > +# > =A0hint.map.4.at=3D"flash/spi0" > -hint.map.4.start=3D0x007f0000 > -hint.map.4.end=3D0x00800000 > -hint.map.4.name=3D"art" > +hint.map.4.start=3D0x007d0000 > +hint.map.4.end=3D0x007e0000 > +hint.map.4.name=3D"unknown" > =A0hint.map.4.readonly=3D1 > + > +# This is radio calibration section. =A0It is (or should be!) unique > +# for each board, to take into account thermal and electrical difference= s > +# as well as the regulatory compliance data. > +# > +hint.map.5.at=3D"flash/spi0" > +hint.map.5.start=3D0x007f0000 > +hint.map.5.end=3D0x00800000 > +hint.map.5.name=3D"art" > +hint.map.5.readonly=3D1 > From owner-freebsd-embedded@FreeBSD.ORG Thu Nov 24 22:52:39 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82A851065670; Thu, 24 Nov 2011 22:52:39 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id 49EF68FC0A; Thu, 24 Nov 2011 22:52:39 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 86F73110228; Thu, 24 Nov 2011 23:52:38 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: Stefan Bethke In-Reply-To: Date: Thu, 24 Nov 2011 23:52:37 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Adrian Chadd X-Mailer: Apple Mail (2.1251.1) Cc: freebsd-wireless@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2011 22:52:39 -0000 Am 24.11.2011 um 08:47 schrieb Adrian Chadd: > And with this particular commit, all the bits needed to get > FreeBSD-HEAD running natively on this unit are now in the tree. >=20 > The process is documented here: >=20 > http://code.google.com/p/freebsd-wifi-build/wiki/TpLinkTLWR1043ND >=20 > I haven't yet tried building and testing a sysupgrade image, so please > don't ask me how to update it via the default firmware webui. So to > play this game you'll (for now) require a serial console. >=20 > I do however have the unit running as a 2.4ghz 11n hostap, natively > booting from flash with a 64k flash partition to store configuration > data on. >=20 > My work here is done. :-) Extremely cool! I'm a bit busy this weekend, but I'll try and give it a = go asap. Thanks, Stefan --=20 Stefan Bethke Fon +49 151 14070811 From owner-freebsd-embedded@FreeBSD.ORG Fri Nov 25 03:12:16 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECFE8106566C for ; Fri, 25 Nov 2011 03:12:16 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id A94858FC18 for ; Fri, 25 Nov 2011 03:12:16 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id pAP2cQWc076385; Thu, 24 Nov 2011 19:38:26 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id pAP2cQsK076382; Thu, 24 Nov 2011 19:38:26 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 24 Nov 2011 19:38:26 -0700 (MST) From: Warren Block To: Stefan Bethke In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 24 Nov 2011 19:38:26 -0700 (MST) Cc: freebsd-wireless@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 03:12:17 -0000 On Thu, 24 Nov 2011, Stefan Bethke wrote: > Am 24.11.2011 um 08:47 schrieb Adrian Chadd: > >> And with this particular commit, all the bits needed to get >> FreeBSD-HEAD running natively on this unit are now in the tree. >> >> The process is documented here: >> >> http://code.google.com/p/freebsd-wifi-build/wiki/TpLinkTLWR1043ND >> >> I haven't yet tried building and testing a sysupgrade image, so please >> don't ask me how to update it via the default firmware webui. So to >> play this game you'll (for now) require a serial console. >> >> I do however have the unit running as a 2.4ghz 11n hostap, natively >> booting from flash with a 64k flash partition to store configuration >> data on. >> >> My work here is done. :-) > > Extremely cool! I'm a bit busy this weekend, but I'll try and give it a go asap. This is very, very interesting. Does the USB port work with FreeBSD? Is there any usable GPIO? Can FreeBSD be used on the cheaper versions, like the TL-WR740N? It's throw-away cheap, as in cheap enough to use as a wireless sensor. From owner-freebsd-embedded@FreeBSD.ORG Fri Nov 25 04:33:50 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89CFD106566B; Fri, 25 Nov 2011 04:33:50 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2B3478FC0C; Fri, 25 Nov 2011 04:33:49 +0000 (UTC) Received: by vcbfk1 with SMTP id fk1so2077694vcb.13 for ; Thu, 24 Nov 2011 20:33:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=7u2MxtVkTcuXGlts9pr9FOFfx83nO+L0fck8xj5UZBg=; b=qG1ZZRlBgAOtqyqbpGlO0gkhd+3hCRbfsB4Gv8z2kISujynQFSQnlt7kfdRA11B5ID 3cQeMtkZg1tXYMhpVQbc4YU8efcK8WVKvQqDjFvSQE822TrcnMASG/3YPX9PACQKMQy1 3Qtpf9yczSwmubz+k2u8I9ypC+OFI6rQjT1iE= MIME-Version: 1.0 Received: by 10.52.65.77 with SMTP id v13mr31795784vds.95.1322195629484; Thu, 24 Nov 2011 20:33:49 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.52.186.74 with HTTP; Thu, 24 Nov 2011 20:33:49 -0800 (PST) In-Reply-To: References: Date: Fri, 25 Nov 2011 12:33:49 +0800 X-Google-Sender-Auth: F8ly1J06yzgCSfvgBu5u7gjZzEc Message-ID: From: Adrian Chadd To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 04:33:50 -0000 On 25 November 2011 10:38, Warren Block wrote: > This is very, very interesting. =A0Does the USB port work with FreeBSD? I= s > there any usable GPIO? The USB port worked the last time I checked; I'll go and check and report back if it doesn't work. There's a lot of GPIO but they're all taken up with LEDs. :) > Can FreeBSD be used on the cheaper versions, like the TL-WR740N? =A0It's > throw-away cheap, as in cheap enough to use as a wireless sensor. If it has an Ar71xx, Ar724x, AR913x SoC in it, then yes. Someone will either have to buy/ship me one or do the legwork to shoehorn freebsd onto it though. :) According to the openwrt site - the previous revisions have an AR724x in them and an AR9285 wireless CPU. So yes, FreeBSD will boot, but there's some hacks needed to get the wifi up on it. If someone buys/ships me one after the new year I'll make it happen. Note - it has 16mb RAM and 4mb of flash. You're going to have to do significant legwork to squeeze down FreeBSD to be usable on such a small platform. I don't have the time for that. Note - the newer revision of hardware has an AR933x SoC/wifi chipset in it. There's currently no FreeBSD support for that and there won't be until I finish of the current 11n stuff (or people jump in and help me.) If someone wants to give porting the CPU and wireless support from Linux over then give me a buzz and I'll start you down the right path. Adrian From owner-freebsd-embedded@FreeBSD.ORG Fri Nov 25 06:03:22 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A0FD106564A; Fri, 25 Nov 2011 06:03:22 +0000 (UTC) (envelope-from richo@psych0tik.net) Received: from bedford.accountservergroup.com (bedford.accountservergroup.com [50.22.11.19]) by mx1.freebsd.org (Postfix) with ESMTP id 2CDBD8FC12; Fri, 25 Nov 2011 06:03:21 +0000 (UTC) Received: from boxand.lnk.telstra.net ([203.45.130.125] helo=richh-imac.office.boxdice.com.au) by bedford.accountservergroup.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1RTnlg-0005v1-CL; Thu, 24 Nov 2011 22:52:08 -0600 Date: Fri, 25 Nov 2011 15:52:03 +1100 From: richo To: Adrian Chadd Message-ID: <20111125045203.GB13068@richh-imac.office.boxdice.com.au> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TiqCXmo5T1hvSQQg" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://natalya.psych0tik.net/~richo/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bedford.accountservergroup.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - psych0tik.net X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-wireless@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 06:03:22 -0000 --TiqCXmo5T1hvSQQg Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 25/11/11 12:33 +0800, Adrian Chadd wrote: >On 25 November 2011 10:38, Warren Block wrote: > >> This is very, very interesting. =A0Does the USB port work with FreeBSD? = Is >> there any usable GPIO? > >The USB port worked the last time I checked; I'll go and check and >report back if it doesn't work. > >There's a lot of GPIO but they're all taken up with LEDs. :) > >> Can FreeBSD be used on the cheaper versions, like the TL-WR740N? =A0It's >> throw-away cheap, as in cheap enough to use as a wireless sensor. > >If it has an Ar71xx, Ar724x, AR913x SoC in it, then yes. Someone will >either have to buy/ship me one or do the legwork to shoehorn freebsd >onto it though. :) > >According to the openwrt site - the previous revisions have an AR724x >in them and an AR9285 wireless CPU. So yes, FreeBSD will boot, but >there's some hacks needed to get the wifi up on it. If someone >buys/ships me one after the new year I'll make it happen. > >Note - it has 16mb RAM and 4mb of flash. You're going to have to do >significant legwork to squeeze down FreeBSD to be usable on such a >small platform. I don't have the time for that. > >Note - the newer revision of hardware has an AR933x SoC/wifi chipset >in it. There's currently no FreeBSD support for that and there won't >be until I finish of the current 11n stuff (or people jump in and help >me.) If someone wants to give porting the CPU and wireless support >from Linux over then give me a buzz and I'll start you down the right >path. > > >Adrian I'm interested in porting. I'm taking 2 weeks leave over christmas, Can I ping you the week before I leave work? -- richo || Today's excuse: Just type 'mv * /dev/null'. http://blog.psych0tik.net --TiqCXmo5T1hvSQQg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJOzx7zAAoJEIKiWz6J5yQVu9YH/RxJbMesbvWg6L9fMefharz3 RDfsEoyBLmH5xcL3BadUfAOUcCIplJk1vDue9u4cVxVNTtR8/d1vAQ2wpn8ZP+i2 GiiNTL89azGePgEuVYmQuV+tsunIXzMRBiwRuYtR6zFqDNbhqYwVDKj2kRqau7f4 lK7GQtoFBgtHzHvxj5CSjFDDDbKc2N5ue9Cn2g0oiRE6DlovfhVucvtNEKCqwCCd Hz2xoI/ZEDwTuoNgfx0zxB3iVkG4XlqkOREAW9H8BRrEv5KNjj2wKYGz+ZBJIlr5 UU9xvF/ZBBN5qQm5UwoDCYc/tBpBzIC4dye8gCiyL7G1KQJVIOpriVQBC/gvikQ= =qT0y -----END PGP SIGNATURE----- --TiqCXmo5T1hvSQQg-- From owner-freebsd-embedded@FreeBSD.ORG Fri Nov 25 06:18:44 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 110601065670; Fri, 25 Nov 2011 06:18:44 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id A978A8FC08; Fri, 25 Nov 2011 06:18:43 +0000 (UTC) Received: by vbbfa15 with SMTP id fa15so4225274vbb.13 for ; Thu, 24 Nov 2011 22:18:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=lqg+lBEzwZPG/YQva1SwP15WW5XFlgOko1mc2iNIWCE=; b=eleETegPBGybHoeIbgqaqVkJZuSBLXh6hJwPW5Gl7s0XZEF6zC1CcUq+i8K7G4Phy5 uSZJgd5aCPT8CZ4gjwsbpyCE+OQn5blxqaLb8hGu6eiy03PB6gxsHFigNKM8nQx6GdNp d7HJskwJslNvk5nmdYPtD5rC/4AizYcdQjlw8= MIME-Version: 1.0 Received: by 10.52.91.237 with SMTP id ch13mr32143436vdb.129.1322201923059; Thu, 24 Nov 2011 22:18:43 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.52.186.74 with HTTP; Thu, 24 Nov 2011 22:18:43 -0800 (PST) In-Reply-To: <20111125045203.GB13068@richh-imac.office.boxdice.com.au> References: <20111125045203.GB13068@richh-imac.office.boxdice.com.au> Date: Fri, 25 Nov 2011 14:18:43 +0800 X-Google-Sender-Auth: 6YR5s8-1WhHI9Hxmvls-HElbyq0 Message-ID: From: Adrian Chadd To: richo Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 06:18:44 -0000 On 25 November 2011 12:52, richo wrote: > I'm interested in porting. > > I'm taking 2 weeks leave over christmas, Can I ping you the week before I > leave work? sure. adrian From owner-freebsd-embedded@FreeBSD.ORG Fri Nov 25 06:23:36 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4842A106564A; Fri, 25 Nov 2011 06:23:36 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9C7308FC13; Fri, 25 Nov 2011 06:23:35 +0000 (UTC) Received: by vbbfa15 with SMTP id fa15so4228418vbb.13 for ; Thu, 24 Nov 2011 22:23:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=EzxqNUCZ/ywq6dr5Xw6Lrg1YZ39CS4xSsO43/o07IZw=; b=VW5v8nybfy3chgpzyg4sFXHCoY/VYrAV+uoSTclbaI91ZH6g83sYGWmCFDY5/90UB2 WRGaY2aNooI346fXw4A1QqKa0114yaEuRPIqlMrRN0xc1336HVntqB1SPrNtGsClf7Cp IYQwVOvJKCjgOjzZ+ts3SnUcb1WK+oghsu0YU= MIME-Version: 1.0 Received: by 10.52.33.69 with SMTP id p5mr32152193vdi.78.1322202214969; Thu, 24 Nov 2011 22:23:34 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.52.186.74 with HTTP; Thu, 24 Nov 2011 22:23:34 -0800 (PST) In-Reply-To: <20111125045203.GB13068@richh-imac.office.boxdice.com.au> References: <20111125045203.GB13068@richh-imac.office.boxdice.com.au> Date: Fri, 25 Nov 2011 14:23:34 +0800 X-Google-Sender-Auth: wTfjk2g6JTpGCk27DqZZFoNXpTc Message-ID: From: Adrian Chadd To: richo Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 06:23:36 -0000 But just take a look at the openwrt board support for the AR933x. See what's involved. They may recycle parts of the ar71xx/ar724x support (maybe the ethernet MAC, I'm not sure.) Ignore the wifi for now, that's a (much) bigger task. If someone acquires an AR93xx mini-pcie NIC and wants to give me a hand, I'll steer them down the path of preparing the ath driver for the ar9003 series support. As I said, it's a relatively big task - porting the HAL code over is easy (and something I can do in a weekend); the problem is all the driver changes needed for the new interrupt, DMA and descriptor handling. Adrian From owner-freebsd-embedded@FreeBSD.ORG Fri Nov 25 16:39:03 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47124106566B; Fri, 25 Nov 2011 16:39:03 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id DAD1C8FC13; Fri, 25 Nov 2011 16:39:02 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id pAPGd2HX080350; Fri, 25 Nov 2011 09:39:02 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id pAPGd2Sk080347; Fri, 25 Nov 2011 09:39:02 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 25 Nov 2011 09:39:02 -0700 (MST) From: Warren Block To: Adrian Chadd In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-1508641292-1322239142=:79779" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Fri, 25 Nov 2011 09:39:02 -0700 (MST) Cc: freebsd-wireless@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 16:39:03 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-1508641292-1322239142=:79779 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Fri, 25 Nov 2011, Adrian Chadd wrote: > On 25 November 2011 10:38, Warren Block wrote: > >> Can FreeBSD be used on the cheaper versions, like the TL-WR740N?  It's >> throw-away cheap, as in cheap enough to use as a wireless sensor. > > If it has an Ar71xx, Ar724x, AR913x SoC in it, then yes. Someone will > either have to buy/ship me one or do the legwork to shoehorn freebsd > onto it though. :) > > According to the openwrt site - the previous revisions have an AR724x > in them and an AR9285 wireless CPU. So yes, FreeBSD will boot, but > there's some hacks needed to get the wifi up on it. If someone > buys/ships me one after the new year I'll make it happen. > > Note - it has 16mb RAM and 4mb of flash. You're going to have to do > significant legwork to squeeze down FreeBSD to be usable on such a > small platform. I don't have the time for that. 32M of RAM on V3 and earlier, and V5 with 16M/2M is (supposedly) only in China. Too bad the cheaper ones don't have a USB port for storage. > Note - the newer revision of hardware has an AR933x SoC/wifi chipset > in it. The OpenWRT page is vague, but it looks like V3 is still the AR7240. ---902635197-1508641292-1322239142=:79779-- From owner-freebsd-embedded@FreeBSD.ORG Fri Nov 25 21:17:46 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B2E2106564A for ; Fri, 25 Nov 2011 21:17:46 +0000 (UTC) (envelope-from garmitage@swin.edu.au) Received: from gpo4.cc.swin.edu.au (gpo4.cc.swin.edu.au [136.186.1.33]) by mx1.freebsd.org (Postfix) with ESMTP id DDAB98FC17 for ; Fri, 25 Nov 2011 21:17:45 +0000 (UTC) Received: from [136.186.229.44] (garmitage3.caia.swin.edu.au [136.186.229.44]) by gpo4.cc.swin.edu.au (8.14.3/8.14.3) with ESMTP id pAPKJWfP021216 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Sat, 26 Nov 2011 07:19:43 +1100 Message-ID: <4ECFF854.5050602@swin.edu.au> Date: Sat, 26 Nov 2011 07:19:32 +1100 From: grenville armitage User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101211 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-embedded@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 21:17:46 -0000 On 11/25/2011 13:38, Warren Block wrote: [..] > This is very, very interesting. Does the USB port work with FreeBSD? I've got a WR1043ND sitting here with Adrian's custom FreeBSD running on it. Looks like USB drives are recognised when I plug it in: # usbd_set_config_index: could not read device status: USB_ERR_SHORT_XFER ugen0.2: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x0100 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: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) # Pulled it out, plugged in a different drive: # ugen0.2: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x0100 umass0:0:0:-1: Attached to scbus0 da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SCSI-4 device da0: 40.000MB/s transfers da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C) # cheers, gja From owner-freebsd-embedded@FreeBSD.ORG Fri Nov 25 22:03:23 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A8ED106566B for ; Fri, 25 Nov 2011 22:03:23 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id 2EE648FC0A for ; Fri, 25 Nov 2011 22:03:23 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 8EDAB110042; Fri, 25 Nov 2011 23:03:21 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: Stefan Bethke In-Reply-To: <4ECFF854.5050602@swin.edu.au> Date: Fri, 25 Nov 2011 23:03:20 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <4010BC72-2896-4AD0-AECB-60768C82F549@lassitu.de> References: <4ECFF854.5050602@swin.edu.au> To: grenville armitage X-Mailer: Apple Mail (2.1251.1) Cc: freebsd-embedded@freebsd.org Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 22:03:23 -0000 Am 25.11.2011 um 21:19 schrieb grenville armitage: >=20 >=20 > On 11/25/2011 13:38, Warren Block wrote: > [..] >> This is very, very interesting. Does the USB port work with FreeBSD? >=20 > I've got a WR1043ND sitting here with Adrian's custom FreeBSD running = on it. > Looks like USB drives are recognised when I plug it in: >=20 > # usbd_set_config_index: could not read device status: = USB_ERR_SHORT_XFER > ugen0.2: at usbus0 > umass0: on usbus0 > umass0: SCSI over Bulk-Only; quirks =3D 0x0100 > 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: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) ugen0.2: at usbus0 umass0: on = usbus0 umass0: SCSI over Bulk-Only; quirks =3D 0x0100 umass0:0:0:-1: Attached to scbus0 da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Removable Direct Access SCSI-0 = device=20 da0: 40.000MB/s transfers da0: 15252MB (31236096 512 byte sectors: 255H 63S/T 1944C) # mount -t msdosfs /dev/da0s1 /mnt # df -h (The kernel doesn't have support for UFS, so you have to use FAT.) --=20 Stefan Bethke Fon +49 151 14070811 From owner-freebsd-embedded@FreeBSD.ORG Fri Nov 25 23:01:36 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AB00106564A; Fri, 25 Nov 2011 23:01:36 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id 42C278FC0C; Fri, 25 Nov 2011 23:01:36 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 7F25B110B41; Sat, 26 Nov 2011 00:01:35 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: Stefan Bethke In-Reply-To: Date: Sat, 26 Nov 2011 00:01:34 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Adrian Chadd X-Mailer: Apple Mail (2.1251.1) Cc: freebsd-embedded@freebsd.org Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 23:01:36 -0000 Am 24.11.2011 um 08:47 schrieb Adrian Chadd: > http://code.google.com/p/freebsd-wifi-build/wiki/TpLinkTLWR1043ND >=20 > I haven't yet tried building and testing a sysupgrade image, so please > don't ask me how to update it via the default firmware webui. So to > play this game you'll (for now) require a serial console. >=20 > I do however have the unit running as a 2.4ghz 11n hostap, natively > booting from flash with a 64k flash partition to store configuration > data on. Got it up and running, this is very nice. A couple comments and = questions: I managed to write the firmware image from OpenWrt's sys upgrade, so the = format seems to be sane. I *think* the TP-Link web interface should = accept this image as well, but I haven't tested that. People wanting to try this: as this moment, you do need the serial = console, since the image will not allow you to log in over the network = and become root (AFAICT). If the cofnig that goes into the image is = improved, I'm confident you can run this without console access. Wifi speed seems to be decent, from an old MacBook I have lying around, = I managed about 38 MB/s to and from my server using ssh and dd. Is there a read-write filesystem for the flash, or are we limited to an = archive in the cfg flash partition? Is the root MFS copied to RAM, or is it read on demand? I see that you went to some lengths creating your own config framework. = Why did you choose to not use the standard? I haven't looked at nanobsd in ages, and I did see in the last status = report that there is another attempt at creating an OpenWrt-like setup. = I'm currently running about six or seven OpenWrt routers (mostly at the = extended family), and I'm interested in eventually replacing OpenWrt = with FreeBSD. Any guesses where a trimmed-down but fully functional = (incl. ports) distribution might emerge? Thanks for all your work, if you ever happen to come over to Hamburg, = I'll have a beer waiting :-) Stefan --=20 Stefan Bethke Fon +49 151 14070811 From owner-freebsd-embedded@FreeBSD.ORG Fri Nov 25 23:03:09 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C0EB106566C; Fri, 25 Nov 2011 23:03:09 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id D7CE48FC0A; Fri, 25 Nov 2011 23:03:08 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 2FD57110B71; Sat, 26 Nov 2011 00:03:08 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: Stefan Bethke In-Reply-To: Date: Sat, 26 Nov 2011 00:03:07 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <54647787-8E25-4955-9D4A-7E076FD9099F@lassitu.de> References: To: Adrian Chadd X-Mailer: Apple Mail (2.1251.1) Cc: freebsd-embedded@freebsd.org Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 23:03:09 -0000 Am 26.11.2011 um 00:01 schrieb Stefan Bethke: > Am 24.11.2011 um 08:47 schrieb Adrian Chadd: >=20 >> http://code.google.com/p/freebsd-wifi-build/wiki/TpLinkTLWR1043ND >>=20 >> I haven't yet tried building and testing a sysupgrade image, so = please >> don't ask me how to update it via the default firmware webui. So to >> play this game you'll (for now) require a serial console. >>=20 >> I do however have the unit running as a 2.4ghz 11n hostap, natively >> booting from flash with a 64k flash partition to store configuration >> data on. >=20 > Got it up and running, this is very nice. A couple comments and = questions: >=20 > I managed to write the firmware image from OpenWrt's sys upgrade, so = the format seems to be sane. I *think* the TP-Link web interface should = accept this image as well, but I haven't tested that. >=20 > People wanting to try this: as this moment, you do need the serial = console, since the image will not allow you to log in over the network = and become root (AFAICT). If the cofnig that goes into the image is = improved, I'm confident you can run this without console access. >=20 > Wifi speed seems to be decent, from an old MacBook I have lying = around, I managed about 38 MB/s to and from my server using ssh and dd. >=20 > Is there a read-write filesystem for the flash, or are we limited to = an archive in the cfg flash partition? One more I forgot: can the Realtek switch be configured? > Is the root MFS copied to RAM, or is it read on demand? >=20 > I see that you went to some lengths creating your own config = framework. Why did you choose to not use the standard? >=20 > I haven't looked at nanobsd in ages, and I did see in the last status = report that there is another attempt at creating an OpenWrt-like setup. = I'm currently running about six or seven OpenWrt routers (mostly at the = extended family), and I'm interested in eventually replacing OpenWrt = with FreeBSD. Any guesses where a trimmed-down but fully functional = (incl. ports) distribution might emerge? >=20 > Thanks for all your work, if you ever happen to come over to Hamburg, = I'll have a beer waiting :-) --=20 Stefan Bethke Fon +49 151 14070811 From owner-freebsd-embedded@FreeBSD.ORG Fri Nov 25 23:50:31 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F375106568A for ; Fri, 25 Nov 2011 23:50:31 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 233E98FC15 for ; Fri, 25 Nov 2011 23:50:30 +0000 (UTC) Received: by vbbfa15 with SMTP id fa15so5057670vbb.13 for ; Fri, 25 Nov 2011 15:50:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=4/m13PpchLqtxn3s9cjYphOCDJuk+qzVJlDJBQ+0yok=; b=MB7hWfHYpNphjHLf1VumBPDflvm1oPihR/05eCQuOjF20lEtAkDC3hEzUXvYudHXPy eBfCyupkHmXpOh3bZXdTwkdWzFy4Scki3Mp/WvxPOxKNOtgffIIBLzF/aorgNtFxatXO 2mf876tvDZHYHvu0TOJroZpMH3Dih9nESJx28= MIME-Version: 1.0 Received: by 10.52.33.69 with SMTP id p5mr34893372vdi.78.1322265028684; Fri, 25 Nov 2011 15:50:28 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.52.186.74 with HTTP; Fri, 25 Nov 2011 15:50:28 -0800 (PST) In-Reply-To: References: Date: Sat, 26 Nov 2011 07:50:28 +0800 X-Google-Sender-Auth: Rjsl386Gn0VvrIIDvV8q6lvDm1U Message-ID: From: Adrian Chadd To: Stefan Bethke Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-embedded@freebsd.org Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 23:50:31 -0000 On 26 November 2011 07:01, Stefan Bethke wrote: > Got it up and running, this is very nice. A couple comments and questions= : > > I managed to write the firmware image from OpenWrt's sys upgrade, so the = format seems to be sane. =A0I *think* the TP-Link web interface should acce= pt this image as well, but I haven't tested that. Yup, if you use -s on the script (build_tplink) then it should do that. :) > People wanting to try this: as this moment, you do need the serial consol= e, since the image will not allow you to log in over the network and become= root (AFAICT). =A0If the cofnig that goes into the image is improved, I'm = confident you can run this without console access. Patches are gratefully accepted for a default configuration. Actually, I thought I had one. :) # Create a bridge, flip on an IPv4 static address netif_bridge0_type=3D"bridge" netif_bridge0_addrtype=3D"static" netif_bridge0_descr=3D"default" netif_bridge0_name=3D"bridge0" # These are bridge members w/ STP enabled 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_netmask=3D"255.255.255.0" .. and no root/user password. Just telnet in as 'user' first, then su to ro= ot. So try that? > Wifi speed seems to be decent, from an old MacBook I have lying around, I= managed about 38 MB/s to and from my server using ssh and dd. The -HEAD lock and invariant debugging is enabled by default in the kernel config. You should get higher throughput if those are disabled. > Is there a read-write filesystem for the flash, or are we limited to an a= rchive in the cfg flash partition? No r/w flash filesystem yet. :) Sorry! Someone else needs to do this, I've got my hands full! > Is the root MFS copied to RAM, or is it read on demand? It's read on demand - it's actually stored on flash as a uzip partition, so it's decompressed on the fly. > I see that you went to some lengths creating your own config framework. = =A0Why did you choose to not use the standard? This is just my development stuff, it's not designed to be a public openwrt-style project. It thus is to enable me to do my hackery. :) > I haven't looked at nanobsd in ages, and I did see in the last status rep= ort that there is another attempt at creating an OpenWrt-like setup. =A0I'm= currently running about six or seven OpenWrt routers (mostly at the extend= ed family), and I'm interested in eventually replacing OpenWrt with FreeBSD= . =A0Any guesses where a trimmed-down but fully functional (incl. ports) di= stribution might emerge? Hah. Someone will have to make ports cross-compile. Again, I'd love it if someone stepped up to doing that. :) I'm doing as much as I can to "dangle the carrot" so to speak. Hopefully this will attract some more interest in freebsd-embedded as well as the openwrt-style project called "zrouter". zrouter.org is really meant to be the openwrt-style project. My stuff is purely to get (my) development happening. Alex and the others at zrouter.org can then pick up the work and package it. ;) > Thanks for all your work, if you ever happen to come over to Hamburg, I'l= l have a beer waiting :-) You're welcome! Adrian From owner-freebsd-embedded@FreeBSD.ORG Fri Nov 25 23:56:09 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 952521065672 for ; Fri, 25 Nov 2011 23:56:09 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 513E88FC0C for ; Fri, 25 Nov 2011 23:56:08 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 74235BD; Sat, 26 Nov 2011 00:37:11 +0100 (CET) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7NuSgQBZoK5u; Sat, 26 Nov 2011 00:37:08 +0100 (CET) Received: from snifi.localnet (178-36-46-201.adsl.inetia.pl [178.36.46.201]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id 4C57FA0; Sat, 26 Nov 2011 00:37:08 +0100 (CET) From: Maciej Milewski To: freebsd-embedded@freebsd.org Date: Sat, 26 Nov 2011 00:37:37 +0100 Message-ID: <15200024.qyaoOkNKT3@snifi> User-Agent: KMail/4.7.3 (Linux/3.1.1-1-ARCH; KDE/4.7.3; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 23:56:09 -0000 Dnia sobota, 26 listopada 2011 00:01:34 Stefan Bethke pisze: > Is there a read-write filesystem for the flash, or are we limited to an > archive in the cfg flash partition? For now it's only this cfg part. > I see that you went to some lengths creating your own config framework. Why > did you choose to not use the standard? I think that size and eventually building speed(during wireless development) > I haven't looked at nanobsd in ages, and I did see in the last status report > that there is another attempt at creating an OpenWrt-like setup. I'm > currently running about six or seven OpenWrt routers (mostly at the > extended family), and I'm interested in eventually replacing OpenWrt with > FreeBSD. Any guesses where a trimmed-down but fully functional (incl. > ports) distribution might emerge? NanoBSD is fine for many setups but it needed some tweaks to make crosscompiled images and it needs space which is rather short on such devices. greetings, Maciej Milewski From owner-freebsd-embedded@FreeBSD.ORG Fri Nov 25 23:56:09 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A1BF1065673 for ; Fri, 25 Nov 2011 23:56:09 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 54B718FC13 for ; Fri, 25 Nov 2011 23:56:08 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id B4E29E3; Sat, 26 Nov 2011 00:38:33 +0100 (CET) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BVoaLJw6A8pT; Sat, 26 Nov 2011 00:38:31 +0100 (CET) Received: from snifi.localnet (178-36-46-201.adsl.inetia.pl [178.36.46.201]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id 2BA42A0; Sat, 26 Nov 2011 00:38:31 +0100 (CET) From: Maciej Milewski To: freebsd-embedded@freebsd.org Date: Sat, 26 Nov 2011 00:39:02 +0100 Message-ID: <3112795.WfA30higtM@snifi> User-Agent: KMail/4.7.3 (Linux/3.1.1-1-ARCH; KDE/4.7.3; x86_64; ; ) In-Reply-To: <54647787-8E25-4955-9D4A-7E076FD9099F@lassitu.de> References: <54647787-8E25-4955-9D4A-7E076FD9099F@lassitu.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 23:56:09 -0000 Dnia sobota, 26 listopada 2011 00:03:07 Stefan Bethke pisze: > One more I forgot: can the Realtek switch be configured? Switch framework is still under development so not yet. greetings, Maciej Milewski From owner-freebsd-embedded@FreeBSD.ORG Sat Nov 26 00:06:27 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70CB91065672; Sat, 26 Nov 2011 00:06:27 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id 3789B8FC13; Sat, 26 Nov 2011 00:06:27 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 74C75110677; Sat, 26 Nov 2011 01:06:26 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: Stefan Bethke In-Reply-To: Date: Sat, 26 Nov 2011 01:06:26 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Adrian Chadd X-Mailer: Apple Mail (2.1251.1) Cc: freebsd-embedded@freebsd.org Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2011 00:06:27 -0000 Am 26.11.2011 um 00:50 schrieb Adrian Chadd: >> People wanting to try this: as this moment, you do need the serial = console, since the image will not allow you to log in over the network = and become root (AFAICT). If the cofnig that goes into the image is = improved, I'm confident you can run this without console access. >=20 > Patches are gratefully accepted for a default configuration. Actually, > I thought I had one. :) That didn't work for me: "su -" wants to change to root's home dir, = which is /root with the default master.passwd. What I didn't think = about (because su - is in my muscle memory) is that "su" won't try and = change dirs. Stefan --=20 Stefan Bethke Fon +49 151 14070811 From owner-freebsd-embedded@FreeBSD.ORG Sat Nov 26 01:37:57 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78A191065679 for ; Sat, 26 Nov 2011 01:37:57 +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 233138FC14 for ; Sat, 26 Nov 2011 01:37:55 +0000 (UTC) Received: by phoenix.eternamente.info (Postfix, from userid 80) id 030CF1CC6C; Fri, 25 Nov 2011 22:22:19 -0300 (BRT) Received: from 187.64.97.160 (SquirrelMail authenticated user matheus) by eternamente.info with HTTP; Fri, 25 Nov 2011 23:22:19 -0200 Message-ID: In-Reply-To: <4010BC72-2896-4AD0-AECB-60768C82F549@lassitu.de> References: <4ECFF854.5050602@swin.edu.au> <4010BC72-2896-4AD0-AECB-60768C82F549@lassitu.de> Date: Fri, 25 Nov 2011 23:22:19 -0200 From: "Nenhum_de_Nos" To: freebsd-embedded@freebsd.org 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 Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2011 01:37:57 -0000 On Fri, November 25, 2011 20:03, Stefan Bethke wrote: > > Am 25.11.2011 um 21:19 schrieb grenville armitage: > >> >> >> On 11/25/2011 13:38, Warren Block wrote: >> [..] >>> This is very, very interesting. Does the USB port work with FreeBSD? >> >> I've got a WR1043ND sitting here with Adrian's custom FreeBSD running on it. >> Looks like USB drives are recognised when I plug it in: >> >> # usbd_set_config_index: could not read device status: USB_ERR_SHORT_XFER >> ugen0.2: at usbus0 >> umass0: on usbus0 >> umass0: SCSI over Bulk-Only; quirks = 0x0100 >> 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: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) > > ugen0.2: at usbus0 > umass0: on usbus0 > umass0: SCSI over Bulk-Only; quirks = 0x0100 > umass0:0:0:-1: Attached to scbus0 > da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 15252MB (31236096 512 byte sectors: 255H 63S/T 1944C) > > # mount -t msdosfs /dev/da0s1 /mnt > # df -h > > (The kernel doesn't have support for UFS, so you have to use FAT.) is there a way to make it have ufs ? and any TL-WR1043ND will do, or must have hw version of some specific number ? great work ! matheus -- Vítima da Oi entre 2007 e 2011. 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 Sat Nov 26 01:44:19 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E7F1106564A for ; Sat, 26 Nov 2011 01:44:19 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 26F508FC0C for ; Sat, 26 Nov 2011 01:44:18 +0000 (UTC) Received: by vcbfk1 with SMTP id fk1so3027087vcb.13 for ; Fri, 25 Nov 2011 17:44:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=AonztBHwR6liQIyvtlwm6hKB1q93gTMebHi96TPbWnU=; b=Gd+3vwkrvutFFOXD93L81eEjuPNoh/WK/+hpwLPMUWCPgVtz9Twvmz57mNOX1TKHv8 YOSGouXdejLJ4mCixAy5nPDt+lQSZ8dwTRILSxiPPBC/Xg8f02hCSWbwfupPC9DwHY0W dt5hReLCPl4fpN10vxZo5/SmrwB3kPaxP8hTw= MIME-Version: 1.0 Received: by 10.220.186.199 with SMTP id ct7mr3324084vcb.114.1322271858294; Fri, 25 Nov 2011 17:44:18 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.52.186.74 with HTTP; Fri, 25 Nov 2011 17:44:18 -0800 (PST) In-Reply-To: References: <4ECFF854.5050602@swin.edu.au> <4010BC72-2896-4AD0-AECB-60768C82F549@lassitu.de> Date: Sat, 26 Nov 2011 09:44:18 +0800 X-Google-Sender-Auth: EJhlVI1em0U-dMuxz36yfAsjZJE Message-ID: From: Adrian Chadd To: Nenhum_de_Nos Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-embedded@freebsd.org Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2011 01:44:19 -0000 On 26 November 2011 09:22, Nenhum_de_Nos wrote: > is there a way to make it have ufs ? > and any TL-WR1043ND will do, or must have hw version of some specific number ? It's a UFS, compressed on the flash. But uzip is read-only, and doing lots of modifications to a cheap NOR flash is not likely a smart move. You can attach an FFS formatted flash disk and run a read/write filesystem on that. Just keep in mind (and here's something I should write up on the wiki) that the filesystem endianness is _not_ the same as intel. You can't just simply create a FS on an intel box and mount it on MIPS. It'd be nice if someone went over the UFS/FFS code and introduced endian configurability, but that's definitely not in the scope of my current work. That's why I included "newfs" in my build. You can create an MSDOS partition (or BSD label partition if you'd like) on a USB flash device, plug it into the tplink, then "newfs" it. I however haven't added anything into my startup scripts to mount filesystems. Ok, someone should file an issue in my google code project. I'm not sure about the hardware revisions. Basically, if the chip inside is an AR913x (and not an AR933x) then it _should_ work. I don't think TPLink made a whole lot of different, incompatible board revisions of the 1043nd. Thanks! Adrian From owner-freebsd-embedded@FreeBSD.ORG Sat Nov 26 01:47:50 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AD8F10656D9; Sat, 26 Nov 2011 01:47:50 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id B449C8FC17; Sat, 26 Nov 2011 01:47:49 +0000 (UTC) Received: by vbbfa15 with SMTP id fa15so5109941vbb.13 for ; Fri, 25 Nov 2011 17:47:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=JeoqLCPRhrSBnNv3tlw5qurDQ2j7NLllPQyuTps2b90=; b=Pb9UQluuHG5tbaoTK/wAK3wrHBVEc9qPmgdDiANU8Hzperp8xU1syujOZeYhM5GGpR kKox6WqN5no6iwwEa8j5LSu7+vl2lsPWcOzvrZrOVyQksM4HawGjmwFlZpVauwluXoEl eCei5ahmS9fZYRe29VoEv5xkBTFSFgDS7ObUY= MIME-Version: 1.0 Received: by 10.52.33.69 with SMTP id p5mr35118222vdi.78.1322272067342; Fri, 25 Nov 2011 17:47:47 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.52.186.74 with HTTP; Fri, 25 Nov 2011 17:47:47 -0800 (PST) In-Reply-To: References: <4ECFF854.5050602@swin.edu.au> <4010BC72-2896-4AD0-AECB-60768C82F549@lassitu.de> Date: Sat, 26 Nov 2011 09:47:47 +0800 X-Google-Sender-Auth: M52lrTOFkbuEGcnSxOwxZtkysd0 Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-embedded@freebsd.org Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2011 01:47:50 -0000 Just as a note, if there's anything which you'd like to see added or fixed to my build image (like "add the ability to mount filesystems at startup") then please create issues on the google code project. I'm happy to do things like "fix startup scripts to suck less", "document the default login details", "make tftp flashable images so you don't need a serial console", that kind of thing. But things like "add samba/apache" will just be closed. :-) I don't plan on turning this into an openwrt style project - that's what http://zrouter.org/ is for. I'm just trying to get this stuff in the tree and usable, so others can immediately begin playing with it and provide feedback. Adrian From owner-freebsd-embedded@FreeBSD.ORG Sat Nov 26 06:04:46 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 001C1106566C; Sat, 26 Nov 2011 06:04:45 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id AD1D48FC18; Sat, 26 Nov 2011 06:04:45 +0000 (UTC) Received: from 63.imp.bsdimp.com (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id pAQ61JMp016983 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Fri, 25 Nov 2011 23:01:19 -0700 (MST) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Fri, 25 Nov 2011 23:01:18 -0700 Content-Transfer-Encoding: 7bit Message-Id: <05A65C4A-CA28-409D-87D6-880F621CFCF2@bsdimp.com> References: <4ECFF854.5050602@swin.edu.au> <4010BC72-2896-4AD0-AECB-60768C82F549@lassitu.de> To: Adrian Chadd X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Fri, 25 Nov 2011 23:01:19 -0700 (MST) Cc: freebsd-embedded@freebsd.org Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2011 06:04:46 -0000 On Nov 25, 2011, at 6:44 PM, Adrian Chadd wrote: > That's why I included "newfs" in my build. You can create an MSDOS > partition (or BSD label partition if you'd like) on a USB flash > device, plug it into the tplink, then "newfs" it. I however haven't > added anything into my startup scripts to mount filesystems. Ok, > someone should file an issue in my google code project. makefs is the usual way to create an "other" endian file system. Warner From owner-freebsd-embedded@FreeBSD.ORG Sat Nov 26 08:11:35 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6697D106564A for ; Sat, 26 Nov 2011 08:11:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1B5178FC0C for ; Sat, 26 Nov 2011 08:11:34 +0000 (UTC) Received: by vbbfa15 with SMTP id fa15so5263116vbb.13 for ; Sat, 26 Nov 2011 00:11:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=jAc8qKiqI/BW79wxoBQFS+PkkhxyNnFV10DUlG9rCYY=; b=Rky13RNXfd1WLsIzEsyz6A/vRDX7PgEbmEhkrVoDIbuepgBqc//6ydCe1syahX2WG4 1EzhU+PkmTenQtef/41fTXc/NnDs9W8SBC+BIx99mI9qtD00ykhyNQdFqT+NUGLGr2RL 8gSP+lE4MVUdrdp2/X5n9oP3oIGshrMvWGBOw= MIME-Version: 1.0 Received: by 10.52.33.69 with SMTP id p5mr35827244vdi.78.1322295094451; Sat, 26 Nov 2011 00:11:34 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.52.186.74 with HTTP; Sat, 26 Nov 2011 00:11:34 -0800 (PST) In-Reply-To: <05A65C4A-CA28-409D-87D6-880F621CFCF2@bsdimp.com> References: <4ECFF854.5050602@swin.edu.au> <4010BC72-2896-4AD0-AECB-60768C82F549@lassitu.de> <05A65C4A-CA28-409D-87D6-880F621CFCF2@bsdimp.com> Date: Sat, 26 Nov 2011 16:11:34 +0800 X-Google-Sender-Auth: 6vIxDIBarl7R1DZkxFb7RRiwGuA Message-ID: From: Adrian Chadd To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-embedded@freebsd.org Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2011 08:11:35 -0000 On 26 November 2011 14:01, Warner Losh wrote: > > On Nov 25, 2011, at 6:44 PM, Adrian Chadd wrote: >> That's why I included "newfs" in my build. You can create an MSDOS >> partition (or BSD label partition if you'd like) on a USB flash >> device, plug it into the tplink, then "newfs" it. I however haven't >> added anything into my startup scripts to mount filesystems. Ok, >> someone should file an issue in my google code project. > > makefs is the usual way to create an "other" endian file system. .. and is a pain if you want to makefs a 500 gig UFS filesystem for that 2.5" USB attached disk. :-) You can makefs a small FS, dd that there, then use growfs.. or I can just run "newfs" from the host. That's why I included it. Adrian From owner-freebsd-embedded@FreeBSD.ORG Sat Nov 26 17:03:47 2011 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40C571065670; Sat, 26 Nov 2011 17:03:47 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id EA3BD8FC0C; Sat, 26 Nov 2011 17:03:43 +0000 (UTC) Received: from 63.imp.bsdimp.com (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id pAQGxQlM021395 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Sat, 26 Nov 2011 09:59:26 -0700 (MST) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Sat, 26 Nov 2011 09:59:26 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4ECFF854.5050602@swin.edu.au> <4010BC72-2896-4AD0-AECB-60768C82F549@lassitu.de> <05A65C4A-CA28-409D-87D6-880F621CFCF2@bsdimp.com> To: Adrian Chadd X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Sat, 26 Nov 2011 09:59:26 -0700 (MST) Cc: freebsd-embedded@FreeBSD.org Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2011 17:03:47 -0000 On Nov 26, 2011, at 1:11 AM, Adrian Chadd wrote: > On 26 November 2011 14:01, Warner Losh wrote: >>=20 >> On Nov 25, 2011, at 6:44 PM, Adrian Chadd wrote: >>> That's why I included "newfs" in my build. You can create an MSDOS >>> partition (or BSD label partition if you'd like) on a USB flash >>> device, plug it into the tplink, then "newfs" it. I however haven't >>> added anything into my startup scripts to mount filesystems. Ok, >>> someone should file an issue in my google code project. >>=20 >> makefs is the usual way to create an "other" endian file system. >=20 > .. and is a pain if you want to makefs a 500 gig UFS filesystem for > that 2.5" USB attached disk. :-) >=20 > You can makefs a small FS, dd that there, then use growfs.. or I can > just run "newfs" from the host. >=20 > That's why I included it. Ah! Any plans for pushing this all the way into the kernel and = importing NetBSD's bi-endian patches? Warner From owner-freebsd-embedded@FreeBSD.ORG Sat Nov 26 21:19:50 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67F841065670 for ; Sat, 26 Nov 2011 21:19:50 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1C7578FC0A for ; Sat, 26 Nov 2011 21:19:49 +0000 (UTC) Received: by vcbfk1 with SMTP id fk1so3530697vcb.13 for ; Sat, 26 Nov 2011 13:19:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=V/saZ6cqeBETmud+CQ/FZoikHSZ+Zru78sX0m6pB0wo=; b=BhY5HvqknzuFZLLHgpfQEnDCrn8JUN5gB8pmytHQ5P8nrQosNu0BoV4IkuMW4BkMT8 srHUPL1FgRzcsoTEDnegOvLTI6DN1xDmtU5LHSArnNXbcr+ID2uDfYC1pj1b1MclLOvS rnfCferfBro7wi+sdIJk93SmEKcDpPPrG7TQI= MIME-Version: 1.0 Received: by 10.220.186.199 with SMTP id ct7mr3817642vcb.114.1322342389515; Sat, 26 Nov 2011 13:19:49 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.52.186.74 with HTTP; Sat, 26 Nov 2011 13:19:49 -0800 (PST) In-Reply-To: References: <4ECFF854.5050602@swin.edu.au> <4010BC72-2896-4AD0-AECB-60768C82F549@lassitu.de> <05A65C4A-CA28-409D-87D6-880F621CFCF2@bsdimp.com> Date: Sun, 27 Nov 2011 05:19:49 +0800 X-Google-Sender-Auth: i9RQUmuZtMZUYyjAmZq1rMtbnRM Message-ID: From: Adrian Chadd To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-embedded@freebsd.org Subject: Re: tplink TL-WR1043ND access point is now ready (was Re: svn commit: r227926 - head/sys/mips/conf) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2011 21:19:50 -0000 On 27 November 2011 00:59, Warner Losh wrote: >> .. and is a pain if you want to makefs a 500 gig UFS filesystem for >> that 2.5" USB attached disk. :-) >> >> You can makefs a small FS, dd that there, then use growfs.. or I can >> just run "newfs" from the host. >> >> That's why I included it. > > Ah! =A0Any plans for pushing this all the way into the kernel and importi= ng NetBSD's bi-endian patches? Me? No. I've got enough on my plate. If someone else wants to then great. I think it's a worthy project. Adrian