Home

AT91SAM9G45-EVK Android User Manual

image

Contents

1. 3 1 Configure and compile Android cd Android 2 3 1_r1 Notice we are using the same package name as used in section 2 2 make clean source build envsetup sh partner_setup sam9g45 choosecombo Device release sam9g45 eng make 3 2 Making jffs2 file cd Android 2 3 1 r1 tar xvjf Generate_jffs2_image tar bz2 cd Generate ffs2 image J ffs2 sh b sam9g45 4 3 This assign the LCD size Chapter 4 Download Linux images to ATMEL SAM9G45 ARM Board 4 1 Install download tools Please refer to the 03 tools SAM BA sam ba install 4 2 Connect ATMEL SAM9G45 ARMO9 Board with SAM BA 4 2 1 Install AT91SAM9G45 EVK s USB driver Please refer to 03 tools SAM BA the board driver install 4 2 2 Connect the ATMEL AT91SAM9G45 EVK ARM9 Board First you should open the JP2 jumper wire then double click the SAM BA v2 9 icon in the PC s desktop then it will display the dialog inj SAN BA 2 9 BEE Select the connection Susb s ARM Select your board at samdq 5 ek Connect Exit Click Connect to connect the ATMEL AT91SAM9G45 EVK ARMS Board with Scand close the JP2 jumper wire 4 3 Download Linux images 4 3 1 Auto download After following step 2 1 and step 2 2 open the 02 lmages Linux_images AT91SAM9G45 EVK Linux 4 3 LCD click on download bat file By this SAM BA will start downloading the Linux images to the board automatically please be patient it may take longer then 3min Af
2. C asci C bt C 16 bit 32 bit lintos Apply 0x00300000 OxE amp 000014 OxEAFFFFFE OxEADODO063 OxEAFFFFFE E Ox00300010 OxEAFFFFFE OxEAFFFFFE QOxEAFFFFFE OxE3A0DOO8 Ox00300020 OxESSBDiZ8 OXxESSADO4C OxES29CD004 OxEZi1DDOOi step 1 4 k DDRAM DataFlash AT45DB DCB EEPROM AT24 NandFlash NorFlash SRAM SerialFlash AT25 4 step 4 step 2 Download pload File Send File Name 9645 Android 4 3 at samS3g45 Android 2 3 1 11 verl Oj G Send File step 3 Receive File Name Receive File Address 0500000 Size For Receive File 0x1 000 bute z Compare sent file with memory Scripte Send Boot File Execute step 5 Ox20000 bytes written by applet Writing Ox20000 bytes at Ox2E60000 buffer addr Ox70003440 Ox20000 bytes written by applet ATQ1 ISP v1 13 1 96 E Chapter 5 How to use the Android System 5 1 How to mount amp use SD card gt First insert the SD card into the SD slot No service 00 96 Friday January 2 Connect your charger gt Once SD card inserted amp detected you will see SD card message on top left side of your screen SD card safe to remove No service 00 50 Friday January 2 Connect your charger gt To unlock the screen press the user1 key OR use the F1 key of usb keyboard if connected See all your apps Touch the Launcher icon Browser Calculato
3. Linux images to ATMEL SAM9G45 ARM9 Board 8 4 1 Install download 160lS m aid oe Users tgas 8 4 2 Connect ATMEL SAM9G45 ARMO Board with SAM BA esee 8 4 2 1 Install AT91SAM9G45 EVK s USB dliVeTF ooccccccooccccccnoccnnccnoconononaconnnnnanoos 8 4 2 2 Connect the ATMEL AT91SAM9G45 EVK ARMS Board 8 4 3 Download LINUX IMages cccococcccccoccnccccnnnoconnnonannnonnnnnnnnnnnnonarnnonnnnnonnnnnnnnnnnnnnos 8 4 3 1 Auto dowhload errori roma eee nto ia brote onn eet 8 4 3 2 Manual dOwnNl0A2D occccoccccccoccnccoccnconocononacononanononnnnnononcncnnnrononanononnnenos 8 Chapter 5 How to use the Android System occccccconnccnnccononccnnncnnnnnnnnnnnnnnnnnonnnnnnancnnnnnos 5 5 1 How to mount amp use SD Cal l occoocncccocncccocnnccnccncconononononcnononcnononnenonanennnnncnnnas 5 5 2 Using USB KEV DO ANC ice ite a is sa iii i e ios 7 5 3 Testing AUdio OU Usos seriales aritnio cad 7 5 4 Testing Ethernet CONNECTION cccccsececsseceneeeeessseeessaeeestaeesseeeenaaeeeneesessaes 9 5 5 Testing VVI F Il COMNECHON suscrita ico 11 Appendix A After sales Service ooocccccoconcnncococononononononnnnnonnononcnnnonancnnonnnnnncnnennnnnonnns 14 USIOMEI Se VIGO RET 14 Technical SU ojoje g a PP 14 pe S Spy 14 Chapter 1 How to install amp compile Linux source 1 1 First build the working
4. connection here we have selected the Embest wireless network LFiseitings Wi Fi Network notification Notify me when an open network is available Wi Fi networks Embest ChinaNet gt After configuring Wi Fi open the browser and input www2 atmel com http www2 atmel com Support Community Cart veg DT Products Applications Technologies Video About Atmel Buy Find It Documents Tools Products By Device Microcontrollers 369 a eTouh 7 B e Memory 105 Atmel QTouch e Automotive 167 a 3 4 e Wireless 33 e REGIE MN w More Products 191 nive C 74 E T p Huijding Automation 215 Bring Your Products to Market Sooner B Home Appllanses 1400 A Home Entertainment 245 Learn More A Industria Automation 507 Buona ET If it opens the webpage then Wi Fi is working and tests successfully Appendix A After sales Service Customer Service Please contact Premier Farnell local sales and customer services staffs for the help Website http www farnell com Technical Support Please contact Premier Farnell local technical support team for any technical issues through the telephone live chat 4 mail or post your questions on the below micro site we will reply to you as soon as possible Centralized technical support mail box knode tech delement14 com Community http www element14 com community community knode dev_ platforms kits Please visit the
5. 00 bytes Writing 020000 bytes at 0x60000 buffer addr 0x700034 40 Ox20000 bytes written by applet ATO1 ISP v1 13 1 96 elem e nt IU www elementi4 com v Follow the below steps to download ulmage Address 0x200000 lind 5AM BA Fa at91sam9g45 ek ioj xi File Script File Link Help at31samS3m1U Memory Display Start Address 04300000 Refresh Pipas format AP E DEDY Seeinbye ndnn ls asci C Sbi C 16 bit 32 bit frs E Ox00300000 OxEA000014 OxEAFFFFFE OxXEAOOOO63 OxXEAFFFFFE E Ox00300010 OxEAFFFFFE OxEAFFFFFE OxEAFFFFFE OxE3A0D008 Ox00300020 OxESSBD128 OxXES9ADO4C DxXESSCDO04 OxEzippool step 1 4 k step 2 DDRAM DataFlash AT45DB DCB EEPROM AT24 NandFlash NorFlash SRAM SerialFlash A step 4 P uuu EE EI step 3 Send File Name F EB 5AM9G45 Android 4 SendFile E i ile Hame Receive File step 5 Address o 200000 Size For Receive File osi 000 bute z Compare sent file with memory Scripte Send Boot File r Execute Ox20000 bytes written by applet Writing 0x1046 bytes at Ox3E0000 buffer addr Ox700034 4 0 Ox1D46C bytes written by applet ATO1 ISP v1 13 1 96 v Follow the below steps to download at91sam9g45 Android 2 3 1 r1 ver1 0 jffs2 Address 0x500000 lind 5AM BA 2 9 at91sam9g45 ek 3 File Script File Link Help at31samSm1U Memory Display Start Address Ox300000 Refresh Pila format EB uc EOS byte s Ox100
6. AT91SAM9G45 EVK Android User Manual CINDROID elementiu mess AMEL Revision History 1 0 2011 05 27 Initial version elem e nt IU www elementi4 com Catalogue Chapter 1 How to install amp compile Linux source cccooncccccncncococnconocononononononenonnnnnnnnnnos 4 1 1 First build the working directory ccooocccccoccncccnnnnccononononcncnnanononononononenonnnnnnonos 4 1 2 Install the cross compiler tOO S ooccoconccconcocononononoconononnncconnnonnnnonanconanoss 4 1 3 Install and compile AT91 Bootstrap ooccccconnnccncnnccnocnconncnnonononononononnnenonnacononanos 4 1 4 Install and compile U DOO ccooocccccoccncccccnncconononononononcncnnnnnnononononnnenononennonos 4 1 5 Install and compile Linux source code cccccseeeeeeeeeeeeeeseeeeeseaeeeeeeseaeeeeeneaes 5 Chapter 2 How to install Android compiler EnvirOnMent ecccececseeeeeeeeeeaeseeeees 6 2 1 First install the environment ccccccceececeeeeeeeeecseeeseeeeseeeseueeeeeesaueeesneeesaees 6 2 2 Download the Android source code eese 6 2 9 Installing the patch COGS S acicate 6 Chapter 3 How to compile Android system ooccccccocccnccccnnnnccnnncononnonnnnnnnanoncnnnnnnnnnnons 7 3 1 Configure and compile Android cccccooccnncccoccnncccoccnnononccnnononcnnnonancnnnonancnnnos 7 S2 Maa E E A ee se ene eee 7 Chapter 4 Download
7. C for p in 2 6 30 at91 exp 4 do patch p1 lt p done patch p1 lt 07 Anriod Source patch Kernel patch andriod all patches diff Configure the file according to the LCD size LCD type Configure file LCD 4 3 AT91SAM9G45 EVK 4 3LCD Android LCD 7 0 AT91SAM9G45 EVK 7 0 LCD Android LCD 10 2 AT91SAM9G45 EVK 10 2 LCD Android cp arch arm configs AT91SAM9G45 EVK 4 3LCD Android config Compile make ARCH arm menuconfig make ulmage ARCH arm CROSS _COMPILE usr local arm 2007q1 bin arm none linux gnueabi Chapter 2 How to install Android compiler environment 2 1 First install the environment See http source android com source initializing html Notice Select JDK version 1 6 2 2 Download the Android source code See http source android com source downloading html Note we have offered the andriod 2 3 1 r1 version patches so use the command as follows repo init u git android git kernel org platform manifest git b Android 2 3 1 r1 2 3 Installing the patch codes Build a working directory package in the section 2 2 we assume that the package name is Android 2 3 1 r1 gt Copy 07 Android patch Android Patch atmel tar bz2 to Android 2 3 1 r1 device and execute the command as follows cd Android 2 3 1 r1 device tar xvjf atmel tar bz2 gt Copy 07 Android patch Generate jffs2 image Generate jffs2 image tar bz2 to Android 2 3 1 r1 Chapter 3 How to compile Android system
8. FE OxEAFFFFFE xEAFFFFFE OxE53A40DO005 0x00300020 xESSBDi1zG xESSAD A4C OxE592D004 OxEz1DD001 r 4 k DDRAM DataFlash AT45DB DCB EEPROM AT24 NandFlash MorFlash SRAM SerialFlash AT25 AT26 Download Upload File Send File Name Send File step 2 Receive File Name Receive File Addrezz 0x0 Size For Hecerve File m O00 byte z Compare sent file with memory step 1 cripts AAA step 3 a Writing 0x1478 bytes at 0x0 buffer addr I x1475 bytes written by applet lator ISP v1 13 1 Ox FO003AA0 Note Step 1 choose Send Boot File Step 2 Execute and you can pick up the file nandflash_at91sam9g45ekes bin Step 3 Download nandflash_at91sam9g45ekes bin successfully elem e nt IU www elementi4 com v Follow the below steps to download u boot bin lid 5AM BA 2 9 at91sam9g45 ek File Script File Link Help at31samSm1U Memory Display Start Address oxanonno Refresh Applet traces on DEGU Size in bute s fo infos E Apply 000300000 OxE amp 000014 xEAFFFFFE OxE amp 000063 xEAFFFFFE 0x00300010 OXEAFFFFFE OXEAFFFFFE OXEAFFFFFE OxES AODOOS 000300020 OxES5SSBD1Z5 OxE5S94D04C OxES5S29cDb004 OxEZ 1DDbo001 m step 1 up wr M Ee J Display format C asci O Bbit 16 bit 32 bit step 2 DBRAM DataFlash AT45DB DCB EEPROM AT24 NandFlash NorFlash SRAM SerialFlash AT257 step 4 Pri
9. TQL ISP v1 13 1 96 v From this console select NandFlash then execute the enable NandFlash script as shown below elem e nt IU www elementi4 com 5AM BA 2 4 at91sam9g45 ek 3 s Gi File Script File Link Help a91 sam9m10 Memory Display Start Address 0 300000 Refresh Display format Size in byte s 0x100 C ascii C Bbi C 16 bit 32 bit 000300000 OxXE4A000014 xEAFFFFFE OxE amp 000063 xEAFFFFFE 000300010 OXEAFFFFFE 000300020 xE55EBL1 G xEAFFFFFE xEAFFFFFE OxESAO0DODS xESSADUAC OxESoCDOO4 SSeS OxEz 1DD001 DDRAM DataFlash AT45DB DCB EEPROM AT24 NandFlash NorFlash SRAM SerialFlash AT25 AT26 Download Upload File Send File Name zm step 2 ts Send File celve File Name Receive File SS Size For Receive File o O41 000 byte z Compare sent file with memory Scripts step 1 step 3 T E nitalzatin done EY E Note Step 1 Enable Nandflash Step 2 Execute Step 3 Successfully Enable NandFlash Y Now follow the below steps to download nandflash at91sam9g45ekes bin lay SAM BA 2 9 at lsam g45 ek File Script File Link Help at zamAm1i O Memory Display Start Address x300000 ERE Display format Applet traces on DEGU Size in byte s 0x100 C aci B amp bit 16 bit e 32 bit fmm 0x00300000 OxE4A000014 xEAFFFFFE xEADOO00863 OxEAFFFFFE 0x00300010 xEAFFFF
10. below micro site to download the latest documents and resources code http www element14 com community community new technology at91sam9g45 evk Notes This board was designed by element14 s design partner Embest you can contact them to get the technical support as well Marketing Department Tel 86 755 25635656 25638952 Fax 86 755 25616057 E mail market embedinfo com Technical Support Tel 86 27 87290817 E mail support en embedinfo com URL http www embedinto com en
11. directory it mkdir home Linux cd home Linux Copy 05 Linux Source and 07 Anriod Source to the package of home Linux Please do not modify the package name 1 2 Install the cross compiler tools tar xvjf 05 Linux Source Official Code Cross Tool arm 2007q1 10 arm none linux gnueabi tar bz 2 C usr local 1 3 Install and compile AT91Bootstrap Install unzip 05 Linux Source Official Code AT91 Bootstrap Bootstrap v1 14 zip Compile cd Bootstrap v1 14 board at91sam9g45ekes nandflash make clean make CROSS_COMPILE usr local arm 2007q1 bin arm none linux gnueabi Is Now you can see the file nandflash at91sam9g45ekes bin we have successfully installed amp compiled AT91Bootstrap 1 4 Install and compile U boot Install tar xvjf 05 Linux_Source Official_Code u boot u boot 1 3 4 tar bz2 C cd u boot 1 3 4 Compile make distclean make clean make at91sam9g45ekes nandflash config make CROSS COMPILE usr local arm 2007q1 bin arm none linux gnueabi Is Now you can see the file u boot bin we have successfully installed amp compiled U boot 1 5 Install and compile Linux source code Install tar xvjf 05 Linux Source Official Code linux kernel 2 6 30 linux 2 6 30 tar bz2 C cd linux 2 6 30 patch p1 lt 05 Linux Source Official Code linux kernel 2 6 30 2 6 30 at91 patch gz tar xvzf 05 Linux Source Official Code linux kernel 2 6 30 2 6 30 at91 exp 4 tar gz
12. ing Autsrmatian 315 B Home Appliances 400 Products Applications Technologies Atmel OTouch ME Bring Your Products to Market Sooner pe Support Community Cart y Video About Atmel Buy Recent Touch E wre B Himne Entertainment 245 gto A industrial Automation 1507 LEATA More m Legitting 215 More a Lot Vee 5 5 Testing Wi Fi connection Note Before testing Wi Fi connection please make sure you have connected the Wi Fi adapter only support rt2070 and rt3070 to the USB Host interface of the board gt Now select the Settings icon from the applications screen E m E mm Pu Browser Calculator Clock Contacts 67 5 Dev Tools Downloads Ethernet Messaging Music Phone 5pare Parts gt From the list select Wireless amp Networks gt Wireless amp networks Call settings 4 Sound X Display 3 Location amp security Now turn on the Wi Fi by selecting Turn ON Wi Fi Airplane mode Disable all wireless connections Wi Fi i Turn on Wi Fi Wi Fi settings setup manage wireless access points Bluetooth Turn on Bluetooth Bluetooth settings Airplane mode Disable all wireless connections Wi Fi Turn on Wi Fi Wi Fi settings setup amp manage wireless access points Bluetooth Turn on Bluetooth Bluetooth settings elementiu AMEL gt From settings select the appropriate wireless
13. r Calendar Clock Contacts A EE M IL m Dev Tools Downloads Email Ethernet Gallery 8 Vai e gt Messaging Music Phone 5pare Parts gt Select Settings icon on the screen Browser Calculator Calendar Clock ES 3 s Dev Tools Downloads Ethernet Messaging Music Phone i Spare Parts gt Now select Storage option from the list ts Location amp SECUrILy Applications 9 Accounts amp sync HH Privacy Storage gt Under storage option select mount SD card Mount the 5D card 5D card Total space Unavailable Available space Unavailable Mount SD card Erase 5D card Erases all data on the phone s SD card such as music and photos Internal storage gt Now you have mounted SD card successfully you can use the SD card 5 2 Using USB keyboard To use the USB keyboard simply insert to USB port of the keyboard to Host USB port of the board after this you can use USB keyboard 5 3 Testing Audio output First from the applications screen select Music icon Browser Calculator Calendar Clock EAS Dev Tools Downloads Email Ethernet Gi Messaging setting spare Parts gt Now you will see multiple tap son top now select Songs tab where you will see a list of songs stored in the memory avril when you are gone Unknown artist Tomorrow avril You Raise Me Up Josh Grobar gt Now you can select any song from the list
14. sca aaa Se L Ki step 3 Send File Name F EB SAM9G45 Android 4 pun S es SendFile Fi ReceiveFile File Size For Hecervee File a 01000 byte z Compare sent Ale with memory Scripts Send Boot File r Execute step 5 Ox20000 bytes written by applet Writing OxFAGO bytes at Ox40000 buffer addr Ox 00034 40 i OxFA60 bytes written by applet ATOL ISP v1 13 1 Note Step 1 Open files Step 2 Pick up the file u boot bin Step 3 Add address 0x20000 Step 4 Send File Step 5 Successfully download the file u boot bin v Follow the below steps to download ubootEnvtFileNandFlash bin Address 0x60000 lag SAM BA 2 9 at91sam9g45 ek IO xl File Script File Link Help at31samS3m1U Memory Display Chart Address 0 300000 Refresh Display format Applet traces on DEGU Size in basis foxroo ascii C bit C 16 bit f 32 bit ls sl 0x00300000 OxEs000014 OxXELFFFFFE OxXEADODO 6S xEAFFFFFE ES 000300010 OxEAFFFFFE OxEAFFFFFE OxEAFFFFFE OxES A0D008 step 1 0x00300020 OxXESSBD1Z 5 xE5SAD OdC xE5SCDh Og O xEZ1LL O1 AAA step 4 DDRAM DataFlash AT45DB DEB EEPROM AT24 NandFlash NorFlash SRAM SerialFlasha step 2 E Send File Name F EB SAM9G45_Android_4 3fubootE nvtFileNandFlash bin E Send File step 3 T eceive File Name P Receive File O 60000 Size For Receive File asi O00 bytes Compare sent File with memory Scripts Send Boot File Execute I File size Ox200
15. ter image download connect the development board with the PC Hyper Terminal using serial port then reset the board you will see the Linux startup information in the HyperTerminal 4 3 2 Manual download gt Under below shows the NandFlash demo Memory map File Name NANDFLASH File Address at91sam9g45 Android 2 3 1 r1 ia ii x Android ver1 0 ffs2 linux kernel u boot env gt Use SAM BA to download Linux image v After following step2 1 and step2 2 you can get SAM BA compile console as show below and choose NandFlash ling 5AM BA 2 9 at91sam9g45 ek File SenptFile Link Help at sam9m10 Memory Display Start Address fox300000 Refresh Applet traces on shite Size in byte s oi infos Li Apply 000300000 OxE amp 000014 DxEAFFFFFE OXEADODOb65 OxESFFFFFE ES 000300010 OxEAFFFFFE OxEAFFFFFE xEAFFFFFE OxES AODOOS D isplay format C ascii C B amp hi C 16 bit 32bit 0x00300020 OxESSBD128 OxESSADO4C OxXES9CDO04 OxEZ1DDOO1 step 1 A DDRAM DataFlash AT45DB DCB EEPROM AT24 m oFtash SRAM SerialFlash AT25 4T26 Download Upload File Send File Mame Due Send File Receive File Name Im Receive File Address 0x0 Size For Receive File psi 000 byte s l Compare sent file with memory Scripts Enable D ataflash SPIO CS0 r Execute loading history file 0 events added SAM BA console display active TcIB 4 13 Tk8 4 13 ATO1 ISP v1 13 1 96 A
16. to play avril when you are gone Unknown artist Tomorrow F l 1 You Raise Me Up E Josh Groban element AMEL gt Once the song started playing you will see player interface as below EEES KA Josh Groban o Closer ra You Raise Me Up 5 4 Testing Ethernet connection Note Before testing Ethernet connection please make sure you have connected the board with the router using network cable Now select the Ethernet icon from application screen Browser Calculator Calendar a Contacts F B Dev Tools Downloads Email Messaging Music Phone 5 settings 5pare Parts gt This will open Ethernet window where you will see option to Turn ON Turn OFF and configure Ethernet elementiu wwetementiscom AMR Ethernet E Turn off Ethernet Ethernet configuration Configure Ethernet devices gt Now select the Ethernet Configuration from the menu Ethernet Turn off Ethernet Ethernet configuration Configure Ethernet devices Under Ethernet configuration you need to provide IP address Mask DNS server and default gate gt After configuring Ethernet successfully open the browser to test and enter www2 atmel com elementiu http www2 atmel com AIMEL Find It Documents Tools Products By Device e Microcontrollers 269 e Touch 27 e Memory 105 e Automotive 167 Wireless 33 CL Piet kl By Application m Aoma TA m Bulld

Download Pdf Manuals

image

Related Search

Related Contents

Carregadeiras de rodas  Technical Publication Direction 2300000 Revision 0 GE Medical  Mamiya DM System User's Manual  MultiSync EA241WM  

Copyright © All rights reserved.
Failed to retrieve file