
RSB-4221 User Manual viii
3.5 SPI Test .................................................................................................. 28
3.6 I2C Test .................................................................................................. 29
3.7 CAN Test ................................................................................................ 29
3.8 GPIO Test ............................................................................................... 30
3.9 LVDS Test............................................................................................... 31
3.10 M.2 Mrvl. WIFI/BT Test ........................................................................... 31
3.10.1 M.2 wifi Test................................................................................ 31
3.10.2 Bluetooth Test............................................................................. 32
3.11 LAN Test ................................................................................................. 33
3.11.1 eth0 Test..................................................................................... 33
3.11.2 eth1 Test..................................................................................... 33
3.12 Serial Port Test ....................................................................................... 34
3.12.1 COM1~COM5 RS232 Test......................................................... 34
3.12.2 COM1 RS422 Test ..................................................................... 34
3.12.3 COM1 RS485 Test ..................................................................... 35
3.13 Watchdog Timer Test.............................................................................. 36
Chapter 4 LinuxBSP ........................................... 39
4.1 Introduction ............................................................................................. 40
4.2 Package Content .................................................................................... 40
4.2.1 Pre-built System Image .............................................................. 40
4.2.2 Source Code Package................................................................ 40
Figure 4.1 Source code package structure................................ 40
Figure 4.2 image\rootfs.............................................................. 42
4.3 Set up Build Environment ....................................................................... 43
4.3.1 setenv.sh .................................................................................... 44
4.4 Build Instructions..................................................................................... 44
4.4.1 Build u-boot Image...................................................................... 44
4.4.2 Build Linux Kernel Image............................................................ 44
4.4.3 Build Log..................................................................................... 44
4.5 Kernel Source Code Modification ........................................................... 45
4.5.1 Add a Driver to Kernel by menuconfig ........................................ 45
Figure 4.3 Linux Kernel Configuration ....................................... 45
Figure 4.4 Selecting Seiko Instruments S-35390A.................... 46
4.6 Create a Linux System Boot Media ........................................................ 47
4.6.1 Storage Information (eMMC/SD card) ........................................ 47
4.6.2 Create a Linux System SD Card................................................. 47
4.6.3 Boot from Onboard Flash ........................................................... 48
4.7 Debug Message...................................................................................... 48
Figure 4.5 HyperTerminal Settings for Serial Console Setup.... 48
4.8 Linux System Configuration and Use...................................................... 49
4.8.1 Display Output Setting ................................................................ 49
4.8.2 Service Configuration ................................................................. 49
4.8.3 Network configuration ................................................................. 50
Figure 4.6 IP Configuration........................................................ 51
4.8.4 Date/Time Configuration* ........................................................... 52
Figure 4.7 Date/Time Settings................................................... 52
4.8.5 About System ............................................................................. 52
Figure 4.8 About System ........................................................... 52
4.8.6 Brightness Control ...................................................................... 53
Figure 4.9 Brightness Control.................................................... 53
4.8.7 Serial Tools................................................................................. 53
Figure 4.10Serial Control............................................................ 53
4.8.8 Matrix GUI User’s Guide............................................................. 54
Figure 4.11Matrix........................................................................ 54
4.8.9 Screen rotation for Qt application ............................................... 55
4.8.10 Add a Startup items when boot................................................... 56
4.8.11 Package online install ................................................................. 56