Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to develop software in C/C++ for an embedded system. I have Debian 6 running off of a USB hard drive. I would like to be able to generate a stripped-down kernel with modules, and install them either on a CF card or a USB 'thumb' drive.

I succeeded in building a Linux 3.6 kernel and running it in Debian off of the USB hard drive, but I am having trouble figuring out how to install it on the thumb drive.

I would like a build cycle that looks like this:

1) Build module or kernel with desired software 2) Install it on thumb drive 3) Boot and test

I would like to use the same system for both development and testing, if that is feasible. I am looking for resources and tutorials that would help me understand how to do this.

share|improve this question

closed as off topic by Synetech, Ƭᴇcʜιᴇ007, TFM, ChrisF, HackToHell Nov 20 '12 at 12:46

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 0 down vote accepted

If your host (development system) is not your target system, then look at Buildroot.
A 30-slide intro on features of Buildroot is here
At the end (#27) there is mention of a few similar and alternate tools to build embedded systems.

If your host (development) and target are the same system , then look at the Linux from Scratch tutorial and friends.

Your title has the broad concept of "development environment", but then you mention "writing to thumb drive". Is the issue really creating a bootable root filesystem?
You have not written an actual question.

share|improve this answer
Sorry for the lack of clarity. I'm not 100% sure I know what I'm looking for, but this answer gave me some addition resources which may get me what I need. The Linux From Scratch tutorial looks like it may do the trick. I have used *nix on and off for several years, but never had to get into the admin stuff or kernel-level programming, so picking up the various concepts is like sipping from a firehose. – Howard Lee Harkness Nov 20 '12 at 2:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.