LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 03-16-2012, 12:26 PM   #1
Balista
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Rep: Reputation: Disabled
Linux distro for advantech PCM-3342 pc/104.


hi i have been given the task to choose a linux distro to replace the MS Dos currently running on an advantech PCM-3342.

Now i am very new to embedded systems, so i have no idea where to start from.

I've been told i would also have to apply the RT linux patch.

I'm not asking for a tutorial, but can you guys give me some pointerson where i should start, like some interesting distros that fit my requirements?

thanks
 
Old 03-17-2012, 11:42 PM   #2
cnxsoft
Member
 
Registered: Nov 2010
Location: Thailand
Distribution: Fedora 12, Ubuntu 10.10
Posts: 167

Rep: Reputation: 29
That must be your board: http://www.cpuboards.com/cpu-boards/pcm-3342.htm. It's a x86 platform so any distribution should be compatible. However, you only have 64 MB RAM, so you'd better look for lightweight Linux distributions. http://en.wikipedia.org/wiki/Lightwe...x_distribution

I don't really know those distributions (and you did not say what you want to do), but the names I'm familiar with are Bodhi Linux, Damn Small Linux, Slitaz and Lubuntu/Kubuntu.

If you need something more custom, you could also build your own with the Yocto Project, Buildroot or just debootstrap.

For the RT patch you'd "only" have to rebuild the kernel.
 
Old 03-18-2012, 07:20 AM   #3
Balista
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the reply.

Yes your right, i forgot to say what i wanted to do. The only thing it is doing right now is running a program that is controlling a FPGA board, so i don't think anything really customized will be needed.
 
Old 03-26-2012, 07:28 PM   #4
Flymo
Member
 
Registered: Feb 2008
Location: Travelling, but less often now...
Distribution: Bodhi Linux, Puppy, Knoppix, Raspbian, Ubu Studio
Posts: 69

Rep: Reputation: 16
If you _just_ want to run 'a program' under Linux in the shell, then almost any bare distro would do.

Since 64MB is highly restrictive you'd need to be careful if you also want a GUI - even the excellent Bodhi with E17 can use most of 64MB; the least I've seen it use was (iirc) 56MB on our P3 laptop with 800x600 display. But it had 128MB, and I'm not certain that it would boot in 64MB.

Display buffering can eat up RAM - more display, more RAM. An external serial terminal unit or PC/termulator helps.

Probably good to consider something like TCL - Tiny Core Linux - it is modular, and has a number of modes of operation that might help you to get it installed appropriately on your system. The TCL Wikipedia page says:-

Quote:
Minimal Configuration:

Tiny Core needs at least 46 Megabytes of RAM in order to run. Otherwise it won't boot.
Microcore runs with 28mb of ram.
The minimum cpu is i486DX (486 with a math processor).

A recommended configuration:

Pentium 2 or better,
128mb of ram,
some swap.
Tiny Core is not my own choice for everyday use, but many people do so happily; worth checking their friendly forum for advice on your specialised FPGA application and getting the RT kernel compiled. I find TCL runs very predictably and is extremely low impact, ideal for light hardware.

FPGAs are seriously cool hardware - I believe they are/have been used for re-configurable CPUs.

One can also define a state machine so easily and have it provide a solution in hardware that's faster than any CPU/software combination, then re-program the FPGA for another task. Dedicated hardware, but re-configurable.

Ben
 
Old 03-27-2012, 12:24 PM   #5
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Usually, PC/104 class CPUs don't have to run a GUI, so I'll assume you don't need one, especially if it is to replace MS-DOS. Most likely, you will want to select an OS that has a kernel and standard C library that is compatible with whatever host platform you use to do your development work. I have found the combination of Debian 6 for a development host, and TinyCore (MicroCore, when I adopted it) as the production embedded Linux platform is a good fit. I have been using that combo for about a year now, and find that it works well.

--- rod.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VIA Eden 667MHz (Advantech PCM-9373F M0A1) What is it ? Mike Davies Linux - Hardware 4 10-19-2010 01:05 AM
XIO: Fatal IO Error 104 after installing my first distro Ubuntu Eighties Khild™ Linux - Newbie 3 08-24-2006 08:34 AM
WPC11 V3.0 on PCM-3110 PC/104 adapter gpk Linux - Hardware 1 07-31-2006 04:01 PM
advantech pcm or similar and arm based pc modules nazir Linux - Hardware 0 08-09-2005 01:04 AM
Driver Cayman Netopia 3342 laurentwahl Linux - Hardware 1 11-09-2004 10:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 05:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration