From: marp20x6 <sta...@gm...> - 2008-02-14 07:40:06
|
It would seem I have just made this error over ssh on my connex 200. Can I save this unit using a serial connection, or is it a sendback/throwaway? Craig Hughes wrote: > > On Sep 4, 2007, at 12:55 PM, Daniel Frederiksen wrote: > >> A small but very important note. You need to pad the >> rootfs.arm_nofpu.jffs2 to the appropriate size or your filesystem will >> become corrupt after reboot. > > Alternatively, you can use the linux flash_eraseall command (with -j > flag) before the flashcp command to erase the flash space before > copying the rootfs image in there. This will: > > 1. Save time > 2. Remove error-prone math from the equation > > The downside is that to run flashcp after flash_eraseall, you'll need > to copy flashcp somewhere it won't be erased from by the > flash_erase_all, eg /tmp or something. I generally do this: > > scp buildhost:newimage.jffs2 /tmp > cp `which flashcp` /tmp > mount -o remount,ro / > sync > flash_eraseall -j /dev/mtd1 > /tmp/flashcp -v /tmp/newimage.jffs2 /dev/mtd1 > > (watchdog steps left out from the above, but you get the idea) > > C > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > -- View this message in context: http://www.nabble.com/Flashing-over-SSH---ethernet.-tp12485440p15475428.html Sent from the Gumstix mailing list archive at Nabble.com. |