From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from a.ns.miles-group.at ([95.130.255.143] helo=radon.swed.at) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xcf8t-0004Zm-Bt for linux-mtd@lists.infradead.org; Fri, 10 Oct 2014 18:42:20 +0000 Message-ID: <54382870.1020607@nod.at> Date: Fri, 10 Oct 2014 20:41:52 +0200 From: Richard Weinberger MIME-Version: 1.0 To: Woody Wu Subject: Re: How do I know my UBI/UBIFS code version? References: <1197b309-a9e9-4976-8845-165a4e634bd0@email.android.com> In-Reply-To: <1197b309-a9e9-4976-8845-165a4e634bd0@email.android.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "linux-mtd@lists.infradead.org" List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Am 10.10.2014 um 20:38 schrieb Woody Wu: > > > On October 10, 2014 11:28:26 PM GMT+08:00, Richard Weinberger wrote: >> On Fri, Oct 10, 2014 at 4:57 PM, Woody Wu wrote: >>> I am running ubi/ubifs on a ported ARM linux 3.1.x. How do I get >> know my ubi/ubifs version? In additional, if I found the version are >> too old, could I simply copy a newer version source files to my 3.1 ARM >> linux tree? >> >> Ported in terms of utterly broken by a SoC vendor? ;-) >> If your kernel version is v3.1 then also UBI and UBIFS is v3.1 unless >> someone messed with it. >> To find out you need to consult the changelog. >> >> And no, you cannot simply copy&paste the sources files between kernel >> releases as the internal kernel API is >> a moving target. > > 'ubinfo -a' returns to me "UBI version: 1" in its first line output. Does it looks strange to you? Thanks. This version is always 1. If we consider UBI Fastmap at some point rock stable _and_ make it default we'll change this version maybe to 2. Thanks, //richard