advertisement
![Build Instructions. Advantech RSB-4220 | Manualzz Build Instructions. Advantech RSB-4220 | Manualzz](http://s3.manualzz.com/store/data/064995845_1-afb7297afa104b0da153b557d34cc5c4-360x466.png)
3.4
Build Instructions
This section provides instructions on how to build the u-boot and Linux kernel.
3.4.1
Build a U-Boot Image
Advantech provides a script for building the u-boot rapidly. Users can build a u-boot image by following the steps below.
1.
Open “terminal” on Ubuntu 14.04 LTS.
2.
$sudo su (Change to “root” authority.)
3.
Input user password.
4.
#cd /root/AM335XLBVxxxx_yyyy-mm-dd/scripts
5.
#. setenv.sh
(To configure the development environment automatically.)
6.
#./cfg_uboot.sh am335x_rsb4220_defconfig (To set the u-boot configuration automatically.)
7.
#./mk_uboot.sh
(Start to build the u-boot.)
8.
Building of the u-boot.img is initiated and located in ../image.
3.4.2
Build a Linux Kernel Image
Advantech provides a script for building a “zImage” rapidly. Users can build a zImage by following the steps below.
1.
Open “terminal” on Ubuntu 14.04 LTS.
2.
$sudo su (Change to “root” authority.)
3.
Input user password.
4.
#cd /root/AM335XLBVxxxx_yyyy-mm-dd/scripts
5.
#. setenv.sh
(To configure the development environment automatically.)
6.
#./cfg_kernel.sh tisdk_am335x-rsb4220_defconfig (To set the zImage configuration automatically.)
7.
#./mk_kernel.sh (Start to build the zImage.)
8.
Building of the zImage is initiated and located in ../image.
3.4.3
Build a Log
The build log can be located in the “./AM335XLBVxxxx” folder. If an error message is encountered when building the Linux kernel, check the log file for additional details.
39 RSB-4220 User Manual
advertisement
Related manuals
advertisement
Table of contents
- 8 Introduction
- 8 Specifications
- 8 Functional Specifications
- 9 Mechanical Specifications
- 9 Electrical Specifications
- 9 Environmental Specifications
- 9 Block Diagram
- 12 Jumpers
- 12 Jumper Description
- 12 Jumper List
- 12 Table 2.1: Jumper List
- 13 Jumper Settings
- 15 Connectors
- 15 Connector List
- 15 Connector Settings
- 16 Figure 2.1 Mini PCIe
- 17 Figure 2.2 Debug Port
- 17 Figure 2.3 USB Type-A Connector
- 19 Figure 2.4 Ethernet Connector
- 20 Figure 2.5 DC Power Jack
- 20 Figure 2.6 Reset Button
- 21 Figure 2.7 SD Slot
- 22 Figure 2.8 LVDS Connector
- 23 Figure 2.9 LVDS Inverter Power Connector
- 24 Figure 2.102x20-Pin Connector
- 25 Mechanical
- 25 Jumper and Connector Locations
- 25 Figure 2.11Jumper and Connector Layout (Top)
- 25 Figure 2.12Jumper and Connector Layout (Bottom)
- 25 Figure 2.13Coastline Layout
- 26 Board Dimensions
- 26 Figure 2.14Board Dimensions Layout (Top)
- 27 Figure 2.15Board Dimensions Layout (Bottom)
- 27 Figure 2.16Board Dimensions Layout (Coastline)
- 28 Quick Start
- 28 Debug Port Connection
- 28 Debug Port Setting
- 28 Figure 2.17HyperTerminal Settings for Terminal Setup
- 29 Test Tools
- 29 eMMC Test
- 30 USB Test
- 30 SD Test
- 31 SPI Test
- 32 I2C Test
- 32 CAN Test
- 33 GPIO Test
- 33 LVDS Test
- 34 LAN Test
- 36 2.5.10 RS232 Test
- 38 2.5.11 Watchdog Timer Test
- 40 Introduction
- 40 Package Contents
- 40 Pre-Built System Image
- 40 Source Code Package
- 41 Figure 3.1 Source Code Package Structure
- 42 Figure 3.2 Image\rootfs
- 44 Setting Up a Development Environment
- 44 Setenv.sh
- 45 Build Instructions
- 45 Build a U-Boot Image
- 45 Build a Linux Kernel Image
- 45 Build a Log
- 46 Create Linux System Boot Media
- 46 Storage Information (eMMC/SD Card)
- 46 Create a Linux System SD Card
- 47 Boot From Onboard Flash
- 47 Debug Message
- 47 Figure 3.3 HyperTerminal Settings for Serial Console Setup
- 48 Linux System Configuration and Use
- 48 Display Output Setting
- 50 Service Configuration
- 52 Network Configuration
- 52 Date/Time Configuration
- 52 Figure 3.4 Date/Time Settings
- 52 About the System
- 53 Brightness Control
- 53 Figure 3.5 Brightness Control
- 53 Serial Tools
- 53 Figure 3.6 Serial Control
- 54 Matrix GUI User Guide
- 54 Figure 3.7 Matrix
- 55 Add Startup Items
- 56 3.7.10 OTG Mode Selection
- 56 Development Guide and Reference
- 56 Development of C/C++ Programs
- 57 Developing GUI Programs with a Qt Library
- 57 Demo Program Source Code
- 62 System Recovery
- 64 RISC Design-in Services
- 66 Contact Information
- 67 Global Service Policy
- 67 Warranty Policy
- 68 Repair Process