From: Damien D. <d....@qu...> - 2006-10-27 06:22:16
|
Hello all, I have a student that was using the gumstix this semester, and found it time consuming and error prone in doing tasks such as updating the buildroot, transferring files, etc, to the gumstix. He wants to therefore sometime create a gui program to automate and "pretty up" the project and perhaps develop a mini-IDE for the platform. This may especially be helpful to first-time users. A couple of questions for the general population of users: 1) Would you find such a program useful? 2) If so, what features would you like to see? 3) What would people suggest as a starting point or influence for such a project - linux based (e.g. a <insert IDE> plugin), or non-linux (such as influences from the AVR IDE, or Metrowerks Code Warrior)... Any comments are welcome. Cheers Damien. -----Original Message----- From: gum...@li... [mailto:gum...@li...] On Behalf Of gum...@li... Sent: Friday, 27 October 2006 3:50 PM To: gum...@li... Subject: gumstix-users Digest, Vol 6, Issue 161 Send gumstix-users mailing list submissions to gum...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gumstix-users or, via email, send a message with subject or body 'help' to gum...@li... You can reach the person managing the list at gum...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of gumstix-users digest..." Today's Topics: 1. Breakout board serial wiring (Chad Lathe) 2. GPSstix active antenna mod (Peter Kahle) 3. Re: Breakout board serial wiring (Dave Hylands) 4. Re: gumstix-users Digest, Vol 6, Issue 160 (Manish Prahladka) 5. Multiple targets / buildroot recomendations (Kevin Uhlir) 6. Modifying root for future builds. (Kevin Uhlir) 7. Re: gumstix-users Digest, Vol 6, Issue 160 (Dave Hylands) 8. Re: Multiple targets / buildroot recomendations (Dave Hylands) 9. Re: Modifying root for future builds. (Dave Hylands) 10. breakout-gs -=- General Info ...? (Hossein Ghaffari Nik) ---------------------------------------------------------------------- Message: 1 Date: Thu, 26 Oct 2006 21:25:29 -0400 From: Chad Lathe <cl...@gm...> Subject: [Gumstix-users] Breakout board serial wiring To: gum...@li... Message-ID: <06B...@gm...> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed I just received my Gumstix, and I don't quite know which pads on the breakout board to use to wire up a serial console cable. I think it has to go to the FFUART pads, but can I just use the RXD/TXD wires along with ground and vcc from the serial cable? I didn't want to make a dumb mistake, opted for a dumb question instead. :P -Chad Lathe ------------------------------ Message: 2 Date: Thu, 26 Oct 2006 21:50:53 -0400 From: Peter Kahle <pk...@po...> Subject: [Gumstix-users] GPSstix active antenna mod To: "General mailing list for gumstix users." <gum...@li...> Message-ID: <454...@po...> Content-Type: text/plain; charset=ISO-8859-1; format=flowed After I probably fried my gpsstix trying to do the active antenna mod, I guess I'm curious if there's an updated gpsstix with the mod already made, or somehow selectable (jumper? gpio?) in the works? In the meantime, I guess I have to get a flush cutter, like one of the images on the wiki, and a finer tip for my iron. And a good magnifying glass to inspect the damage I've already done... Thanks, P ------------------------------ Message: 3 Date: Thu, 26 Oct 2006 19:17:08 -0700 From: "Dave Hylands" <dhy...@gm...> Subject: Re: [Gumstix-users] Breakout board serial wiring To: "General mailing list for gumstix users." <gum...@li...> Message-ID: <c32...@ma...> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi Chad, On 10/26/06, Chad Lathe <cl...@gm...> wrote: > I just received my Gumstix, and I don't quite know which pads on the > breakout board to use to wire up a serial console cable. I think it > has to go to the FFUART pads, but can I just use the RXD/TXD wires > along with ground and vcc from the serial cable? I didn't want to > make a dumb mistake, opted for a dumb question instead. :P Read these pages: http://docwiki.gumstix.org/Serial_voltages http://docwiki.gumstix.org/Serial_adapters Your breakout-board has 3.3v logic level serial voltage. Your PC has RS-232 level serial. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ ------------------------------ Message: 4 Date: Thu, 26 Oct 2006 22:56:46 -0500 From: "Manish Prahladka" <mpr...@ya...> Subject: Re: [Gumstix-users] gumstix-users Digest, Vol 6, Issue 160 To: <gum...@li...> Message-ID: <!&!AAAAAAAAAAAYAAAAAAAAAFRCseH86/NDoswV95qDPB/CgAAAEAAAAP3Cw4wnAJtAoVPq9FRU PJUBAAAAAA==@yahoo.com> Content-Type: text/plain; charset="us-ascii" > However I need to interface a bq20z80 battery management chip to the gumstix > using i2c. My hunch was that I will not have to use the i2c bootloader or > anything on the roboaudiostix because my code will run on the gumstix only. > However to test the i2c installation I installed it and it worked fine. > > What's wrong? Why I can't see any devices when I modprobe i2c-pxa? Not even > the two default devices... ----------------------------------------------------------------- Because it doesn't do the scan any more. That "feature" was dropped from the i2c-pxa driver after 2.6.11 And no you won't need the i2c-bootloader or i2c-load to talk to the battery manager. However you can use the i2c program to talk to generic i2c devices. -------------------------------------------------------------- Hmm, I need to find out the device ID fro the bq20z80 now. Any ideas how do I do that? Thanx for the ------------------------------ Message: 5 Date: Thu, 26 Oct 2006 23:08:44 -0600 From: "Kevin Uhlir" <ek...@dr...> Subject: [Gumstix-users] Multiple targets / buildroot recomendations To: gum...@li... Message-ID: <200...@dr...> Content-Type: text/plain; charset=iso-8859-1 First, thanks for the responses of my previous questions. I didn't think I'd need to build the entire toolchain when adding the g++ option. So being new to the buildroot environment, I thought I'd ask for some recomendations. I have two projects that I'll be using the gumstix for. One project needs the robostix+netmmc+connix400 and will use alot of the 16M flash. The other project simply needs the basix+(breakout or thumbstix). I'm looking to understand if I need to make two entire sets of gumstix- buildroot, or can I use one buildroot with multiple target configurations? It seems to me looking at the configs, etc, I should be able to use the same toolchain to target both platforms, but have it put different things in the root directory. Any pointers in this are would be helpful. Any links to additional docs would be appreciated as well. Thanks in advance, Kevin P.S. Just as background, I do have extensive experience with the linux environment, makefiles, configure, etc. I also have extensive embedded systems experience. ------------------------------ Message: 6 Date: Thu, 26 Oct 2006 23:28:32 -0600 From: "Kevin Uhlir" <ek...@dr...> Subject: [Gumstix-users] Modifying root for future builds. To: gum...@li... Message-ID: <200...@dr...> Content-Type: text/plain; charset=iso-8859-1 Suppose I want to use buildroot, but I want to clean out the MMC message in /etc/motd and fix /etc/modules, and set a different password. I can change the stuff in root, erase the root....jffs2 file and do a make.... but if i do a more drastic build then the cusomized stuff goes away. I see I could change the skeleton directory in the target directory, but is this the correct method? Or do I need to resort to a customize script after the build? Kevin ------------------------------ Message: 7 Date: Thu, 26 Oct 2006 21:29:56 -0700 From: "Dave Hylands" <dhy...@gm...> Subject: Re: [Gumstix-users] gumstix-users Digest, Vol 6, Issue 160 To: "General mailing list for gumstix users." <gum...@li...> Message-ID: <c32...@ma...> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi Manish, > Hmm, I need to find out the device ID fro the bq20z80 now. Any ideas how do > I do that? Read the datasheet? http://focus.ti.com/lit/ds/symlink/bq20z80.pdf Page 26 shows the address as being 0001011, which is 0x0b - heh I guess they picked b for battery - i picked b for bootloader. This appears to be a true SMBus device as opposed to an i2c device. This means that you probably can't use the i2c command as is, since it doesn't generate the correct PEC codes. There are some sublte differences between i2c and smbus. I think you should still be able to communicate with the device using the routines in the i2c-api.c & i2c-api.h files (which is what i2c uses, it just doesn't enable the CRC). -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ ------------------------------ Message: 8 Date: Thu, 26 Oct 2006 21:58:43 -0700 From: "Dave Hylands" <dhy...@gm...> Subject: Re: [Gumstix-users] Multiple targets / buildroot recomendations To: "General mailing list for gumstix users." <gum...@li...> Message-ID: <c32...@ma...> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi Kevin, On 10/26/06, Kevin Uhlir <ek...@dr...> wrote: > First, thanks for the responses of my previous questions. I didn't think > I'd need to build the entire toolchain when adding the g++ option. You could have chosen the g++ before builing things the first time. The real issue is that the buildroot makefiles do very simplfieid dependency stuff. If you know what's going on you can delete a key file and get things to just rebuild, but trying to figure how to explain this is tricky, so rm -rf toolchain_arm_nofpu is the simplest way to get it right. > So being new to the buildroot environment, I thought I'd ask for some > recomendations. > > I have two projects that I'll be using the gumstix for. One project needs > the robostix+netmmc+connix400 and will use alot of the 16M flash. The other > project simply needs the basix+(breakout or thumbstix). > > I'm looking to understand if I need to make two entire sets of gumstix- > buildroot, or can I use one buildroot with multiple target configurations? Maintaining two independant buildroots might be the simplest. But it really depends on how frequenctly you'll be switching back and forth. You could also use multiple configurations and swap them in and out. You might also want to use a single buildroot with a single super configuration (builds everything needed for both) and then create a custom root directory for your two targets and have a script/makefile which populates the stuff you want from the superset root. Then just run the mkfs.jffs2 script for each root directory. > It seems to me looking at the configs, etc, I should be able to use the same > toolchain to target both platforms, but have it put different things in the > root directory. > > Any pointers in this are would be helpful. Any links to additional docs > would be appreciated as well. http://www.busybox.net/ http://buildroot.uclibc.org/ -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ ------------------------------ Message: 9 Date: Thu, 26 Oct 2006 22:11:25 -0700 From: "Dave Hylands" <dhy...@gm...> Subject: Re: [Gumstix-users] Modifying root for future builds. To: "General mailing list for gumstix users." <gum...@li...> Message-ID: <c32...@ma...> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi Kevin, On 10/26/06, Kevin Uhlir <ek...@dr...> wrote: > Suppose I want to use buildroot, but I want to clean out the MMC message > in /etc/motd and fix /etc/modules, and set a different password. > > I can change the stuff in root, erase the root....jffs2 file and do a > make.... but if i do a more drastic build then the cusomized stuff goes away. > > I see I could change the skeleton directory in the target directory, but is > this the correct method? > > Or do I need to resort to a customize script after the build? I would probably do the customize script after the build (that customizes the build_arm_nofpu/root directory and then reruns the mkfs.jffs2 - or deletes the existing jffs2 file and rerun make). You can also take advantage of the buildroot. Part of the secret lies in these 3 lines in the gumstix-buildroot/Makefile: include toolchain/*/*.mk include package/*/*.mk include target/*/*.mk You could create your own directory in the package directory (along with a .mk file) and add a target to TARGET_FS Since you're in the package directory, it will get picked up before the jffs2root.mk (which is in the target directory). It does this near the end: TARGET_FS += jffs2root Since your target is before jffs2root, it will get "built" first, which means it can perform any desired cusomizations. The cool thing about this approach is that you just have to add a directory with some files in it. You don't actually have to edit any of the existing files. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ ------------------------------ Message: 10 Date: Fri, 27 Oct 2006 01:49:59 -0400 From: "Hossein Ghaffari Nik" <hgn...@gm...> Subject: [Gumstix-users] breakout-gs -=- General Info ...? To: Gumstix <gum...@li...> Message-ID: <658...@ma...> Content-Type: text/plain; charset="iso-8859-1" Hello All, Thanks for your help on my previous questions. Now I am capable of compiling and running C programs on my Gumstix (I had to reflash my Gumstix and enable gcc on the buildroot). I have the breakout-gs expansion board and am planning on sending/receiving data to/from a separate GPS module using this board via programing. My question is that how should I get started or maybe how do I address each of those ports on the breakout board in my programs. I am a newbie, so please bare with me and my questions. Your help is greatly appreciated. Best Regards, HoSsEiN. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=gumstix-users/attachments /20061027/70404d2c/attachment.html ------------------------------ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ------------------------------ _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users End of gumstix-users Digest, Vol 6, Issue 161 ********************************************* |