
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
Summary of Contents for UBC-220
Page 6: ...UBC 220 User Manual vi...
Page 12: ...UBC 220 User Manual 4...
Page 36: ...UBC 220 User Manual 28...
Page 52: ...UBC 220 User Manual 44...