advertisement
2.5.2
USB Test
2.5.2.1
USB HOST TEST
1.
Plug a USB flash device into USB connector.
2.
Mount the USB flash and check system can detect it.
3.
Run program to read/write USB flash.
root@am335x‐adv:/unit_tests# ./AutoRun_usb_host.sh
disk_to_test=sda
---create partition for sda
---format file system partion_list=sda1 test /dev/sda1 pass
2.5.2.2
USB OTG Test
1.
Jump to OTG mode, Use USB Type A- Type A cable to connect the USB-OTG port of RSB-4220 and the USB port of PC.
2.
Copy 20MB xx file to RSB-4220 from PC.
3.
Check the RSB-4220 xx file size was 20MB.
2.5.3
SD Test
1.
Insert SD card into SD1 slot.
2.
Mount the SD card device and check system can detect it.
root@am335x‐adv:/unit_tests# fdisk ‐l /dev/mmcblk0
Disk /dev/mmcblk0: 3980 MB, 3980394496 bytes
255 heads, 63 sectors/track, 483 cylinders, total 7774208 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: 0x00000000
Device Boot Start
/dev/mmcblk0p1 * 63
End
144584
Blocks
72261
Id c
/dev/mmcblk0p2160650 7759394 3799372+ 83
System
W95 FAT32 (LBA)
Linux
3.
Run program to read/write SD.
root@am335x‐adv:/unit_tests# ./AutoRun_sd.sh mmcblk0
10240+0 records in
10240+0 records out
10240+0 records in
10240+0 records out
10240+0 records in
10240+0 records out
=================SD test pass================
RSB-4220 User Manual 24
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