From: kapare <kev...@gm...> - 2008-09-30 01:23:59
|
Hi, I try to do http://www.gumstix.net/Software/view/Developer-how-to-s/Reflashing-from-a-linux-login-session/111.html I have mount: you must specify the filesystem type after doing: root@gumstix-custom-verdex:/var/volatile/tmp$ cd /tmp/ root@gumstix-custom-verdex:/var/volatile/tmp$ mount -o remount,ro / mount: you must specify the filesystem type root@gumstix-custom-verdex:/var/volatile/tmp$ Someone now why? thx -- View this message in context: http://www.nabble.com/Reflashing-from-a-linux-login-session-error-with-mount---tp19734648p19734648.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Drew <dr...@dr...> - 2008-09-30 10:45:58
|
C'mon, use the search button; it's been discussed more times than I care to even remember. I even posted a script to do it all a few weeks ago. Drew -----Original Message----- From: kapare [mailto:kev...@gm...] Sent: 30 September 2008 02:24 To: gum...@li... Subject: [Gumstix-users] Re flashing from a linux login session error with mount ? Hi, I try to do http://www.gumstix.net/Software/view/Developer-how-to-s/Reflashing-from-a-li nux-login-session/111.html I have mount: you must specify the filesystem type after doing: root@gumstix-custom-verdex:/var/volatile/tmp$ cd /tmp/ root@gumstix-custom-verdex:/var/volatile/tmp$ mount -o remount,ro / mount: you must specify the filesystem type root@gumstix-custom-verdex:/var/volatile/tmp$ Someone now why? thx -- View this message in context: http://www.nabble.com/Reflashing-from-a-linux-login-session-error-with-mount ---tp19734648p19734648.html Sent from the Gumstix mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: kapare <kev...@gm...> - 2008-09-30 12:19:42
|
Thx for the hint! http://www.nabble.com/Reflashing-from-a-linux-login-td19006194.html#a19007049 kap Drew-43 wrote: > > C'mon, use the search button; it's been discussed more times than I care > to > even remember. I even posted a script to do it all a few weeks ago. > > Drew > > -----Original Message----- > From: kapare [mailto:kev...@gm...] > Sent: 30 September 2008 02:24 > To: gum...@li... > Subject: [Gumstix-users] Re flashing from a linux login session error with > mount ? > > > Hi, > > I try to do > http://www.gumstix.net/Software/view/Developer-how-to-s/Reflashing-from-a-li > nux-login-session/111.html > > I have > mount: you must specify the filesystem type > after doing: > > root@gumstix-custom-verdex:/var/volatile/tmp$ cd /tmp/ > root@gumstix-custom-verdex:/var/volatile/tmp$ mount -o remount,ro / > mount: you must specify the filesystem type > root@gumstix-custom-verdex:/var/volatile/tmp$ > > Someone now why? > > thx > -- > View this message in context: > http://www.nabble.com/Reflashing-from-a-linux-login-session-error-with-mount > ---tp19734648p19734648.html > Sent from the Gumstix mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > -- View this message in context: http://www.nabble.com/Reflashing-from-a-linux-login-session-error-with-mount---tp19734648p19740833.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Drew <dr...@dr...> - 2008-09-30 12:34:06
|
Re-post... ---------------- Just thought somebody might be interested in this script I created to reflash the gumstix via ssh. Save the script below as “flashfs.sh” and copy it to the /tmp directory on the gumstix, then do a “chmod +x flashfs.sh” to make the script executable, then simply run the script by typing “./flashfs.sh” inside the /tmp directory. I’ve added the kernel flashing in there too, just uncomment it before you run the script and make sure the image filenames and paths are correct for your system for both the filesystem image and kernel image, I get my images from an mmc card that I mount on the system. Any problems, please let me know I’ll be happy to help you out Regards, Drew #!/bin/bash # Flash new file system on gumstix device – name this file flashfs.sh killall -9 appweb /etc/init.d/ntpd stop /etc/init.d/bonjour stop /etc/init.d/cron stop cp `which flashcp` /tmp ln -s /bin/busybox /tmp/mount cd /tmp cp /media/card/gumstix-custom-verdex.jff2 . # Copy kernel to tmp #cp /media/card/uimage.jff2 . ./mount -o remount,ro / sync flash_eraseall -j /dev/mtd1 flashcp -v gumstix-custom-verdex.jff2 /dev/mtd1 # Flash kernel #flash_eraseall -j /dev/mtd2 #flashcp -v uboot.jff2 /dev/mtd2 -----Original Message----- From: kapare [mailto:kev...@gm...] Sent: 30 September 2008 13:13 To: gum...@li... Subject: Re: [Gumstix-users] Re flashing from a linux login session error with mount ? Thx for the hint! http://www.nabble.com/Reflashing-from-a-linux-login-td19006194.html#a19007049 kap Drew-43 wrote: > > C'mon, use the search button; it's been discussed more times than I care > to > even remember. I even posted a script to do it all a few weeks ago. > > Drew > > -----Original Message----- > From: kapare [mailto:kev...@gm...] > Sent: 30 September 2008 02:24 > To: gum...@li... > Subject: [Gumstix-users] Re flashing from a linux login session error with > mount ? > > > Hi, > > I try to do > http://www.gumstix.net/Software/view/Developer-how-to-s/Reflashing-from-a-li > nux-login-session/111.html > > I have > mount: you must specify the filesystem type > after doing: > > root@gumstix-custom-verdex:/var/volatile/tmp$ cd /tmp/ > root@gumstix-custom-verdex:/var/volatile/tmp$ mount -o remount,ro / > mount: you must specify the filesystem type > root@gumstix-custom-verdex:/var/volatile/tmp$ > > Someone now why? > > thx > -- > View this message in context: > http://www.nabble.com/Reflashing-from-a-linux-login-session-error-with-mount > ---tp19734648p19734648.html > Sent from the Gumstix mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > -- View this message in context: http://www.nabble.com/Reflashing-from-a-linux-login-session-error-with-mount---tp19734648p19740833.html Sent from the Gumstix mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |