
43 RSB-4210 User Manual
Chapter 3 Software Functionality
4. Type #cd Desktop/RSB4210_BSP/scripts/
5. Type #. setenv.sh (To configure the developing environment automatically)
6. Type #apt-get install libncurses5-dev (To get the menuconfig library)
7. Type #apt-get install jigit (To get mkimage)
8. Type #. cfg_kernel.sh (To set the uImage configuration automatically)
9. Type #. mk_kernel.sh (Start to build the uImage)
10. Then you can see "uImage" under folders "image" and "mk_inand"
11. Finish.
3.4.3 Build Log
When an error occurs during building kernel, it will record in this file. This build.log is
under folder "/RSB4210_BSP".
3.5 Source Code Modification
This section will guide you how to use the Linux source code. Several examples for
source code applications will be shown in this section as well.
3.5.1 Adding a Driver to Kernel by menuconfig
You can add a driver to kernel by menuconfig. Here is an example to guide you add-
ing a RTC driver (Seiko Instruments S-35390A) to Linux kernel. Please refer to the
following steps:
Example:
1. Open "Terminal" utility.
2. Type #sudo su (Change to "root" authority)
3. Type user password
4. Type #cd Desktop/RSB4210_BSP/scripts/
5. Type #. setenv.sh (To configure the developing environment automatically)
6. Type #. cfg_kernel.sh menuconfig
7. Then you will see a GUI screen (Linux Kernel Configuration) as below:
Figure 3.3 Linux Kernel Configuration
Comentarios a estos manuales