RSB-4221 User Manual viii
3.5 SPI Nor Flash Test.................................................................................. 28
3.6 GPIO Test ............................................................................................... 30
3.7 I2C Test .................................................................................................. 31
3.8 LAN Test ................................................................................................. 32
3.9 RGB Test ................................................................................................ 33
3.10 RS232 /RS422/RS485 Test .................................................................... 34
3.11 Can Test ................................................................................................. 35
Chapter 4 Android O.S ....................................... 37
4.1 Introduction ............................................................................................. 38
4.2 Board Support Package.......................................................................... 38
4.2.1 Pre-built System Image .............................................................. 38
4.2.2 Source Code Package................................................................ 38
4.3 Set up Build Environment ....................................................................... 39
4.3.1 Installing JDK.............................................................................. 39
4.3.2 Installing Oracle JDK 6 ............................................................... 39
4.3.3 Installing Required Packages ..................................................... 39
4.3.4 Toolchain Setup.......................................................................... 40
4.4 Build Instructions..................................................................................... 40
4.4.1 Build Preparation ........................................................................ 40
4.4.2 Building an Android Kernel ......................................................... 40
4.4.3 Building an Android System Image............................................. 40
4.4.4 Building an Android Recovery Image ......................................... 40
4.4.5 Building an Android OTA package.............................................. 41
4.5 Debug Console ....................................................................................... 41
4.6 Boot up from SD card or eMMC.............................................................. 41
4.6.1 Storages Device Names: ............................................................ 41
4.6.2 Creating a Bootable SD Card ..................................................... 41
4.6.3 Transfering System to Onboard eMMC ...................................... 41
4.7 Customization ......................................................................................... 42
4.7.1 Config Android Kernel................................................................. 42
4.7.2 Putting the Source Code to System............................................ 43
4.8 Serial Port Test ....................................................................................... 43
4.8.1 Setup Serial Port......................................................................... 43
4.8.2 Console Test............................................................................... 44
4.8.3 Loopback Test ............................................................................ 45
4.8.4 Send01010101 Test ................................................................... 45
4.9 Network Setup ........................................................................................ 46
4.9.1 Wi-Fi ........................................................................................... 46
4.10 Bluetooth................................................................................................. 47
4.11 Ethernet .................................................................................................. 49
4.12 Can Test ................................................................................................. 50
4.13 System Update ....................................................................................... 51
4.14 System Backup and Restore .................................................................. 52
4.14.1 Factory Data Reset..................................................................... 52
4.14.2 System Recovery........................................................................ 53
4.14.3 System Backup........................................................................... 54
4.14.4 System Restore .......................................................................... 55
4.15 Watchdog Function ................................................................................. 55
Chapter 5 Advantech Services.......................... 57
5.1 RISC Design-in Services ........................................................................ 58
5.2 Contact Information................................................................................. 61
5.3 Technical Support and Assistance.......................................................... 62
5.4 Global Service Policy .............................................................................. 62
5.4.1 Warranty Policy........................................................................... 62
5.4.2 Warranty Period.......................................................................... 62