From: James <ang...@gm...> - 2011-09-05 03:54:51
|
Hi Ash, Although we are moving to UBIFS for the new branch, would you mind update the script in the website http://www.gumstix.org/how-to/70-writing-images-to-flash.html to amend the portion regarding the JFFS2 so as to have a closure for future reference and new users. A reference to Steve's page for writing UBI format will be very helpful too. No obligation. Cheers~! James. On Wed, Aug 17, 2011 at 5:45 PM, JamesAng <ang...@gm...> wrote: > > > JamesAng wrote: > > > > Hi Ash, > > > > I found out that the mkfs.jffs2 instruction is wrong. (or I might be the > > one.. :confused:) > > > > It seems that mkfs.jffs2 requires a -r <rootfs> parameter else, it will > > use the current directory which cause the ghosting effect. mkfs.jffs2 -r > > <rootfs> -e <erase size in KB> -o <output file> > > > > Also, there is a duplication of instructions in the script. > > I read from TI Wiki at > > > http://processors.wiki.ti.com/index.php/Put_JFFS2_Image_to_Flash#Writing_Flash_from_Linux > > http://processors.wiki.ti.com/index.php/Put_JFFS2_Image_to_Flash that > > using 'flash_erase -j /dev/mtd4 0 0' will format the NAND for JFFS2. > > > > Afterwhich is to mount mtdblock4 and untar the tarball directly to the > > mount point. > > > > Looking at both option, I think using the flash_erase might be better and > > safer to write the rootfs to NAND. > > > > I intend to try out the 2nd option. > > > > For your consideration. > > > > TIA. > > > > James. > > > > The 2nd option works out well for me. > > I modified the script from the site and remove the mkfs.jffs2 instruction > and uses flash_erase -j instead. > > Maybe it is better to update the webpage for this. > > Cheers~! > > James. > -- > View this message in context: > http://old.nabble.com/Ash%3A-Write-Images-to-Flash-tp31944743p32278291.html > Sent from the Gumstix mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > -- Regards, James |