From: Marc H. <mhu...@lo...> - 2008-02-14 14:29:30
|
If /dev/mtd0 where the bootloader resides is still intact u-boot should still be functional so a serial connection should work for you. -----Original Message----- From: gum...@li... [mailto:gum...@li...] On Behalf Of marp20x6 Sent: Thursday, February 14, 2008 2:40 AM To: gum...@li... Subject: Re: [Gumstix-users] Flashing over SSH / ethernet. 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. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |