
35
UBC-220 User Manual
Chapter 3
S
oftware
Functionality
3.5
Source Code Modification
This section will guide you how to use the Linux source code. You will see some
examples of using BSP source code in this section.
3.5.1
Add a Driver to Kernel by menuconfig
You can add a driver to kernel by menuconfig. Here is an example to guide you how
to add a RTC driver (Seiko Instruments S-35390A) to Linux kernel. Please use the
following steps:
1.
Open "Terminal" on Ubuntu 10.04 LTS.
2.
$sudo su
(Change to “root” authority)
3.
Input user password.
4.
Change directory to BSP's scripts folder.
5.
#. setenv.sh
(To configure the developing environment automatically)
6.
#./cfg_kernel.sh menuconfig
7.
Then you will see a GUI screen (Linux Kernel Configuration) as below:
Figure 3.1 Linux Kernel Configuration
Содержание UBC-220
Страница 6: ...UBC 220 User Manual vi...
Страница 12: ...UBC 220 User Manual 4...
Страница 36: ...UBC 220 User Manual 28...
Страница 37: ...Chapter 3 3 Software Functionality This chapter details the Linux operating system on the UBC 220 platform...
Страница 52: ...UBC 220 User Manual 44...