However, the Linux/Microcontroller Project has grown both in brand recognition and coverage of processor architectures. Today's uClinux as an operating system includes Linux kernel releases for 2.0 2.4 and 2.6 as well as a collection of user applications, libraries and tool chains.
Using uClinux is an excellent way to embed your system! Whether you are an enginner, student, hobbiest, Linux-enthusiast, or all the above :P, getting started with uClinux is a smooth and painless process.
Riaan van Boom put together a quick start document for people new to uClinux. This document is a step by step guide to setting up the software up to a point where the kernel can be downloaded to the evaluation board.
Riaan van BoomはuClinuxが初めてという人のために、「クイックスタートドキュメント」 (リンク)をまとめました。このドキュメントは、カーネルが評価ボードにダウンロードできる までのソフトウェアのセットアップを一歩一歩解説したものです。
For some older information, You can purchase an official distribution CD, or download all the necessary files, just click below to see the "getting started" guides!
Getting started with the official CD distribution of uClinux: [html] [.txt] 公式ディストリビューションCDで始めよう。
Getting started with downloaded source code: [html] [.txt] ソースコードをダウンロードして始めよう。
10 :たなべ :10/09/28 09:44 ID:dP9qIP7o
Beginner uClinux and Linux for the Motorola M5272C3: HOWTO モトローラM5272C3用uClinuxおよびLinux初心者向けの、ハウツー
Copyright (C) 2003,
Riaan van Boom riaan@redelec.co.za
Version 1.0.0-20030507
contents 目次
introduction linux installation tftp daemon terminal emulator download the tools m68k-elf toolchain uClinux distribution compiling the basics program the uC
introduction This document is intended for those who are new comers to uClinux as well as Linux. I used Linux RedHat 8.0 and RedHat 7.3 as my OS. I used the Motorola MCF5272 ColdFire evaluation board: M5272C3. Everything in this document is based on this configuration.
一気に貼ったら、「本文が長すぎます」って怒られちゃった。 以下続き。 ---------------- I am myself new at this, so bear with me. This documents the steps I followed to get to the point where I can upload images to the board. I cannot at this point give any support on development of applications for uClinux. I cannot at this point give any support on different systems either. If this guide does not work as planned, don’t bang me up about it, I tried to include everything. Simply mail me:
linux installation - Install Linux on the PC: I used Redhat 8.0 and/or Redhat 7.3. I don't think it really matters which distro you use… Just check the compatibility of older distro's with the installed components for uClinux. Make sure that you install all development tools. They will be needed for setting up and compiling the uClinux.
- If the tftpd is not installed: For RH 8.0/7.3 it is on CD#3 in the RPM directory. You can either install it by running it from the CD in X, or you can boot up with CD#1 and select upgrade installation. When upgrading, select the tftpd package under daemons and continue the installation.
- Login as root and run the setup program again. Check (enable) the tftpd in system services. This will enable tftpd at start-up. You will have to reboot the machine or restart xinetd service, in order to activate the tftpd.
------------------------- terminal emulator - You will need a terminal emulator, for communicating through your PC’s com port. This is the interface through which you communicate with the dBug firmware. I use minicom. As root run:
- this will give you the minicom configuration menu.
これでminicomの設定メニューが出てくる。
- Go to serial port setup. If you are using ttyS0 (com 1) to connect to the board, change the serial device to /dev/ttyS0 (That’s a zero after the S). If you are connecting through ttyS1 (com 2) change to /dev/ttyS1 etc. Set the Bps/Par/Bits setting to 19200 bps, 8 data bits and no parity bits (19200 8N1). Turn hardware flow control of, and turn software flow control on.
download the tools Your Linux OS is now setup for the task. We still need to install the m68k-elf toolchain and also the uClinux distribution. Download them from the following links:
from the directory you downloaded it to. The whole installation is automatic.
すべてのインストールは自動的に行われる。
<<contents
18 :たなべ :10/09/28 13:27 ID:dP9qIP7o
uClinux distribution Installing uClinux is just as simple. Log in as the user you are going to use for the development. Copy the file uClinux-dist-20030305.tar.gz to the user’s home directory, or wherever you want to work from. For the home directory, run:
from the directory you downloaded the file to. user should be replaced by your user name.
userはあなたのユーザーネームに置き換えられる。
Go to your chosen directory and run:
そのディレクトリに行って、以下を実行する。
tar xzvf uClinux-dist-20030305.tar.gz
The uClinux file structure will be extracted to the chosen directory. A sub-directory is created called uClinux-dist, which contains the whole distribution.
compiling the basics We are now ready to compile the kernel into a binary file. You don’t need to be logged on as root from this point. Go to the uClinux-dist directory and run:
program the uC First, connect the board to your PC’s Ethernet card, using a cross over cable. Connect the serial cable to the board as well as your chosen serial port on the PC.