Gumstix Unbricked (finally)
Posted by: admin in Microcontroller, electronics, gumstix, uav, tags: groundstation, gumstix, matchbox, PDA, unbrick, verdex, XM4I’ll follow this one up later with a description of the unbricking process.
I eventually got around to ordering an Olimex USB arm-ocd-usb. Plugged it in to a Fedora 11 x86_64 laptop, and with the help of the gumstix wiki managed to successfully un-brick both my Verdex XM4 gumstix. The unbricking process is pretty straight forward, the only real got-ya was that I had to install the D2XX drivers for the Olimex ocd device to work - oh and the board attaches in a weird way (on TOP of the pins of the vx-JTAG - not the 60pin Hi-Rose connector!!)
Since then I’ve put together two devices consisting of
* XM4 Verdex (no bluetooth)
* NetwifimicroSD-vx
* vxConsoleLCD16
* Samsung 4.3″ touch screen.
To test these I initially installed the factory software stack from the gumstix sourceforge site. Using the TFPT method for the root filesystem makes the fs install take a few seconds rather than an hour using kermit, although I couldn’t get the kernel installed using tftp, so resorted to hyperterm (ick) - there are issues using minicom, and I didn;t have the patience to figure out why kermit 8.0 wouldn’t compile under fedora 11 64bit. - save that one for another day :/
I then moved on to installing the prebuilt glibc X11 image so I could get the LCD fired up - from (http://www.gumstix.net/feeds) on to a 2Gb micro SD card) as the rootfs would not fit in the main flash on an XM4 (being only 16Mb and the image being ~27Mb). The great thing about using the mmc/sd combo is that there’s less risk of bricking the device while messing about, and the added bonus of loads of space. I’m lead to believe that the current 2.6.21-r1 kernel doesn’t support SDHC cards yet.
I’ve taken a screenshot using the device and for a giggle uploaded it to http://scap.linuxtogo.org - mostly because one of the options on the screenshot tool on the desktop ‘encouraged’ it
* u-Boot 1.2.0
* uImage-2.6.21-r1-gumstix-custom-verdex.bin
* root_fs with glibc and X11
One problem I did encounter was extreme overheating when the wifi module was in use. After a bit of time on nabble, it would appear that the wifi module can require current bursts of up to 2A, whilst the onboard vregs are down at 500mA, and the UK wall wart only supplied 1A. It seems the solution is to power the netwifimicroSD-vx card (I’ve got R1700) from a separate supply. My workaround was simply to physically remove the wifi module.
Since Last year when I last got this stuff out, the old buildroot has moved on to OpenEmbedded, usign bitbake. I’m now getting a BB environment set up so I can compile my groundstation code against it.
Finally I can unbrick these things
and the best thing is it only takes a few minutes to get them back up and running again.



Entries (RSS)