Home

ChipseeBeagleBoneBlack_User Manual_V1.0.2

image

Contents

1. S 3 3 2 1 Touch screen test eee e eere ke ne nhe ree ke Re ke rae ke ege nhe Re ke 3 32 2 GPIO test D ttODS isses re ie GU Die sivi ud ius 4 32 3 BUZZED RR Gis Pau GR ORE GNE GR ORE ERR OR 4 3 2 4 Gravity sensor function test ii 4 3 2 5 Audio input and output test i 5 3 2 6 Video Testuale 5 3 211 Serial test E E TEE aaa 5 3 3 Build Android4 2 compilation environment sss 6 3 3 1 Install the required packages i 6 3 3 2 Install Oracle Ki tet ere ream et re ias 6 33 3 Prepare Android SOUICE i tier tee ste e pr eee breite 7 3 4 Compile and install the Android system i 7 34 1 Compile U BOOT eiecit eren reet ee d eei ene 7 DAZ Compile keel ili 8 E MNT I 8 3 4 4 Compile Android Filesystem i 8 345 Package filet 9 34 6 Make a bootable SD Cardio nani DERE ERES 9 JAT Start Android System a e WC e OW CER 9 3 5 Android system debug in Windows sess 9 3 5 1 View Android system via the serial port ii 10 3 5 2 Adb connect via USB OT Gi asi reet riti 10 3 5 3 Adb connect via internet ec oer eter tr ene e re ee Hen Er e IER EET 12 LLL 13 4 1 Getting Start D 13 4 1 1 How to make a bootable SD card eene 13 4 1 2 How to update eMMC with Linux OS iii 14 4
2. 6 3 Debian OS Compile and Debug Note The u boot and kernel of Debian OS are the same as Angstrom s The difference b etween them is the system files More details about compile you can see chapter 5 4 6 3 1 View Angstrom system via the serial port See 4 5 1 View the system infomation via the serial port 6 3 2 NFS See 4 5 2 NES 6 4 Java for Debian This chapter we will setup the environment of Java and show you how to a simple Java application 1 Install jdk Use command java version to see the jdk is installed or not sudo apt get install openjdk 6 jdk 2 Edit a simple program HelloWorld java import java awt Color import java awt Font import java awt Toolkit import javax swing JFrame import javax swing J TextField public class HelloWorld extends JFrame public HelloWorld JTextField text new JTextField Hello world text setFont new Font Times New Roman Font BOLD 60 text setForeground Color BLACK this getContentPane add text public static void main String argv HelloWorld win new HelloWorld 30 e chipsee com Toolkit tk Toolkit getDefaultToolkit int winWidth 512 int winHeight 300 int Width tk getScreenSize width int Height tk getScreenSize height win setSize winWidth winHeight win setLocation Width winWidth 2 Height winHeight 2 win setVisible true win setDefaultCloseOperation EXIT ON CLOSE
3. u boot img 5 4 2 Compile kernel 1 Go to kernel folder 25 F chipsee com cd Angstrom bbb exp source 0210 kernel 2 Clear the result compiled before make distclean 3 Configure file cp config chipsee config 4 Compile ulmage make dtbs ulmage Notes Once done you can find the results 1 arch arm boot uImage 2 arch arm boot dts am335x bbb exp dtb 5 4 3 Package image file 1 Go to Angstrom source folder cd Angstrom bbb exp source 0210 2 Do the command to package the files sdcard_build sh directory beagleboneblack Notes Once done the results located at HOME Angstrom bbb exp source 0210 beagle boneblack The content of the directory as described below boot This directory contains all the files needed to start MLO AM335x startup file u boot img U B00T startup file uEnv txt U BOOT startup parameter configuration file ulmage kernel am335x bbb exp dtb filesystem filesystem rootfs tar bz2 mksdcard sh SD card installation script REDAME Instructions 5 4 4 Make a bootable SD card 1 Insert the SD card into Ubuntu system 2 Go to folder beagleboneblack cd HOME Angstrom bbb exp source 0210 beagleboneblack 3 Do the command like 5 1 1 How to make a bootable SD card sudo mksdcard sh dev
4. H R 33 7 1 Logo mModiff 33 7 2 Use the debug Serial Porti rh rre erede rere eerta 34 7 3 IP address Settings uan 35 gt chipsee com 1 Chipsee BeagleBoneBlack Development Kit Hardware 1 2 3 BeagleBoneBlack Chipsee BeagleBoneBlack expansion board Micro SD card and card reader SV power adapter Micro USB cable Common serial cable or USB to serial cable Software Android USB driver for Windows 1 2 3 8 Chipsee Chipsee Chipsee Chipsee Chipsee Chipsee Chipsee Chipsee Android 4 2 source file including all Chipsee drivers Android 4 2 prebuilt file to make a bootable SD card Linux source file including all Chipsee drivers Linux prebuilt file to make a bootable SD card Angstrom source file including all Chipsee drivers Angstrom prebuilt file to make a bootable SD card Debian prebuilt file to make a bootable SD card Android prebuilt file to update the eMMC 10 Chipsee Linux Angstrom Debian prebuilt file to update the eMMC 2 Development environment requirements Basic configuration requirements of the PC for compiling Android 1 Hard disk at least 50G 2 Memory at least 4G 3 Ubuntu 10 04 64 bit operating system gt chipsee com 3 Android OS This chapter will introduce Android 4 2 OS for Chipsee BeagleBoneBlack board through t his users can quickly understand the hardware resources users can build a c omplete compilation of A
5. 3 Compile the source javac HelloWorld java This will be very slow in Debian OS we suggest do it in your PC you need install jdk 1 6 first 4 Run the program java HelloWorld You will see this Figure 6 2 HelloWorld 1 5 Adding Java program to Quick Start a Make a directory mkdir usr lib java b Copy HelloWorld class to usr lib java cp HelloWorld class usr lib java c Edit script usr bin HelloWorld sh like this bin bash cd usr lib java Java HelloWorld Change the permissions of the script sudo chmod a x HelloWorld sh d Edit file usr share applications javatest desktop like this Desktop Entry 31 e chipsee com Name HelloWorld Comment Simple test for Java Exec usr bin HelloWorld sh Icon usr share pixmaps chipsee png Terminal false Type Application Categories GTK Utility GNOME This is the result debian Figure 6 3 HelloWorld 2 6 Auto Launch Java app Add script 89javatest in directory etc X11 Xsession d bin bash cd usr lib java Java HelloWorld Reboot the app HelloWorld will automatically launch 32 Pchipsee com 7 Customized In this chapter users can change some settings for the systems such as the Logo wh en the OS started 7 1 Logo modify We provide a software to change the Logo we the OS start you can find
6. SecureCRT or Putty or some others in PC Run Serial Port API App to communicate with PC Like Figure 3 6 ttyO5 OMAP SERIAL ttyO4 OMAP SERIAL ttyO3 OMAP SERIAL ttyO2 OMAP SERIAL ttyO1 OMAP SERIAL ttyOO OMAP SERIAL Figure 3 6 Serial settings 2 Push button Send 01010101 you will see something in PC like Figure 3 7 3 Push button Console you can send what you want like Figure 3 8 chipsee com RI S80 Bem Bho fedem Bas ISU Be amp Serial COM38 4b UUUUUUUUUUUUUUUUUUUUUULUUUUULUUUUUUULUUUUULUULUUUUULUULUUULUULUUUUULUUUUUUUUUUUUUUUUUUUUUU JA UUUUUUUUUUULUUULULULULULUUUUUUUUUUUUULULUUUULUULUUULULUULUUUUUULUULUUUUUULULUUUUUUUUUUUUUULUULUUU UUUUUUUUUUUUULUULULULLUULUUUUULUUUUUULUULUULULULUULUUUULUULUULUUULULUULUUUUUULUULUUUUUUUUUUUUUULUUUUU UUUUUUUUUUULUULULULULULULLULUUUUUUUUUUULULUUUUUUUUUUULULUUUUUUUUUUULUUUUUUUULUUUUUUUUUUUUUULUU UUUUUUUUUUULUULULULULULULULUUUUUUUUUULULULUULUULULULUULUUUUUUUULUUUUULULUUULUUULUULUUUUUUUUUUUUUULUUUUU UUUUUUUUULUULUULULULULLULUULUUUUUUUUUULULUUUUULULULUULUULUUUUUUUUUULUULUUUUUULUULUUUUUUUUUUUULUULUU UUUUUUUUUUUUUUULULLULUUUUUUUUUUUULUULUUUULULUULUUUULULUUUUUUULULULUULUUUUUUUULUUUUUUUUUUUULUULUU UUUUUUUUUUUUUUUUULUUUUULULUUUUULLUUUUULULUUUUULULUUUUULULUUUUUULUUUUULUUUUUULUUUUULULUUUUUUUUU UUUUUUUUUUUUULUULULULULULUUUULUUUUUUUULUULUUUUUUUUUUUULULUUUUUUUUUUUULUULUUUUUUUUUUUUUULUUUUU UUUUUUUUULUULUULUULULULULULUUUUULUUULUULULU
7. 1 3 Start the Linux OS ua 14 4 2 MM 15 4 2 1 Touch screen and buzzer test i 15 4 22 Audio and video LOSt 15 42 3 AA Em 16 chipsee com Contents 424 Serlal AE A EE EMEN MEE 16 gt chipsee com 4 3 Build Linux compilation environment ii 17 4 3 1 Prepare Linux ia wa 17 4 3 2 Set Environment Variables ia 17 4 4 Compile and install the Linux system essere 17 4 4 1 Compile DO0t siva 17 44 2 Compile Kernel iui ana iaia 18 44 3 Package image Tile esteem ER TEUER RN EET SEI TE 18 4 4 4 Make bootable SD Card term ret o P eer res 19 445 Start Limux Syste bett et etit itti Gesta 19 4 5 Linux OS Debug rete aio ire 19 4 5 1 View the system infomation via the serial potrt sss 19 LENT 19 Angstrom OS sssi T HH 21 5 1 Getting 21 5 1 1 How to make a bootable SD card esee 21 5 1 2 How to update eMMC with Angstrom OS iii 21 3 1 3 Start the Angstrom OS wisi ecce eher dst cts aver re 21 5 2 22 5 2 1 Touch screen and buzzer test ii 22 5 2 2 Audio Testata eil eee d aee re due OEC E ERR eer Een 22 92 3uSerial estar 22 52 4 NetWork iii iaia 23 2 2 9 D
8. and COM4 And COMI RS232 is used to debug the system b aud rate is 115200 Users can communicate with the OS via it just as Terminal did 2 Serial test Use software SecureCRT or Putty or some others in PC Set baud rate as 9600 echo This is a test gt dev ttyO2 You will see the string in PC then change the ttyO1 to ttyO2 ttyO4 to test 5485 2 6 2 4 Networking ifconfig a You can see the information of CANO eth0 6 2 5 Date and Time Check the system time date Set the system time date 5 2014 03 15 10 30 30 Check RTC hwclock Write RTC hwclock w Modify the time zone such as China In sf usr share zoneinfo Asia Hong_Kong etc localtime 6 2 6 Backlight Modify the file sys class backlight backlight 8 Brightness to change the backlight range from 0 to 100 0 means shutdown the backlight 100 is the MAX value echo 50 gt sys class backlight backlight 8 Brightness 6 2 7 USB Devices USB Wifi module If you want to use USB Wifi module in the system you need to edit the file etc net work interfaces modify the router the login name and password save and reboot Th e system will automatically connect the next time you start the contents are as follo 29 Wifi Example auto wlanO iface wlanO inet dhcp wpa ssid Chipsee router s name wpa psk 1234567890 password
9. be calibrated click on the Chipsee icon on desktop select Calibrate Screen to calibrate Like Figure 4 2 Calibrate Screen Figure 4 2 Resistive touch screen calibration app 4 2 2 Audio and video test Click Multimedia icon on desktop choose MPEG 4 AAC Dec to test You need insert the earphone into expansion board Audio OUT light blue before testing The result like Figure 4 3 MPEG 4 AAC Dec Figure 4 3 Audio and video 15 gt chipsee com 4 2 3 3D test Click 3D icon on desktop choose Film TV to test Like Figure 4 4 Figure 4 4 3D test Film TV 4 2 4 Serial test 1 Connect COMI on board to PC Use software SecureCRT or Putty or some others in PC Click on the Chipsee icon on desktop select SerialTest to run Ser ialTest App to communicate with PC Like Figure 4 5 SerialTest Demo Seriattest COM COM1 OpenSerial Baud rate 115200 Received ClearMSG Figure 4 5 Serial test Note There are only three serial ports available on board one is RS232 COM1 the others are RS485 COM3 and COM4 And COMI RS232 is used to debug the syste m if you want to use it by your own See 6 1 2 Use the debug serial port When you start the test It will send string Succeed in sending message every tw o seconds Click on the SendMSG button it will send string Succeed in sending message manual Every two seconds it will read
10. d the file prebuilt BBB Exp eMMC flasher XXXXXX tar gz in CD 1 Extract prebuilt BBB Exp eMMC flasher XXXXXX tar gz tar xzvf prebuilt BBB Exp eMMC flasher XXXXXX tar gz 2 Go to the folder prebuilt BBB Exp eMMC flasher XXXXXX cd prebuilt BBB Exp eMMC flasher XXXXXX 3 Run the command to make a bootable SD card sudo mksdcard sh device dev sd lt gt system Linux 4 It will finished in about 10 minutes Once done switch SW8 to uSD then insert the SD card and power on the board The screen will be dark 5 Wait for almost 30 minutes when all the four user LEDs on Beaglebone Black stay lit It is done 6 Power off the board pull out of the SD card from Beaglebone Black switch SW8 to eMMC then power on 4 1 3 Start the Linux OS 1 Insert SD card into BeagleBoneBlack 2 Switch SW8 on expansion board to uSD 3 Power on the board Notes You can see the Chipsee Logo it can be changed by using software ChipSee_ LOGO MOD EN exe we provided in the CD shown on the LCD screen It is successful s tart When you see the Linux desktop like Figure 4 1 14 Matrix App Launcher v2 p1 Figure 4 1 Linux desktop 4 2 Tests 4 2 1 Touch screen and buzzer test Click on the screen the mouse arrow stays in position triggered and the buzzer soun ds indicating that touch and buzzer work properly After working for some time resis tive touch screen may not be accurate need to
11. e or mount the shared folder to mnt sudo mount t nfs o nolock localhost qtprojects mnt umount mnt sudo umount mnt 5 Mount NFS on board Create a directory mkdir nfsdir Mount the folder qtprojects in Ubuntu to nfsdir on board mount t nfs lt NFS SERVER IP gt qtprojects nfsdir If you have an executable program like SerialTest under folder qtprojects you ca n run it directly on board nfsdir SerialTest 20 lt gt chipsee com 5 Angstrom OS This chapter will introduce Angstrom OS for Chipsee BeagleBoneBlack board through t his users can quickly understand the hardware resources users can debug the OS via serial and Internet 5 1 Getting start Notes Using the prebuilt file we provided in the CD to test the hardware 5 1 1 How to make a bootable SD card 1 Insert the SD card into your computer if using virtual machines please make sure the SD card mounted to the Ubuntu or other Linux operating system 2 Confirm the SD card mount point dev sdX usually it should be dev sdb You ca n use this command to find out what the X is in the Linux system sudo fdisk I Copy the file prebuilt angstrom XXXXXX rar somewhere such as HOME 4 Extract the file prebuilt angstrom XXXXXX rar 5 Go to the folder prebuilt angstrom XXXXXX cd prebuilt angstrom XXXXXX 6
12. prebuilt BBB Exp Andriod eMMC flasher XXXXXX cd prebuilt BBB Exp Andriod eMMC flasher XXXXXX 3 Run the command to make a bootable SD card 2 gt chipsee com sudo mksdcard sh device dev sd lt gt 4 It will finished in about 10 minutes Once done switch SW8 to uSD then insert the SD card and power on the board The screen will be dark 5 Wait for almost 30 minutes when all the four user LEDs on Beaglebone Black stay lit It is done 6 Power off the board pull out of the SD card from Beaglebone Black switch SW8 to eMMC then power on 3 1 3 Start the Android OS 1 Insert SD card into BeagleBoneBlack 2 Switch SW8 on expansion board to uSD 3 Power on the board Notes The first time starting Android OS will take a little time after this it will be very quick to start the Android You can see the Chipsee Logo it can be changed by using so ftware ChipSee LOGO MOD EN exe we provided in the CD shown on the LCD screen I t is successful start When you see the Android desktop like Figure 3 1 Wis SAT JANUARY 1 Figure 3 1 Android desktop 3 2 Tests 3 2 1 Touch screen test Run MultiTouchTest App Screen will show the number and position of the touch poi nt when touching the screen Resistive screen expansion board only supports single to uch capacitive screen expansion board supports five point touch like Figure 3 2 F chipsee com Figure 3 2 Touch scre
13. the tool in the CD along with our product ChipSee LOGO MOD EN exe It can be used for Android Linux Debian and Angstrom Like Figure 7 1 r LIII I E Browse Execute u boot img Resolution 800x480 SB chipsee com Figure 7 1 Logo modify App 1 Click the first Browse button find the picture file QU WVGA 800x480 gt EN ig WAA v p gay xax av me der ge 3 logo bmp muB amp ze cs KH 0 ca WA E E ca F ata O cs 0 e hoot M Boot LOGO H V360z 360 88 SERENS EEAS u boot img ZZN logo bmp Resolution 800x480 x Execute Bmp files bmp 2 Click the second Browse button find the u boot img file Figure 7 2 Choose the Logo file 33 2 chipsee com gt chipsee com 2 AIR 4 ChipSee Bootup LOGO Mod 7 GO gt HEL gt boot M e 5s 2 boot mar amp He amp xe em BEBE am es E u bootimg 2013 12 7 14 02 HERES ca SUR E XE ca FARA 6 m ca 86 H el CD Manse 0 8 boot M chipsee com Bui Boot LOGO H 360 350 G LESH E Xj Doomas LE aboot img Ni kum boot ing Lm n Resolution 800x460 Execute u bootimg img files img e H FO dE chipsee com Figure 7 3 Choose the u boot im
14. tty6 enter user name root no password Go to chipse e folder start the test Like Figure 5 2 Notes The QtE in Angstrom OS is not working well by now user only can use mo use for the Qt apps cd chipsee ChipseeTest qws 22 Pchipsee com 4 ChipseeTest Px File Global Buzzer Open Close 5 FERRI 2013 4 5 12 40 41 P Volume p Backlight 0 Network m Serial CAN R COM COMI Stop Bits 1 Speed kbps 10000 m Open Reveived oper Data Bits 8 Control Flow None Received Baud 115200 Check Bits None Di ClearMSG fuse inn Figure 5 2 ChipseeTest Note There are three serial ports available on board one RS232 COM1 the others a re RS485 COM3 and COM4 And COMI RS232 is used to debug the system the b aud rate is 115200 2 Serial test at the serial area set Com COM2 set Baud 115200 click on Open It will send string Succeed in sending message every two seconds Click on the SendMSG button it will send string Succeed in sending message manual Every two seconds it will read the received buffer show the result to the received area 5 2 4 Network test Click on Network then click on Ifconfig to view the network information on boa rd click on Refresh to restart the network service it will take five or six seconds to finish Like Figure 5 3 cano Link encap UNS
15. Apr 2013 z m Volume Time 12 39 20 Backlight Exi Time Zone Asia Hong Kong com comi 5 E Baud 115200 Data Bits 8 F a Received OK ClearsG s cose Figure 5 4 Date and Time 5 2 6 Backlight By modifying the size Backlight can change the brightness of the backlight 5 2 7 USB Devices 1 USB webcam If you want to use USB webcam you need to connect the webcam to the board bef ore power on Then choose Application 2Sound amp Video 2Cheese Webcam Booth to ta ke pictures 2 USB Wifi module If you want to use USB Wifi module in the system you need to edit the file var lib connman wifi config modify the router the login name and password save and rebo ot The system will automatically connect the next time you start the contents are as follows Type wifi Name chipsee router s name Security AES security mode Passphrase 1234567890 password 5 3 Build Angstrom compilation environment Notes This work is done under Ubuntu 10 04 64 bit operation system 5 3 1 Prepare Angstrom source 1 Copy the file Angstrom bbb exp source 0210 tar gz to HOME 2 Extract the file cd HOME tar xzvf Angstrom bbb exp source 0210 tar gz 24 gt chipsee com You can find what you need under folder Angstrom bbb exp source 0210 such a s u boot kernel 1 L
16. C with Linux OS 6 1 3 Start Debian OS 1 Insert SD card into BeagleBoneBlack 2 Switch SW8 on expansion board to uSD 3 Power on the board Notes You can see the Chipsee Logo it can be changed by using software ChipSee LOG O MOD EN exe we provided in the CD shown on the LCD screen It is successful start When you see the Debian desktop like Figure 6 1 debian 4 Figure 6 1 Debian desktop 6 2 Tests 6 2 1 Touch screen and buzzer test Click on the screen the mouse arrow stays in position triggered and the buzzer soun ds indicating that touch and buzzer work properly After working for some time resis tive touch screen may not be accurate need to be calibrated choose Preferences 2Ca librate Touchscreen app to recalibrate but it only works this time if you reboot the System you need to do it again You can do it this way delete the file etc pointerc al xinput then reboot You will see the calibrate app first before you access to the s ystem Just calibrate the result will saved 6 2 2 Audio test Start terminal then use command mplayer to test mplayer FILENAME 47 mplayer Music test mp3 28 gt chipsee com 6 2 3 Serial test 1 Connect COMI on board to PC Use software SecureCRT or Putty or some others in PC You will see the system information when the system start Note There are three serial ports available on board one is RS232 COM1 the other s are RS485 COM3
17. Chipsee BeagleBoneBlack Expansion Board User Manual V1 0 2 chipsee com Copyright Chipsee BeagleBoneBlack Expansion Board Development Kit an d related intellectual property rights by the ChipSee Information Tec hnology Co Ltd This document belongs to Chipsee Information T echnology Co Ltd and retain all rights Without the prior written permission of Chipsee Information Technology Co Ltd nobody co uld modify distribute or copy any part of this document Update record Version Date Details v1 0 0 20140222 The initial version v1 0 1 20140316 Debian OS added v1 0 2 20140412 eMMC support added Summary This manual is used to provide users with a fast guide of Chipsee BeagleBone Black expansion board Through this manual users can quickly understand the hardware resources users can build a complete compilation of Android Linux Debian and Angstrom development environment users can debug the OS via serial USB OTG and Internet Chipsee BeagleBoneBlack Development Kit i 1 Development environment requirements tenente 1 Android OS 2 3 1 GP statt 2 3 1 1 How to make a bootable SD card iii 2 3 1 2 How to update eMMC with Android OS sese 2 3 1 3 Start the Android QS ni requerir ed er aep era e une a o Reges 3 SZ p
18. EV 50 SE TE de HEE a 5 Duke PC Bt 4 ZSIR i Android Phone wi E Android ADB Interface S4258 B Figure 3 10 ADB driver 5 Test adb Win r enter cmd test like below gt cd lt ADT gt sdk platform tools gt adb kill server gt adb start server gt adb devices gt adb shell When the prompt appears it means we connect the board with PC successfully bo mess _ iG Android adt bundle windows x86_64 26130917 sdk platform tools gt adb kill server ES C Windows system32 cmd exe shell prm P server not running IG Andro id adt bundle windows x86_64 26136917 sdk platform tools gt adb start serve hs IG Andro id adt bundle windows x86_64 26136917 sdk platform tools gt adb devices List of devices attached 412345678 9ABCDEF device Mindroid adt bundle windows x86_64 29139917 sdkx platform tools gt adb shell eds d id Figure 3 11 ADB Command Now you can use Linux commands like Is and so on Ctrl C to exit the shell return to Windows system 6 Use adb command to install Android App for example Sogoulnput apk gt adb install Sogoulnput apk If there is a Success the app has already installed in Android C Windows system32 cmd exe x MindroidNadt bundle vindous x86 _64 26130917 sdk platform tools gt adb install Sos oulnput apk 972 KB s 11137726 by
19. Hash the Angstrom OS to the SD card sudo mksdcard sh device dev sd lt gt 5 1 2 How to update eMMC with Angstrom OS See chapter 4 1 2 How to update eMMC with Linux OS 5 1 3 Start the Angstrom OS 1 Insert SD card into BeagleBoneBlack 2 Switch SW8 on expansion board to uSD 3 Power on the board Notes You can see the Chipsee Logo it can be changed by using software ChipSee LOG O MOD EN exe we provided in the CD shown on the LCD screen It is successful start When you see the Angstrom desktop like Figure 5 1 21 Figure 5 1 Angstrom desktop 5 2 Tests 5 2 1 Touch screen and buzzer test Click on the screen the mouse arrow stays in position triggered and the buzzer soun ds indicating that touch and buzzer work properly After working for some time resis tive touch screen may not be accurate need to be calibrated firstly remove the file etc pointercal xinput then click on the System Administration 2Calibrate Touchscree n on desktop to calibrate more information you can find Angstrom Resistive Touc hsreen Calibration Steps pdf 5 2 2 Audio test Start terminal then use command mplayer to test mplayer FILENAME such as mplayer chipsee Music AudioTest aac 5 2 3 Serial test 1 Connect COMI on board to PC Use software SecureCRT or Putty or some others in PC Connect keyboard and mouse to the board Then press Ctrl Alt F1 or F3 F6 to get into ttyl tty3
20. Linux OS This chapter will introduce Linux OS for Chipsee BeagleBoneBlack board through this users can quickly understand the hardware resources users can build a com plete compilation of Linux OS development environment users can debug the OS via serial and Internet 4 1 Getting start Note Using the prebuilt file we provided in the CD to test the hardware 4 1 1 How to make a bootable SD card 1 Insert the SD card into your computer if using virtual machines please make sure the SD card mounted to the Linux operating system 2 Confirm the SD card mount point dev sdX usually it should be dev sdb Yo u can use this command to find out what the X is in the Linux system sudo fdisk I 3 Copy the file prebuilt chipsee bbb exp ezsdk 20131210 tar gz somewhere such as HOME 13 gt chipsee com 4 Extract the file Prebuilt chipsee bbb exp ezsdk 20131210 tar gz tar xzvf Prebuilt chipsee bbb exp ezsdk 20131210 tar gz 5 Go to the folder Prebuilt chipsee bbb exp ezsdk 20131210 cd Prebuilt chipsee bbb exp ezsdk 20131210 6 Flash the Linux OS to the SD card sudo mksdcard sh device dev sd lt gt Notes The SD card should be at least 2GB and you d better to use Sandisk Class4 level SD card or above 4 1 2 How to update eMMC with Linux OS Follow the steps in chapter 4 1 1 to make a bootable SD card for eMMC flasher you fin
21. OT startup parameter configuration file ulmage Linux kernel pointercal calibrate date file filesystem Linux filesystem rootfs tar bz2 mksdcard sh SD card installation script REDAME Instructions 18 e chipsee com 4 4 4 Make a bootable SD card 1 Insert the SD card into Ubuntu system 2 Go to folder beagleboneblack cd HOME Chipsee BBB Linux Source 20130902 beagleboneblack 3 Do the command like 4 4 1 How to make a bootable SD card sudo mksdcard sh device dev sd 4 4 5 Start Linux system See 4 1 2 Start the Linux OS 4 5 Linux OS Debug In this chapter we will describe how to view Linux system via the serial port and how to debug program via Internet by using NFS 4 5 1 View the system infomation via the serial port 1 Connect the COMI on board to PC 2 Open software SecureCRT or Putty in Windows 3 Power on the board you can see the serial output of information like Figure 4 6 I serial COM38 SecureCRT X Xx Sim fem Bs Ser JVIX FRI E E Serial COM38 4 b cpsw Hit any key to stop autoboot 0 mmcO is current device SD MMC found on device 0 reading uEnv txt 214 bytes read in 27 ms 6 8 KiB s Loaded environment from uEnv txt Importing environment from mmc Running uenvcmd reading uImage 4134080 bytes read in 422 ms 9 3 MiB s Booting kerne
22. Opposite board to PC gt adb pull testFile txt testFile txt 3 5 3 Adb connect via internet Make sure Ethernet port on board and host machine are connected to the network C heck Ethernet configuration for the board netcfg lo UP 127 0 0 1 255 0 0 0 0x00000049 eth0 UP 192 168 1 117 24 255 255 252 0 0 00001043 1 If Ethernet was not configured configure Ethernet of the board using ifconfig netc fg as shown below netcfg eth0 dhcp 2 Configure the ADB Daemon to use an ethernet connection using setprop as show n below setprop service adb tcp port 5555 3 If network is configured successfully above steps then Restart service adbd on t he target 12 gt chipsee com stop adbd start adbd 4 On the host machine use following commands to establish adb connection adb kill server adb start server adb connect lt target_ip_address gt 5555 5 Verify for device connectivity by executing the following commands If connected find the device name listed as a IPADDRESS PORT adb devices List of devices attached emulator 5554 device 192 168 1 117 5555 device 6 An example of using adb to install software for Android Make sure apk at the current folder and export the adb path adb s 192 168 1 117 5555 install apk Use the argument s to appoint the device over the internet 4
23. PEC HWaddr 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 NOARP MTU 16 Metric 1 RX packets 0 errors 0 dropped 0 overruns 0 frame 0 2 TX packets 0 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 10 RX bytes 0 0 0 B TX bytes 0 0 0 B Interrupt 52 ethO Link encap Ethernet HWaddr E0 C7 9D BC EB 2A inet addr 192 168 1 114 Bcast 255 255 255 255 Mask 255 255 255 0 UP BROADCAST RUNNING ALLMULTI MULTICAST MTU 1500 Metric 1 RX packets 667 errors 0 dropped 181 overruns 0 frame 0 TX packets 2 errors 0 dropped 0 overruns 0 carrier collisions 0 txqueuelen 1000 RX bytes 78429 76 5 KiB TX bytes 656 656 0 B ethl Link encap Ethernet HWaddr E0 C7 9D BC EB 2B BROADCAST MULTICAST MTU 1500 Metric RX packets 0 errors 0 dropped 0 overruns 0 frame 0 TX packets 0 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 1000 RX bytes 0 0 0 B TX bytes 0 0 0 B lo Link encap Local Loopback inet addr 127 0 0 1 Mask 255 0 0 0 UP LOOPBACK RUNNING MTU 16436 Metric 1 RX packets 821 errors 0 dropped 0 overruns 0 frame TX packets 821 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 0 RX bvtes 420139 410 2 KiB TX bvtes 420139 410 2 KiB L ifconfig JL Refresh il Exit J EIS Figure 5 3 Network infomation 52 5 Date amp Time Click the time display area Edit icon to set the time and date like Figure 5 4 23 ha ChipseeTest h Date amp Time Buzzer Opd Date 5
24. PRODUCT zbeagleboneblack OMAPES 4 x sdcard build Notes Once done the results located at HOME Chipsee BBB JB 42 Source XXXXXX out target product beagleboneblack beagleboneblack The content of the directory as d escribed below Boot Images This directory contains all the files needed to start MLO AM335x startup file u boot img U BOOT startup file uEnv txt U BOOT startup parameter configuration file ulmage Android kernel Filesystem Android filesystem rootfs tar bz2 Media Clips Media Files Audio Images Video mkmmc android sh SD card installation script REDAME txt Instructions 3 4 6 Make a bootable SD card 1 Go to the packaged file folder cd HOME Chipsee BBB JB 42 Source XXXXXX out target product beagleboneblack beagleboneblack 2 See 3 1 1 How to make a bootable SD card 3 4 7 Start Android System See 3 1 2 Start the Android OS but this Android OS is pure 3 5 Android system debug in Windows In this chapter we will describe how to view Android system via the serial port and how to debug the system via USB OTG We can also install applications via USB OTG The following operation under Windows 7 x64 environment similar to other Windows platfor 9 chipsee com 3 5 1 View Android system via the serial port 1 Connect the COMI on board to PC 2 Open software SecureCRT or Putty i
25. ULUULLULUUUUULUUUUULUUULULULUUUULUUUUUUUULUUUUUUUUUUUUUULUU UUUUUUUUUUULUULUULULLULLUUUUUUUUUUULULUULUUULULUUUUUULUULUULUUUUUUUUUUUULULUUUUUUUUUUUUUULUULUUU UUUUUUUUUUULUULULULULULULULULUUUUUUUUUULULULUUUULULULULUULUUULUULUUUUULULULUULUUUUUUUUUUUUUUUUUUUUUULUU UUUUUUUUUUULULULULULULLULULULUULUUUUUUUULULUUUUUUUUUUULULUUUUUUUUUUULUUULUUULULUUUUUUUUUUUUUULULU UUUUUUUUUUULUULULULULLUULUUUUUUUUUUUUULLUUUUULULUULULULUULULUUUUUUUUUUULULULUUUUUUUUUUUUUULULULUUU i UUUUUUUUULUULUULUUULLULULUULULUUUUULUUULUULUULULULULULUUULUULUUULUUUULULUUUULUUUUUUUUUUUULUULUUUUUUUULUU UUUUUUUUUUUUUULULULLULUUUUUUUUUUUULULUUUUULUUUULUULULUULUUUUUUULUULUUUUUULUULUUUUUUUUUUUULUULUU UUUUUUUUUUULUULUULULLULULULUUULUULUUULUULULULUULULULUUUULUUUUUUUUULULULULUULUUUUUULUUUUUUUUUUUUUUUULUU UUUUUUUUUUULUULULULULULULLULUUUUUUUUUUULULUUUUUUUUULUULULUUUUUUUUUUULUUUUUULUUUUUUUUUUUUUUUULUU UUUUUUUUUUULUULULULULLUULUUUUUUUUUUULULUULUULULULUULUUUUUUULUUUULUUUUUUUULUULUUUUUUUUUUUUUULUUUUU UUUUUUUUUUULUUUUULULUUUULULLUUUUUULUUUUUULUUUUULULUUUUULULUUUUUUUUUUUULUUUUUULUUUUULULUUUUUUUUU UUUUUUUUUUUUULULULULULUULUUUUUUUUUUUULULUUUUUUUUUUUULUULUUUUUUUUUUUULUULUUUUUUUUUUUUUUUUUUU jf UUUUUUUUUUUUUUUUULUUULUULLUULUUULUUUUUULUUUUULUUUUULUUUUUULUUUUULUUUUUUUUUUULULUUUUUUUUU UUUUUUUUUUUUULULULULULULLUUUULUUUUUUUULULULUUUUUUUUUUUULULUUUUUUUUUUUUULUUUUUUUUUUUUUULUUUUU UUUUUUUUUUULUULUULULULULUUUUULUULUUUUULULU sum Serial COM38 115200 24 33 24f7 807 vT100 27 A Figure 3 7 Serial send t
26. ate Se inc iL ai iene 23 25 2 6 Backlight 2 5 rct b retomar er vest e v 24 DT USB DEVICE RE 24 5 3 Build Angstrom compilation environment iii 24 5 3 1 Prepare Angstrom SOULCE ii aK EE e 24 5 3 2 Set Environment Variables iui 25 5 4 Compile and install the Angstrom system ii 25 544 1 Compile DOOt ii tete Renta e ie Rr ERES be a rete Ep EE Ero 25 5 42 Compile keel uaar 25 544 3 Packase imape Se iii ea 26 2544 Make a bootable SD card uie rte torrent a re eene pensi 26 5 4 5 Start Angstrom System ui 26 5 5 Angstrom OS Debug cette e terre ee eee veteres 27 5 5 1 View Angstrom system via the serial port ii 27 SM HU 27 Debian IA 27 6 1 Getting Stalla 27 6 1 1 How to make a bootable SD card ii 27 6 1 2 How to update eMMC with Debian OS eee 28 6 1 3 Start Debian QS etate ao ir 28 6 2 gcc 28 ee chipsee com 6 2 2 Audioutest a RET att 28 6 2 3 Serial test iet eet mete alari 29 6 2 4 Networking iere ela elena 29 0 2 5 Date ahd Time aaa 29 6 2 6 nua la 29 0 2 7 USB DEVICES E 29 6 3 Debian OS Compile and Debug i 30 6 3 1 View Angstrom system via the serial port ii 30 30 6 4 Java tor Debian E 30 CUSTOMIZED
27. bootargs console ttyO1 115200n8 Change it to ttyO2 or ttyO4 RS485_1 and RS485 2 you can change it to ttyOO then you can use all the three serial ports as normal 2 Stop the service in Angstrom systemctl disable serial getty 2ttyO1 service systemctl stop serial getty ttyO1 service Now you can use the COMI as normal serial port 3 If you want to use COMI as debug serial port you need to edit the file uE nv txt which you can find in the boot partition And start the service systemctl start serial getty ttyO1 service 4 Debian OS Edit the file etc inittab at the end of the file T0 23 respawn sbin getty L ttyO0 115200 vt102 Change it to ttyO2 or ttyO4 RS485_1 and RS485_2 you can add before this line to comment off this line Then you can use all the three serial ports as normal T0 23 respawn sbin getty L ityOO 115200 vt102 7 3 IP address Settings In the three OS for BeagleBoneBlack board The IP address is DHCP if you want to use is used as static You can follow the steps below 1 Android OS Edit the file uEnv txt which you can find in the boot partition w rootfstype ext4 rootwait init init ip off bootargs consolez tty00 115200n8 androidboot console tty00 mem 512M root dev mmcblk0p2 r Edit the red part like this ip lt client ip gt lt server ip gt lt gw ip gt lt netmask gt lt hostname gt lt device gt l
28. el folder cd Chipsee BBB JB 42 Source XXXXXX kernel 2 Clear the result compiled before make distclean 3 Configure the compile options make am335x evm android defconfig 4 Compile uImage make ulmage Notes Once done you can find the result ulmage under kernel arch arm boot 3 4 3 USB WiFi If you need the function USB WiFi you can do this steps or go to the next Compile Android Filesystem 1 Go to WiFi folder cd Chipsee BBB JB 42 Source XXXXXX wifi rtl8192cu_beaglebone 2 Compile make Notes Once done you can find the result 8192cu ko in the current directory youc can copy the file to the Android OS root partition directory system lib modules 3 4 4 Compile Android Filesystem 1 Go to Android source folder cd Chipsee BBB JB 42 Source XXXXXX 2 Compile the Android Filesystem This case can be compiled according to the host sy stem of multi threaded CPU cores lt N gt usually 2 times the number of CPU cores make TARGET_PRODUCT beagleboneblack OMAPES 4 x lt gt chipsee com Notes Once done the results located at HOME Chipsee BBB JB 42 Source XXXXXX out target product beagleboneblack including both root and system directories 3 4 5 Package image file 1 Go to Android source folder cd Chipsee BBB JB 42 Source XXXXXX 2 Package image file make TARGET
29. en test Capacitive 3 2 2 GPIO test buttons The keys on expansion board is defined as shown in Figure 3 3 Figure 3 3 Buttons on board 3 2 3 Buzzer test Run ChipseeBuzzer App push OpenBuzze button the buzzer will continue to sound push CloseBuzzer button to stop it 3 2 4 Gravity sensor function test 1 Gravity sensor can be tested by whirling the screen 2 Run SensorList App in the option Analog Device 3 axis accelerometer You ca n see real time changes of the three axis acceleration value curve like Figure 3 4 insor Li Analog Device 3 axis accelerometer Figure 3 4 Real time acceleration curve 3 Use gravity sensing game to test such as NFS shift or aTilt 3D laby If usin g NFS shift pleas run ChipseeSensorTool app to adjust the direction of the axis 4 gt chipsee com select Invert X axis and Swap X Y axes if other games please adjust the settin gs as default 3 2 5 Audio input and output test Insert the microphone and earphone into expansion board Audio IN pink Audio OU T light blue interface Start Talking Tom App Tom Cat speak into the microphon e Tom cat will repeat spoken content 3 2 6 Video test Run Gallery App choose Video select Transformers Dark of the Moon 2011 720p a vi like Figure 3 5 Figure 3 5 Video test 3 2 7 Serial test 1 Connect COMI on board to PC Use software
30. est Chipsee serial test Figure 3 8 Serial receive test 3 3 Build Android4 2 compilation environment Notes This work is done under Ubuntu 10 04 64 bit operation system 3 3 1 Install the required packages sudo apt get install git core gnupg flex bison gperf build essential zip curl zlib1g dev libc6 dev lib32ncurses5 dev ia32 libs X11proto core dev libx11 dev lib32readline5 dev lib32z dev libgl1 mesa dev g multilib mingw32 tofrodos python markdown libxml2 utils xsltproc minicom tftpd uboot mkimage expect Notes Ensure the PC is connected to the Internet 3 3 2 Install Oracle JDK 6 1 Copy the file jdk 6u45 linux x64 bin to HOME 2 Do the commands shown below F chipsee com chmod a x jdk 6u45 linux x64 bin jdk 6u45 linux x64 bin sudo mkdir p usr lib jvm sudo mv jdk1 6 0 45 usr lib jvm sudo update alternatives install usr bin java java usr lib jvm jdk1 6 0 45 bin java 1 sudo update alternatives install usr bin javac javac usr lib jvm jdk1 6 0 45 bin javac 1 sudo update alternatives config java sudo update alternatives config javac 3 3 3 Prepare Android source 1 Copy the file Chipsee BBB JB 42 Source XXXXXX tar gz to HOME 2 Extract the file cd HOME tar xzvf Chipsee BBB JB 42 Source XXXXXX tar gz You can find what you need under folder Chipsee BBB JB 42 Source XXXXXX such as u b
31. g file 3 Choose the resolution click Execute Fr T ChipSee Bootup LOGO Mod cec X Success modified bootup LOGO Boot LOGO H 360 13605 FRY u boot img M u boot img Resolution 800x480 or ane chipsee com Figure 7 4 Change the Logo successful 4 Insert the SD card power the board the Logo will be replaced 7 2 Use the debug serial port In the four OS for BeagleBoneBlack board The COM1 RS232 is used as debug serial p ort users can communicate with the OS via it just as Terminal did If users want to use it as normal serial port this chapter will show how to change it 1 Android OS Edit the file uEnv txt which you can find in the boot partition bootargs console ityO1 115200n8 androidboot console ttyO1 Change it to ttyO2 or ttyO4 RS485_1 and RS485 2 you can change it to ttyOO then you can use all the three serial ports as normal bootargs console tty00 115200n8 androidboot console ttyO0 2 Linux OS Edit the file etc inittab around line 31 34 gt chipsee com S 2345 repawn sbin getty 115200 ityO1 Change it to ttyO2 or ttyO4 RS485_1 and RS485_2 you can add before this line to comments off this line Then you can use all the three serial ports as normal S 2345 repawn sbin getty 115200 ttyO1 3 Angstrom OS 1 Edit the file uEnv txt which you can find in the boot partition
32. he Linux system Through the above settings it is ready to compile Linux system please refer to the follo wing chapter 4 4 1 Compile u boot 1 Go to u boot folder cd Chipsee BBB Linux Source 20130902 u boot 17 F chipsee com 2 Clear the result compiled before d am335x amp amp rm rf am335x 3 Compile u boot make O am335x am335x evm Notes Once done you can find the results under folder HOME Chipsee BBB Linux Source 20130902 u boot am335x such as MLO u boot img 4 4 2 Compile kernel 1 Go to kernel folder cd Chipsee BBB Linux Source 20130902 kernel 2 Clear the result compiled before make distclean 3 Configure the compile options make am335x evm defconfig 4 Compile uImage make ulmage Notes Once done you can find the result ulmage under kernel arch arm boot 4 4 3 Package image file 1 Go to Linux source folder cd Chipsee BBB Linux Source 20130902 2 Do the command to package the files sdcard_build sh directory beagleboneblack Notes Once done the results located at HOME Chipsee BBB Linux Source 2013090 2 beagleboneblack The content of the directory as described below boot This directory contains all the files needed to start MLO AM335x startup file u boot img U B00T startup file uEnv txt U BO
33. ice dev sd lt gt 5 4 5 Start Angstrom system See 5 1 2 Start the Angstrom OS 26 lt gt chipsee com 5 5 Angstrom OS Debug 5 5 1 View Angstrom system via the serial port See 4 5 1 View the system infomation via the serial port 5 5 2 NFS See 4 5 2 NES 6 Debian OS This chapter will introduce Debian OS for Chipsee BeagleBoneBlack board through this users can quickly understand the hardware resources users can debug the O S via serial and Internet 6 1 Getting start Notes Using the prebuilt file we provided in the CD to test the hardware 6 1 1 How to make a bootable SD card l Insert the SD card into your computer if using virtual machines please make sure the SD card mounted to the Ubuntu or other Linux operating system 2 Confirm the SD card mount point dev sdX usually it should be dev sdb You ca n use this command to find out what the X is in Angstrom system sudo fdisk I 3 Copy the file prebuilt debian XXXXXX tar gz somewhere such as HOME 4 Extract the file prebuilt debian XXXXXX tar gz tar zxfv prebuilt debian XX XXX X tar gz 5 Go to the folder prebuilt debian XXXXXX cd prebuilt debian XXXXXX 6 Hash the Angstrom OS to the SD card sudo mksdcard sh device dev sd lt gt 27 e chipsee com 6 1 2 How to update eMMC with Debian OS See chapter 4 1 2 How to update eMM
34. inux file system HOME Angstrom bbb exp source 0210 filesystem 2 Linux kernel source HOME Angstrom bbb exp source 0210 kernel 3 U boot source HOME Angstrom bbb exp source 0210 u boot 4 Cross compiler tools HOME Angstrom bbb exp source 0210 gcc linaro arm linu x gnueabihf 4 7 2013 04 20130415 linux 5 3 2 Set Environment Variables Go to the source folder export the environment variables cd Angstrom bbb exp source 0210 source setEnv sh Notes For ease of use The environment variable settings related are written in setEnv sh script and run the script only after the current terminal is valid when the terminal closed environment variable itself is lost so in the new terminal need to re run the scri pt when Android compiled And the content of the script is as follows export PATH pwd gcc linaro arm linux gnueabihf 4 7 2013 04 20130415 linux bin PATH export CROSS COMPILEzarm linux gnueabihf export ARCH arm 5 4 Compile and install the Angstrom system Through the above settings it is ready to compile Angstrom system please refer to the fo llowing chapter 5 4 1 Compile u boot 1 Go to u boot folder cd Angstrom bbb exp source 0210 u boot 2 Clear the result compiled before d am335x amp amp rm rf am335x 3 Compile u boot make O am335x am335x_evm Notes Once done you can find the results under folder am335x such as MLO
35. l from Legacy Image at 81000000 Image Name Linux 3 2 0 00244 gcf99001 dirty Image Type ARM Linux Kernel Image uncompressed Data Size 4134016 Bytes 3 9 MiB Load Address 80008000 81 Point 80008000 veritying Checksum OK Loading Kernel Image OK Starting kernel di mem Serial COM38 115200 24 1 2445 80 VT100 Figure 4 6 Serial output 4 When the system is fully booted you can communicate with it user root no pass word 4 5 2 NFS Embedded Qt has been in Linux system The development environment is Ubuntu12 04 m ore information you can find in CD we provided User Guide For Embedded Qt docx We assume the development environment is ready 19 gt chipsee com 1 Install NFS in Ubuntu sudo apt get install nfs kernel server Configure the file etc exports add this at the end of file qtprojects rw sync insecure no subtree check Note qtprojects the shared folder in Ubuntu system allows all other PC to get access to this system rw means this folder can be read and write by NFS client sync synchronous write memory and hard disk insecure sent message through the port above 1024 no subtree check no check the parent directory permissions 3 Restart NFS service sudo etc init d portmap restart sudo etc init d nfs kernel server restart 4 Test showmount
36. ment Variables button and in the dialog that comes up double clic k on Path under System Variables Add the full path to the tools directory to the path 4 Install Android USB driver Copy the folder usb driver in CD to ADT folder Boot the board as normal and wait until shell prompt is available micro B USB cable m ust be disconnected Connect micro B USB cable between board and Windows PC If it is proceeding as planned Windows will tell you it found a new hardware asks yo u to install the driver Install driver that was downloaded as described in step 3 above Answer No not this time to the question about running Windows Update to search for software Choose Install the hardware that I manually select from a list Advanced this is the 2nd option then click Next Select Show All Devices then click Next You are going to see a grayed out text box with Retrieving a list of all devices cli ck the Have Disk button Browse to your driver folder lt ADT gt usb_driver It will be looking of a inf file so s 10 chipsee com elect android winusb inf and click Open then OK It s the only file there so you sho uldnt go wrong Select Android ADB Interface then click the Next button A warning will appear answer Yes but read the warning anyway Click the Close when the wizard is completed Now you can see the driver is installed successfully link Figure 3 10 XI BFA Z
37. n Windows 3 Power on the board you can see the serial output of information like Figure 3 9 IB serial COM38 SecureCRT mg x Xf S0 SEM BRO fem Bas 88b 39 S3 C3 520 23 A aug ER eH 9 Serial COM38 4 b cpsw Hit any key to stop autoboot 0 mmc0 is current device SD MMC found on device 0 reading uEnv txt 214 bytes read in 27 ms 6 8 KiB s Loaded environment from uEnv txt Importing environment from mmc Running uenvcmd reading uImage 4134080 bytes read in 422 ms 9 3 MiB s Booting kernel from Legacy Image at 81000000 Image Name Linux 3 2 0 00244 gcf99001 dirty Image Type ARM Linux Kernel Image uncompressed Data Size 4134016 Bytes 3 9 MiB Load Address 80008000 ek Point 80008000 verifying Checksum OK Loading Kernel Image OK Starting kernel E mS Serial COM38 115200 24 1 247 807 VTI00 Figure 3 9 Serial output 4 When the system is fully booted you can communicate with it 3 5 2 Adb connect via USB OTG 1 Install Oracle JDK 6 for Windows 2 Install ADT Download the file here http developer android com sdk index html Extract the file somewhere named ADT Adb command located lt ADT gt sdk platform tools 3 Optionally you may want to add the location of the SDK s primary tools directory to your system PATH Right click on My Computer and select Properties Under the Advanc ed tab hit the Environ
38. ndroid OS development environment users can deb ug the OS via serial USB OTG and Internet 3 1 Getting start Notes Using the prebuilt file we provided in the CD to test the hardware 3 1 1 How to make a bootable SD card 1 Insert the SD card into your computer if using virtual machines please make sure the SD card mounted to the Linux operating system 2 Confirm the SD card mount point dev sdX usually it should be dev sdb You ca n use this command to find out what the X is in the Linux system sudo fdisk I 3 Copy the file Prebuilt JB Chipsee BBB EXP XXXXXX tar gz somewhere such as HO ME 4 Extract the file Prebuilt JB Chipsee BBB EXP XXXXXX tar gz tar xzvf Prebuilt JB Chipsee BBB EXP XXXXXX tar gz 5 Go to the folder Prebuilt JB Chipsee BBB EXP XXXXXX cd Prebuilt JB Chipsee BBB EXP XXXXXX 6 Flash the Android OS to the SD card sudo mkmmc android sh dev sd lt gt Notes The SD card should be at least 2GB and you d better to use Sandisk Class4 level SD card or above 3 1 2 How to update eMMC with Android OS Follow the steps in chapter 3 1 1 to make a bootable SD card for eMMC flasher you fin d the file prebuilt BBB Exp Andriod eMMC flasher XXXXXX tar gz in CD 1 Extract prebuilt BBB Exp Andriod eMMC flasher XX X XXX tar gz tar xzvf prebuilt BBB Exp Andriod eMMC flasher XXXXXX tar gz 2 Go to the folder
39. oot kernel 1 Android file system source HOME Chipsee BBB JB 42 Source XXXXXX 2 Android kernel source HOME Chipsee BBB JB 42 Source X XX XX X kernel 3 U BOOT source HOME Chipsee BBB JB 42 Source XXXXXX u boot 4 Cross compiler tools HOME Chipsee BBB JB 42 Source X XX XX X prebuilts gcc linux x86 arm arm eabi 4 6 bin 3 Set Environment Variables cd Chipsee BBB JB 42 Source XXXXXX source set_env sh Notes For ease of use The environment variable settings related are written in set_env sh script and run the script only after the current terminal is valid when the terminal closed environment variable itself is lost so in the new terminal need to re run the scri pt when Android compiled And the content of the script is as follows export PATH PATH usr lib jvm jdk1 6 0_45 bin export PATH PATH pwd prebuilts gcc linux x86 arm arm eabi 4 6 bin export ARCH arm export CROSS_COMPILE arm eabi 3 4 Compile and install the Android system 3 4 1 Compile U BOOT 1 Go to u boot folder cd Chipsee BBB JB 42 Source XXXXXX u boot 2 Clear the result compiled before F chipsee com make distclean 3 Configure the compile options make am335x evm config 4 Compile u boot make Notes Once done you can find the results under folder u boot such as MLO u boot img 3 4 2 Compile kernel 1 Go to kern
40. t autoconf gt lt dns0 ip gt lt dns1 ip gt For example w rootfstype ext4 rootwait init init ip 192 168 1 111 255 255 0 0 bootargs console ttyO0 115200n8 androidboot console ttyOO memz512M root dev mmcblk0p2 r Linux and Debian OS Edit the file etc network interfaces like this auto eth0 iface eth0 inet static 35 gt chipsee com address 192 168 1 111 gateway 192 168 1 1 netmask 255 255 0 0 Restart the network service etc init d networking restart About us Chipsee Information Technology Co Ltd Room 1004 Mansion Haojing 3 Zhichun Road 108 Haidian District Beijing China 100080 TEL 86 10 62561127 E Mail service chipsee com Web www chipsee com 36
41. tes in 3 659s gt pkg data local tmp Sogoulnput Success Mindro id adt bundle windows x86 _64 26130917 sdk platform tools gt Figure 3 12 Install App 7 Use adb command to uninstall App 1 Uninstall user app such as Sogoulnput apk Use command pm list to get the full nam e of the app like Figure 3 13 Then use command uninstall to uninstall the app 11 s chipsee com adb shell pm list packages adb uninstall com sohu inputmethod sogou imangi templerun2 miian android sensors outfit talkingtompro powervr 0GLES2Chame leonMan powervr 0GLES2Coverf low pouerur OGLES2Shaders povervr OGLESUase rovio angrybirds sohu inputmethod sogou TTOMISTONTPICO com the5iiplus MultiTouchTester tcom ti android apps launcher Figure 3 13 Command pm list to get app s name 2 Uninstall default app Use adb shell to log in the board and delete the apk file gt adb shell cd system app Is rm Browser apk 8 Use adb command to transport files between board and PC adb pull and adb push 1 Board to PC lt remote gt is the file or folder on board lt local gt is the file or fold er in PC gt adb pull lt remote gt lt local gt 2 PC to board gt adb push lt local gt lt remote gt For example copy lt ADT gt sdk platform tools chipsee txt to board gt adb push chipsee txt chipsee txt
42. the received buffer show the res ult to the received area 16 gt chipsee com 4 3 Build Linux compilation environment Notes This work is done under Ubuntu 10 04 64 bit operation system 4 3 1 Prepare Linux source 1 Copy the file Chipsee BBB Linux Source 20130902 tar gz to HOME 2 Extract the file cd HOME tar xzvf Chipsee BBB Linux Source 20130902 tar gz You can find what you need under folder Chipsee BBB Linux Source 20130902 such as u boot kernel 1 Linux file system HOME Chipsee BBB Linux Source 20130902 filesystem 2 Linux kernel source HOME Chipsee BBB Linux Source 20130902 kernel 3 U boot source HOME Chipsee BBB Linux Source 20130902 u boot 4 Cross compiler tools SHOME Chipsee BBB Linux Source 20130902 linux devkit b in 4 3 2 Set Environment Variables Go to the source folder export the environment variables cd Chipsee BBB Linux Source 20130902 source set env sh Notes For ease of use The environment variable settings related are written in set env sh script and run the script only after the current terminal is valid when the terminal closed environment variable itself is lost so in the new terminal need to re run the scri pt when Linux compiled And the content of the script is as follows export PATH PATH pwd linux devkit bin export ARCH arm export CROSS COMPILEzarm arago linux gnueabi 4 4 Compile and install t

Download Pdf Manuals

image

Related Search

Related Contents

Test Equipment  Le défibrillateur automatisé externe : Mode d`emploi  AUTOMEZZI - vvfnapoli.it  87/708 Clock - Vorne Industries, Inc.  Manuale di prima installazione Elettropompe sommergibili ad  

Copyright © All rights reserved.
Failed to retrieve file