Building Linux Images For ARM Architectures

Want to try your hand at building a Linux package for an embedded device? [SnowBot] decided to give it a try and set out to build Ubuntu for a GumStix. The single-board computer will cost you about $150 to get started, plus a way to connect to the device’s serial port. But once you’ve got your hands on it there is a lot of power in a tiny package.

He’s using the RootStock package to assist in the build. This is a suite of tools that generates the root file system that can be loaded onto an SD card for use with the Gumstix. It’s not quite building from the ground up, but there’s already enough hoops to jump through that this package is a welcomed shortcut.

Already rolling your own Linux packages for embedded hardware? We want to hear about it.

30 thoughts on “Building Linux Images For ARM Architectures

  1. It looks like he avoided all of the hard work in building a distro. He found a precompiled bootloader+kernel+modules, used a tool that automatically creates a rootfs, and built under Linux on the target to avoid the pain usually associated with cross compiling.

    Not that it’s a bad thing… Outside of the long build times I’m glad to see that Ubuntu makes the process easy.

  2. haha, thanks guys. Unfortunately I am still at the stage of learning and playing. Soon I will have a robot driven with a gumstix as its computer. But until then, watch the youtube videos of our other robots being driven with netbooks.

  3. These gumstix boards have always had my attention. Ive never had the time or money to play with them. I’d love to see some more cool projects with them. Namely android or even chromeOS.

    This is a great write up though…

  4. Does this arm ubuntu rootfs builder use busybox?

    I am a big fan of busy box in embedded linux development, but I always use either OpenEmbedded or Buildroot to build images.

    If space or overhead isn’t an issue I guess ubuntu would work fine for gumstix.

  5. Gumstix boards are very very nice. I’ve been using them for a while and they’re amazing little things. Low power support is still somewhat lacking, but in general they are awesome.

    I use bitbake / open embedded for build environment, and while there is a learning curve, it’s pretty useful.

  6. As far as distributions for embedded goes, Gentoo would probably be a better choice as it allows you to set the cflags to -Os to minimize the memory and flash usage. It also allows you to tune it for the specific processor instead of just using the least common denominator.

  7. Check out the progression on Dockstar hacking.
    forum.doozan.com

    Debian Squeeze on USB and a full nand rescue partition. Progress is being made on getting SD cards wired into it.

    Seagate was selling it with various discounts down to $35.

  8. yeah, when you could have bought the dockstar network adapter for $20, $150+ for a gumstix seems way too much, considering the board size is not that different. I bought two of the dockstar network adapters, one as a simple NAS, and one to put in a robot or something.

  9. @GZ Jeff Doozan was the person behind the usb boot-capable uBoot. He has done tremendous work on the Dockstar.

    I will definitely be watching this project and his progress overall on the continued work being done on the dockstar. Unfortunately my only crutch now seems to be setting up the cross-compiler toolchain to roll my own packages. This doc should help tremendously.

  10. @GZ

    About the Dockstar, its back on sale right now for $40 on Seagate’s site for those who are interested in grabbing one (or several). I got mine back when it was only $35, was a great purchase.

  11. I miss the time when I could purchase Netgear WGT-634u wireless routers for ~$35 each. These ran OpenWRT beautifully, and included a Mini-PCI slot containing an Atheros 802.11g wireless Mini-PCI card. This card could be swapped out for any number of different Mini-PCI cards that would operate at full PCI bus speed, including VGA adapters, h.264 compression cards, video capture cards, or any other number of high-speed adapters. Of course, much of this can be done with a USB 2.0 port, but I always found the transmission of high frame-rate video to be lacking using USB 2.0, in my opinion…

  12. I agree with cgmark… gumstix are way to expensive when you only want to use them as a hobby project.

    Gumstix boards are designed to be integrated on projects even as base platform for products, and so on.

    For hobby and learning purposes, better search for other boards:

    Ie:
    – Beagle board: about 100 USD
    – HawkBoard 112 USD

    And check friendlyarm boards: (http://www.watterott.com/en/FriendlyARM) they have versions with ready-to-use LCD for 120 USD.

    GumStix are for integration with other projects, not just for experimentation and fun :)

    (sorry about my poor english…i’m spanish!)

  13. Ah, Ubuntu. The Arduino of the computer world.

    But really – a Gumstix isn’t a viable choice these days what with as commentors above have said – you can have a BeagleBoard that has a metric crapton more power, a hackable wireless router or NAS, and a hell of a lot better solutions for embedded devices.

    Unless you want the actual “holy crap it’s a stick of gum” size, that is.

  14. Bought a Seagate Dockstar for $25, it is 1.2Ghz, so for performance, 1 Dockstar is about 2 Gumstix while as for price, 1 Gumstix is about 6 Dockstars, your choice you can buy $35 Dockstars at Amazon (the $25 ones are gone), or you can accidentally eat your development platform.

Leave a Reply to nwadamsCancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.