background image

 

 

18 

Customize the embedded system based on

 

Your

 

Idea

 

 

7 Android Application 

7.1 Serial Terminal 

Connect the board and PC with USB Serial cable, then power on,

 

the terminal will output startup 

information. 

 

Summary of Contents for EM3399

Page 1: ...EM3399 Android7 1 User Manual V1 3 www boardcon com Boardcon Embedded Design...

Page 2: ...Warranty Boardcon warrants this product to be free of defects in material and workmanship for a period of one year from date of buy During this warranty period Boardcon will repair or replace the defe...

Page 3: ...evision History Ver Description Author Date V1 0 Initial version android7 1 2 industry Qin Xueqin 2019 03 06 V1 1 Support 10 1 inch MIPI LCD Qin Xueqin 2019 09 03 V1 2 Description update Zhou Lijun 20...

Page 4: ...el 8 3 2 Compile Android 8 4 Images Operation 9 4 1 Pack Image 9 4 2 Unzip Firmware 10 5 Install Serial Terminal Tool 12 6 Burn Images 13 6 1 Install Driver 13 6 2 Upgrade Uniform Firmware 15 7 Androi...

Page 5: ...USB2 0 Host 1x USB3 0 Host 1x USB Type C UART 1x 3pin connector For debug LCD 1x eDP LCD via 40 pin header interface 1x 2 CH MIPI Ethernet 1000M High performance Ethernet RTL8211E RJ45 interface HDMI...

Page 6: ...g system Note Android7 1 should be complied on ubuntu 64bit OS Ubuntu 14 04 is recommended 2 2 Install JDK JDK openjdk 8 jdk PC OS ubuntu system Network online Permission root sudo apt get update sudo...

Page 7: ...t user execute the commands to install necessary tools sudo apt get install git core gnupg flex bison gperf build essential zip curl sudo apt get install zlib1g dev gcc multilib g multilib libc6 dev i...

Page 8: ...7 Customize the embedded system based on YourIdea sudo apt get install lib32z dev ccache libgl1 mesa dev libxml2 utils sudo apt get install xsltproc unzip...

Page 9: ...industry kernel make ARCH arm64 boardcon_defconfig j8 make ARCH arm64 em3399 boardcon img j12 kernel img and resource img are generated in current directory 3 2 Compile Android cd em3399 android7 1 i...

Page 10: ...Pack Image Step 1 unzip AndroidTool rar in windows Step 2 copy all the files in the Android root directory rockdev Image em3399 to the development tools rockdev Image directory Step 3 enter the direc...

Page 11: ...not the same bootloader version follow the prompts to modify the file mkupdate bat and package file the same version of the current directory 4 2 Unzip Firmware Step 1 enter the directory AndroidTool...

Page 12: ...Customize the embedded system based on YourIdea Step 2 unzip firmware img Execute the command AFPTool exe unpack firmware img The unzip files will be generated in the directory AndroidTool rockdev Ima...

Page 13: ...or debugging It can be used directly after decompression Open SecureCRT exe after copy to PC path tools windows SecureCRT exe then click the icon Quick Connect to config Set the parameters as follow P...

Page 14: ...erminal tools and they use the same serial port there will be reported the port is busy Solution Turn off the serial tool that unnecessary 6 Burn Images 6 1 Install Driver Step 1 Install CP2102 driver...

Page 15: ...he embedded system based on YourIdea Now the device will be listed under Device Manager PORTS with unique serial port assigned Step 2 Install Rockchip Driver Assistant Path Release_DriverAssitant Driv...

Page 16: ...anagement can see the following information 6 2 Upgrade Uniform Firmware Step 1 unzip AndroidTool_Release_v2 63 on Windows Step 2 open AndroidTool exe Path AndroidTool AndroidTool_Release_v2 63 Androi...

Page 17: ...16 Customize the embedded system based on YourIdea Step 4 click Upgrade Firmware Firmware select update img Click Upgrade to flash...

Page 18: ...dea Download completed If necessary user can choose to update the firmware separating Step 1 Click the column on the right side for the path of the file want to flash Step 2 Select the checkbox on the...

Page 19: ...18 Customize the embedded system based on YourIdea 7 Android Application 7 1 Serial Terminal Connect the board and PC with USB Serial cable then power on the terminal will output startup information...

Page 20: ...of system partition before enable ADB adb root adb disable verity adb reboot reboot the board adb root after boot system adb remount Now you can use adb to push file to the board 7 3 HDMI Display Conn...

Page 21: ...20 Customize the embedded system based on YourIdea 7 5 USB Host The USB Host can be used to connect USB mouse USB keyboard U Disk or other USB devices...

Page 22: ...the embedded system based on YourIdea 7 6 Ethernet Connect the board and router with an Ethernet cable default DHCP Yes User can ping URL IP at terminal or open the browser to test Network su ping www...

Page 23: ...system based on YourIdea 7 7 WiFi Connect the WiFi antenna then click Settings WiFi turn on select the SSID from the list of available networks and enter the password After connected user can open the...

Page 24: ...to pair After pairing devices can connect with each other automatically 7 9 4G Network Step 1 Insert 4G module to PCI E slot 4G model EC20 Step 2 Connect antenna and insert SIM card Step 3 The default...

Page 25: ...24 Customize the embedded system based on YourIdea...

Page 26: ...25 Customize the embedded system based on YourIdea 7 10 GPS Plug the EC20 module and connect GPS antenna then power on and install the APP GPS_test1 2 4 apk path CD Tools...

Page 27: ...26 Customize the embedded system based on YourIdea 7 11 Camera Connect the camera module OV13850 to the development board before power on then click the camera app to test...

Page 28: ...HDMI IN Connect two EM3399 board with the HDMI cable and power on Open Camera application on Board B will display the screen of Board A Please switch to Video mode otherwise the display is incomplete...

Page 29: ...28 Customize the embedded system based on YourIdea Double Click the Back icon will quit the HDMI IN...

Page 30: ...29 Customize the embedded system based on YourIdea...

Reviews: