7 system time keeping, 8 changing the keyboard layout – Aero-Flex GAISLER GR-LEON4-ITX User Manual

Page 13

Advertising
background image

13

GR-LEON4-ITX Development Board

Quick Start Guide

auto eth0
iface eth0 inet static

address 192.168.0.58
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

It is recommended that the system is attached to a network which allows access to the
Internet.

3.7 System Time Keeping

System software that is currently delivered with the board does have support for reading out
the board's real time clock and is therefore not able to keep the system time after the system

has been shut down. To avoid problems, such as irregularities caused by file time stamps
being in the future, it is strongly recommended that the system time is set at each boot. If the

system is connected to a network this can be automated by configuring the software to set
the time from a Network Time Protocol (NTP) server.
The delivered system is configured to set the time from the NTP server ntp1.chalmers.se.
Another NTP server can be selected by editing the file /etc/default/ntpdate.
If the board cannot be connected to a network with an NTP server, the time can be set
manually with the commands:

date --set 2008-10-10
date --set 14:00:00

The commands must be run as the super-user (root) and this must be done each time the

system has been restarted, unless the system has access to an NTP server.

3.8 Changing the Keyboard Layout

The system is configured to use a keyboard with a US American layout. If a keyboard with

another layout is to be used the keymap should be changed. For the console keyboard
layout issue the command below as the super-user (root):

dpkg-reconfigure console-data

In the package configuration, choose Select keymap from full list. The keymap that should
be chosen is likely prefixed with “pc /. The system is delivered with the setting:

pc / qwerty / US american / Standard / Standard

The keymap for the graphical X Window system will also need to be changed if a keyboard
with a non-american layout is connected. This can be done by editing the /etc/X11/xorg.conf
file and modifying the line:

Option “XkbLayout”

“us”

To the layout choice corresponding to the new keyboard, for example by exchanging “us” to
“fr”.

© Aeroflex Gaisler AB

June 2010, Rev. 0.2

Advertising