User`s manual

Getting Started With Linux on the LPC3250 OEM Board Page 3
Copyright 2009 © Embedded Artists AB Rev A
Table of Contents
1
Introduction ........................................................... 5
1.1
Organization of this Document ..................................................... 5
1.2
Conventions in This Book ............................................................. 5
2
Getting Started ...................................................... 6
2.1
Introduction .................................................................................... 6
2.2
Preparation and Setting up the Board .......................................... 6
2.3
Load the u-boot From MMC/SD Card ............................................ 7
2.4
Load the u-boot From UART ......................................................... 8
2.5
Boot the u-boot ............................................................................... 9
2.6
Load the Root File System and Linux Kernel ............................ 10
3
Using the Linux Target Image Builder .............. 13
3.1
Introduction .................................................................................. 13
3.2
Setting up a Fedora 11 Distribution ............................................ 13
3.2.1
Download and Start the VMware Appliance ................................ 13
3.2.2
Customize Fedora and Setup a New User .................................. 14
3.2.3
Install Necessary Packages ........................................................ 15
3.2.4
Setup a TFTP Server .................................................................. 16
3.2.5
Setup a NFS Server .................................................................... 17
3.3
Setup an Ubuntu 9.04 Distribution .............................................. 17
3.3.1
Download and Start the VMware Appliance ................................ 18
3.3.2
Customize Ubuntu ....................................................................... 18
3.3.3
Install Necessary Packages ........................................................ 20
3.3.4
Setup a TFTP Server .................................................................. 20
3.3.5
Setup an NFS Server .................................................................. 21
3.4
Install LTIB and Build the Images ............................................... 21
3.5
Add Additional Packages ............................................................ 24
3.6
Useful Linux Commands ............................................................. 25
3.6.1
Obtain IP Address ....................................................................... 25
3.7
Hello World Application ............................................................... 25
4
Universal Boot Loader - u-boot ......................... 26
4.1
Introduction .................................................................................. 26
4.2
Console / Environment ................................................................ 26
4.2.1
Commands .................................................................................. 26
4.2.2
Network Related Variables .......................................................... 27
4.2.3
Boot Related Variables ................................................................ 27
4.3
Booting Options ........................................................................... 27
4.3.1
Kernel from USB Memory Stick ................................................... 27
4.3.2
Kernel from TFTP Server ............................................................ 28
4.3.3
Kernel Stored in NAND Flash ...................................................... 28
4.3.4
Root File System NFS Mounted .................................................. 29