Difference between revisions of "Test"

From Compulab Mediawiki
Jump to: navigation, search
(New page: Image:Example.jpg)
 
Line 1: Line 1:
 
[[Image:Example.jpg]]
 
[[Image:Example.jpg]]
 +
 +
== CM-X270 Linux ==
 +
 +
This page contains links to information about Linux kernels, packages and software development for CM-X270 modules.
 +
 +
CompuLab Linux support for CM-X270 includes modifications of [[Linux Kernel for CM-X270|Linux kernel]] and [[Debian Linux for CM-X270|example file system image]] based on Debian Linux. It is possible to use other embedded Linux distributions and environments.
 +
The CM-X270 platform is supported by [http://www.pokylinux.org/ Poky Linux] and [http://www.openembedded.org OpenEmbedded], and
 +
[http://mojo.handhelds.org/frisky-armv5el Ubuntu Frisky] should work on CM-X270 but has not been tested yet.
 +
 +
== Linux kernel 2.6.24 ==
 +
 +
The CM-X270 platform support was merged into mainline kernel starting from version 2.6.24. There are still some features that are not present in mainline kernel. Most of these features are available in preliminary release of [http://www.compulab.co.il/mediawiki/files/Linux/x270cm/linux-2.6.24-cm-x270.tar.gz Linux kernel 2.6.24 for CM-X270] (source code only).
 +
 +
=== Preliminary release of Linux kernel 2.6.24 for CM-X270 ===
 +
* Fixes to suspend/resume functionality
 +
* Change serial port mappings to ensure consistency between CM-X270L and CM-X270W
 +
* Support for UART device integrated into PCI bridge
 +
* Support for Marvell 8686 wireless LAN module
 +
 +
==== Known problems ====
 +
* PCI bridge does not always properly resume
 +
 +
=== Using mainline Linux kernel 2.6.24 on CM-X270 ===
 +
 +
It is possible to use mainline Linux kernel 2.6.24 on CM-X270 "as is". Just keep in mind that the on-board NAND flash can be accessed  only using [[Linux MTD drivers on CM-X270|MTD drivers]] and the serial ports map to different {{parameter|ttys}} on L and W variants as summarized in the below table:
 +
 +
{|  style="border: 1px #555555 solid; border-collapse: collapse" border="1" cellpadding="3px"
 +
|+ Serial ports mapping on CM-X270'''L'''
 +
! UART        || SB-X270 port name || Linux tty in 2.6.16 || Linux tty in 2.6.24
 +
|-
 +
| BTUART      || COM-A            || ttySA0              || ttyS1
 +
|-
 +
| FFUART      || COM-B            || ttySA1              || ttyS0
 +
|-
 +
| STUART      || COM-D            || ttySA2              || ttyS2
 +
|-
 +
| ITE8152 UART || COM-B            || ttyS0              || not present
 +
|}
 +
 +
 +
{|  style="border: 1px #555555 solid; border-collapse: collapse" border="1" cellpadding="3px"
 +
|+ Serial ports mapping on CM-X270'''W'''
 +
! UART        || SB-X270 port name || Linux tty in 2.6.16 || Linux tty in 2.6.24
 +
|-
 +
| FFUART      || COM-A            || ttySA0              || ttyS0
 +
|-
 +
| BTUART      || COM-D            || ttySA1              || ttyS1
 +
|-
 +
| STUART      || COM-C            || ttySA2              || ttyS2
 +
|-
 +
| ITE8152 UART || COM-B            || ttyS0              || not present
 +
|}

Revision as of 11:39, 18 May 2008

File:Example.jpg

CM-X270 Linux

This page contains links to information about Linux kernels, packages and software development for CM-X270 modules.

CompuLab Linux support for CM-X270 includes modifications of Linux kernel and example file system image based on Debian Linux. It is possible to use other embedded Linux distributions and environments. The CM-X270 platform is supported by Poky Linux and OpenEmbedded, and Ubuntu Frisky should work on CM-X270 but has not been tested yet.

Linux kernel 2.6.24

The CM-X270 platform support was merged into mainline kernel starting from version 2.6.24. There are still some features that are not present in mainline kernel. Most of these features are available in preliminary release of Linux kernel 2.6.24 for CM-X270 (source code only).

Preliminary release of Linux kernel 2.6.24 for CM-X270

  • Fixes to suspend/resume functionality
  • Change serial port mappings to ensure consistency between CM-X270L and CM-X270W
  • Support for UART device integrated into PCI bridge
  • Support for Marvell 8686 wireless LAN module

Known problems

  • PCI bridge does not always properly resume

Using mainline Linux kernel 2.6.24 on CM-X270

It is possible to use mainline Linux kernel 2.6.24 on CM-X270 "as is". Just keep in mind that the on-board NAND flash can be accessed only using MTD drivers and the serial ports map to different ttys on L and W variants as summarized in the below table:

Serial ports mapping on CM-X270L
UART SB-X270 port name Linux tty in 2.6.16 Linux tty in 2.6.24
BTUART COM-A ttySA0 ttyS1
FFUART COM-B ttySA1 ttyS0
STUART COM-D ttySA2 ttyS2
ITE8152 UART COM-B ttyS0 not present


Serial ports mapping on CM-X270W
UART SB-X270 port name Linux tty in 2.6.16 Linux tty in 2.6.24
FFUART COM-A ttySA0 ttyS0
BTUART COM-D ttySA1 ttyS1
STUART COM-C ttySA2 ttyS2
ITE8152 UART COM-B ttyS0 not present