Slashdot Mirror


How to Embed Linux

Doc Ruby writes "LinuxJournal has an intro to uCLinux by David McCullough, one of the project developers. Specific techniques are discussed for Linux programming on this version, that runs on devices without the MMU that the Linux VM usually requires. Developers can make Linux apps run on uCLinux devices, including PDAs like a Palm IIIx, routers, DVD players, and even a FPGA."

5 of 25 comments (clear)

  1. Embed Linux? It's not an ideal choice. by Anonymous Coward · · Score: 4, Interesting

    Two words: Interrupt latency.

    Linux is a server/desktop OS. It's not a real-time OS. There are very different requirements for that job, and Linux would need a complete redesign to meet them. Read Ed Nisley's column in Dr. Dobb's; he's gone into detail about this stuff.

    If you try to please everybody, you'll please nobody. There is no need to put a server OS in a defibrillator.

    There are many other options far better suited to the problem domain. QNX, for example.

    1. Re:Embed Linux? It's not an ideal choice. by byolinux · · Score: 3, Funny

      Linux is a server/desktop OS. It's not a real-time OS.

      It's a kernel. But yeah, it's not a real time OS. Or a dog. Or a salad.

    2. Re:Embed Linux? It's not an ideal choice. by SmegTheLight · · Score: 3, Insightful

      There are many other options far better suited to the problem domain

      Which problem domain ?

      It seems you are assuming that every possible embedded situation requires real time scheduling from the OS.

      I use the Linux kernel for many embedded devices where I work, but I have not REQUIRED real time scheduling yet for any of them. DVD Player, Parking Machine, Firewall Appliance, Router, etc... None of those need real time scheduling.

      There is no need to put a server OS in a defibrillator

      But I don't make defibrillators.. :)

      --
      Time travel is possible. We are quickly heading for 1984.
    3. Re:Embed Linux? It's not an ideal choice. by Voivod · · Score: 3, Informative

      Two words: Interrupt latency.

      Tried RTLinux? All the fun of Linux, with all the benefits of a hard real-time microkernel. I just finished about 3 weeks of development with it, and it performed as advertised. It was very cool to have a scope hooked up watching interrupt line latency and see no change in ISR performance as I ran a kernel compile and copied huge files around in the background while my hard real-time task continued marching along.
  2. The best way (to embed Linux) by SpaceLifeForm · · Score: 4, Funny

    is to cram a distro up the back end of Darl McBride.

    --
    You are being MICROattacked, from various angles, in a SOFT manner.