From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Mon, 3 Oct 2011 15:36:39 -0500 Subject: [U-Boot] U-Boot: using nand write to flash an ubi image, ubi part fails In-Reply-To: <1317354248.25348.YahooMailClassic@web160616.mail.bf1.yahoo.com> References: <1317354248.25348.YahooMailClassic@web160616.mail.bf1.yahoo.com> Message-ID: <4E8A1CD7.8080908@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/29/2011 10:44 PM, Lars Michael wrote: > --- On Thu, 29/9/11, Matthew L. Creech wrote: >> 2. Use the "ubinize" tool to create an image suitable for >> writing >> directly to NAND. This takes a UBIFS image and >> "wraps" it to turn it >> into a UBI image, which you can then use with "nand >> write". > > This is what I am doing (or plan to do). But to get it to work, I need > the space fixup feature for the nand write in U-Boot. I got that feature in Linux, so in Linux it works. Unfortunately it is not easy to patch > that one in my 2009.08 U-Boot. Try using a current U-Boot, and use "nand write.trimffs". -Scott