From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lithops.sigma-star.at ([195.201.40.130]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gf9hN-0000YI-Dd for linux-mtd@lists.infradead.org; Thu, 03 Jan 2019 20:34:39 +0000 From: Richard Weinberger To: Ron Bowes , linux-mtd@lists.infradead.org Subject: Re: Having trouble with a UBI filesystem Date: Thu, 03 Jan 2019 21:34:34 +0100 Message-ID: <7370989.dTfg6tCZom@blindfold> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Ron, Am Donnerstag, 3. Januar 2019, 21:30:59 CET schrieb Ron Bowes: > I tried using mtdram and ubiattach, but I couldn't get it to work > right. It always complained that the data started at 0x1000 instead of > 0x840, and I couldn't figure out why: I suggest using nandsim, since this is a NAND image. Find the id bytes if the NAND chip and pass them to nandsim, then use ubiattach. It has a "-O" parameter to set the offset of the VID header yourself. This is often needed when the sub-page configuration is different. Thanks, //richard