advertisement
3.6
Create a Linux System Boot Media
RSB-4220 supports boot from SD card or onboard flash. This section will guide you how to build an image for RSB-4220 Linux system boot media.
3.6.1
Storage Information (eMMC/SD card)
The storages devices name as following:
Device
SD caed eMMC
Name
/dev/mmcblk0
/dev/mmcblk1
3.6.2
Create a Linux System SD Card
3.6.2.1
From Pre-built System Image
You are able to find the pre-built image from Advantech website. Please follow below steps to create a SD card for boot up.
1.
Copy “4420LIVxxxx_yyyy-mm-dd.tar.gz” package to your /root/.
2.
Open "Terminal" on Ubuntu 12.04 LTS.
3.
$sudo su (Change to “root” authority)\
4.
Input your password.
5.
#cd /root/
6.
#tar xzvf 4220LIVxxxx_yyyy‐mm‐dd.tar.gz (Unzip files)
7.
Insert one SD card to your developing computer
8.
Check the SD card location, like /dev/sdb
9.
#cd ./4220LIVxxxx_yyyy‐mm‐dd/scripts
10.
#./mksd‐linux.sh /dev/sdb
11.
Type “y” (Start to copy files, wait until it shows [Done])
Then insert the Linux system SD card to RSB-4220, it will boot up with Linux environment.
3.6.2.2
From Source Code Package
When you receive the RSB-4220 Linux source code package, you can refer following steps to create a Linux system SD card for booting up from it.
1.
Open "Terminal" on Ubuntu 12.04 LTS.
2.
$sudo su (Change to “root” authority)
3.
Input your password.
4.
Insert one SD card to your developing computer.
5.
Check the SD card location, like: /dev/sdb
6.
#cd /root/335XLBVxxxx_yyyy‐mm‐dd/scripts
7.
#./mksd‐linux.sh /dev/sdb
8.
Type “y” (Start to copy files, wait until it shows [Done])
Then insert the Linux system SD card to RSB-4220 SD card slot (SD1), it will boot up with Linux environment.
RSB-4220 User Manual 44
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
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 miniPCIE
- 17 Figure 2.2 Debug Port
- 17 Figure 2.3 USB Type A connector
- 18 Figure 2.4 JTAG Pin header
- 20 Figure 2.5 Ethernet Connector
- 21 Figure 2.6 DC power Jack
- 21 Figure 2.7 Reset button
- 22 Figure 2.8 SD Slot
- 23 Figure 2.9 LVDS Connector
- 24 Figure 2.10LVDS Inverter Power Connector
- 25 Figure 2.112X20 pin Connector
- 26 Mechanical
- 26 Jumper and Connector Locations
- 26 Figure 2.12Jumper and Connector Layout (Top side)
- 26 Figure 2.13Jumpers and Connector Layout (Bottom Side)
- 26 Figure 2.14Coastline Layout
- 27 Board Dimensions
- 27 Figure 2.15Board Dimension Layout (Top Side)
- 27 Figure 2.16Board Dimension Layout (Bottom Side)
- 28 Figure 2.17Board Dimension Layout (Coastline)
- 28 Quick Start of RSB
- 28 Debug Port Connection
- 28 Debug Port Setting
- 28 Figure 2.18HyperTerminal 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 Mini-PCIe WIFI Test
- 35 2.5.10 LAN Test
- 37 2.5.11 RS232 Test
- 39 2.5.12 Watchdog Timer Test
- 42 Introduction
- 42 Package Content
- 42 Pre-built System Image
- 42 Source Code Package
- 43 Figure 3.1 Source code package structure
- 44 Figure 3.2 image\rootfs
- 46 Set up Build Environment
- 46 setenv.sh
- 47 Build Instructions
- 47 Build u-boot Image
- 47 Build Linux Kernel Image
- 47 Build Log
- 48 Kernel Source Code Modification
- 48 Add a Driver to Kernel by menuconfig
- 48 Figure 3.3 Linux Kernel Configuration
- 49 Figure 3.4 Selecting TI TPS65910 RTC Driver
- 50 Create a Linux System Boot Media
- 50 Storage Information (eMMC/SD card)
- 50 Create a Linux System SD Card
- 51 Boot from Onboard Flash
- 51 Debug Message
- 51 Figure 3.5 HyperTerminal Settings for Serial Console Setup
- 52 Linux System Configuration and Use
- 52 Display Output Setting
- 54 Service Configuration
- 56 Network configuration
- 56 Figure 3.6 IP Configuration
- 57 Date/Time Configuration
- 57 Figure 3.7 Date/Time Settings
- 57 About System
- 57 Figure 3.8 About System
- 58 Brightness Control
- 58 Figure 3.9 Brightness Control
- 58 Serial Tools
- 58 Figure 3.10Serial Control
- 59 Matrix GUI User’s Guide
- 59 Figure 3.11Matrix
- 60 Screen Rotation for Qt Application
- 61 3.8.10 Add a Startup items when boot
- 61 3.8.11 Package online install
- 62 Development Guide and Reference
- 62 Development of C/C++ Programs
- 63 Development of GUI Programs with QT Library
- 63 Demo program source code
- 68 System Recovery
- 70 RISC Design-in Services
- 72 Contact Information
- 73 Global Service Policy
- 73 Warranty Policy
- 74 Repair Process