Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: David Fonseca <dfnsca@gm...> - 2007-05-25 08:31:37
Attachments:
Message as HTML
|
Greetings, I am trying to set up programming the robostix via the gumstix. I have created the jumpers across Atmel 0 Tx to PXA ST Rx and Atmel 0 Rx to PXA ST Tx and following the instructions from http://docwiki.gumstix.org/Robostix_gumstix_ISP I did the typed the following into the console: cd to the directory containing gumstix-buildroot svn co http://svn.gumstix.com/gumstix-buildroot/branches/projects/robostixrobostix cd robostix/gumstix cp uisp.mk ../../gumstix-buildroot/make cp uisp-robostix.patch ../../gumstix-buildroot/sources cd robostix/gumstix make I coppied the robostix_drv.ko along with Flash-LED.hex program to the gumstix via scp and type the following in the gumstix's console: mknod /dev/robostix c 240 0 insmod robostix_drv.ko When I enter the following command: robostix reset pulse I get: -sh: robostix: not found Now, when I try to send a file to the robostix: uisp --erase --upload if=Flash-LED.hex I get the following message: -sh: uisp: not found I am using all the latest SVN revisions. Have I missed something? What can I do to make gumstix-robostix programming work? Thank you, David |
From: Ben Olive <ben.olive@ga...> - 2007-05-25 10:56:05
Attachments:
Message as HTML
|
Do you need to add the programs to your working path? On 5/25/07, David Fonseca <dfnsca@...> wrote: > > Greetings, > > I am trying to set up programming the robostix via the gumstix. I have > created the jumpers across Atmel 0 Tx to PXA ST Rx and Atmel 0 Rx to PXA ST > Tx and following the instructions from > http://docwiki.gumstix.org/Robostix_gumstix_ISP I did the typed the > following into the console: > > cd to the directory containing gumstix-buildroot > svn co http://svn.gumstix.com/gumstix-buildroot/branches/projects/robostixrobostix > cd robostix/gumstix > cp uisp.mk ../../gumstix-buildroot/make > cp uisp-robostix.patch ../../gumstix-buildroot/sources > cd robostix/gumstix > make > > I coppied the robostix_drv.ko along with Flash-LED.hex program to the > gumstix via scp and type the following in the gumstix's console: > mknod /dev/robostix c 240 0 > insmod robostix_drv.ko > > When I enter the following command: > robostix reset pulse > I get: > -sh: robostix: not found > > Now, when I try to send a file to the robostix: > uisp --erase --upload if=Flash-LED.hex > > I get the following message: > -sh: uisp: not found > > I am using all the latest SVN revisions. > Have I missed something? What can I do to make gumstix-robostix > programming work? > > Thank you, > David > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > gumstix-users mailing list > gumstix-users@... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > |
From: Paul Pigg <masterpigg@gm...> - 2007-05-25 23:22:59
Attachments:
Message as HTML
|
On the gumstix, the current directory is not in your path by default. so try './robostix', './uisp', etc. On 5/25/07, Ben Olive <ben.olive@...> wrote: > > Do you need to add the programs to your working path? > > On 5/25/07, David Fonseca <dfnsca@...> wrote: > > > Greetings, > > > > I am trying to set up programming the robostix via the gumstix. I have > > created the jumpers across Atmel 0 Tx to PXA ST Rx and Atmel 0 Rx to PXA ST > > Tx and following the instructions from > > http://docwiki.gumstix.org/Robostix_gumstix_ISP I did the typed the > > following into the console: > > > > cd to the directory containing gumstix-buildroot > > svn co > > http://svn.gumstix.com/gumstix-buildroot/branches/projects/robostixrobostix > > cd robostix/gumstix > > cp uisp.mk ../../gumstix-buildroot/make > > cp uisp-robostix.patch ../../gumstix-buildroot/sources > > cd robostix/gumstix > > make > > > > I coppied the robostix_drv.ko along with Flash-LED.hex program to the > > gumstix via scp and type the following in the gumstix's console: > > mknod /dev/robostix c 240 0 > > insmod robostix_drv.ko > > > > When I enter the following command: > > robostix reset pulse > > I get: > > -sh: robostix: not found > > > > Now, when I try to send a file to the robostix: > > uisp --erase --upload if=Flash-LED.hex > > > > I get the following message: > > -sh: uisp: not found > > > > I am using all the latest SVN revisions. > > Have I missed something? What can I do to make gumstix-robostix > > programming work? > > > > Thank you, > > David > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > gumstix-users mailing list > > gumstix-users@... > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > gumstix-users mailing list > gumstix-users@... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > |
From: David Fonseca <dfnsca@gm...> - 2007-05-26 05:23:17
Attachments:
Message as HTML
|
Am I supposed to build a uisp executable then copy it over to the gumstix along with the robostix_drv.ko ? Because currently I have no uisp file in my gumstix. On 5/25/07, Paul Pigg <masterpigg@...> wrote: > > On the gumstix, the current directory is not in your path by default. so > try './robostix', './uisp', etc. > > On 5/25/07, Ben Olive < ben.olive@...> wrote: > > > > Do you need to add the programs to your working path? > > > > On 5/25/07, David Fonseca < dfnsca@...> wrote: > > > > > Greetings, > > > > > > I am trying to set up programming the robostix via the gumstix. I have > > > created the jumpers across Atmel 0 Tx to PXA ST Rx and Atmel 0 Rx to PXA ST > > > Tx and following the instructions from > > > http://docwiki.gumstix.org/Robostix_gumstix_ISP I did the typed the > > > following into the console: > > > > > > cd to the directory containing gumstix-buildroot > > > svn co > > > http://svn.gumstix.com/gumstix-buildroot/branches/projects/robostixrobostix > > > cd robostix/gumstix > > > cp uisp.mk ../../gumstix-buildroot/make > > > cp uisp-robostix.patch ../../gumstix-buildroot/sources > > > cd robostix/gumstix > > > make > > > > > > I coppied the robostix_drv.ko along with Flash-LED.hex program to the > > > gumstix via scp and type the following in the gumstix's console: > > > mknod /dev/robostix c 240 0 > > > insmod robostix_drv.ko > > > > > > When I enter the following command: > > > robostix reset pulse > > > I get: > > > -sh: robostix: not found > > > > > > Now, when I try to send a file to the robostix: > > > uisp --erase --upload if=Flash-LED.hex > > > > > > I get the following message: > > > -sh: uisp: not found > > > > > > I am using all the latest SVN revisions. > > > Have I missed something? What can I do to make gumstix-robostix > > > programming work? > > > > > > Thank you, > > > David > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > gumstix-users mailing list > > > gumstix-users@... > > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > gumstix-users mailing list > > gumstix-users@... > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > gumstix-users mailing list > gumstix-users@... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > |
From: Dave Hylands <dhylands@gm...> - 2007-05-26 15:20:54
|
Hi David, > cd to the directory containing gumstix-buildroot > svn co > http://svn.gumstix.com/gumstix-buildroot/branches/projects/robostix > robostix > cd robostix/gumstix > cp uisp.mk ../../gumstix-buildroot/make > cp uisp-robostix.patch ../../gumstix-buildroot/sources Hmmm. These are out of date instructions - well actually they only apply to builds 773 and earlier. I've added a new section for builds 774 and newer. > cd robostix/gumstix > make So what you really need to do is: > I coppied the robostix_drv.ko along with Flash-LED.hex program to the > gumstix via scp and type the following in the gumstix's console: > mknod /dev/robostix c 240 0 > insmod robostix_drv.ko The mknod isn't required anymore (it's only required with the 2.6.11 kernel - if you're using the latest stuff you're using something much newer). You also need to copy the robostix program (in the same directory as robostix_drv.ko) > > When I enter the following command: > robostix reset pulse > I get: > -sh: robostix: not found You either need to put the robostix program somewhere in your PATH, or you need to use ./robostix reset pulse if the robostix program is in the current directory. You could also modify your PATH to include the current directory, although this is generally considered a security risk for the root user. > Now, when I try to send a file to the robostix: > uisp --erase --upload if=Flash-LED.hex > > I get the following message: > -sh: uisp: not found Same thing here. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |
From: Vic <gumstix@be...> - 2007-05-26 15:24:02
|
> You could also modify your PATH to include the current directory Eek! Noo! Never do that! All sorts of things get over-ridden :-( > although this is > generally considered a security risk for the root user. ...And every other user as well. Now it could be argued that there is no security risk on an isolated development platform like the gumstix - but it's still a remarkably bad habit to get into, and one which is so unnecessary anyway... Vic. |
From: Dave Hylands <dhylands@gm...> - 2007-05-26 15:38:37
|
Hi Vic, On 5/26/07, Vic <gumstix@...> wrote: > > You could also modify your PATH to include the current directory > > Eek! Noo! Never do that! > > All sorts of things get over-ridden :-( Huh? Nothing gets overridden that I'm aware of. If you put the current directory at the end, then the system executables still get run first. The only place that having . in your PATH is a risk is when it's before the system locations. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |