advertisement
2.5
Test Tools
All test tools must be verified on RSB-4220, please prepare required test fixtures before verifying each specified I/O. If you have any problem to get the test fixture, please contact your Advantech contact window for help.
2.5.1
eMMC Test
1.
Check the space of NAND flash.
root@am335x‐evm:~# fdisk ‐l /dev/mmcblk1
Disk /dev/mmcblk1: 3909 MB, 3909091328 bytes
4 heads, 16 sectors/track, 119296 cylinders, total 7634944 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb7e5e6db
Device Boot Start
/dev/mmcblk1p12048
/dev/mmcblk1p222528
End
22527
63487
Blocks
10240
20480
Id System
83 Linux
83 Linux
2.
Run program to read/write NAND flash.
root@am335x‐adv:/unit_tests# ./AutoRun_eMMC.sh mmcblk1
============================================================
==========Test Read/write and operation of filesystem for eMMC=========
============================================================
10240+0 records in
10240+0 records out
10240+0 records in
10240+0 records out
10240+0 records in
10240+0 records out
=================MMC Read/Write test pass================
=================MMC fdisk test pass==================== mke2fs 1.42.1 (17-Feb-2012)
5+0 records in
5+0 records out
===============MMC FS test passes========================== mke2fs 1.42.1 (17-Feb-2012)
================MMC MKFS test pass========================
==============all MMC function test PASS==================
23 RSB-4220 User Manual
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