From owner-svn-src-all@FreeBSD.ORG Thu Aug 30 17:35:13 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B6D8106566B; Thu, 30 Aug 2012 17:35:12 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id CD1EE8FC1C; Thu, 30 Aug 2012 17:35:12 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q7UHZCC7084897; Thu, 30 Aug 2012 17:35:12 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7UHZCMM084895; Thu, 30 Aug 2012 17:35:12 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201208301735.q7UHZCMM084895@svn.freebsd.org> From: Adrian Chadd Date: Thu, 30 Aug 2012 17:35:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r239911 - head/sys/mips/conf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2012 17:35:13 -0000 Author: adrian Date: Thu Aug 30 17:35:12 2012 New Revision: 239911 URL: http://svn.freebsd.org/changeset/base/239911 Log: The DIR-825 cal data is in an odd spot. I don't know why it's here. (This works on my board because I wrote new caldata into this spot; but this obviously won't work for stock DIR-825 units out there.) Modified: head/sys/mips/conf/DIR-825.hints Modified: head/sys/mips/conf/DIR-825.hints ============================================================================== --- head/sys/mips/conf/DIR-825.hints Thu Aug 30 16:45:27 2012 (r239910) +++ head/sys/mips/conf/DIR-825.hints Thu Aug 30 17:35:12 2012 (r239911) @@ -31,6 +31,9 @@ hint.ath.1.eeprom_firmware="pcib.0.bus.0 # Geom MAP +# 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.0.at="flash/spi0" @@ -55,13 +58,13 @@ hint.map.2.readonly=1 hint.map.3.at="flash/spi0" hint.map.3.start=0x00150000 -hint.map.3.end=0x007f0000 +hint.map.3.end=0x00660000 hint.map.3.name="rootfs" hint.map.3.readonly=0 hint.map.4.at="flash/spi0" -hint.map.4.start=0x007f0000 -hint.map.4.end=0x00800000 +hint.map.4.start=0x00660000 +hint.map.4.end=0x00670000 hint.map.4.name="art" hint.map.4.readonly=1