Philips Semiconductors
AN10476
Getting started Linux with LPC3180
1. Introduction
This getting started document describes the basics on how to set-up the system as well
as how to make small modifications and how to add user applications.
1.1 Concept
The LPC3180 reference base port consists of a hardware and software package.
Hardware-wise the package comes with a Phytec demonstration board, with a LPC3180
mounted. On-board resources include memories (Nand-Flash/SDRAM), JTAG, Uart
connections, USB, mass storage devices (SD-MMC), etc.
The on board clock source is configured with a 13MHz oscillator. The clock is multiplied
by PLL to generated 208MHz CPU clock for LPC3180.
Software-wise the reference base port includes SIBL, U-Boot, the Linux kernel, and a
Linux root file system and supports the following drivers:
•
All basic drivers like Interrupts, DMA, I2C, SPI, UART, etc.
•
USB device/host/OTG
•
Ethernet (over USB)
1.2 The boot process
The reference base port uses a staged boot process: the bootstrap code in IROM tries to
make a connection over the serial command port to allow an external program to take
over the boot process. If this connection is not made, the bootstrap code will start loading
the code in block zero of the NAND flash. This block contains the SIBL
(secondary boot
loader)
that will initialize the main functions of the LPC3180. After initialization SIBL will
continue scanning the NAND flash for images and executables and load these in
memory. The first executable it finds will be executed (U-Boot in our case). U-Boot will
then start Linux.
Besides starting Linux U-Boot
(Universal boot loader)
has quite some features to set-up
and debug the system. More information on U-Boot can be found on the Internet or by
typing help in U-Boot.
2. Setup environment
For development purposes the following packages are recommended/required.
2.1 Hardware
The necessary hardware tools:
•
Phytec LPC3180 development board and power supply for the board
•
ARM RealView ICE
•
A PC with serial port and USB port
•
A serial cable
Optional:
•
A USB hub
(As the LPC3180 is unable to provide enough power to connected USB device)
<12NC>
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Application note
Rev.03 — 21 Dec 2006
3 of 28