User manual

3 Software Configuration
KERNEL=="rtc0", SYMLINK+="rtc"
KERNEL=="i2c-0", SYMLINK+="i2c"
3.5. Time Zone
The default time zone configured on the system image is Europe/London (GMT+0). BIOS operates
with UTC time. So in summer time Debian’s clock has one hour difference compared with the time
shown in BIOS. It is normal behavior. Use dpkg-reconfigure tzdata to change the time zone in
Debian according to your geographical position.
3.6. Create Swap File
Swap file can be created instead of creating a swap partition. To create it execute following steps:
1. create file with count being equal to the desired block size: dd if=/dev/zero of=/var/swapfile
bs=1024 count=131072
2. mkswap /var/swapfile
3. add entry to the /etc/fstab: /var/swapfile none swap sw 0 0
4. reboot and check if /var/swapfile is used by looking at /proc/swaps
debian:~# cat /proc/swaps
Filename Type Size Used Priority
/var/swapfile file 131064 0 -1
3.7. Complete System Image
The complete system image contains lots of programs and libraries. It contains a development
environment consisting of the gcc tool chain and vim-tiny text editor. Besides development tasks
this image is designed to use the OnRISC as a server and/or desktop system to accomplish such
tasks as mail server, web server, resource sharing and office tasks. For the latter window manager
is installed to provide graphical desktop on the OnRISC.
3.7.1. Program Overview
The complete image provides among others the following utilities:
Software Development
gcc
vim-tiny
Network
ssh (server and client)
telnet (server and client)
vsftpd (server and client)
May 2014 OnRISC User Manual 19