uClinux/Coldfire Development Environment Setup
The following steps were taken to setup the workstation development environment for use with our target
Arcturus Networks uClinux/Coldfire embedded computer.
Initial System Configuration
- Hardware:
Shuttle Xpc SS51G
SIS 651 Chipset
Pentium 4 2.0Ghz
1Gb DDR 200 Memory
Pioneer DVD-RW/CD-RW DVR-104
nvidia GeForce4 MX440SE
Realtek RT8139 Ethernet (on mobo)
Realtek RT8139 Ethernet (additional PCI card)
- Software:
SuSE Linux 9.0 Pro
Kernel 2.4.21
GCC 3.3.1
glibc 2.3.2
XFree86 4.3
KDE 3.1.4
Gnome 2.2
1. Install Tools
- login as root
- mount cdrom:
(auto mounted in KDE to /media/cdrecorder)
- open cdrom directory:
linux:~ # cd /media/cdrecorder
- make cdrom directory to copy and install files:
linux:/media/cdrecorder # make
uClinux 5272 installation
=========================
This installation makefile will perform a clean installation
of uClinux 2.4.17 kernel with support for the uCdimm-5272
Checking for root permissions ... OK
Checking for /opt/uClinux directory tree ... OK
Installing the m68k-elf-tools ... OK
Copying uCdimm-5272 uClinux kernel and sources tarball in /opt/uClinux ... OK
Copying the buildenv script in /opt/uClinux/bin ... OK
Linking the buildenv script to /usr/bin ... OK
- login as unprivileged user
- run buildenv
luketils@linux:~> buildenv
2. Install/Configure Minicom
- confirm installed minicom version (from SuSE dvd)
(minicom-2.1-48.i586.rpm)
- obtain root privileges
luketils@linux:~> su root
Password:
- configure first serial device (COM1) to be used by normal users
linux:/home/luketils # chmod oug+rw /dev/ttyS0
- check /usr/bin for XMODEM protocol programs
(rx,rz,sx,sz are all present)
- start minicom setup
linux:/home/luketils # minicom -s
- change 'serial port setup' settings as follows
Serial Device : /dev/ttyS0
Bps/Par/Bits : 9600 8N1
Hardware Flow Control : No
Software Flow Control : No
- change 'modem and dialing' init and reset settings to empty
Init string :
Reset string :
- save minicom settings, exit as root user
- find a reference for the pinout of the 9 pin D type serial connector
(http://www.dataip.co.uk/Reference/Serial9DPinOut.php)
- prepare to test minicom and serial port by putting a jumper betweet pins 2 and 3
- start minicom as normal user with no options
linux:/home/luketils # minicom
- typed characters should show up at the minicom prompt
Welcome to minicom 2.1
OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Sep 23 2003, 17:33:16.
Press CTRL-A Z for help on special keys
testingtestingtesting
- note: In our case it did not work on the first attempt.
Troubleshooting revealed that the serial ports were disabled in the BIOS.
The setting of serial port 1 was changed from 'disabled' to 'auto'
3. Connecting to the Target
- The dimm module is placed in the development board.
The serial cable is connected to the RS-232A (DCE) port.
The included 12Vac power supply is plugged in.
Upon powering up the red RS-232A Tx LED blinks,
and the red 'POWER' and green 'HEALTH' LEDs stay on continously.
- while in minicom, pressing the reset switch on the development board
reboots the system and loads the uCbootloader shell:
uCbootloader 1.7.3pre5
(c) Copyright 2001-2002 Arcturus Networks Inc.
CACHE off
FLASH type 2253 [AM29DL323xB]
DP|002000 DP|004000 DP|006000 DP|008000 DP|00a000 DP|00c000
DP|00e000 DP|010000 DP|020000 D-|030000 D-|040000 D-|050000
D-|060000 D-|070000 D-|080000 D-|090000 D-|0a0000 D-|0b0000
D-|0c0000 D-|0d0000 D-|0e0000 D-|0f0000 D-|100000 D-|110000
D-|120000 D-|130000 D-|140000 D-|150000 D-|160000 D-|170000
D-|180000 D-|190000 D-|1a0000 D-|1b0000 D-|1c0000 D-|1d0000
D-|1e0000 D-|1f0000 D-|200000 D-|210000 D-|220000 D-|230000
D-|240000 D-|250000 D-|260000 D-|270000 D-|280000 D-|290000
D-|2a0000 D-|2b0000 D-|2c0000 D-|2d0000 D-|2e0000 D-|2f0000
...
D-|400000
B$
Contact: tilsleyl@mscd.edu