From owner-freebsd-arm@FreeBSD.ORG Wed Mar 30 16:15:16 2011 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02E8E106566B; Wed, 30 Mar 2011 16:15:16 +0000 (UTC) (envelope-from rozhuk.im@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 924648FC21; Wed, 30 Mar 2011 16:15:15 +0000 (UTC) Received: by vxc34 with SMTP id 34so1384040vxc.13 for ; Wed, 30 Mar 2011 09:15:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:reply-to:from:to:cc:subject:date:message-id :mime-version:content-type:content-transfer-encoding:x-mailer :thread-index:content-language; bh=Z8aSzJRqu0kvKx1WGQ4ayeOdcRC4ZjTGxFinMuipluU=; b=wQBPlIjwGODxu2VWq2JShFKxbla5sYAHtSrLXDHFmYSkGBZIerSoGmbIxhnV9Ssd0c 0vZczE3FAUDV8q7bOSom/N8keCpGZdGzlTp3kxW5yME6FKHZ78nBu4+mh9crIwZbaXr1 6dCjZCFMU5QSQN/aXWjVrM+5oQ2t82RYAMifY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=reply-to:from:to:cc:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; b=Zxb703lYVxwnGm9c8kpqlyjCqgRyEyC62mzG4kdwDjzbTBchupKDrv+wx54byIcQWr 6k05UK8dGpmqaWtZT5rFyEk1IfQVPVsxrC7rHQC8rFE0HERbX2nYcZ3rMcPN/wr6leLb k26r7FC5ogu7ra/oaGPDD3KHeIFDbAshEwcwA= Received: by 10.52.99.39 with SMTP id en7mr1844275vdb.170.1301500412223; Wed, 30 Mar 2011 08:53:32 -0700 (PDT) Received: from rimwks1x64 ([92.124.37.123]) by mx.google.com with ESMTPS id x29sm66779vcf.26.2011.03.30.08.53.29 (version=SSLv3 cipher=OTHER); Wed, 30 Mar 2011 08:53:31 -0700 (PDT) From: rozhuk.im@gmail.com To: Date: Thu, 31 Mar 2011 00:53:26 +0900 Message-ID: <4d9351fb.1d32dc0a.2d95.070c@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acvu8psz9rYxmgRRSpGOlirHCnGFKQ== Content-Language: ru Cc: freebsd-geom@freebsd.org Subject: merge geom redboot and map X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rozhuk.IM@gmail.com List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 16:15:16 -0000 Hi! geom_redboot and geom_map ( = http://my.ddteam.net/hg/BASE/file/783974ced979/head/sys/geom/geom_map.c = - based on redboot) Do same things: allow access to memory blocks on cfi/spi flash like partitions on disk. Redboot - Flash Image System (FIS), stored on flash Map - like linux MTD, blocks (partitions) table hardcoded via "hints"=20 I can merge them together into one geom. geom_flash, for example. Addition build flags may be: GEOM_FLASH_NO_REDBOOT GEOM_FLASH_NO_MAP If redboot and map not excluded, then first node will see hardcoded in hints, then try to read FIS from flash. I need your opinions, suggestions and help with testing and including = code to main stream source tree. PS: I can test only "map" part on my Agestar LB2. =A0 -- Rozhuk Ivan =A0=20