From: Margaret B. <mar...@gm...> - 2008-04-13 21:46:20
|
Firstpost :) I've been working on setting up a build environment on my host system and finally getting my touchscreen to work and acquiringright hardware the last few weeks. I've managed to do all this through trial and error and a wee bit of confusion trying to find the appropriate commands in the two somewhat differing wikis (It took me a few days to realize gumstix is now on OE and no longer Buildroot) and the archived info from this mailing list. I *finally* have a successful build of JFFS2, which i've uploaded to the gumstix via tftp. GUM> protect on 1:0-2 GUM> erase all Erased 1 sectors Writing to Flash... done . done Protected 1 sectors GUM>cp.b a2000000 40000 904400 //{904400 was my filesize in hex} Copy to Flash... done GUM>boot Instruction Cache is ON Copying kernel to 0xa2000000 from 0x01f00000 (length 0x00100000)...done ## Booting image at a2000000 ... Bad Magic Number grrr.... so I tried something slightly different GUM>protect on 1:0-1 GUM>erase all GUM>fsload a2000000 boot/uImage ### JFFS2 loading 'boot/uImage' to 0xa2000000 Scanning JFFS2 FS: done. find_inode failed for name=boot load: Failed to find inode ### JFFS2 LOAD ERROR<0> for boot/uImage! I'm at a loss at this point, and somewhat afraid to turn my system off. Anyone have any possible solutions? I imagine it's something I'm just not understanding in http://docwiki.gumstix.org/index.php/Replacing_the_filesystem_image but I truly am out of ideas. Am I going to have to get this reflashed? Any suggestions or a better command sequense? Thanks in advanced! Margaret -- View this message in context: http://www.nabble.com/Have-I-bricked-it--Error-loading-filesystem-tp16668600p16668600.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Justin R. <ju...@ra...> - 2008-04-13 23:48:41
|
It does not look like you uploaded the uImage file. I don't know about tftp but I get that same message when I forget to send the uImage file and use the commands GUM>katinstall 100000 GUM>katload 100000 GUM>bootm see the serial part. It will probably help you. Also you can use the command cp.b a2000000 40000 ${filesize} directly and you don't have to replace the ${filesize}. That refers to a variable that has the size of the last transfer. Justin -- View this message in context: http://www.nabble.com/Have-I-bricked-it--Error-loading-filesystem-tp16668600p16669557.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Margaret B. <mar...@gm...> - 2008-04-15 02:51:44
|
Thank you! After realizing I missed the crucial concept of loading the kernel as well, I went back over the directions with better understanding. I ditched tftp for Kermit, too, since the directions were better for it on the gumstix.net site. I went back and loaded the filesystem then loaded the kernel. Booted beautifully! My logo is swankier, the backlighting is significantly brighter, and my cursor during ts_calibration and ts_touch stopped jumping around like grease on a hotplate. Testing a few more things out. -Margaret Justin Rajewski wrote: > > It does not look like you uploaded the uImage file. I don't know about > tftp but I get that same message when I forget to send the uImage file and > use the commands > GUM>katinstall 100000 > GUM>katload 100000 > GUM>bootm > see the serial part. It will probably help you. Also you can use the > command > cp.b a2000000 40000 ${filesize} > directly and you don't have to replace the ${filesize}. That refers to a > variable that has the size of the last transfer. > > Justin > -- View this message in context: http://www.nabble.com/Have-I-bricked-it--Error-loading-filesystem-tp16668600p16694057.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Marc H. <mhu...@lo...> - 2008-04-14 00:47:52
|
Margaret, If you are still getting to the GUM> prompt after a failed kernel boot you haven't bricked you board. What hardware do you have? What version of u-boot is running on your gumstix? type "version" at the GUM> prompt. Do you have a network card, CF or SD card? Marc > -----Original Message----- > From: gum...@li... [mailto:gumstix-users- > bo...@li...] On Behalf Of Margaret Blue > Sent: Sunday, April 13, 2008 5:46 PM > To: gum...@li... > Subject: [Gumstix-users] Have I bricked it? Error loading filesystem > > > Firstpost :) > I've been working on setting up a build environment on my host system and > finally getting my touchscreen to work and acquiringright hardware the > last > few weeks. I've managed to do all this through trial and error and a wee > bit of confusion trying to find the appropriate commands in the two > somewhat > differing wikis (It took me a few days to realize gumstix is now on OE and > no longer Buildroot) and the archived info from this mailing list. > > I *finally* have a successful build of JFFS2, which i've uploaded to the > gumstix via tftp. > > GUM> protect on 1:0-2 > GUM> erase all > Erased 1 sectors > Writing to Flash... done > . done > Protected 1 sectors > GUM>cp.b a2000000 40000 904400 //{904400 was my filesize in hex} > Copy to Flash... done > GUM>boot > Instruction Cache is ON > Copying kernel to 0xa2000000 from 0x01f00000 (length 0x00100000)...done > ## Booting image at a2000000 ... > Bad Magic Number > > grrr.... > > so I tried something slightly different > GUM>protect on 1:0-1 > GUM>erase all > GUM>fsload a2000000 boot/uImage > ### JFFS2 loading 'boot/uImage' to 0xa2000000 > Scanning JFFS2 FS: done. > find_inode failed for name=boot > load: Failed to find inode > ### JFFS2 LOAD ERROR<0> for boot/uImage! > > I'm at a loss at this point, and somewhat afraid to turn my system off. > Anyone have any possible solutions? > I imagine it's something I'm just not understanding in > http://docwiki.gumstix.org/index.php/Replacing_the_filesystem_image > > but I truly am out of ideas. > Am I going to have to get this reflashed? > Any suggestions or a better command sequense? > > Thanks in advanced! > Margaret > -- > View this message in context: http://www.nabble.com/Have-I-bricked-it-- > Error-loading-filesystem-tp16668600p16668600.html > Sent from the Gumstix mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/jav > aone > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Marc H. <mhu...@lo...> - 2008-04-14 00:54:54
|
Margaret, If you have u-boot version 1.2 on your mother board these are the steps I follow using tftp file transfer process. Note that the ${filesize} for the cp.b command is type as you see it. No need to calculate the filesize, it get set as a variable after the tftp command. #Setup a tftp server and copy rootfs and uImage field to tftp root directory. #REPLACING ROOTFS GUM>setenv serverip 192.168.1.1 <use you tftp server ip address> GUM>setenv ipaddr 192.168.1.20 < ip address of gumstix> GUM>saveenv GUM>tftp a2000000 [your rootfs image name, e.g rootfs.arm_nofpu.jffs2] GUM>protect on 1:0-1 GUM>jera all GUM>cp.b a2000000 40000 ${filesize} #REPLACING KERNEL GUM>tftp a2000000 [your uImage file] GUM>katinstall 100000 GUM>katload 100000 GUM>bootm Good luck. > -----Original Message----- > From: gum...@li... [mailto:gumstix-users- > bo...@li...] On Behalf Of Margaret Blue > Sent: Sunday, April 13, 2008 5:46 PM > To: gum...@li... > Subject: [Gumstix-users] Have I bricked it? Error loading filesystem > > > Firstpost :) > I've been working on setting up a build environment on my host system and > finally getting my touchscreen to work and acquiringright hardware the > last > few weeks. I've managed to do all this through trial and error and a wee > bit of confusion trying to find the appropriate commands in the two > somewhat > differing wikis (It took me a few days to realize gumstix is now on OE and > no longer Buildroot) and the archived info from this mailing list. > > I *finally* have a successful build of JFFS2, which i've uploaded to the > gumstix via tftp. > > GUM> protect on 1:0-2 > GUM> erase all > Erased 1 sectors > Writing to Flash... done > . done > Protected 1 sectors > GUM>cp.b a2000000 40000 904400 //{904400 was my filesize in hex} > Copy to Flash... done > GUM>boot > Instruction Cache is ON > Copying kernel to 0xa2000000 from 0x01f00000 (length 0x00100000)...done > ## Booting image at a2000000 ... > Bad Magic Number > > grrr.... > > so I tried something slightly different > GUM>protect on 1:0-1 > GUM>erase all > GUM>fsload a2000000 boot/uImage > ### JFFS2 loading 'boot/uImage' to 0xa2000000 > Scanning JFFS2 FS: done. > find_inode failed for name=boot > load: Failed to find inode > ### JFFS2 LOAD ERROR<0> for boot/uImage! > > I'm at a loss at this point, and somewhat afraid to turn my system off. > Anyone have any possible solutions? > I imagine it's something I'm just not understanding in > http://docwiki.gumstix.org/index.php/Replacing_the_filesystem_image > > but I truly am out of ideas. > Am I going to have to get this reflashed? > Any suggestions or a better command sequense? > > Thanks in advanced! > Margaret > -- > View this message in context: http://www.nabble.com/Have-I-bricked-it-- > Error-loading-filesystem-tp16668600p16668600.html > Sent from the Gumstix mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/jav > aone > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Margaret B. <mar...@gm...> - 2008-04-15 16:30:24
|
Marc, Your reply would make a great addition to the gumstix.net OE site, just underneath the directions for Kermit. I ended up following the Kermit directions for my basic-image, but I notice the upload was slower (even at the same baud rate) than with tftp. Once I have a successful build of gumstix-directfb-image i'm going to upload following these directions with tftp. Thanks! Margaret Marc Humphreys wrote: > > > #Setup a tftp server and copy rootfs and uImage field to tftp root > directory. > > #REPLACING ROOTFS > > GUM>setenv serverip 192.168.1.1 <use you tftp server ip address> > GUM>setenv ipaddr 192.168.1.20 < ip address of gumstix> > GUM>saveenv > GUM>tftp a2000000 [your rootfs image name, e.g rootfs.arm_nofpu.jffs2] > > GUM>protect on 1:0-1 > GUM>jera all > GUM>cp.b a2000000 40000 ${filesize} > > #REPLACING KERNEL > > GUM>tftp a2000000 [your uImage file] > GUM>katinstall 100000 > GUM>katload 100000 > GUM>bootm > > Good luck. > -- View this message in context: http://www.nabble.com/Have-I-bricked-it--Error-loading-filesystem-tp16668600p16701823.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Lenk T. <na...@se...> - 2008-04-16 07:14:34
|
Personally, I don't seen any reason to use kermit or tftp, because it's much easier and faster to copy image to CF/MMC card, it can be loaded from in a matter of _seconds_: gum> mmc init gum> fatls mmc 1 gum> fatload mmc 1 a2000000 whatever_image_you_like.jffs2 and so on... (you'll need netcf/netsd card for best results using this approach) Margaret Blue wrote: > I ended up following the Kermit directions for my basic-image, but I notice > the upload was slower (even at the same baud rate) than with tftp. Once I > have a successful build of gumstix-directfb-image i'm going to upload > following these directions with tftp. |
From: Demetris Z. <fgc...@cy...> - 2008-04-16 09:18:08
|
Hi everyone I have managed to connect with a GSM module over serial to a gprs network with ppp Now I have: lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:37 errors:0 dropped:0 overruns:0 frame:0 TX packets:37 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5277 (5.1 KiB) TX bytes:5277 (5.1 KiB) ppp0 Link encap:Point-to-Point Protocol inet addr:10.160.2.112 P-t-P:192.168.202.0 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:40 (40.0 B) TX bytes:58 (58.0 B) If I type "ip route" I get: 192.168.202.0 dev ppp0 src 10.160.2.112 default via 192.168.202.0 dev ppp0 but I can't ping www.google.com or anything else if I ping : 192.168.202.0 then it freezes and I have to exit the "ping" command also I don't have a "resolv.conf" in my /etc directory so what should I do ? what's the problem ? My pppd "peer" script is: /dev/ttyS2 115200 connect '/usr/sbin/chat -e -v -f /etc/ppp/gprs.chat' noipdefault defaultroute #usepeerdns #nodetach Debug And the chat script is: ABORT ERROR '' AT OK AT&K0 OK AT+CGDCONT=1,"IP","cytamobile","0.0.0.0",0,0 OK ATD*99***1# CONNECT \d\d\d\d\d\d\d\d\d\d\d\d\d\d\d'' Please help out |
From: Demetris Z. <fgc...@cy...> - 2008-04-18 16:44:18
|
Hi everyone. I have a Li-Po battery connected to the AN0 of UCB1400. I'm running Matchbox with GPE support Matchbox has a battery status applet that reads the Battery status from APM. How would I configure APM to read the battery status from the AN0 pin of UCB1400 ? The UCB1400 pins are exposed in /proc/gpio/UCB1400-0-0 -> UCB1400-0-9 So how would I make this work ? Please any help would be appreciated. |