From owner-freebsd-embedded@FreeBSD.ORG Sun Aug 18 19:21:06 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A9241E51; Sun, 18 Aug 2013 19:21:06 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x22f.google.com (mail-we0-x22f.google.com [IPv6:2a00:1450:400c:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 15BD22794; Sun, 18 Aug 2013 19:21:05 +0000 (UTC) Received: by mail-we0-f175.google.com with SMTP id q58so737160wes.6 for ; Sun, 18 Aug 2013 12:21:04 -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:message-id:subject :from:to:cc:content-type; bh=xlHMOwvflAodGaXj6Cvj6ynaVAZQk59DB5tRgTEEhBE=; b=g7dfS538zG8tbrShx5/gq7M5im/jtkotiZyDEDwu34HGPu8ZrV6koaYwNAddbIPGi/ ZhVnh3FTg0wFnWyVkmDNgUpVf/iRA4MVo3JlV6r6RB/CwEiI3J39cYKzR3o86ctU+Do7 XuKiSAO8rgAO3DGcoX/9Kn74IMBl+O+JRwAGybg7uUgB3I/Q3adxXeOaDxZ02qV9Etpz 9cChNPRk5AqJCD9qNDvNNS7AoYRkw4c+7JUUSKJuqrRCCpSWUv61PcGoT8dLHdDzW84p JF78btcSt1f9pzs8QGbaQl0ckNDm8zSXS2vwQcBB5mB38LBdi0LkumAYITugk1ytGGSU BHwA== MIME-Version: 1.0 X-Received: by 10.194.123.227 with SMTP id md3mr5732597wjb.17.1376853664366; Sun, 18 Aug 2013 12:21:04 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.116.136 with HTTP; Sun, 18 Aug 2013 12:21:04 -0700 (PDT) In-Reply-To: <1376845978.1460.126.camel@localhost> References: <1374340359.1421.3.camel@localhost> <1376795552.1460.120.camel@localhost> <1376845978.1460.126.camel@localhost> Date: Sun, 18 Aug 2013 12:21:04 -0700 X-Google-Sender-Auth: XBYQvsRcgkwTTr-SHvIMI4vLs4Y Message-ID: Subject: Re: Dlink DIR-825 B1 status [updated] From: Adrian Chadd To: Sean Bruno Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-embedded 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, 18 Aug 2013 19:21:06 -0000 you won't; it's a hacked up uboot. Sigh. Anyway - Just look at the board config file (a .c file) in openwrt for the ap96. -adrian On 18 August 2013 10:12, Sean Bruno wrote: > On Sat, 2013-08-17 at 23:00 -0700, Adrian Chadd wrote: > > .. and yes, we should fix the MAC address stuff. > > > > > > But first: > > > > > > * USB > > * a hack to make ath1's mac address be ath0's MAC + 1, or something, > > as what's stored in the EEPROM is garbage > > * then add the hack(s) to pull the MAC out of the image like openwrt > > does. > > > > > Shouldn't we use the same method that U-Boot is using? Its generating > "something" that looks like a MAC addr at boot. > > > ar7100.c: eth0 using default MAC: c8:be:19:63:2a:cd > eth0 up > ar7100.c: eth1 using default MAC: c8:be:19:63:2a:ce > eth1 up > > Since I can't find "ar7100.c" code in the u-boot project, I couldn't try > and figure out what its doing. > > Sean >