BUG Community

Welcome! Log In

How To

Wiring up the Von Hippel and Arduino

We've done some cool things with the Arduino and the BUG.  If you had a hankering to do something similar, there are a couple of things to keep in mind.  The current released version of the BUG operating system, 1.3, does not have serial java communication built in.  If you want to do serial from java, you have a couple of options.  You can wait for 1.4 (I want it now!), you can build 1.4...
read more

Rootfs Flash without the Flash

With the final touches going onto R1.4 before it gets given to QA to tear up, the number of builds taking place per day has increased a bit. I prefer to test the changes that get made, so I'm regularly flashing my bug sd card. I was presented with a minor problem/challenge today: I had left my SD card reader at home and needed to get a new build running on my development bug.The solution:...
read more

Finding BUG Tutorials and Documentation

We are working on bringing all of the tutorials, documentation, and different repositories of information about the BUG into the BUG Community.  Currently, things are a little spread out and may be difficult to find.  We have information in the forums, the wiki, and here on the BUG Community site.  Over the next few weeks, we'll be making this information easier to find, but in the meantime, here's a list of useful places to go...
read more

Using Public Key Authentication with your BUG

The BUG uses dropbear at its SSH daemon. You can create a .ssh directory under the home directory of the root account and place an authorized_keys file in there, just like you could on most servers that support SSH. See a previous posting by me for more details.Not specifying a passphrase when setting up your keys is super convenient, but it does mean anyone with access to the computer that has your private key can...
read more

Speeding up SSH connections to your BUG

When SSHing to your BUG, you may notice a second or two delay before you get a prompt, even if you're just connecting over the USB ethernet connection from your computer.This typically happens because the SSH daemon (dropbear) on the BUG is trying to do a DNS lookup on your IP address. If it can't find a DNS entry, or can't get to a DNS server, it can take a few seconds before it will...
read more

Using USB ethernet with a Mac

If you're doing your Eclipse / Dragonfly BUG app work on a Mac, you will likely be using the USB ethernet connection to your BUG. Whenever the BUG boots, the g_ether module, which provides the USB ethernet, will by default generate a random MAC. OS X tracks network connections by MAC, and so every time you boot your BUG you will need to go through the process of creating a new enX connection for it,...
read more

How to set required SVN revision

Recently most (if not all) BUG components moved from CVS to Subversion. Many recipes got updated to that fact and set to fetch source from new repository. But the problem is that all of them have PV = "1.0" so each change to code require manual rebuilding instead of letting BitBake to notice new version and do new build.What I did in r7123-7125 was changing this. All recipes which fetch from http://svn.buglabs.net/ have now PV...
read more

Pulling in an OE Recipe

If there's a package you'd like on your BUG, but it isn't provided by default, you can often get the recipe for it from OpenEmbedded and use it to build the package for you. This is pretty easy if you already have the build environment setup for the BUG (see how to on the wiki).First, download OpenEmbedded using the instructions in the Obtaining OpenEmbedded Using GIT section of their Getting Started page. Once you have...
read more

Rails Deployment - One Recipe, Many Targets

This site, like all of our rails sites, has a few different deployment targets, depending on what we're trying to do.  For us, the target might be the integration server (where developers give new code a test run after verifying it works on our local development machines), the testing server, or the production server.  We use Capistrano to do our deployments and employ a couple of strategies that allow us to easily deploy to any...
read more