CM-T43: Linux: Debian

From Compulab Mediawiki
Revision as of 18:01, 19 April 2015 by Grinberg (talk | contribs) (Display options)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

The example run-time Linux filesystem image for the CompuLab CM-T43 System-on-Module / Computer-on-Module is based on Debian GNU/Linux Jessie. The CompuLab Linux package for CM-T43 includes ready to run Linux kernel binary, root filesystem demo image archive, Linux kernel configuration and source code patches.

The default Debian Jessie Linux image includes more than 400 software packages. Among them:

  • Core system
  • Debian package management system
  • X11 Windowing System
  • Fluxbox desktop manager
  • Netsurf browser
  • Samba connectivity suite
  • SSH server and client
  • ALSA configuration and usage utilities
  • Bluetooth 5.0 tools and daemons

The CM-T43: Linux: Getting started page provides a brief introduction on how to install the run-time Linux image.

Package contents

version.txt

The contents of the version.txt identifies the package version.

images

  • zImage-cm-t43 - ready to run Linux kernel image binary for CM-T43
  • am437x-sb-som-t43.dtb - SB-SOM-T43 Device Tree binary
  • debian-image.tar.bz2 - archive of the Debian root file system
  • kernel.img - Kernel image required for installation onto the eMMC
  • ramdisk.img - Ramdisk image required for installation onto the eMMC
  • bootscr.img - U-Boot script used for image installation

kernel

  • zImage-3.19.0-cm-t43-1.bin - ready to run Linux kernel version 3.19.0-cm-t43-1 for CM-T43
  • modules-3.19.0-cm-t43-1.tar.bz2 - archive of pre-compiled modules for Linux kernel version 3.19.0-cm-t43-1
  • linux-3.19.0-cm-t43-1.config - Linux kernel 3.19.0-cm-t43-1 configuration file
  • linux-3.19.0-cm-t43-1.patch - patch vs. Linux kernel 3.19 with support for CM-T43 peripherals
  • patches - ordered collection of patches, that form the single patch above (linux-3.19.0-cm-t43-1.patch)

utilities

The utilities directory contains miscellaneous utilities useful for development

  • tftpd32.zip - TFTP server for Windows users
  • eeprom-util - CompuLab EEPROM utility for reading information found inside the EEPROM on CompuLab boards
  • bootscr.src - U-Boot script source used for loading kernel and ramdisk images from MMC/SD card or USB storage device

Using Debian Linux on CM-T43

Connection and Logging In

Use the following username and password to login:

Account with administrative privileges:

cm-debian login: root
Password: 111111

Regular user account:

cm-debian login: user	
Password: 111111

To login into the Linux system, you may use a serial console (ttyO0) at 115200 bps, or connect through the network.

Networking

To configure networking, edit /etc/network/interfaces, /etc/resolv.conf, /etc/hostname and /etc/hosts. For more information about Debian Linux network configuration read Network setup chapter in the Debian Reference.

X Windows system

CompuLab Debian Jessie Linux demo image contains full featured X Windows system with Fluxbox window manager. Before starting X Windows, connect USB mouse and keyboard to the system. You can run X Windows by typing startx.

Fluxbox window manager

CM-T43 Debian Linux features installed Fluxbox package - a lightweight window manager for the X Windowing System.

  • Fluxbox provides configurable window decorations, a root menu to launch applications and a toolbar that shows the current workspace name, a set of application names and the current time. There is also a workspace menu which allows you to add or remove workspaces. The slit can be used to dock small applications, e.g. most of the bbtools can use slit.
  • Fluxbox can iconify windows to the toolbar, in addition to adding the window to the Icons submenu of the workspace menu.

Visit Fluxbox Wiki and Official home page for more details.

Software Management

Debian Linux image for CM-T43 includes all the information required to use Debian package management utilities. You can use apt-get and dpkg out of the box.

MMC/SD

The support for MMC/SD card on CM-T43 is built into the Linux kernel. To mount the memory card, monitor /proc/partitions to see what partitions were detected on the MMC/SD card. For example, suppose MMC/SD partition you'd like to mount is mmcblk0p1 then:

mkdir -p /mnt/mmcblk0p1 && mount /dev/mmcblk0p1 /mnt/mmcblk0p1

Display options

CM-T43 evaluation platform has three video output interfaces: LCD, DVI, and LVDS. Default configuration of Debian Linux for CM-T43 uses LCD as primary video output.

See also