gumstix-users

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.

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.

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.

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.

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.