Avatar of ichigokurosaki
ichigokurosakiFlag for Afghanistan asked on

Minimal Ubuntu distro for my mobile robot (pandaboard)

I'm developing a mobile robot application and i'm using a high-level board (pandaboard es) which can run linux operating system and a low I/O board to manage the sensors.

These two boards share data over ethernet while the high-level board controls a motor driver by using the USB port.

At the moment, i've installed Ubuntu Maverick on the high-level board and it works great.

The problem is that i'd like to minimize all the operating system functions, to use just the command line (i do not need the X server) and to avoid not-necessary resources consumption.

What i need to do on the high-level board is just to run a C program which takes information from the ethernet, do some calculations and send data over the USB.

So, what i need is:

- use ethernet
- use boost library, multi threading, I/O operations
- read/write on serial port (USB) with termios library
- sometimes, use a remote connection in order to control the system from another pc

Furthermore, i need to let the C program start automatically when the operatin system is powered up.

It is possible to start the C program when the operating system is on?
I have to use a bash script to do this?

Is there any Ubuntu minimal distro which i can use for my purpose?

(This is the board i'm using: http://en.wikipedia.org/wiki/PandaBoard)
Linux OS DevLinux DistributionsCRobotics

Avatar of undefined
Last Comment
ichigokurosaki

8/22/2022 - Mon
Michael Eager

Look at Damn Small Linux or TinyLinux.  I don't know if there are ports to ARM.
ASKER CERTIFIED SOLUTION
Kalpesh Chavan

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
TobiasHolm

Compile the kernel yourself to build your own dist! Or use TinyCore Linux.

Regards, Tobias
ASKER
ichigokurosaki

Hi Tobias, is there some tutorial which can explain me how to build my own dist?
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
TobiasHolm

Read here how to compile Linux from scratch: http://www.linuxfromscratch.org/

Regards, Tobias
Michael Eager

Building a new distro is a bit of work.   Packages don't build without problem and resolving these issues can take time.  Finding a usable distro and configuring it would be a much easier path.  Ubuntu and other distros allow you to select which packages you want to install.

If you really want to build a distro, take a look at the Buildroot and Yocto projects.  These are designed to build kernel and root file systems for embedded Linux systems.

Buildroot:  http://buildroot.uclibc.org/
Yocto:  http://www.yoctoproject.org/
ASKER
ichigokurosaki

Thanks for all you suggestions.

At the end, pandaboard was not suitable for me application so i had to switch to another hardware type and I decided to use a minimal Ubuntu installation.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.