S3C2410/ Mobile Solution Group / IM-1.1-04-05
Mobile Solution Group, System LSI.I Property of Samsung Electronics Co., Ltd.
3
3
Compiling Bootloader and Kernel for SMDK2410
3.1
Introduction to Bootloader
In embedded system, general firmware like CMOS does not exist. So to boot embedded system for the
first time, we have to make bootloader which can adjust well to target board.
Bootloader plays a very important part in embedded system. The role of bootloader is explained below.
•
Copy kernel to RAM from flash memory, and execute kernel.
•
Initialize hardware.
•
Bootloader have the function that writing data to flash memory.
(Downloading kernel or Ram disk by serial port or other network hardware, data is stored in
RAM. But RAM loses all data downloaded if you remove the power supply, so to avoid this work
you have to store to flash memory.)
•
It provides interface to send commands to target board or to inform user’s state of target
board.
3.1.1
What is Vivi
Vivi is bootloader made to use exclusively at ARM line processor. Because vivi supports only serial
interface, to communicate between host PC and embedded system, you have to connect host PC to
target board by serial cable and execute Minicom.
3.2
Compiling Vivi
Vivi source file is compressed with tarball,
‘
s3c2410_vivi_r1.1.tar.bz2
’
. Extract it executing
following command.
[root@localhost test]#
[root@localhost test]#
tar jxvf
s3c2410_vivi_r1.1.tar.bz2
Go to ‘s3c2410_vivi_r1.1’ directory created after extracting the tarball and then execute the
following commands.
[root@localhost test]#
cd
s3c2410_vivi_r1.1
[root@localhost
s3c2410_vivi_r1.1
]#
make
menuconfig
Please Select
‘Load an Alternate Configuration File’
as shown in figure 3-1.
Содержание S3C2410
Страница 40: ......
Страница 41: ...Copyright 2004 Samsung Electronics Co Ltd All Rights Reserved ...
Страница 42: ......
Страница 43: ......