From: SunitM <s.m...@gm...> - 2008-04-18 00:20:48
|
Hey kasy, I ended up updating my buildroot version using svn update and I believe that solved my problem. My buildroot version was 1578M. -SunitM kasy wrote: > >> root@gumstix-custom-verdex:~$ ./hello >> -sh: ./hello: not found > > I am a gumstix newbie and have come across the same issue of "-sh: > ./hello: not found". I did not find any clear resolution in the thread so > I am wondering if you ever resolved this and what the solution was. If > not, does any one know what might be going on here or what settings to > check? > > - kasy. > > > > SunitM wrote: >> >> Hi Dave, >> >> On my gumstix, there is no /etc/gumstix-release file, only >> /etc/gumstix-version and that doesn't give me a release number after I do >> a 'cat'. When I boot up the gumstix through minicom (over serial cable) >> it does say 1578M right at the top. >> >> My inclination tells me that my host buildroot and gumstix don't match at >> this point because I had to send my gumstix to get reflashed in February >> and they definitely updated the image version. >> >> Would I want to get an updated buildroot on my host to match the gumstix >> or create a new image for my gumstix that matches my current host >> buildroot. I have no partiality to my current host buildroot because I >> was never able to get my LCD working with it or get the Hello World >> example going. I think the version they re-flashed me with was made >> using OE and not the old buildroot way. >> >> -Sunit >> >> >> Dave Hylands wrote: >>> >>> Hi Sunit, >>> >>>> I am a newbie to Gumstix and Linux. I have been trying to get a basic >>>> OE >>>> image build on my host computer, but it has been failing for me, so I >>>> am >>>> trying to get Hello World working using the old buildroot methods. >>>> >>>> I am using a Verdex XM4-bt board with a ConsoleLCD-vx expansion board. >>>> I >>>> messed up and had to send it back to gumstix to get reflashed last >>>> week. I >>>> think I am now running version 1578. >>>> >>>> I installed buildroot and followed the instructions here: >>>> http://docwiki.gumstix.org/Sample_code/C/Hello_World >>>> >>>> and got the correct output (3 lines): >>>> sunit@sunit-laptop:~/hello-world$ make >>>> >>>> /home/sunit/hello-world/../gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnueabi-gcc >>>> -O2 -M hello.c > .depend >>>> >>>> /home/sunit/hello-world/../gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnueabi-gcc >>>> -O2 -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -c -o hello.o >>>> hello.c >>>> >>>> /home/sunit/hello-world/../gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnueabi-gcc >>>> -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale hello.o -o hello >>>> -- >>>> >>>> Then I used minicom (zmodem protocol) to transfer the hello file from >>>> my >>>> hello-world directory to the root directory on the gumstix. >>>> >>>> This is what i tried: >>>> >>>> root@gumstix-custom-verdex:~$ ls -l hello >>>> -rwxrwxr-x 1 root root 4470 Mar 2 2008 hello >>>> root@gumstix-custom-verdex:~$ hello >>>> -sh: hello: not found >>>> root@gumstix-custom-verdex:~$ ./hello >>>> -sh: ./hello: not found >>>> root@gumstix-custom-verdex:~$ >>>> -- >>>> >>>> Can one of you experts point me in the right direction? I have been >>>> eager >>>> to start compiling some of my C code on the gumstix for a few weeks >>>> now, but >>>> need to understand how to get it to work first :) >>> >>> First thing to do is check to see if the version of buildroot you're >>> using on your host machine matches the one on your gumstix. >>> >>> On the gumstix do: >>> cat /etc/gumstix-release >>> >>> On the host you can do: >>> cd gumstix-buildroot >>> svnversion >>> >>> -- >>> Dave Hylands >>> Vancouver, BC, Canada >>> http://www.DaveHylands.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 >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/Getting-Hello-World-working-using-Buildroot-%28newbie%29-tp15794315p16758335.html Sent from the Gumstix mailing list archive at Nabble.com. |