Philips Semiconductors
AN10476
Getting started Linux with LPC3180
13. Contents
1.
Introduction .........................................................3
1.1
Concept ..............................................................3
1.2
The boot process ................................................3
2.
Setup environment ..............................................3
2.1
Hardware ............................................................3
2.2
Software under Windows ....................................4
2.3
Software under Linux ..........................................4
3.
Building images...................................................4
3.1
Building SIBL ......................................................5
3.2
Building U-boot ...................................................5
3.3
Building kernel ....................................................5
3.4
Building root file system ......................................6
4.
Running from SDRAM.........................................7
4.1
Start Linux kernel and Root file system...............7
4.2
Using MMC/SD card devices ............................ 11
4.3
Connecting USB ............................................... 12
4.4
Connecting to the Ethernet ............................... 12
4.4.1
Connection between PC and the board ............ 13
4.4.2
Connection using DHCP ................................... 14
4.5
Mounting file systems ....................................... 14
4.5.1
Mounting an external file system using NFS ..... 14
4.5.2
JFFS2 support .................................................. 15
5.
Flashing images ................................................ 15
5.1
Flashing new images ........................................ 15
5.2
Flashing SIBL.................................................... 16
5.2.1
Using LPC3180 Loader..................................... 16
5.2.2
Using Seehau software ..................................... 18
5.3
Starting from NAND flash.................................. 19
6.
Adding user applications.................................. 20
7.
NAND flash porting ........................................... 20
7.1
Content list ........................................................ 20
7.2
NAND flash support in SIBL.............................. 21
7.2.1
Loading image algorithm................................... 21
7.3
NAND flash support in U-Boot .......................... 22
7.3.1
Device ID list ..................................................... 22
7.3.2
Device dependent functions porting.................. 23
7.4
NAND flash support in Linux MTD driver .......... 23
8.
SDRAM porting.................................................. 24
8.1
SDRAM initialization in SIBL ............................. 24
8.2
SDRAM definitions in U-boot ............................ 25
Appendix -- Default flash layout .................................... 26
9.
Disclaimers ........................................................ 27
10.
Licenses ............................................................. 27
11.
Patents ............................................................... 27
12.
Trademarks ........................................................ 27
13.
Contents .............................................................28
<12NC>
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Application note
Rev.03 — 21 Dec 2006
28 of 28