Like every other website on the planet, SmallNetBuilder uses cookies. Our cookies track login status, but we only allow admins to log in anyway, so those don't apply to you. Any other cookies you pick up during your visit come from advertisers, which we don't control.
If you continue to use the site, you agree to tolerate our use of cookies. Thank you!

Router Charts

Click for Router Charts

Router Ranker

Click for Router Ranker

NAS Charts

Click for NAS Charts

NAS Ranker

Click for NAS Ranker

More Tools

Click for More Tools

Wireless How To

Building Your Toolchain

Using a Linux computer, you will be downloading all the necessary packages and then cross-compiling a custom ARM-compatible image. It is essential that your Linux computer be quite fast, as cross-compiling translates the C code into ARM-compatible code and it's pretty compute intensive.

Tip! Tip: While you can use CoLinux and build a custom kernel from within Windows, I don't recommend it. You're better off using a native Linux distro.

You will need to install a Subversion client on your Linux box, which you can get here. Subversion is an open source version control system alternative to CVS that will build a catalog of necessary files for the build and then download them from a central repository on the Internet . You'll then make a custom Linux distribution for the Gumstix ARM processor from those files. Subversion will also install files necessary for you to cross-compile the Bluetooth hacking programs, which are described later in this article.

After you install Subversion, issue the following command from a shell prompt to start building the library tree:

svn co http://svn.rungie.com/svn/gumstix-buildroot/trunk gumstix-buildroot

The Subversion client will make a directory called gumstix-buildroot. Go into the directory by typing in the following.

cd gumstix-buildroot

Now, you need to change the make file to add in the Bluetooth-libs and utils. Edit the make file with a text editor of your choice (I used EMACS).

emacs Makefile

Find

#For Bluetooth

within the makefile, and change the line following it to

TARGETS+=bluez-utils bluez-libs 

Figure 2 shows the changed line. This will substitute the newest BlueZ drivers for the standard Bluetooth modules. After making the edit, save the file and exit.

Modifying the make file

Figure 2: Modifying the make file
(click image to enlarge)

Update August 13, 2005
Two additional Bluetooth applications - btscanner and carwhisperer - have been added to the buildroot. The TARGETS line described above and shown in Figure 2 should be modified to be:

TARGETS+=bluez-utils bluez-libs btscanner carwhisperer
to include these applications, which are described in the Finishing Up section.

It is also a good idea to add PERL support on the Gumstix, which will allow you to run and make your own Bluetooth PERL scripts. Add in the following line to the make file.

TARGETS+=perl 

You can add this line right after the edited Bluetooth line and add a comment above it. Remember to start the comment line with a "#"!

Make in progress
Figure 3: Make in progress
(click image to enlarge)

You're now ready to start the "make" or compile. Type in

make 

and gcc will start compiling the custom kernel. It will take around an hour or so for make to download and compile the files, so you may want to grab lunch. After the compile is finished, you will have a file around three megaBytes in size called root_fs_arm, located in the directory that you started the make from. This is the file that you will transfer to the Gumstix.

More Wireless

Wi-Fi System Tools
Check out our Wi-Fi System Charts, Ranker and Finder!

Support Us!

If you like what we do and want to thank us, just buy something on Amazon. We'll get a small commission on anything you buy. Thanks!

Over In The Forums

Hi all, I have been considering upgrading the home network primarily as it pertains to security. With the implementation of many IoT devices which wil...
I updated my ISP from 200 to 400 Mbps. So I tested the throughput, the ISP Modem is putting out 467 Mbps. I am testing using an ethernet cable directl...
Hello everyone, I recently bought an Asus RT-AX58U router for my mom's 2 story house. I'm very happy with the purchase but i'd like to extend the w...
Hey SNB members, I hope you are all well during this time. I have used Asus routers for a long time. My current and backup router have failed - so I d...
Hi everyoneOne of my kids needs open NAT on an X-Box One.I have two RT AC68U routers, I've tried them as an AIMesh and right now the second router is ...

Don't Miss These

  • 1
  • 2
  • 3