COM iMX25 Linux: Difference between revisions

From Wiki-DB
Jump to navigationJump to search
Christoph (talk | contribs)
Christoph (talk | contribs)
Line 16: Line 16:


  Build the Kernel:
  Build the Kernel:
1. tar xfjv linux-2.6.38.tar.bz2
2. patch -p1 ...
3. cp .config /kernel/path
4. make


==<br/>Create a root file system ==
==<br/>Create a root file system ==

Revision as of 16:58, 24 November 2011


FAQ


Virtual machine for development

Get the VMware player

Debian Squeeze VMware Image (zipx Archiv)


Building your own Kernel

Kernel version: 2.6.38

Kernel patch

Kernel configuration

Build the Kernel:

1. tar xfjv linux-2.6.38.tar.bz2
2. patch -p1 ...
3. cp .config /kernel/path
4. make


Create a root file system

1. Format a SD card with ext3 file system
2. Copy root file system onto the SD card
   -Start terminal 
   -su
   -chmod 755 /directory/of/the/SD-card
   -cd /directory/of/the/SD-card
   -tar jxvf rootFS_file.tar.bz2


Debian system

Calibrating the touchscreen

TSLIB_TSDEVICE=/dev/input/event0 ts_calibrate

Running example Qt Apps

QWS_MOUSE_PROTO=Tslib:/dev/input/event0 /usr/qt/demos/demoname/demoname -qws
For the Qt-Browser change demoname to browser

Login/Shutdown system

Name:     root
password: foo

shutdown -h now


Busybox system

Calibrating the touchscreen

TSLIB_TSDEVICE=/dev/event0 ts_calibrate

Running example Qt Apps

QWS_MOUSE_PROTO=Tslib:/dev/event0 /usr/qt/demos/demoname/demoname -qws
For the Qt-Browser change demoname to browser

Login/Shutdown system

Name: root

halt