VIA Technologies AMOS-820 Manual
Hide thumbs Also See for AMOS-820:
Table of Contents

Advertisement

Quick Links

EVALUATION GUIDE
AMOS-820
VAB-820
Android BSP 3.2
1.03-08062015-102700

Advertisement

Table of Contents
loading

Summary of Contents for VIA Technologies AMOS-820

  • Page 1 EVALUATION GUIDE AMOS-820 VAB-820 Android BSP 3.2 1.03-08062015-102700...
  • Page 2 The information and product specifications within this document are subject to change at any time, without notice and without obligation to notify any person of such change. VIA Technologies, Inc. reserves the right the make changes to the products described in this manual at any time without prior notice..
  • Page 3 Revision History Revision Revision Revision Revision Date Date Date Date Remarks Remarks Remarks Remarks 1.00 2015/6/3 Initial external release 1.01 2015/7/9 Modified testing item: “Wired LAN static IP“ Added 3.3.22 Shutdown option 1.02 2015/7/29 1.03 2015/8/3 Corrected spelling errors...
  • Page 4: Table Of Contents

    Table of Contents 1. 1. 1. 1. Introduction Introduction ............................................ 1 1 1 1 Introduction Introduction ............................................ 1.1. Overview ....................... 1 2. 2. 2. 2. Making Android System Bo Making Android System Booting Media oting Media ........
  • Page 5 3.3.7.1. Test in debug port (COM2) ............. 21 3.3.7.2. Test in SmartETK ................. 22 3.3.8. Watchdog ....................23 3.3.8.1. Test in debug port (COM2) ............. 23 3.3.8.2. Test in SmartETK ................. 24 3.3.9. RTC ......................25 3.3.10. USB ......................25 3.3.10.1.
  • Page 6 List of Figures Figure 1: Boot select jumper ..................3 Figure 2: Boot select jumper ..................4 Figure 3: U-boot parameter ................... 5 Figure 4: LVDS power selection jumper ..............7 Figure 5: LVDS power selection jumper ..............8 Figure 6: SDK Manager ....................10 Figure 7: APK installation setting ................
  • Page 7 Figure 32: Test in SmartETK(CAN) ................33 Figure 33: Test in SmartETK(CAN_filter) ..............34 Figure 34: Test in SmartETK(CAN_filter) ..............34 Figure 35: APN setting ....................35 Figure 36: SPI ROM test result..................36 Figure 37: RIL OEM HOOK Test setting..............37 Figure 38: GPS messages ....................
  • Page 8 List of Tables Table 1: LVDS power selection jumper settings ............7 Table 2: LVDS power selection jumper settings ............8 Table 3: GPIO pins ......................21 viii...
  • Page 9: Overview

    Introduction Introduction Introduction The purpose of this document is to provide a practical introduction on evaluating Android 4.4.2 for the AMOS-820 (Bare board: VAB-820 Freescale i.MX6 Quad). 1.1. Overview The VIA VAB-820 platform is an embedded system powered by ARM processor with Android 4.4.2 operating system by default.
  • Page 10: Oting Media

    2. 2. 2. 2. Making Making Android System Android System Making Making Android System Android System Booting Media Booting Media Booting Media Booting Media VAB-820 Android BSP only supports booting from onboard eMMC. This section will guide you through making the Android system boot media for VAB-820 from EVK folder.
  • Page 11 The Micro SD storage card code name for this example is identified as sdb sdb. Step 4 Step 4 Step 4 Step 4 The EVK path for this example is /home/user/EVK /home/user/EVK, user can enter the folder /home/user/EVK /home/user/EVK “ “ “ “ Images_autoinstall_sd/scripts Images_autoinstall_sd/scripts Images_autoinstall_sd/scripts Images_autoinstall_sd/scripts”...
  • Page 12: Figure 2: Boot Select Jumper

    Notes: Notes: Notes: Notes: 1. It is recommended to connect COM2 debug cable to make sure the U-boot parameter is correct. 2. Make sure the U-boot parameter is clean. User can type the command below in U-boot: u-boot> destroyenv u-boot> reset Here, the VAB-820 should boot into Linux.
  • Page 13: Figure 3: U-Boot Parameter

    Step Step Step Step 9 9 9 9 Setting U-boot parameter for eMMC. Connect the VAB-820 and host PC through J5 (COM2) of VAB-820. Run “putty” on host PC to receive the booting message. Power on the VAB-820 and press any key to stop the booting process as shown in Figure 3. Figure Figure 3 3 3 3 : : : : U U U U - - - - boot parameter boot parameter...
  • Page 14: Setting The Display Devices

    2.2.1. Setting the display devices [HDMI] [HDMI] [HDMI] [HDMI] To set HDMI as boot display: setenv display run hdmi To set HDMI resolution: setenv hdmi ‘setenv bootargs ${bootargs} video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=28M vmalloc=400M androidboot.hardware=freescale audio=hdmi’ To replace the resolution, change the red color part with the desired resolution mode.
  • Page 15: Figure 4: Lvds Power Selection Jumper

    [LVDS] [LVDS] [LVDS] [LVDS] There are three LVDS panels supported by VAB-820. Here is the list: AUO 22” G220SVN01.0 AUO 10.4” G104XVN01.0 AUO 7" G070VW01 V0 The LVDS type for this example is AUO 22” G220SVN01.0. Check the LVDS power selection setting: J J J J 3 3 3 3 : : : : LVDS power select LVDS power select LVDS power select...
  • Page 16: Figure 5: Lvds Power Selection Jumper

    The LVDS type for this example is AUO 10.4” G104XVN01.0. Check the LVDS power selection setting: J J J J 3 3 3 3 : : : : LVDS power select LVDS power select LVDS power select LVDS power select IVDD IVDD IVDD...
  • Page 17: Installing Apk Through File Manager

    3. 3. 3. 3. Testing Testing Testing Testing This chapter will guide you through evaluating VAB-820 Android evaluation image. 3.1. Installing APK through file manager An “o “o “o “open Manager pen Manager” ” ” ” file manager is prebuilt into image. User can install pen Manager pen Manager necessary testing APK.
  • Page 18: Figure 6: Sdk Manager

    Step 3 Step 3 Step 3 Step 3 Execute the SDK manager and select the packages. Figure Figure Figure Figure 6 6 6 6 : : : : SDK Manager SDK Manager SDK Manager SDK Manager Step 4 Step 4 Step 4 Step 4 Open a text console utility in Windows XP.
  • Page 19 Step Step Step Step 7 7 7 7 Connect your PC to VAB-820. Windows XP will detect a new android device. Install the driver by choosing android_winusb.ini which is in the android_usb_fsl folder Run -> cmd cd <<Your SDK Installation Path>>\platform-tools #run below command in the consle adb.exe kill-server adb.exe start-server...
  • Page 20: Figure 7: Apk Installation Setting

    Change the new udev rule file's permission: chmod a+r /etc/udev/rules.d/imx-android.rules Connect the Android Device through USB OTG. To ensure that Android device is connected, find the adb first in android- sdk/platform-tools ./adb devices List of devices attached: 0123456789ABCDEF device Step 4 Step 4 Step 4 Step 4...
  • Page 21: Testing Items

    3.3. Testing Items 3.3.1. OpenGL ES 2.0 Install the ApiDemo.apk obtained from EVK/app folder. Run “A A A A PI PI PI PI Demo Demos s s s ” Demo Demo Figure Figure 8 8 8 8 : : : : OpenGL ES 2.0 OpenGL ES 2.0 Figure Figure...
  • Page 22: Network

    3.3.3. Network 3.3.3.1. 3.3.3.1. Wired LAN Network Wired LAN Network 3.3.3.1. 3.3.3.1. Wired LAN Network Wired LAN Network Plug in the cable before booting. Run “Browser” and verify the network. Unplug the cable and plug it back immediately, check whether the network is still working or not.
  • Page 23: Wired Lan Static Ip

    3.3.3.3. 3.3.3.3. Wired LAN static IP Wired LAN static IP 3.3.3.3. 3.3.3.3. Wired LAN static IP Wired LAN static IP Set Ethernet in Settings-> More -> Configure Ethernet. Fill the “IP address”, “DNS address”, “Prefix length”, and “gateway”, then choose “OK”.
  • Page 24: Com2

    Execute “putty putty putty putty” on host PC. Serial -> Flow control : RTS/CTS Type any key in putty and Serial Port API, you will see the words in the other machine. Figure Figure Figure Figure 12 12 12 12: : : : C C C COM OM1 test 1 test 1 test...
  • Page 25: Test In Smartetk

    3.3.4.3. 3.3.4.3. Test in SmartETK K K K Test in SmartET 3.3.4.3. 3.3.4.3. Test in SmartET Test in SmartET Install VAB820StandardExample.apk (SmartETK demo APK) Select “UART” Set “Device” as ttymxc0 (COM1) and “BaudRate” Click “Connect” and input the message then press “Send” Figure Figure 14 14: : : : Test in SmartETK...
  • Page 26: Audio

    3.3.5. Audio 3.3.5.1. 3.3.5.1. Line- - - - out Line 3.3.5.1. 3.3.5.1. Line Line Connect the headphone plug to the green jack socket. Figure Figure 15 15: : : : Audio connector Audio connector Figure Figure 15 15 Audio connector Audio connector 3.3.5.2.
  • Page 27: Line-In

    root@android:/# tinymix 24 0 root@android:/# tinymix 26 1 Run “Hi-Q” app in the Android to test the sound record. Note: Note: Note: Note: Tinymix does not support Mic-in for headphone. 3.3.5.3. 3.3.5.3. 3.3.5.3. 3.3.5.3. Line Line- - - - in in in in Line Line Plug audio cable to the blue jack socket.
  • Page 28: I²C

    3.3.6. I²C 3.3.6.1. 3.3.6.1. 3.3.6.1. 3.3.6.1. Detect device ADV7180 Detect device ADV7180 Detect device ADV7180 Detect device ADV7180 ADV7180 could be found at address 0x21 on I2C1. Figure ure 17 17: : : : i2cdetect adv7180 i2cdetect adv7180 17 17 i2cdetect adv7180 i2cdetect adv7180 3.3.6.2.
  • Page 29: Gpio

    3.3.7. GPIO 3.3.7.1. 3.3.7.1. Test in debug port (COM2) Test in debug port (COM2) 3.3.7.1. 3.3.7.1. Test Test in debug port (COM2) in debug port (COM2) Change the directory to /sys/class/gpio /sys/class/gpio /sys/class/gpio /sys/class/gpio Generate the numbers corresponding to the GPIO pins. VAB- - - - 820 name 820 name FSL name...
  • Page 30: Test In Smartetk

    gpio5 --- gpio203 Write value 0 or 1 to “out” and read value from “in”. echo 0 > /sys/class/gpio/gpio203/value cat /sys/class/gpio/gpio5/value Check if the value is the same as you wrote it. 3.3.7.2. 3.3.7.2. Test in SmartETK Test in SmartETK 3.3.7.2.
  • Page 31: Watchdog

    3.3.8. Watchdog 3.3.8.1. 3.3.8.1. Test in debug port (COM2) Test in debug port (COM2) 3.3.8.1. 3.3.8.1. Test Test in debug port (COM2) in debug port (COM2) ioctl –r /dev/watchdog 2 The system will reboot in 60 seconds. [WDOG] will be shown in the line of “Boot Reason”. Figure Figure 21 21: : : : WDOG reboot...
  • Page 32: Test In Smartetk

    3.3.8.2. 3.3.8.2. Test in SmartETK Test in SmartETK 3.3.8.2. 3.3.8.2. Test in SmartETK Test in SmartETK Install VAB820StandardExample.apk (SmartETK demo APK). Select “WatchDog”. Select ”Enable WatchDog” and enter “Timeout value”(1~128sec.), then press “SetTimeout” button. The system will be reset by watchdog in one minute (default) or in the value (sec.) you set.
  • Page 33: Rtc

    3.3.9. RTC Test way: Setup hardware time in Settings Figure Figure 24 24: : : : RTC sett RTC setting Figure Figure 24 24 RTC sett RTC sett Reboot the system (power off first and power on again) and check the time.
  • Page 34: Microsd Storage

    3.3.11. MicroSD storage MicroSD card as storage: Detection and Access Find the device node of MicroSD card under /dev/block as ”mmcblk1”. Android should mount MicroSD card automatically. Check files under /storage/extsd. Copy file to/from /storage/extsd. 3.3.12. Dual Display Note: Note: Note: Note: VAB-820 DualLite does not support dual display.
  • Page 35: Camera

    3.3.13. Camera 3.3.13.1. 3.3.13.1. Basic operation Basic operation 3.3.13.1. 3.3.13.1. Basic operation Basic operation Open the Camera.apk. Figure Figure Figure Figure 25 25 25 25: : : : Camera.apk Camera.apk Camera.apk Camera.apk You can switch to video mode or photo mode. Figure Figure Figure...
  • Page 36: Adv7180 Testing

    Android has two camera lenses: back_camera back_camera back_camera and front_came back_camera front_came front_camera ra ra ra. Back_camera front_came is ADV7180, and front_camera is UVC. You can switch them by using the following icon. Figure Figure Figure Figure 28 28 28 28: : : : Camera function3 Camera function3 Camera function3...
  • Page 37: Uvc Testing

    sampleRate="44100" channels="1" /> Width and height are based on the format. NTSC is 720 x 480 and PAL is 720 x 576. 3.3.13.3. 3.3.13.3. 3.3.13.3. 3.3.13.3. UVC testing UVC testing UVC testing UVC testing 1. Open the camera.apk and switch to front_camera. 2.
  • Page 38: Video

    3.3.15. Video Install the MX Player_1.7.31.apk obtained from EVK/app folder. Select the video file to play. The MX player will use hardware acceleration to decode the video by default and show “HW” on the top right corner. If the file cannot be decoded by hw, player will decode by sw and show “SW”...
  • Page 39: Flexcan

    3.3.17. FlexCAN 3.3.17.1. 3.3.17.1. 3.3.17.1. 3.3.17.1. Test Test Test in debug port (COM2) Test in debug port (COM2) in debug port (COM2) in debug port (COM2) Connect the VAB-820-A to VAB-820, and use a non-jumper cable to connect can0 and can1 as shown in Figure 30. Figure Figure 30 30: : : : CAN bus H/W connect...
  • Page 40 -> not received(filter not hit) # cansend can0 -i0x123 0x11 0x22 0x33 0x44 0x55 0x66 0x77 0x88 -> <0x123> [8] 11 22 33 44 55 66 77 88 Change Bitrate and send message part 1. # ifconfig can0 down # ip link set can0 up type can bitrate 250000 # candump can1 &...
  • Page 41: Test In Smartetk

    3.3.17.2. 3.3.17.2. Test in SmartETK Test in SmartETK 3.3.17.2. 3.3.17.2. Test in SmartETK Test in SmartETK Install VAB820StandardExample.apk (SmartETK demo APK) Select “CAN” Set “BitRate” Click “Connect” and then press “Send” to send the input messages Figure Figure Figure Figure 31 31 31 31: : : : Test in SmartETK(CAN) Test in SmartETK(CAN)
  • Page 42 Figure Figure 33 33: : : : Test in SmartETK(CAN_filter) Test in SmartETK(CAN_filter) Figure Figure 33 33 Test in SmartETK(CAN_filter) Test in SmartETK(CAN_filter) Figure Figure 34 34: : : : T T T Test in SmartETK(CAN_filter) est in SmartETK(CAN_filter) Figure Figure 34 34 est in SmartETK(CAN_filter)
  • Page 43 3.3.18. 3G Connect the u-blox LISA U-200 to VAB-820. Open the APN setting menu (Settings->WIRELESS & NETWORKS- >More->Mobile networks->Access Point Names). Add a new APN (set the suitable Name and APN for SIM card) and choose the APN. Figure Figure Figure Figure 35 35 35...
  • Page 44: Spi Rom

    3.3.19. SPI ROM Connect the VAB-820-B to VAB-820. These 2 SPI ROMs could be found under /dev/block as “mtdblock1” and “mtdblock2”. Copy spi_test.sh from “/EVK/tool” to android system “/data”. Use this command to run the script. # sh spi_test.sh /dev/block/mtdblock1 # sh spi_test.sh /dev/block/mtdblock2 We can see the test result as shown in Figure 36.
  • Page 45: Gps

    3.3.20. GPS Connect the u-blox LISA U-200 to VAB-820 and enable 3G. Install the uCenter.apk obtained from EVK/app folder. Open the RIL OEM Hook Test menu (Settings->WIRELESS & NETWORKS->More->RIL OEM HOOK Test). Figure Figure 37 37: : : : RI RI RI RIL OEM HOOK Test setting L OEM HOOK Test setting Figure Figure...
  • Page 46 Figure Figure 38 38: : : : GPS message GPS messages s s s Figure Figure 38 38 GPS message GPS message...
  • Page 47: Ota

    3.3.21. OTA Please refer to VAB-820_OTA.pdf to create an upgrade package and OTA server. Then: 1. Create a new ota.conf file and fill in your server address. ex: server=192.168.144.14 port=8888 2. Put ota.conf into udisk . 3. Insert udisk to VAB-820. 4.
  • Page 48: Shutdown Option

    3.3.22. Shutdown option 1. Find QuickSettings menu and press on “Shutdown”. Figure Figure Figure Figure 39 39 39 39: : : : QuickSettings menu QuickSettings menu QuickSettings menu QuickSettings menu 2. There are 3 options: a. Sleep b. Reboot c. Power off Figure Figure Figure...

Table of Contents