From owner-freebsd-mips@FreeBSD.ORG Thu Feb 11 15:57:10 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3149F106566B for ; Thu, 11 Feb 2010 15:57:10 +0000 (UTC) (envelope-from ray@dlink.ua) Received: from dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 8DEFF8FC16 for ; Thu, 11 Feb 2010 15:57:08 +0000 (UTC) Received: from gw ([192.168.10.10] helo=terran) by dlink.ua with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1NfbNF-0003Vr-GU; Thu, 11 Feb 2010 17:54:37 +0200 Date: Thu, 11 Feb 2010 17:58:49 +0200 From: Alexandr Rybalko To: freebsd-mips@freebsd.org Message-Id: <20100211175849.602d08cf.ray@dlink.ua> Organization: D-Link X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Thu__11_Feb_2010_17_58_49_+0200_+K1J7_aWM.rE=eUR" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: loos.br@gmail.com Subject: GEOM_MTD X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2010 15:57:10 -0000 This is a multi-part message in MIME format. --Multipart=_Thu__11_Feb_2010_17_58_49_+0200_+K1J7_aWM.rE=eUR Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi, in attachment GEOM module to support MTD partitioning. All systems in which I have seen support MTD partitions do it via values in source code. For more convenient change the partitions, I use hints. Example hints file also in attachment. In this example one of partitions (0x00040000-0x003e0000) split by keyword '--PaCkImGs--' into two partitions ("kernel" and "roots") Others think things will be clear from the file itself. -- Alexandr Rybalko --Multipart=_Thu__11_Feb_2010_17_58_49_+0200_+K1J7_aWM.rE=eUR Content-Type: application/octet-stream; name="BCM5354.hints" Content-Disposition: attachment; filename="BCM5354.hints" Content-Transfer-Encoding: base64 aGludC5zaWJhLjAuYXQ9Im5leHVzMCIKaGludC5zaWJhLjAubWFkZHI9IjB4MTgwMDAwMDAiCmhp bnQuc2liYS4wLm1zaXplPSIweDEwMDAwIgoKIyB1YXJ0MApoaW50LnVhcnQuMC5hdD0ic2liYV9j YzAiCmhpbnQudWFydC4wLm1hZGRyPSIweDE4MDAwMzAwIgpoaW50LnVhcnQuMC5tc2l6ZT0iMHg4 IgpoaW50LnVhcnQuMC5mbGFncz0iMHgzMCIKaGludC51YXJ0LjAuaXJxPTAKCgoKaGludC5tdGQu MC5hdD0iY2ZpZDAiCmhpbnQubXRkLjAuc3RhcnQ9MHgwMDAwMDAwMApoaW50Lm10ZC4wLmVuZD0w eDAwMDMwMDAwCmhpbnQubXRkLjAubmFtZT0iY2ZlIgpoaW50Lm10ZC4wLnJlYWRvbmx5PTEKCgpo aW50Lm10ZC4xLmF0PSJjZmlkMCIKaGludC5tdGQuMS5zdGFydD0weDAwMDMwMDAwCmhpbnQubXRk LjEuZW5kPTB4MDAwNDAwMDAKaGludC5tdGQuMS5uYW1lPSJyZ2RiIgoKCmhpbnQubXRkLjIuYXQ9 ImNmaWQwIgpoaW50Lm10ZC4yLnN0YXJ0PTB4MDAwNDAwMDAKaGludC5tdGQuMi5lbmQ9MHgwMDNl MDAwMApoaW50Lm10ZC4yLm5hbWU9InVwZ3JhZGUiCgpoaW50Lm10ZC4zLmF0PSJjZmlkMCIKaGlu dC5tdGQuMy5zdGFydD0weDAwM2Y4MDAwCmhpbnQubXRkLjMuZW5kPTB4MDA0MDAwMDAKaGludC5t dGQuMy5uYW1lPSJudnJhbSIKCmhpbnQubXRkLjQuYXQ9ImNmaWQwIgpoaW50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