Tuesday, September 11, 2007

Embedded Linux - Connecting to the device

The device (osk5912) comes with a system based on kernel 2.4
the next step is to connect it using RS232 (null modem cable) to your host machine
to see the device terminal you can use windows or linux

On Windows Host
use hyperterminal : set the connection to the correct COM port with the following settings: 115200 baud, no parity, 8 data bits, 1 stop bit , no flow control
connect the device to power and push the reset button on it (small white button)

On Linux Host
first setup minicom

# minicom -s

select serial port setup
set the following:
  • Serial device - /dev/ttyS0 (or other number based on your com port)
  • Bps/pas/Bits - 115200 8N1
  • No software flow
  • No hardware flow

save setting and Exit (to minicom)

(the setup step is required only once so next time just run minicom)

push the reset button on the board

You can now play with the system and with some demos provided from MontaVista

We dont want to use kernel 2.4 and also want to build our system with free software so we will not use Montavista distribution

Note: The porpose of this posts is to study embedded linux and thats why we dont use the commercial distribution. there is no real free software, if you use Montavista or other commercial distribution you pay (around 15000$ for developer) but you get full support and much work have been done for you (BSP,device drivers and sample programs). when you use the "free" tools you have to spend time to solve problems and creating the BSP and you know - "time is money"


for help and other learning materials
visit our site: Bina

Monday, September 10, 2007

Embedded Linux - Setting up host

the first thing to do is setting your host machine
Install one of the Linux desktop distributions on your host
make sure that it includes:
  • C/C++ development tools
  • NFS server

I'm using Open SUSE 10 on one workstation and fedora code 3 on another

for help and other learning materials
visit our site: Bina

Embedded Linux - Starter Kit

To deal with a real system you should buy the OSK 5912 Board
to buy it go to: this site

the board is based on ARM processor with DSP Processor and you can evaluate also Montavista distribution (kernel 2.4)

we will use it to with only free software tools includes:
  • Toolchain
  • Boot loader
  • Kernel
  • Root file system

for help and other learning materials
visit our site: Bina

Embedded Linux - Overview

Linux is great for embedded systems, also for real-time but with some constraints
The perfect way to learn it is by doing it yourself with step by step instructions
here we will post some articles to help new embedded linux developers
enjoy

for help and other learning materials
visit our site: Bina