Building Sibl; Building U-Boot; Building Kernel - Philips LPC3180 Application Note

Getting started linux with
Table of Contents

Advertisement

Philips Semiconductors

3.1 Building SIBL

To be able to build SIBL, you must have CYGWIN and the ARM tool-suite installed on
your (Windows) system. SIBL can only be built using CYGWIN.
Using the sources in src/sibl, run:
Generated '

3.2 Building U-boot

To build the sources you must copy U-boot sources and the patch to a drive on your
Linux environment.
Make sure the cross compiler is enabled(refer to linux-2.6.10-lpc3180/setup_links):
gcc:/usr/lucy/uboot/u-boot-1.1.1/tools
Untar the source:
Apply patch to create full U-Boot version:
Then do:
This will give you the files u-boot* which you can run using the ARM Debugger or convert
into a U-Boot image, i.e. (must be one line):
"My U-Boot v0.1" -d u-boot.bin uboot_phytec.ubt

3.3 Building kernel

The Linux kernel patch can be found on /src/kernel directory. Make sure the following
environment variables are set(refer to linux-2.6.10-lpc3180/setup_links):
gcc:/usr/lucy/uboot/u-boot-1.1.1/tools
Actually user can have a look at the '
to your local settings, then do
to get the same result. Same method can apply to U-boot.
Untar the source:
Apply patch to create LPC3180 ARM Kernel:
In the linux-2.6.10 directory run:
<12NC>
Application note
make clean
make phytec
si_phytec.axf, sibl_phytec.bin
export PATH=$PATH:/usr/local/arm/gnu/release-3.4.0-vfp/bin/arm-linux-
export ARCH=arm
export CROSS_COMPILE=arm-linux-
tar –zxvf
u-boot-1.1.1.tar.gz
cd u-boot-1.1.1
gzip -cd ../u-boot-1.1.1-phytec3180.patch.gz | patch -p1
make distclean
make phytec_config
make
make u-boot.axf
./tools/mkimage -A arm -O u-boot -T Firmware -C none -a 81EC0000 -e 81EC0000 -n
export PATH=$PATH:/usr/local/arm/gnu/release-3.4.0-vfp/bin/arm-linux-
export ARCH=arm
export CROSS_COMPILE=arm-linux-
source ./setup_links
tar –zxvf linux-2.6.10.tar.gz
cd linux-2.6.10
gzip -cd ../linux-2.6.10-phytec3180.patch.gz | patch -p1
Rev.03 — 21 Dec 2006
Getting started Linux with LPC3180
' will be used later.
linux-2.6.10/setup_links'
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
AN10476
and modify it according
5 of 28

Advertisement

Table of Contents
loading

Table of Contents