Home
DM3730-EVK User Manual
Contents
1. eefiniti _mmatomentisccom 2 GPIO pinmux Configuration Setup the GPIO 26 29 as M4 GPIO mode IEM Input enable u boot 03 00 02 07 board dm3730_evk h 3 Driver Design linux 2 6 32 dm3730_evk drivers input keyboard gpio_keys c a Structure for platform_driver_register to register gpio_keys driver eefiniti mwetomenttacom b Structure forinput register device to register input driver eefiniti mwetomenttacom c Apply GPIO and setup the GPIO as the input registration gpio interrupt eefiniti mwetementtacom eefiniti mwetomenttacom d Interrupt handling Button is pressed an interrupt is generated reporting key eefiniti wwotomenttacom 3 6 2 Driver for the gpio leds 1 Device Definition linux 2 6 32 dm3730 evk arch arm mach omap2 board dm3730 evk c The driver main will introduce how to create the driver on the kernel and enable the LED2 LED3 LED4 LED5 the kernel configuration respectively are user ledb GPIO186 sys led twl4030 LEDB user led1 twl4030 GPIO2 user led2 twl4030 GPIO15 low level is enable eefiniti mwetomenttacom
2. File name X Files of type All CD DVD ROM disk images dmg iso cdt e Figure Appedix 2 3 2 Before Installing Ubuntu in a virtual machine the first thing to do to make the currently blank virtual hard drive useful is to add the downloaded Ubuntu disk image the iso boot on your virtual machine Click on Settings and Storage Then under CD DVD Device next to Empty you ll see a little folder icon Click that and you can select the Ubuntu iso you downloaded earlier eefiniti welmentiacom 1 Ubuntu Settings General Storage System Storage Tree Attributes Ei IDE Controller CD DVD Drive IDE Primary Master v A Display Storage Audio ubuntu 11 04 desktop i386 iso Information Type Image A SATA Controller Network ee Size 685 29 MB Y Serial Ports ES D software ubuntu 11 04 desktol USB D system Ubuntu vdi Type Format Normal YD Shared Folders Attached to Ubuntu a lo E 2 Contains all storage controllers for this machine and the virtual images and host drives attached to them A Non optimal settings detected OK Cancel Help Figure Appedix 2 3 3 Once you ve selected it click OK Then double click your virtual machine to start it up ES Ubuntu Oracle VE VirtualBox P VirtualBox Information You have the Auto capture keyboard option turned on This will cause the Virtual Machine to automatically capture the keyboard
3. 4 Read the working mode of GPIO DeviceloControl hFile IOCTL GPIO GETMODE amp id sizeof DWORD amp mode sizeof DWORD NULL NULL id is GPIO Pin number mode is GPIO mode including Mode definition Description GPIO_DIR_OUTPUT Output mode GPIO_DIR_INPUT Input mode GPIO_INT_LOW_HIGH Rising edge trigger mode GPIO_INT_HIGH_LOW Falling edge trigger mode GPIO_INT_LOW low level trigger mode GPIO_INT_HIGH high level trigger mode GPIO DEBOUNCE ENABLE Jumping trigger enable 5 The operation of GPIO Pin DWORD id 0 pin 0 eefiniti 2 wwoomentacom 6 Output high level DeviceloControl hFile IOCTL GPIO SETBIT amp id sizeof DWORD NULL 0 NULL NULL 7 Output low level DeviceloControl hFile IOCTL GPIO CLRBIT amp id sizeof DWORD NULL 0 NULL NULL 8 Readthe pin state DeviceloControl hFile IOCTL GPIO GETBIT amp id sizeof DWORD amp pin sizeof D WORD NULL NULL id is GPIO pin number pin returns to pin state 9 Other optional operation Read the corresponding IRQ number of GPIO pin DWORD id 0 irq 0 DeviceloControl hFile IOCTL GPIO GETIRQ amp id sizeof DWORD amp irg sizeof D WORD NULL NULL id is GPIO pin number irq returns IRQ number 10 Close GPIO device CloseHandle hFile 1 Definition of GPIO pin 0 191 MPU Bank1 6 GPIO pin 192 209 TPS65930 GPIO 0 17 2 GPIO pin 0 191 has to be configured as GPIO under xldr platform c and
4. Figure Appedix 2 2 4 If this is your first time using VirtualBox which it probably is if you need a tutorial on how to use it then you do want to Create new hard disk and then click Next Y Create H Virtual Disk Welcome to the Create New Virtual Disk Wizard This wizard will help you to create a new virtual hard disk for your virtual machine Use the Next button to go to the next page of the wizard and the Back button to return to the previous page You can also press Cancel if you want to cancel the execution of this wizard Figure Appedix 2 2 5 Click Next again BEURA tc P Create Hew Virtual Disk Hard Disk Storage Type Select the type of virtual hard disk you want to create A dynamically expanding storage initially occupies a very small amount of space on your physical hard disk It will grow dynamically up to the size specified as the Guest OS claims disk space fixed size storage does not grow It is stored in a file of approximately the same size as the size of the virtual hard disk The creation of a fixed size storage may take a long time depending on the storage size and the write performance of your harddisk Storage Type Dynamically expanding storage KR Figure Appedix 2 2 6 Theoretically a dynamically expanding virtual hard drive is best because it ll take up only what you actually use have come upon weird situations though when installing new software in a virtuali
5. 2 GPIO pinmux Setup u boot 03 00 02 07 board dm3730 evk h Configure GPIO 186 as M4 MODE 4 GPIO IDIS Input not allowed eefiniti mwetomenttacom 3 Driver design linux 2 6 32 dm3730 evk drivers leds leds gpio c a Structure for platform driver register to register gpio leds eefiniti _mmatementisicom b Called platform driver register to register gpio leds Apply GPIO and called led_classdev_regisiter to register led_classdev eefiniti mwetementtacom c User can access brightness file on the directory of sys class leds xxx called function gpio led set to configure led states eefiniti wwoomentiacom 3 7 Updated of system 3 7 1 Update of TF card system image 1 The formatting of MMC SD card HP USB Disk Storage Format Tool 2 0 6 is recommended The software is downloading from http www embedinfo com english download SP27213 exe a Insert TF card into the card reader in PC b Open the HP USB Disk Storage Format Tool the following steps will show in detail HP USB Disk Storage Format Tool Y KE Device Generic USB SD Reader 1 00 1903 MB F 4 D File system FAT32 x Volume label LABEL m Format options 5 GukFomal F Enable Compression Create a DO
6. 10 100M self adapting network card DM9000 users can connect the board to the LAN and enter the following commands for a test root DM3730 EVK ifconfig eth0 192 192 192 200 eth0 link down eth0 link up 100Mbps full duplex Ipa 0x41E1 root DM3730 EVK ping 192 192 192 90 PING 192 192 192 90 192 192 192 90 56 data bytes 64 bytes from 192 192 192 90 seq 0 ttl 128 time 1 007 ms 64 bytes from 192 192 192 90 seq 1 ttl 128 time 0 306 ms 64 bytes from 192 192 192 90 seq 2 ttl 128 time 0 397 ms 64 bytes from 192 192 192 90 seq 3 ttl 128 time 0 367 ms 192 192 192 90 ping statistics eefiniti O O 4 packets transmitted 4 packets received 0 packet loss round trip min avg max 0 306 0 519 1 007 ms root DM3730_EVK ping 192 192 192 170 PING 192 192 192 170 192 192 192 170 56 data bytes 64 bytes from 192 192 192 170 seq 0 ttl 128 time 4 486 ms 64 bytes from 192 192 192 170 seq 1 ttl 128 time 0 336 ms 2 Occurrence of above serial port information indicates that the testing is successful 3 8 1 10 Camera Testing 1 If you have bought the specific camera module of DM3730 EVK after connecting CAMERA module and CCD camera connect LCD screen carry out the testing by executing the following commands root DM3730 EVK saMmapLoopback tvp514x 2 005d tvp5146m2 found at Oxba OMAP I2C adapter Capture Opened Channel Capture Current Input COMPOSITE Capture Current standard PAL Capture Capa
7. 4 SD MMC driver realizes specific controller driver Kernel Driver reference path linux 2 6 32 dm3730 evk drivers mmc linux 2 6 32 dm3730 evk drivers mmc host omap hsmmc c eefiniti 2 wwoomentiacom 3 5 3 Display interface Control GUI Application Application Streamimg Application User sysfs dev fb0 dev v4l2 videot Interface FBDEV Driver dev v4l2 video2 V4L2 Driver Kernel DSS Library DSS Library Hardware LCD Control Video Encoder Figure 3 7 3 Modular structure for display Display Sub System hardware integrates one graphics pipeline two video pipelines and two overlay managers one for digital and one for analog interface Digital interface is used for LCD and DVI output and analog interface is used for TV out The primary functionality of the display driver is to provide interfaces to user level applications and managing of Display Sub System hardware Kernel Driver reference path linux 2 6 32 dm3730 evk drivers video omap2 linux 2 6 32 dm3730 evk drivers video omap2 omaptb omapfb main c eefiniti 2 wwoomentiacom 3 5 4 Video capture Video capture application Use V4L2 LAYER CAMERA DRIVER Kernel CCDC DRIVER DECODER DRIVER HARDWARE Hardware Figure 3 5 4 Modular structure for video capture V4L2 Subsystem The Linux V4L2 subsystem is used as an infrastructure to support the operation of the Camera Driver Camera applications mainly use t
8. 45 Update OL hl e fae evn Se fee dee ee en eee ee ie 84 4 5 2 Update of Nand flash AAA 86 ANS TRUCTIONS FOR USE ae a nn 86 4 6 1 How to use S Video BET 86 4 6 2 How to use openGL ES demo sin 87 4 6 3 How to use CAM8000 A mpdule anna 87 4 6 4 How to use CAM8000 D module reen 87 4 7 THE DEVELOPMENT OF APPLICATION scsi 88 4 7 1 Application program interfaces and examples 88 4 7 2 GPIO application program interfaces and examples 88 AP PENDIX oo naa 91 APPENDIX HARDWARE DIMENSIONS ceca e ar ar ana ea ae ad ar nn a ne an 91 APPENDIX II THE INSTALLATION OF UBUNTU nn 92 APPENDIX III DRIVER INSTALLATION OF LINUX USB ETHERNET RNDIS GADGET 107 APPENDIX IV LINUX BOOT DISK FORMAT lt n A LL Enen 110 APPENDIX V THE SETUP OF TF IP SERVER babakan basah one bahasa bina ia 116 APPENDIX VI WINGE SOURCE ea hk aman ae nette nent nat iles 118 CUSTOMER SERVICE amp TECHNICAL SUPPORT oooooooooooomomomomomomomomomommm 119 CUSTOMER SERVICE ARA SS aa mn eT OLY 119 TECHNICAL GuppOonT essence eennneceeenneceeeenneeesenneeeennnns 119 Chapter 1 Overview 1 1 Product introduction DM3730 EVK is based on TI DM3730 processor The processor integrates ARM Cortex A8 kernel at 1GHz and DSP core DM3730 only running at 800MHz with high level digital signal processing functions and provides rich peripheral interfaces DM3730 EVK expands LAN port S VIDEO interface audio input output interface USB TF interface serial port SPI interface I
9. 600 and 800 MHz operation ARM Cortex A8 and 800 MHz also supports 250 520 and 660 MHz operation C64x DSP core and has integrated 3D graphics processor imaging and video accelerator IVA USB 2 0 MMC SD memory card UART and many more DaVinci DM3730 video processor is pin to pin compatible with Sitara AM37x devices and software compatible with the OMAP35x processors The C64x DSP and hardware video accelerator enable audio and HD 720p video decoding and encoding independent of the ARM processor The programmable DSP engine allows multiple signal processing tasks such as image processing and analysis digital filtering and math functions DaVinci DM3730 video processor is suitable for 720p HD High Definition video applications which require large amount of data processing 2 1 2 CPU Features Clock The CPU clock includes sys 32k sys_altclk sys cikout1 sys_clkout2 sys xtalout sys xtalin sys cikreg The sys 32k 32 kHz clock is used for low freguency operation It supplies the wake up domain signals for operating in lowest power mode off mode This clock is provided through the sys 32k pin The 32 kHz is generated by power management The sys xtalin sys xtalout system input clock 26 MHz is used to generate the main source clock for the device It supplies the DPLLs as well to several other modules eefiniti 2 wwoomentiacom Reset The function of reset is decided by the SYS NRESPWRON signal on the CPU Reset is enable
10. DM3730_EVK DM3730_EVK RelDir DM3730_EVK_ARMV4I_R elease to the SD card 4 Insert the SD card into the device and boot the device for a test 4 4 4 Introduction of driver The following picture shows the BSP architecture of DM3730 EVK OMAP 3 WinCE BSP Architecture AY hz AY Windows CE P river Manager Manager LCD CEE Drivers e Applications emm Codec Engine OS DLL Core Winsock CommCtrl 3D Driver Cause sou Sete OMAP35x Lise soscx psp Kernel Space W INSTRUMENTS t RUMENTS Hardware Source code path of all drivers of BSP NLED driver bsp DM3730_EVK SRC DRIVERS NLED eefiniti www element14 com bsp DM3730_EVK SRC DRIVERS GPIO SES bsp OMAP35XX_TPS659XX_TI_V1 omap35xx GPIO bsp OMAP35XX_TPS659XX_TI_V1 omap35xx OAL l2C 12C bsp DM3730_EVK SRC OAL OALI2C bsp OMAP35XX_TPS659XX_TI_V1 omap35xx CEDDK l2C SPI bsp OMAP35XX_TPS659XX_TI_V1 omap35xx SPI MCBSP driver bsp OMAP35XX_TPS659XX_TI_V1 omap35xx MCBSP Series port driver bsp OMAP35XX_TPS659XX_TI_V1 omap COM_MDD2 bsp OMAP35XX_TPS659XX_TI_V1 omap35xx UART 6X6 keyboard driver bsp OMAP35XX_TPS659XX_TI_V1 omap GPIO_KEYPAD bsp DM3730_EVK SRC DRIVERS KEYPAD bsp DM3730_EVK SRC DRIVERS CESYSGEN WAVE bsp OMAP35XX_TPS659XX_TI_V1 omap TPS659XX WAV Audio driver E bsp OMAP35XX_TPS659XX_TI_V1 omap35xx WAVE bsp OMAP35XX_TPS659XX_TI_V1 omap35xx BLOCK NAND driver bsp DM3
11. PLATFORM directory 2 Extract wince_6 bsp OMAP35XX_TPS659XX_TI_V1 rar to C WINCE600 PLATFORM COMMON SRC SOC 3 Double click CD wince_6 powerVR wince_gfx_sgx_01_01_00 patch 01 setup exe to install powerVR DDK and SDK default install path is C Tl wince_gfx_sgx_01_01_00_patch_01 copy C Tl wince_gfx_sgx_01_01_00_patch_01 poweVR directory to C wince600 public 4 Copy CD directory CDROM wince_6 prj DM3730_EVK to C WINCE600 0SDesigns directory 5 Please modify the LCD or DVI config beford build solution For the 4 3 LCD Modify platform DM3730_EVK src drivers Icd vga Icd_vga c define LCD_4 3 INCH 1 define LCD 5 6 INCH 1 define LCD 7 INCH 1 For the 7 LCD Modify platform DM3730_EVK src drivers Icd vga Icd_vga c define LCD 4 3 INCH 1 define LCD 5 6 INCH 1 define LCD 7 INCH 1 For DVI output Modify DM3730 EVK bat set BSP DVI 1280W 720H 1 set BSP NOTOUCH 1 le The default installation path of the Windows Embedded CE 6 0 compilation tool in this context is C WINCE600 4 4 3 Sysgen amp BSP complie Below are the steps given for Sysgen and BSP compile 1 Open the existing project file DM3730_EVK sIn C WINCE600 OSDesigns DM3730_EVK 2 Select Build gt Build Solution in vs2005 to sysgen and build BSP 3 Images including MLO EBOOTSD nb0 Nk bin will be created after sysgen phase and build phase finished successfully Copy the files MLO EBOOTSD nbO and NkK bin under C WINCE600 0S Designs
12. VDD33 3 3V 38 VDD18 1 8V 39 VDD50 5V 40 GND GND Table 2 3 17 expansion interface 2 3 18 KEY J8 Pin Signal Function 1 ON OFF System ON OFF key 2 RESET System reset key 3 USER1 User defined key 1 4 USER2 User defined key 2 Table 2 3 18 KEY 2 3 19 LED LED 1 10 Pin Signal Function LED1 3V3 3 3V power indicator LED 2 SYS System LED LED 3 LEDB System LED LED 4 LED1 User defined key 1 LED 5 LED2 User defined key 2 eefiniti www element14 com LED 6 USB1 USB indicator 1 LED 7 USB2 USB indicator 2 LED 8 USB3 USB indicator 3 LED 9 USB4 USB indicator 4 LED 10 HUB USB HUB indicator Table 2 3 19 LED eefiniti 2 wwoomentiacom Chapter 3 Linux Operating System 3 1 Introduction This section is intended to provide detailed instruction on Operating System Software development of DM3730 EVK board 1 Describes the Software Resources provided by DM3730 EVK 2 Describes the software feature 3 Explains the software Development including how to set up the development environment the building guidance of the boot loader kernel and file system and the development of device driver 4 Provides flashing methods using boot loader commands 5 Shows the usage of DM3730 EVK 6 Shows the application development In this part it is suggested to 1 Install Ubuntu Linux in advance please refer to Appendix II for details 2 Master relative embedded Linux development technolog
13. are there already Command m for help d Selected partition 1 7 Set the Geometry of the SD Card If the print out above does not show 255 heads 63 sectors track then do the following expert mode steps to redo the SD Card 1 Go into expert mode eefiniti 2 wwoomentacom Command m for help x 2 Set the number of heads to 255 Expert Command m for help h Number of heads 1 256 default xxx 255 3 Set the number of sectors to 63 Expert Command m for help s Number of sectors 1 63 default xxx 63 4 Now Calculate the number of Cylinders for your SD Card cylinders FLOOR the number of Bytes on the SD Card from above 255 63 512 So for this example 2021654528 255 63 512 245 79 So we use 245 i e truncate don t round 5 Set the number of cylinders to the number calculated Expert Command m for help c Number of cylinders 1 256 default xxx enter the number you calculated 6 Return to Normal mode Expert Command m for help r 8 Print the partition record to check your work Command m for help p Disk dev sdc 2021 MB 2021654528 bytes 255 heads 63 sectors track 245 cylinders Units cylinders of 16065 512 8225280 bytes Device Boot Start End Blocks Id System e e www element14 com 9 Create the FAT32 partition for booting and transferring files from Windows Command m for help n Command action e extended p primary par
14. clock 12 GND GND 13 EMUO Test emulation O 14 EMU1 Test emulation 1 Table 2 3 16 JTAG interface 2 3 17 Expansion Interface J8 Pin Signal Function 1 GND GND 2 BSP1_DX Transmitted serial data 1 3 BSP1_DR Received serial data 1 4 BSP1 CLK Received clock 1 5 BSP1 FSX Transmit frame synchronization 1 6 BSP1 CLK Transmit clock 1 7 BSP1 CLK External clock input 1 8 BSP1 FSR Receive frame synchronization 1 9 UART1_CT UART1 clear to send 10 UART1_RT UART1 request to send 11 UART1_RX UART1 receive data 12 UART1 TX UART1 transmit data 13 GND GND 14 GPIO_136 GPIO_136 15 GPIO 126 GPIO 126 16 GPIO 137 GPIO 137 17 GPIO 129 GPIO 129 18 GPIO 138 GPIO 138 19 GPIO 55 GPIO 55 20 GPIO 139 GPIO 139 21 GPIO 56 GPIO 56 22 GPIO 61 GPIO_61 23 GPIO_65 GPIO_65 24 BSP3 DX Transmitted serial data 3 25 BSP3 DR Received serial data 3 eefiniti www element14 com 26 BSP3 CLK Transmit clock 3 27 BSP3 FSX Transmit frame synchronization 3 28 GND GND 29 IC3 SCL IIC3 master serial clock 30 IIC3 SDA IIC3 serial bidirectional data 31 SPI1 SIMO Slave data in master data out 32 SPI1_SOMI Slave data out master data in 33 SPH_CLK SPI1 clock 34 SPI1_CSO SPI enable 0 35 SPI1 CS3 SPI enable 3 36 HDQ_SIO Bidirectional HDQ 37
15. clock 16 GND GND 17 HS Horizontal synchronization 18 VDD50 5V 19 VS Vertical synchronization 20 VDD33 3 3V 21 XCLKA Clock output a 22 XCLKB Clock output b 23 GND GND 24 FLD Field identification 25 WEN Write Enable 26 STROBE Flash strobe control signal 27 SDA IIC master serial clock 28 SCL IIC serial bidirectional data 29 GND GND 30 VDD18 1 8V Table 2 3 8 camera interface 2 3 9 MIC IN Jack J6 Pin Signal Function 1 GND GND 2 NC NC 3 MIC MAIN P Right input eefiniti wwetementtacom 4 NC NC 5 MIC MAIN N Left input Table 2 3 9 MIC IN interface 2 3 10 Keyboard Interface J5 Pin Signal Function 1 KCO Keypad matrix column 0 output 2 KRO Keypad matrix row 0 input 3 KC Keypad matrix column 1 output 4 KR1 Keypad matrix row 1 input 5 KC2 Keypad matrix column 2 output 6 KR2 Keypad matrix row 2 input 7 KC3 Keypad matrix column 3 output 8 KR3 Keypad matrix row 3 input 9 KC4 Keypad matrix column 4 output 10 KR4 Keypad matrix row 4 input 11 KC5 Keypad matrix column 5 output 12 KR5 Keypad matrix row 5 input 13 VDD18 1 8V 14 GND GND Table 2 3 10 keyboard interface 2 3 11 Serial Ports J15 Pin Signal Function 1 NC NC 2 RXD Receive data 3 TXD Transit data 4 NC NC 5 GND GND eefiniti www element14 com 6 NC NC RTS Reguest
16. every time the VM window is activated and make it unavailable to other applications running on your host machine when the keyboard is captured all keystrokes including system ones like Alt Tab will be directed to the WM You can press the host key at any time to uncapture the keyboard and mouse if it is captured and return them to normal operation The currently assigned host key is shown on the status bar at the bottom of the Virtual Machine window next to the El icon This icon together with the mouse icon placed nearby indicate the current keyboard and mouse capture state The host key is currently defined as Right Ctrl gt H Right Ctrl Figure Appedix 2 3 4 eefiniti 2 woomentacom Fa Ubuntu Running Oracle VE VirtualBox VirtualBox Information The virtual machine window is optimized to work in 32 bit color mode but the virtual display is currently set to 16 bit Please open the display properties dialog of the guest OS and select a 32 bit color mode if it is available for best possible performance of the virtual video subsystem Hote Some operating systems like OS 2 may actually work in 32 bit mode but report it as 24 bit 16 million colors You may try to select a different color mode to see if this message disappears or you can simply disable the message now if you are sure the required color mode 32 bit is not available in the guest OS Pu 3 Right Ctrl Figure A
17. features based on the default configuration to meet the demands in better ways The general process of system customization will be described with examples below 3 4 3 1 Modification of kernel configuration A default configuration file is provided in the factory kernel source codes arch arm configs dm3730 evk defconfig User can carry out system customization on this basis cd linux 2 6 32 dm3730_evk cp arch arm configs dm3730 evk defconfig config make menuconfig The system customization will be described below by taking usb gadget and usb mass storage device as an example Select the configuration below 5 Device Drivers gt USB support gt USB Gadget Support gt USB Gadget Drivers eefiniti wwoomentacom File backed Storage Gadget testing version Select File backed Storage Gadget as M5 exit and finally select Save to recompile kernel 3 4 3 2 Compilation Save configuration execute the following commands to recompile kernel After above operations are executed a new kernel image ulmage will be generated under the directory arch arm boot and a module file g file storage ko will be generated under the directory drivers usb gadget eefiniti 2 wwoomentacom 3 5 Introduction of driver 3 5 1 NAND App System call User MTD user module JFFS2 JFFS Block device Memory technology device Generic NAND driver Kernel MTD chip driver NAND flash CFI flash RAM ROM NAND
18. flash Hardware Figure 3 5 1 Modular structure for NAND GPMC module Solid state memory used in embedded systems is mainly flash it is NAND flash in this system NAND flash is used as a block device on which the file system is arranged interaction between user and NAND flash is mainly realized by a specific file system In order to shield difference in different flash memories kernel inserts an MTD subsystem between the file system and the specific flash driver for management Therefore the user accesses NAND flash through the following process User gt System Call gt VFS gt Block Device Driver gt MTD gt NAND Flash Driver gt NAND Flash eefiniti 2 wwoomentacom Kernel Driver reference path linux 2 6 32 dm3730 evk drivers mtd nand linux 2 6 32 dm3730 evk drivers mtd nand omap2 c 3 5 2 SD MMC App System call Use Kernel Generic disk handler File system BUFFER_CACHE MMC_QUEUE MMC BLOCK MMC SD CONTROLLER DRIVER HARDWARE MMC SD SDIO CONTROLLER Figure 3 5 2 Modular structure for SD MMC Kernel MMC SD CORE Hardware SD MMC card drivers under Linux mainly include SD MMC core mmc block mmc gueue and SD MMC driver four parts 1 SD MMC core realizes core codes unlated to structure in the SD MMC card operation 2 mmc block realizes driver structure when SD MMC card is used as a block device 3 mmc gueue realizes management of reguest gueue
19. led2 root DM3730 EVK echo 1 gt sys class leds user led2 brightness www element14 com Ge SE The user pushes a LED with operation are to kill bright 3 8 1 2 KEYPAD Testing Board has two users keyboard USER1 USER2 users can and perform the following command testing Press CONTROL C to quit the test The back of the test is the same eefiniti wwoomentiacom 3 8 1 3 Touch Screen Testing This testing reguires Linux boot from NAND FLASH 1 Run the command to test the touch screen root DM3730 EVK ts calibrate Then follow the LCD prompt click the icon 5 times to complete the calibration 2 Calibration is complete enter the following commands for Touch Panel Test root DM3730 EVK ts test Follow the LCD prompts to choose draw point draw line test 3 8 1 4 RTC Testing The development board contains hardware clock for save and synchronize the system time Test can be made with the following steps 1 Set the system time as Fri Aug 8 20 00 00 2011 root DM3730 EVK date 011820002011 FriAug 8 20 00 00 UTC 2011 2 Write the system clock into RTC root DM3730 EVK hwclock w 3 Read the RTC root DM3730_EVK hwclock FriAug 8 20 00 00 UTC 2011 We can see that the RTC clock has been set as August 8 2008 the system clock will be saved in the hardware clock 4 Restart the system enter the following commands to renew the system clock root DM3730 EVK hwclock s root DM3730_EV
20. navigate this window or press the hotkey of the item you wish to select followed by the lt SPACE BAR gt Press lt gt for additional information about this option 19999999999999999999999999999999999999999999999999999999999999999 x Wi EEC 7 inch LCD support X UGA support elect gt lt Help gt After determining PANEL TYPE jump to parent directory select Exit to exit until the following picture appears then select Yes Do you wish to save your new kernel configuration lt ESC gt lt ESC gt to continue make ulmage After above operations are executed the required ulmage file will be generated under the directory arch arm boot 3 4 2 5 Generation of file system 1 Ramdisk file making For Ramdisk making please refer to http he3 dartmouth edu old VME Linux RamDisk html It will not be described in this document 2 UBI file making cd home embest work sudo home embest tools mkfs ubifs r rootfs m 2048 e 129024 c 1996 o ubifs img sudo home embest tools ubinize o ubi img m 2048 p 128KiB s 512 home embest tools ubinize cfg After above operations are executed the required ubi img file will be generated under the current directory eefiniti wwoomentacom 3 4 2 6 Android compilation cd rowboat android froyo dm3730 evk make 3 4 3 System Customization As Linux kernel has many kernel configuration options the user can increase or reduce the driver or some kernel
21. oalib oem_pinmux c two files 3 GPIO break mode can only be used by drivers setting such mode in application programs is invalid eefiniti 2 wwoomentiacom Appendix Appendix I Hardware Dimensions LO oe a K E G CE gt Wr eege q SR E 2 3 Il a o aa H e war D D O o 2 ES A e se 8 E o o e Te a si mes L ee 5 E e 3 bat e 2 T i Il H 7 ee Bi a Bi ae no m zk D ee zs S eo t 3 ee H eeu 3 E 8 eve 3 a i ene H al ot Les T o o m H EE e f A es gg F n me 3 it MA DH bin ge H caos 5 SR o o 0 09 OO 5 99 00 104 98 80 71 14 54 022 29 pe Figure Appedix 1 Hardware Dimensions Diagram eefiniti 2 wwoomentiacom Appendix II The Installation Of Ubuntu Installing Ubuntu in Windows using VirtualBox The screenshots in this tutorial use Ubuntu 11 04 but the same principles apply also to Ubuntu 10 10 11 04 and any future version of Ubuntu Actually you can install pretty much any Linux distribution this way VirtualBox allows you to run an entire operating system inside another operating system Please be aware that you should have a minimum of 512 MB of RAM 1 GB of RAM or more is recommended Installation Pr
22. please pull the TF card out 4 Power it on again and boot to enter the android operating system 3 8 2 2 DVSDK System Demonstration DVSDK Digital Video Software Development Kit is software developed by TI Company the function of which is to establish a connection between ARM and DSP The application program runs at the ARM end and ARM processes lO interface and the application program ARM uses VISA APIs interface provided by Codec Engine to process video eefiniti wwoomentacom image and voice signals Codec Engine then uses DSP BIOS Link and xDIAS as well as xDM protocol to communicate with the Codec Engine server DSP processes these signals and puts results of processing in the memory space shared by ARM such that the ARM end can obtain these results The computer end has to be installed with Linux operating system in advance and the instruction in Step 1 is finished in PC e ulmage 4 3 mentioned in the following context means 4 3 inch screen please use ulmage 7 if the user uses 7 inch screen 1 Divide the TF card into two partitions please refer to Appendix IV for specific operation connect the TF card to PC and then execute the following commands cp media cdrom linux demo dvsdk image MLO media LABEL1 cp media cdrom linux demo dvsdk image u boot bin media LABEL1 cp media cdrom linux demo dvsdk image ulmage_4 3 media LABEL1 ulmage rm rf media LABEL2 sudo tar jxvf linux demo dvsdk image dvsdk d
23. tar bz2 tar xvf media cdrom linux source linux 2 6 32 dm3730_evk tar bz2 tar xvf media cdrom linux demo Android source rowboat android froyo dm3730_evk tar bz2 sudo tar xvf media cdrom linux source rootfs tar bz2 When the above steps are finished the current directory will generate linux 2 6 32 dm3730_evk u boot 03 00 02 07 x loader 03 00 02 07 rootfs and rowboat android froyo dm3730_evk eefiniti 2 wwoomentiacom directories 3 4 2 2 X loader image generation DM3730 EVK supports TF Card boot or NAND boot The burned x loader image files are different with the different boot modes and the corresponding methods for mapping are different too We will introduce the generation of x loader image file under different boot modes 1 To generate x loader image file MLO used for SD card start up cd x loader 03 00 02 07 make distclean make dm3730 evk config make signGP x load bin mv x load bin ift MLO When the above steps are finished the current directory will generate the file MLO which we need 2 To generate the x load bin ift for NAND start up To alter the file x loader 03 00 02 07 include configs dm3730_evk h and annotate the following vi x loader 03 00 02 07 include configs dm3730_evk h define CONFIG_MMC 1 Cross compilation cd x loader 03 00 02 07 make distclean make dm3730 evk config make signGP x load bin mv x load bin ift x load bin ift for NAND When the above steps are finished the current directory wil
24. to the CD wince_6 app for the application program representatives that control the status of LED through GPIO pin Please check relative Help documents of MSDN Windows Embedded CE 6 0 API for Windows Embedded CE 6 0 standard application program interface definition There are some use routines of standard API in the chapter GPIO Application Program Development Case for reference of users Some interfaces exported by drivers can only be used by drivers the application programs have no permission to call them 4 7 2 GPIO application program interfaces and examples GPIO device name is L GIO1 corresponding device IOCTL code includes IOCTL Code Description IOCTL_GPIO_SETBIT Set GPIO pin as 1 eefiniti wwetementtacom IOCTL GPIO CLRBIT Set GPIO pin as 0 IOCTL GPIO GETBIT Read GPIO pin IOCTL_GPIO SETMODE Set the working mode of GPIO pin IOCTL_GPIO GETMODE Read the working mode of GPIO pin Read the corresponding IRQ of GPIO IOCTL_GPIO_GETIRQ pin Operation example is showed below 1 Open GPIO device HANDLE hFile CreateFile _T GIO1 GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE 0 OPEN_EXISTING 0 0 2 Set read the working mode of GPIO DWORD id 0 mode 0 3 Set the working mode of GPIO DWORD plnBuffer 2 plnBuffer 0 id pinBuffer 1 mode DeviceloControl hFile IOCTL GPIO SETMODE pinBuffer sizeof pInBuffer NULL 0 NULL NULL
25. 3 5mm audio jack A two channel audio output interface 3 5mm audio jack LCD Touch screen e RGB 24 bit colors e Resolution up to 2048 2048 e 4 line Touch Screen Data Transfer Interface e Serial port H UARTI 5 line serial port TTL based voltage H UART2 5 line serial port TTL based voltage m UARTS 5 line serial port RS232 based voltage USB port m 1x USB2 0 OTG High speed 480Mbps m 4x USB2 0 HOST High speed 480Mbps TF card interface e 10 100Mbps Ethernet Interface RJ45 jack e 1 channel McSPI Interface Multichannel Serial Port Interface e 1 channel McBSP interface Multi Channel Buffered Serial Port e 1 channel I2C interface e 1 channel HDQ interface HDQ 1 Wire Input Interface e 1 channel Camera interface Support CCD or CMOS camera e 6 6 keyboard interface e 14 pin JTAG interface e 4 buttons 2 USER buttons 1 RESET button 1 ON OFF button eefiniti mwetementtacom LED 1 PowerLED e 2 System LEDs 2 User LEDs 4 USB Host LEDs e 1 USB Hub LED eefiniti 2 vmememtacom Chapter 2 Hardware System 2 1 CPU 2 1 1 CPU Introduction As a high performance processor for enhanced digital media DM37x employs TI 45nm advanced industrial technology this architecture has the advantage of low power consumption at the same time of being designed for ARM and graphical demonstration The Texas Instruments DM3730 DaVinci digital media processor is powered by up to 1 GHz also supports 300
26. 730_EVK SRC DRIVERS BLOCK NAND Display driver LCD DVI S Video Composite Video bsp DM3730_EVK SRC DRIVERS DISPLAY bsp DM3730_EVK SRC DRIVERS LCD bsp OMAP35XX_TPS659XX_TI_V1 omap35xx DISPLAY TOUCH driver bsp DM3730_EVK SRC DRIVERS TOUCH SD MMC SDIO driver bsp DM3730_EVK SRC DRIVERS SDBUS bsp DM3730_EVK SRC DRIVERS SDHC bsp DM3730_EVK SRC DRIVERS SDMEMORY bsp OMAP35XX_TPS659XX_TI_V1 omap35xx SDHC DM9000 network card bsp DM3730_EVK SRC DRIVERS DM9000 driver bsp DM3730_EVK SRC DRIVERS MUSB USB OTG driver bsp OMAP35XX_TPS659XX_TI_V1 omap35xx musb USB EHCI driver bsp OMAP35XX_TPS659XX_TI_V1 omap35xx USB EHCIP DD eefiniti www element14 com VRFB driver bsp OMAP35XX_TPS659XX_TI_V1 omap35xx VRFB bsp DM3730_EVK FILES cmemk dll DSPLINKK CMEMK bsp DM3730_EVK FILES dsplinkk dll bsp DM3730_EVK FILES MPEG2VideoDecoder dll AAC MPEG2 MPEG4 H2 bsp DM3730_EVK FILES MPEG4VideoDecoder dll 64 DSP Hardware decode fitler bsp DM3730_EVK FILES H264VideoDecoder dll bsp DM3730_EVK FILES AACAudioDecoder dll bsp OMAP35XX_TPS659XX_TI_V1 omap GPIO_KEYPAD GPIO keyboard driver bsp DM3730_EVK SRC DRIVERS KEYPAD PWM TPS65930 driver bsp OMAP35XX_TPS659XX_TI_V1 omap TLED bsp OMAP35XX_TPS659XX_TI_V1 omap TPS659XX MAD ADC TPS65930 driver C ONENAND drive bsp DM3730_EVK SRC DRIVERS BLOCK ONENAND Camera driver bsp DM3730_EVK SRC DRIVERS CAMERA_MDC bsp DM3730_EVK SRC
27. C interface JTAG interface CAMERA interface TFT interface touch screen interface keyboard interface and HDMI interface DM3730 EVK can be used in the following applications e Portable Data Terminals e Navigation e Auto Infotainment e Gaming e Medical Equipment Home Automation e Human Interface e Industrial Control e Test and Measurement e Single board Computers eefiniti wwoomentiacom DM3730 EVK function module chart see Figure 1 1 22 DM3730 AM3715 1GHz ARM Cortex A8 800MHz TMS320C64x DM3 730 only ene T DVI Control USB Control FP410 USB3320 Figure 1 1 1 2 Features DM3730 EVK evaluation board is based on DM3730 processor and it integrates all the functions and features of this IC s The features of this board are as follows Mechanical Parameters Working temperature 30 C 70 C Humidity Range 20 90 Dimensions 136 2mm 105 3mm Input Voltage 5V Processor 1GHz ARM Cortex A8 Core 800 MHz TMS320C64x DSP Core DM3730 only NEON SIMD Coprocessor POWERVR SGX Graphics Accelerator ARM 32 KB I Cache 32 KB D Cache 256KB L2 Cache On Chip 64KB RAM 32KB ROM eefiniti O wwoomentiacom e 512MB 32bit DDR SDRAM 512MB 16bit NAND Flash e 2GB 4bit INAND Default not soldered optional reserved for soldering Audio Video Interfaces e An S VIDEO interface e An HDMI DVI D interface e An audio input interface
28. D DVI S Source Video Composite Video TOUCH driver SD MMC SDIO driver Source DM9000 network card driver Source USB OTG driver Source USB EHCI driver Source eefiniti vmeememtacom VRFB driver Source DSPLINKK CMEMK driver Binary AAC MPEG2 MPEG4 H264 DSP Hardware Binary decode fitler GPIO keyboard driver Source PWM TPS65930 driver Source ADC TPS65930 driver Source ONENAND driver Source Camera driver Source DMA driver Source RTC driver Source Backlight driver Source Battery driver Source Sleep wakeup button driver Source DVFS Smart Reflex Source SDK powerVR DDK amp SDK Binary amp Source 4 4 System Development 4 4 1 Installation of compilation tools Please install compilation tools to windows XP Vista according to the following steps 1 Visual Studio 2005 2 Visual Studio 2005 SP1 3 Visual Studio 2005 SP1 Update for Vista vista system require 4 Windows Embedded CE 6 0 Platform Builder 5 Windows Embedded CE 6 0 SP1 6 Windows Embedded CE 6 0 R2 7 Windows Embedded CE 6 0 Product Update Rollup 12 31 2008 8 Windows Embedded CE 6 0 R3 9 Windows Embedded CE 6 0 Product Update Rollup 12 31 2009 10 ActiveSync 4 5 eefiniti 2 wwoomentiacom 11 Windows Mobile 6 Professional SDK 4 4 2 Establishment of development environment The following preparations should be made 1 Extract wince_6 bsp DM3730_EVK rar to C WINCE600
29. D Horizontal Synchronization 30 VSYNC LCD Vertical Synchronization 31 GND GND 32 CLK LCD Pixel Clock 33 GND GND 34 X X Position Input 35 X X Position Input 36 Y Y Position Input 37 Y Y Position Input 38 SPI CLK SPI clock 39 SPI MOSI Slave data in master data out eefiniti www element14 com 40 SPI MISO Slave data out master data in 41 SPI CS SPI enable 42 IC CLK IIC master serial clock 43 IC SDA IIC serial bidirectional data 44 GND GND 45 VDD18 1 8V 46 VDD33 3 3V 47 VDD50 5V 48 VDD50 5V 49 RESET Reset 50 PWREN Power on enable Table 2 3 6 TFT_LCD interface 2 3 7 AUDIO OUTPUT Jack J7 Pin Signal Function 1 GND GND 2 NC NC 3 Right Right output 4 NC NC 5 Left Left output Table 2 3 7 Audio out interface 2 3 8 Camera Interface J14 Pin Signal Function 1 GND GND 2 DO Digital image data bit 0 3 D1 Digital image data bit 1 4 D2 Digital image data bit 2 5 D3 Digital image data bit 3 6 D4 Digital image data bit 4 eefiniti www element14 com 7 D5 Digital image data bit 5 8 D6 Digital image data bit 6 9 D7 Digital image data bit 7 10 D8 Digital image data bit 8 11 D9 Digital image data bit 9 12 D10 Digital image data bit 10 13 D11 Digital image data bit 11 14 GND GND 15 PCLK Pixel
30. DM3730 EVK Integrated with LCD USB CCD COMS Audio input output S video Ethernet Serial port TF card interface based on 32 bit microcontroller User Manual eefiniti Version update records 1 0 2011 6 20 www element14 com Initial version 1 1 2011 8 5 Parts of contents have been amended to avoid ambiguity eefiniti 2 woomentiacom Contents CHAPTER 1 OVERVIEW a aeneae anaana naana aana aeaaaee aa aaa aaaea aa aa aaea aaaeaii kamal 6 1 1 PRODUCT INTRODUCTION a ita cda 6 a Sn A 7 CHAPTER 2 HARDWARE SYSTEM ka 10 21 CPU naa naa emas aan 10 OR E E 10 CPE 10 2 2 DESCRIPTION OF DIFFERENT IC BLOCKS sii akan 12 A ON 12 2 2 2 MT29C4G96MAZAPCJA 5 ins rererneeeneeeenseeeeseeeneeeenseeennnee 13 2 2 3 DM9OOO Sana AS Aa KAA Ra aa KAA AAN EA AA AAA AAA Ra kta 13 2 2 4 FE1 1 for USB 2 0 High Speed A Port Hub su 13 2 25 MEP O ca 14 INIA lll E 14 2 3 HARDWARE INTERFACE csecsscsecesceccsccsecsacsacsnceacsaceacenesaseaesacanssacsacnasaaseasaaceacancaasaaseaseasaaseas 15 2 0 1 Power Input Jackie i AR A ana 15 EE 16 2 VT SUOMI p sa Na aa 16 2 34 S VIDEO ME ACE eege 16 2 3 5 HDMI Interface EE 16 2 3 6 TFT LCD Internac unn en aise isa etre otoia 17 AR A A ee eee 19 2 3 8 Camera Interface A o A 19 2 3 9 ME IN JO ee 20 2 3 10 Keyboard IntertacO cuenca Ee aiaiai an 21 231 Serial Ports io eee eee 21 2 0 12 LAN la 22 LE en 22 2 3 14 USB HOST Intertace cc cceceeeeccccccecceesseeceeceeeeeueee
31. DRIVERS CAMERA_D Backlight driver bsp DM3730_EVK SRC DRIVERS BACKLIGHT Battery driver bsp DM3730_EVK SRC DRIVERS BATTERY Sleep wake up button driver bsp DM3730_EVK SRC DRIVERS PWRKEY DVFS Smart Reflex bsp OMAP35XX_TPS659XX_TI_V1 omap PM bsp DM3730_EVK SRC DRIVERS PM DMA driver bsp OMAP35XX_TPS659XX_TI_V1 omap35xx DMA RTC driver bsp OMAP35XX_TPS659XX_TI_V1 omap RTC If the user wants to refer to more WinCE driver development please refer to the specific reference document of the Windows Embedded CE 6 0 compilation tool Start gt All program gt MicroSoft Vistual Studio 2005 gt MicroSoft Visual Studio Document gt eefiniti wwetementtacom Content C gt Windows Embedded CE 6 0 gt Develop a Device Driver 4 5 Update of system DM3730 EVK supports boot up from TF card and NAND this section will respectively introduce two different system update ways 4 5 1 Update of TF card 1 Format TF card Please refer to contents of 3 7 1 Update of TF card system image 2 Load kernel image file e Position to sub catalogue Icd_800x480 Icd 480x272 and DVI 1280x720 under catalogue wince_6 image You can select a specific sub catalogue according to your display device lcd 480x272 for LCD 4 3 Icd 800x480 for LCD 7 and DVI 1280x720 for VGA e Copy MLO EBOOTSD nb0 and NK bin image files in the selected folder to the TF card 3 Update image file Insert TF card and
32. DVI display mode This problem would be solved in next release edition so it is recommend that use the 4 3 7 inch LCD when use cam8000 a module currently 4 6 4 How to use CAM8000 D module 1 Modify the lines below in DM3730 EVK bat set BSP NOCAMERA set BSP NOCAMERA MDC 1 set BSP NODIGITALCAMERA 2 Add the line below in the file locate in C wince600 platform DM3730_EVK src driver dirs camera 3 Rebuild solution in vs 2005 to create nk bin 4 Connect camera8000 D module to DM3730 EVK and boot with updated nk bin eefiniti weementiacom 5 Copy C wince600 platform DM3730_EVkK files CameraDshowApp digital exe to target system and then launch 4 7 The development of application This chapter introduces how to develop Windows Embedded CE 6 0 application program in DM3730 EVK Before development it is necessary to install Windows Mobile 6 Professional SDK Please refer to Appendix VI for download path It is necessary to establish Windows Embedded CE 6 0 development platform in order to develop Windows Embedded CE 6 0 operating system The development case in this Manual is based on development of Windows Mobile 6 Professional SDK 4 7 1 Application program interfaces and examples API used for development of DM3730 EVK application programs employs Microsoft Windows Embedded CE 6 0 standard application program interface definition DM3730 EVK only expands interface definition of GPIO based on standard API Please refer
33. K date FriAug 8 20 00 00 UTC 2011 We can see the system time is set as hardware time The DM3730 EVK Development board RTC battery can use model CR1220 user needs to prepare themselves eefiniti wwoomentiacom 3 8 1 5 TF Card Testing 1 After connecting TF card the system will mount the file system of the TF card under the directory media automatically root DM3730_EVK cd media root DM3730_EVK media Is card hdd mmcbik0p1 ram union cf mmci net realroot 2 Enter the following command you can see the contents inside the TF card root DM3730_EVK media Is mmcblk0p1 flash uboot bin u boot bin x load bin ift for NAND mlo ulmage ramdisk gz ubi img 3 8 1 6 USB Devices Testing In the USB DEVICE testing a conenction line is used to connect the miniUSB interface of the development board and the USB interface at the computer end for the computer end the development board is recognized as a network device to realize ping communication of two ends 1 After booting the system a USB mini B to USB A transfer line is used to connect the development board and the computer end wherein USBmini B interface is connected with the development board and the USB A interface is connected with the computer end At this time the computer needs to be installed with Linux USB Ethernet driver Please refer to Appendix III for detailed installation method 2 The following commands are input at the HyperTerminal for example root DM3730
34. LASH images eefiniti wmelementicom 1 Preparation a Format the TF card to FAT or FAT32 file system through HP USB Disk Storage Format Tool 2 0 6 b Copy x load bin ift_for_NAND flash uboot bin ulmage_xx and ubi img image files in the disc to the TF card and rename ulmage_xx as ulmage according to the display device LCD 4 3 7 or VGA you used 2 Update a Insert the TF card with the system images into the development board power on and boot it and press any key on the PC keyboard to enter the u boot according to the following clock prompts Texas Instruments X Loader 1 47 Sep 27 2011 15 53 45 DM3730_EVK xM RevA Starting X loader on MMC Reading boot sector 1153680 Bytes Read from MMC Starting OS Bootloader from MMC Starting OS Bootloader U Boot 2010 06 rc1 svn Sep 27 2011 14 54 40 OMAP34xx 35xx GP ES2 1 CPU OPP2 L3 165MHz DM3730_EVK board LPDDR NAND I2C ready DRAM 512 MiB NAND 512 MiB Warning bad CRC or NAND using default environment In serial Out serial Err serial eefiniti vmeumemtacom DM3730_EVK xM Rev A Die ID 22e800211e3000000158ed8408008020 Net dm9000 Hit any key to stop autoboot O Here press any key to enter u boot b After entering the u boot command line input run updatesys from the PC keyboard to start to update the system automatically DM3730_EVK run updatesys NAND erase device 0 whole chip Skipping bad block at 0x1c9c0000 Eras
35. P3 playback and Flash for example would strongly suggest unless you know who Richard Stallman is that you check or tick this option eefiniti O wwwoomentiacom Install Allocate drive space This computer currently has no detected operating systems What would you like to do D Erase disk and install Ubuntu Warning Something else Quit Back Forward Figure Appedix 2 3 9 Click Forward Install Erase disk and install Ubuntu Select drive SCSI3 0 0 0 sda 8 6 GB ATA VBOX HARDDISK Ubuntu dev sda ext4 8 6 GB The entire disk will be used Quit Back Install Now Figure Appedix 2 3 10 This is the no turning back point If you decide to do this your hard drive will be repartitioned and part or all of it will be formatted Before you click this button Install Now to continue make sure you have everything backed up eefiniti wwetementtacom Install Where are you New York Figure Appedix 2 3 11 While Ubuntu is preparing files to copy over for installation it ll ask you some questions They re self explanatory Install Keyboard layout Choose your keyboard layout Tajikistan Tanzania Alternative international Thailand Cherokee Turkey Classic Dvorak Turkmenistan SA Colemak Dvorak Ukraine Dvorak alternative international no dead keys United Kingdom Dvorak international with dead keys Uzbekistan I
36. S data 0 10 CLK TMDS data clock 11 CLK_S TMDS data clock shield 12 CLK TMDS data clock 13 CEC Consumer Electronics Control 14 NC NC 15 SCL IIC master serial clock 16 SDA IIC serial bidirectional data 17 GND GND 18 5V 5V 19 HPLG Hot plug and play detect Table 2 3 5 HDMI interface 2 3 6 TFT_LCD Interface J12 Pin Signal Function 1 DSS_DO LCD Pixel data bit 0 2 DSS Di LCD Pixel data bit 1 3 DSS_D2 LCD Pixel data bit 2 4 DSS_D3 LCD Pixel data bit 3 5 DSS_D4 LCD Pixel data bit 4 6 DSS_D5 LCD Pixel data bit 5 7 DSS_D6 LCD Pixel data bit 6 eefiniti www element14 com 8 DSS D7 LCD Pixel data bit 7 9 GND GND 10 DSS D8 LCD Pixel data bit 8 11 DSS D9 LCD Pixel data bit 9 12 DSS D10 LCD Pixel data bit 10 13 DSS_D11 LCD Pixel data bit 11 14 DSS D12 LCD Pixel data bit 12 15 DSS D13 LCD Pixel data bit 13 16 DSS_D 14 LCD Pixel data bit 14 17 DSS D15 LCD Pixel data bit 15 18 GND GND 19 DSS D16 LCD Pixel data bit 16 20 DSS D17 LCD Pixel data bit 17 21 DSS D18 LCD Pixel data bit 18 22 DSS_D19 LCD Pixel data bit 19 23 DSS_D20 LCD Pixel data bit 20 24 DSS_D21 LCD Pixel data bit 21 25 DSS_D22 LCD Pixel data bit 22 26 DSS_D23 LCD Pixel data bit 23 27 GND GND 28 DEN AC bias control STN or pixel data enable TFT 29 HSYNC LC
37. S startup disk using internal MS DOS system files using DOS system files located at c Select FAT32 d Click Start e When formatting is completed click OK eerinith a swoomentiacom HP USB Disk Storage Format Tool will clear partitions of the TF card Please use the formatting software provided in the computer system 2 Update of images Copy all files under the directory linux image to the TF card and rename ulmage_xx as ulmage according to the used display device LCD 4 3 7 or VGA Connect the TF card power on and boot it the serial port information will be displayed as follows 60 Texas Instruments X Loader 1 47 Sep 27 2011 15 53 45 DM3730_EVK xM RevA Starting X loader on MMC Reading boot sector 1153680 Bytes Read from MMC Starting OS Bootloader from MMC Starting OS Bootloader U Boot 2010 06 rc1 svn Sep 27 2011 14 54 40 OMAP34xx 35xx GP ES2 1 CPU OPP2 L3 165MHz DM3730_EVK board LPDDR NAND 12C ready DRAM 512 MiB NAND 512 MiB Warning bad CRC or NAND using default environment In serial Out serial Err serial DM3730_EVK xM RevA eefiniti O wwoomentiacom Die ID 065400029e3800000168263d0600900a Net dm9000 Hit any key to stop autoboot 0 mmc is available reading boot scr Unable to read boot scr from mmc 0 1 reading ulmage 2551588 bytes read reading ramdisk gz 7686374 byt
38. To Send 8 CTS Clear To Send 9 NC NC 2 3 12 LAN Interface Table 2 3 11 serial port J13 Pin Signal Function 1 TX4 TX output 2 TX TX output 3 RX RX input 4 VDD25 2 5V Power for TX RX 5 VDD25 2 5V Power for TX RX 6 RX RX input 7 NC NC 8 NC NC 9 VDD 3 3V Power for LED 10 LED1 Speed LED 11 LED2 Link LED 12 VDD 3 3V Power for LED 2 3 13 USB OTG Interface Table 2 3 12 LAN interface J16 Pin Signal Function 1 VBUS 5V 2 DN USB Data 3 DP USB Data 4 ID USB ID 5 GND GND Table 2 3 13 USB OTG interface eefiniti 2 3 14 USB HOST Interface J17 Pin Signal Function 1 VBUS 5V 2 DN USB Data 3 DP USB Data 4 ID USB ID 2 3 15 TF Card Interface Table 2 3 14 USB HOST interface J3 Pin Signal Function 1 DAT2 Card data 2 2 DAT3 Card data 3 3 CMD Command Signal 4 VDD VDD 5 CLK Clock 6 VSS VSS 7 DATO Card data 0 8 DAT1 Card data 1 9 CD Card detect 2 3 16 JTAG Interface Table 2 3 15 TF interface J2 Pin Signal Function 1 TMS Test mode select 2 NTRST Test system reset 3 TDI Test data input 4 GND GND 5 VIO 1 8V 6 NC NC 7 TDO Test data output 8 GND GND www element14 com eefiniti www element14 com 9 RTCK Receive test clock 10 GND GND 11 TCK Test
39. _EVK ifconfig usb0 192 168 1 115 root DM3730_EVK ifconfig 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 26 errors 0 dropped 0 overruns 0 frame 0 TX packets 26 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 0 RX bytes 2316 2 2 KiB TX bytes 2316 2 2 KiB eefiniti wwwoomentiacom usb0 Link encap Ethernet HWaddr 5E C5 F6 D4 2B 91 inet addr 192 168 1 115 Bcast 192 168 1 255 Mask 255 255 255 0 UP BROADCAST RUNNING MULTICAST MTU 1500 Metric 1 RX packets 253 errors 0 dropped 0 overruns 0 frame 0 TX packets 43 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 1000 RX bytes 35277 34 4 KiB TX bytes 10152 9 9 KiB 3 After the development board is configured please click My Computer Network Neighborhood Check Network Connection a virtual network adapter will be added at the PC end 4 Right click virtual network adapter at the computer end left click Attribute double left click to enter the Internet Protocol TCP IP to configure the IP address of the virtual network adapter Internet Protocol TCP IP Properties General You can get IP settings assigned automatically if your network supports this capability Otherwise you need to ask your network administrator for the appropriate IP settings Obtain an IP address automatically Use the following IP address IP addres
40. a videos davincieffect_480p30 264 typefind TiViddec2 TIDmaiVideoSink rotation 270 v Setting pipeline to PAUSED GstPipeline pipeline0 GstTypeFindElement typefindelementO GstPad src caps video x h264 Pipeline is PREROLLING GstPipeline pipeline0 GstTIViddec2 tividdec20 GstPad sink caps video x h264 GstPipeline pipeline0 GstTlViddec2 tividdec20 GstPad src caps video x raw yuv format fourcc UYVY framerate fraction 30000 1001 width int 720 height int 576 GstPipeline pipeline0 GstTlViddec2 tividdec20 GstPad src caps video x raw yuv format fourcc UYVY framerate fraction 30000 1001 width int 720 height int 480 GstPipeline pipeline0 GstTIDmaiVideoSink tidmaivideosink0 GstPad sink caps video x raw yuv format fourcc UYVY framerate fraction 30000 1001 width int 720 height int 480 Pipeline is PREROLLED Setting pipeline to PLAYING New clock GstSystemClock 4 Atthis time the screen will play a video clip S ll vmmeumemacom For detailed information please reference DVSDK TI main page or TMS320DM3730 Software Developers Guide PDF document 3 9 The Development Of Application This section mainly introduces to development of application programs and illustrates the general process of development of application programs with cases Development example of LED application program 1 To Edit code led acc c source code control three LED lamps on the development boar
41. act 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 amp mail or post your guestions on the below micro site we will reply to you as soon as possible Centralized technical support mail box knode tech element14 com Community http www element14 com community community knode dev platforms kits Please visit the below micro site to download the latest documents and resources code http www element14 com community community new technology at91sam9945 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 25636285 Fax 86 755 25616057 E mail market embedinfo com Technical Support Tel 86 755 25503401 E mail support embedinfo com URL http www armkits com
42. action Translator MTT architecture to explore the maximum possible throughput Six instead of two non periodic transaction buffers are used to minimize potential traffic jamming FE1 1 is link out the 4 channel USB interface via the USB3320 share one channel 480Mbps as four channel 120Mbps Support High Speed 480MHz Full Speed 12MHz and Low Speed 1 5MHz modes eefiniti 2 wwoomentiacom 2 2 5 TFP410 The TFP410 is a Texas Instruments Pane Bus flat panel display product part of a comprehensive family of end to end DVI 1 0 compliant solutions targeted at the PC and consumer electronics industry The TFP410 provides a universal interface to allow a glue less connection to most commonly available graphics controllers Some of the advantages of this universal interface include selectable bus widths adjustable signal levels and differential and single ended clocking The adjustable 1 1 V to 1 8 V digital interface provides a low EMI high speed bus that connects seamlessly with 12 bit or 24 bit interfaces The DVI interface supports flat panel display resolutions up to UXGA at 165 MHz in 24 bit true color pixel format 2 2 6 MAX3232 The function of MAX3232 is mainly to translate TTL logic level signal into RS232 logic level which helps in communicating the board with PC DM3730 EVK uses UART3 as debugging serial port as the default voltage of UART3 is 1 8V it is necessary to convert this voltage to 3 3V in order to conn
43. ble of streaming Capture Number of requested buffers 3 Capture Init done successfully Display Opened Channel Display Capable of streaming Display Number of requested buffers 3 Display Init done successfully Display Stream on Capture Stream on 2 At this time LCD display screen will display images collected by the CCD camera eefiniti wwoomentacom 3 8 1 11 GPRS8000 S module If the camera modules are from Embest then you can donload the module material from below link http www timll com chinese uploadFile GPRS8000 rar 3 8 1 12 GPS8000 S module If the camera modules are from Embest then you can donload the module material from below link http www timll com chinese uploadFile GPS8000 rar 3 8 1 13 CDMA8000 U module If the camera modules are from Embest then you can donload the module material from below link http www timll com chinese uploadFile cdma8000 rar 3 8 1 14 WCDMA8000 U module If the camera modules are from Embest then you can donload the module material from below link http www timll com chinese uploadFile WCDMA8000 110113 zip 3 8 2 Demo 3 8 2 1 Android system demonstration DM3730 EVK provides Android system demonstration please follow below steps 1 Copy all files under the directory CD linux demo Android image to the TF card select according to the size of LCD you have bought and rename ulmage_xx as ulmage 2 Put the TF card in the development card an
44. d when LOW level signal high to low is given General Purpose Interface The general purpose interface combines six general purpose input output GPIO banks Each GPIO bank provides 32 dedicated general purpose pins with input and output capabilities thus it supports up to 192 6 x 32 general purpose interface pins These pins can be configured for the following applications e Data input capture output drive Keyboard interface with a debounce cell e Interrupt generation in active mode when external events are detected Display Subsystem The display subsystem provides the logic to display a video frame from the memory frame buffer either SDRAM or SRAM on a liquid crystal display LCD panel or a TV set The display subsystem integrates the following elements Display controller DISPC module Remote frame buffer interface RFBI module Display serial interface DSI complex I O module and a DSI protocol engine e DSI PLL controller that drives a DSI PLL and high speed HS divider NTSC PAL video encoder The display controller and the DSI protocol engine are connected to the L3 and L4 interconnect the RFBI and the TV out encoder modules are connected to the L4 interconnect 2D 3D Graphics Accelerator The 2D 3D graphics accelerator SGX subsystem accelerates 2 dimensional 2D and 3 dimensional 3D graphics applications The SGX subsystem is based on the POWERVR SGX core from Imagination Technologies SGX is a
45. d controller driver usb otg 2 0 driver can be configured as slave usb otg device currently eefiniti rn stementsscom usb ehci usb ehci driver Dvi Supports dvi d signal output s video Supports s video signal output Audio Audio driver Camera Camera driver Keypad 6x6 matrix keyboard driver Led User led lamp driver Android android 2 2 system Demo DVSDK DVSDK 4 00 00 22 Table 3 3 1 3 4 System Development 3 4 1 Establishing operating system development environment Before executing software development on DM3730 EVK the user has to establish a Linux cross development environment and install it in computer How to establish a cross development environment will be introduced below by taking Ubuntu operating system as an example 3 4 1 1 Installation of cross compilation tools Installation of cross compilation tools is done by using the software CD provided along with this kit to start the process insert the CD and allow it for autorun Ubuntu will mount the disc under the directory media cdrom the cross compilation tools are saved under the directory media cdrom linux tools The following instructions are executed at the Ubuntu terminal to decompress the cross compilation tools under the directory home embest cd media cdrom linux tools tar xvf arm eabi 4 4 0 tar bz2 C home embest Some of the other development tools used for source code compilation are present in the
46. d directly power it on the debugging tool will display the following information 60 Texas Instruments X Loader 1 47 Sep 20 2011 16 18 31 DM3730 EVK xM RevA Starting X loader on MMC eefiniti welementiacom Reading boot sector 1153712 Bytes Read from MMC Starting OS Bootloader from MMC Starting OS Bootloader U Boot 2010 06 rc1 svn Sep 27 2011 14 57 19 OMAP34xx 35xx GP ES2 1 CPU OPP2 L3 165MHz DM3730_EVK board LPDDR NAND 12C ready DRAM 512 MiB NAND 512 MiB Warning bad CRC or NAND using default environment In serial Out serial Err serial DM3730_EVK xM RevA Die ID 3a7e00229e380000016826300402302f NAND erase device 0 whole chip Erasing at 0x1ffe0000 100 complete OK mmc is available reading x load bin ift for NAND 10892 bytes read HW ECC selected eefiniti vmeumemtacom NAND write device 0 offset 0x0 size Ox2a8c 12288 bytes written OK reading flash uboot bin 1152260 bytes read SW ECC selected NAND write device 0 offset 0x80000 size 0x119504 1153024 bytes written OK reading ulmage 2572792 bytes read SW ECC selected NAND write device 0 offset 0x280000 size 0x2741f8 2574336 bytes written OK reading ubi img 79036416 bytes read SW ECC selected NAND write device 0 offset 0x680000 size 0x4b60000 79036416 bytes written OK 3 LED lamp sys on the board will flicker to prompt after programming is finished at this time
47. d to flicker in a way of accumulator include lt stdio h gt include lt unistd h gt include lt sys types h gt include lt sys ipc h gt include lt sys ioctl h gt include lt fentl h gt define LED1 sys class leds user_ledb brightness define LED2 sys class leds user_led1 brightness define LED3 sys class leds user_led2 brightness int main int argc char argv int f_led1 f_led2 f_led3 unsigned char i 0 unsigned char dat1 dat2 dat3 if f_led1 open LED1 O_RDWR lt 0 printf error in open s LED1 return 1 if f_led2 open LED2 O_RDWR lt 0 eefiniti vmeumemtacom printf error in open s LED2 return 1 if f_led3 open LED3 O RDWR lt 0 printf error in open s LED3 return 1 for i dati i amp 0x1 1 0 dat i amp 0x2 gt gt 1 10 dat3 i amp 0x4 gt gt 2 10 write f_led1 amp dat1 sizeof dat1 write f_led2 amp dat2 sizeof dat2 write f_led3 amp dat3 sizeof dat3 usleep 300000 2 To Cross compile arm eabi gcc led_acc c o led_acc 3 Download and run Upload to the development board system through TF card USB flash disk or network enter the directory with the led_acc file input the following commands and press Enter to run led_acc in the background led_acc A eefiniti 2 wwoomentiacom Chapter 4 WinCE Operating System 4 1 Introduction This section mainly introduc
48. directory linux tools of the disc the user can execute the following commands to copy them to local folder mkdir home embest tools cp media cdrom linux tools mkimage home embest tools cp media cdrom linux tools signGP home embest tools eefiniti wwetementtacom cp media cdrom linux tools mkfs ubifs home embest tools cp media cdrom linux tools ubinize home embest tools cp media cdrom linux tools ubinize cfg home embest tools It is defaulted to install it under the user directory that is subject to home embest in the text the user can change it to his directory properly 3 4 1 2 Addition of environment variables After all above tools are installed it is necessary to use the following commands to add them in the temporary environment variables export PATH home embest arm eabi 4 4 0 bin home embest tools PATH The user can write it in the barsrc file under the user directory such that the addition of environment variables will be finished automatically when the system is booted command echo PATH can be used to check the path 3 4 2 System compilation 3 4 2 1 Preparation Source codes of all components of the system are under the directory linux source in the disc user has to decompress them to the Ubuntu system before executing development mkdir home embest work cd home embest work tar xvf media cdrom linux source x loader 03 00 02 07 tar bz2 tar xvf media cdrom linux source u boot 03 00 02 07
49. e screen please select From list or designated location then click Next Found New Hardware Wizard Welcome to the Found New Hardware Wizard This wizard helps you install software for RNDIS Ethernet Gadget If your hardware came with an installation CD lt 6 or floppy disk insert it now What do you want the wizard to do O Install the software automatically Recommended Click Next to continue Figure Appedix 3 1 2 Designate a path for the usb driver and the usb driver directory is disk linux tools then click D N ext eefiniti mwoomentiacom Found New Hardware Wizard Please choose your search and installation options Search for the best driver in these locations Use the check boxes below to limit or expand the default search which includes local paths and removable media The best driver found will be installed 3 dis ogy ORON Include this location in the search C Documents and Settings workDesktoptusb driv vw Don t search will choose the driver to install Choose this option to select the device driver from a list Windows does not guarantee that the driver you choose will be the best match for your hardware Figure Appedix 3 2 3 When the following appears select Continue Hardware Installation The software you are installing for this hardware Linux USB Ethernet ANDIS Gadget has not passed Windows Logo testing t
50. ect to eternal world eefiniti 2 wwoomentiacom 2 3 Hardware interface uu Uu Ll mon 2300 DOC Fr alalalataataalarareral D UL RAS CI Figure 2 3 DM3730 EVK Hardware Interface Diagram The following section gives in detail about the pin numbers and its function description of various different IC s blocks present in DM3730 EVK 2 3 1 Power Input Jack J19 Pin Signal Function 1 GND GND 2 5V Power supply 5V 2A Type Table 2 3 1 power input interface eefiniti wwwotementtacom 2 3 2 Power Output Interface J4 Pin Signal Function 1 VDD50 5V output 2 NC NC 3 VDD33 3 3V output 4 ADCIN ADC input 5 GND GND Table 2 3 2 power output interface 2 3 3 Power Switch Swi Pin Signal Function 1 DC IN VDD Input 2 VDD50 5V 3 NC NC Table 2 3 3 power switch 2 3 4 S VIDEO Interface J4 Pin Signal Function 1 GND GND 2 GND GND 3 OUTPUT1 VIDEO Y 4 OUTPUT2 VIDEOC Table 2 3 4 S VIDEO interface 2 3 5 HDMI Interface eefiniti wmelementiacom Pin Signal Function 1 DAT2 TMDS data 2 2 DAT2_S TMDS data 2 shield 3 DAT2 TMDS data 2 4 DAT1 TMDS data 1 5 DAT1_S TMDS data 1 shield 6 DAT1 TMDS data 1 7 DATO TMDS data 0 8 DATO S TMDS data 0 shield 9 DATO TMD
51. eeeeeeceeeenaeaeseceeeeeeeuaaneeeeeeeseeeaananeeess 23 eefiniti O vmememtacom 23 15 TF Card A EEEE EAEE EEEE 23 RL En KN 23 2 9 17 Expansion Interface uan naa 24 2 3 KEY EE 25 SE ak 25 CHAPTER 3 LINUX OPERATING SYSTEM 27 31 INTRODUCTION AA Un na dan 27 22 SOPMVARE RESOURCES NAN LAI qe 27 3 3 SOFTWARE ea ana 28 3 4 SYSTEM DEVELOPMENT Sator Se an o e o Ken ana anna 29 3 4 1 Establishing operating system development environment 29 3 4 2 System CODE cta 30 3 4 3 System CustomizatO ieee e e E EES 34 3 5 INTRODUCTION OE na Na E 36 A ee Ee 36 3 52 SD MMC lt a ead an Aen ea 37 3 5 9 Display a internace eee nee eee ere a to 38 SEN ER TTC 39 SDS AUGIO IN OUT i604 AER A AA NAN 41 3 6 DRIVER Deo MEN ion 42 3 6 1 Driver For The gpio_keys sise 42 3 6 2 Driver for the gpio_leds sr 48 RERO ideis iaiada ii codnda denenen enaisi tiiaai iieiaei idade raneren 53 3 7 1 Update of TF card system image 53 37 2 Update o NANDRIS E 56 EE 59 3 8 1 Various Tests SENAFIO oooooooooo Woo Woo co oo nrnna nnne annn naa 59 eefiniti O wwoomentacom 4 1 INTRODUCTION Na Pa aa eee ee Pn na 77 4 2 SOFTWARE ele 77 EE 78 4A SYSTEM DEVELOPMENT a INN BNN ANN 79 4 4 1 Installation of compilation tools 79 4 4 2 Establishment of development environment 80 4 4 3 Sysgen amp BSP COmpIiS union EERSTEN EE 81 A 81 4 5 UPDATE OF SYSTEM A 84
52. es DM3730 EVK system and application development under Windows Embedded CE 6 0 R3 as well as situation of software resources in disc software features establishment of development environment and how to compile and port BSP board support package and so on 4 2 Software Resources BSP Board Support Package CD wince_6 BSP DM3730_EVK rar CD wince_6 BSP OMAP35XX_TPS659XX_TI_V1 rar CD wince PowerVRwince gfx sgx O1 01 00 patch 01 setup exe Windows Embedded CE 6 0 R3 sample project CD wince_60 prj DM3730_EVK rar Sample application CD wince_60 app GPIOAppDemo rar Pre compile image CD wince_60 Image MLO First bootloader for SD card boot Xldrnand nbO First bootloader for nand boot Ebootsd nb0 Second bootloader for SD card boot Ebootnand nb0 Second bootloader for nand boot Nk bin WinCE runtime image eefiniti wwoomentiacom 4 3 Features Resources of BSP Source code Catalog Item binary NAND Source X Loader ONENAND source First boot loader SD Source EBOOT NAND Source Second boot ONENAND Source loader SD source KILT USB RNDIS Source REBOOT Source Watchdog Source OAL RTC Source System timer Source Interrupt controll Source Low power suspend Source NLED driver Source GPIO I2C SPI MCBSP driver Source Series port driver Source 6X6 keyboard driver Source Audio driver Source NAND driver Source Driver Display driver LC
53. es read Booting from mmc Booting kernel from Legacy Image at 80300000 Image Name Linux 2 6 32 Image Type ARM Linux Kernel Image uncompressed Data Size 2551524 Bytes 2 4 MiB Load Address 80008000 Entry Point 80008000 Verifying Checksum OK Loading Kernel Image OK OK Starting kernel Uncompressing SE done booting the kernel Linux version 2 6 32 luofc TIOP gcc version 4 4 0 GCC 1 Mon Mar 14 10 08 34 CST 2011 eefiniti vmeumemtacom Remounting root file system mount mounting dev root on failed Invalid argument mount mounting dev root on failed Invalid argument root mount mounting rootfs on failed No such file or directory root mount mounting usbfs on proc bus usb failed No such file or directory Setting up IP spoofing protection rp_filter Configuring network interfaces udhcpc v1 11 3 started Sending discover udhcpc sendto Network is down Sending discover udhcpc sendto Network is down INIT Entering runlevel 5 Starting syslogd klogd done The Angstrom Distribution DM3730_EVK ttyS2 Angstrom 2008 1 test 20090127 DM3730 EVK ttyS2 DM3730_EVK login HyperTerminal displays above information to indicate that it is successful to boot Linux system from TF card 3 7 2 Update of NAND Flash Update of Nand boot image is finished in aid with u boot No matter whether NAND FLASH has data or not u boot of the TF card can be used to update NAND F
54. g Jr audio Host Driver Windows DirectSound Controller ICH AC9T Figure Appedix 2 2 9 Click Finish and wait for the virtual hard drive to be created This is actually just a very large file that lives inside of your Windows installation eefiniti mewoomentiacom Y Create New Virtual Disk Summary You are going to create a new virtual hard disk with the following parameters Type Fixed size storage Location G Ubuntu system Ubuntu vdi Sire 8 00 GB 8589934592 B If the above settings are correct press the Finish button Once you press it a new hard disk will be created Figure Appedix 2 2 10 Click Finish the virtual hard drive is successfully created eefiniti 2 vmememtacom 3 Installing Ubuntu S Oracle VE VirtualBox Hanager Settings General E System Displey Basic Advanced Description Storage Name Ubuntu Audio Operating System Linux Network Version Serial Ports USB Shared Folders Select a settings category from the I st on the Jeft hand side and move the mouse over a settings item to get more information md caca ancel Help El General Storage System Display Storage Choose a virtual CD DVD disk file Audio Look in LD software sl ex Er EP Network d SBubuntu 11 04 desktop i386 IS Serial Ports uss Shared Folders Storage Tree
55. h device it is on your system dmesg tail 6854 215650 sd 7 0 0 0 sdc Mode Sense Ob 00 00 08 6854 215653 sd 7 0 0 0 sdc Assuming drive cache write through 6854 215659 sdc sdc1 6854 218079 sd 7 0 0 0 sdc Attached SCSI removable disk 6854 218135 sd 7 0 0 0 Attached scsi generic sg2 type 0 In this case it shows up as dev sdc note sdc inside the square brackets above 2 Check to see if the automounter has mounted the SD Card Note there may be more than one partition only one shown in the example below df h Filesystem Size Used Avail Use Mounted on dev sdc1 400M 94M 307M 24 media disk eefiniti O vmememtacom Note the Mounted on field in the above and use that name in the umount commands below 3 If so unmount it umount media disk 4 Start fdisk Be sure to choose the whole device dev sdc not a single partition dev sdc1 sudo fdisk dev sdc 5 Print the partition record So you know your starting point Make sure to write down the number of bytes on the card in this example 2021654528 Command m for help p Disk dev sdc 2021 MB 2021654528 bytes 255 heads 63 sectors track 245 cylinders Units cylinders of 16065 512 8225280 bytes Device Boot Start End Blocks Id System devisdc1 1 246 1974240 c W95 FAT32 LBA Partition 1 has different physical logical endings phys 244 254 63 logical 245 200 19 6 Delete any partitions that
56. he V4L2 API to access the Camera Driver functionality A Linux 2 6 V4L2 implementation is used in order to support the standard features that are defined in the V4L2 specification Video Buffer Library This library comes with V4L2 It provides helper functions to cleanly manage the video buffers through a video buffer gueue object Camera Driver The Camera Driver allows capturing video through an external decoder The camera driver is registered to the V4L2 layer as a master device driver Any slave decoder driver added to the V4L2 layer will be attached to this driver through the new V4L2 master slave interface layer The current implementation supports only one slave device eefiniti wwoomentiacom Decoder Driver A decoder driver must implement the new V4L2 master slave interface It should register to the V4L2 layer as a slave device Changing a decoder reguires implementation of a new decoder driver it does not require changing the Camera Driver Each decoder driver exports a set of IOCTLs to the master device through function pointers CCDC library CCDC is a HW block in which acts as a data input port It receives data from the sensor decoder through parallel interface The CCDC library exports API to configure CCDC module It is configured by the master driver based on the sensor decoder attached and desired output from the camera driver Kernel Driver reference path linux 2 6 32 dm3730 evk drivers media vide
57. ing at 0x1ffe0000 100 complete OK mmc is available reading x load bin ift for NAND 11000 bytes read HW ECC selected NAND write device 0 offset 0x0 size Ox2af8 12288 bytes written OK reading flash uboot bin 230764 bytes read SW ECC selected NAND write device 0 offset 0x80000 size 0x3856c 231424 bytes written OK reading ulmage 2561868 bytes read SW ECC selected eefiniti O ctements cm NAND write device 0 offset 0x280000 size 0x27174c 2562048 bytes written OK reading ubi img 7602176 bytes read SW ECC selected NAND write device 0 offset 0x680000 size 0x740000 7602176 bytes written OK DM3730_EVK c At this time flickering of LED lamp on the board indicates that update has been finished you just need to reboot it 3 8 Instructions 3 8 1 Various Tests senario 3 8 1 1 LED Testing SYS_LED USER LEDB USER_LED1 and USER_LED2 in the board is user led lamp The following operation carried out in HyperTerminal 1 Control sys_led root DM3730 EVK echo 1 gt sys class leds sys led brightness root DM3730 EVK echo 0 gt sys class leds sys led brightness 2 Control user ledb root DM3730 EVK echo 1 gt sys class leds user ledb brightness root DM3730 EVK echo 0 gt sys class leds user ledb brightness 3 Control user led1 root DM3730 EVK echo 1 gt sys class leds user_led1 brightness root DM3730 EVK echo 0 gt sys class leds user_led1 brightness 4 Control user
58. l generate the file x load bin ift_for NAND which we need 3 4 2 3 U boot image generated cd u boot 03 00 02 07 make distclean make dm3730 evk config eefiniti weementiacom make When the above steps are finished the current directory will generate the file u boot bin which we need 3 4 2 4 Kernel compilation Before kernel compilation the user has to select correct display according to the customize menu of kernel For Linux system the output operation is as follows cd linux 2 6 32 dm3730_evk make distclean make dm3730 evk defconfig make ulmage For Android system the iutput operation is as follows cd linux 2 6 32 dm3730_evk make distclean make dm3730 evk android defconfig make menuconfig If an error occurs in the system when make menuconfig is input it is necessary to install ncurse in the Ubuntu system ncurse library is a character graphic library used for make menuconfig of kernel the specific installation instruction is sudo apt get install ncurses dev Enter the kernel customize menu now enter PANEL TYPE according to the following pointing paths Location gt Device Drivers gt Graphics supporte gt OMAP2 3 Display Subsystem support EXPERIMENTAL gt OMAP2 3 Display Device Drivers gt DM3730_EVK LCD Panel gt PANEL TYPE lt choice gt y Select under PANEL_ TYPE according to actually displayed screen size eefiniti a PANEL TYPE Use the arrow keys to
59. m37x evm rootfs tar bz2 C media LABEL2 sync umount media LABEL1 umount media LABEL2 2 Prepare TF card insert it in the development board and turn the power switch on it is necessary to configure parameters of u boot the boot up serial port information is as follows boldface letters are character contents to be input 60 Texas Instruments X Loader 1 47 Sep 27 2011 15 53 45 DM3730_EVK xM Rev A Starting X loader on MMC Reading boot sector eefiniti weementiacom 1153680 Bytes Read from MMC Starting OS Bootloader from MMC Starting OS Bootloader U Boot 2010 06 rc1 svn Sep 27 2011 14 54 40 OMAP34xx 35xx GP ES2 1 CPU OPP2 L3 165MHz DM3730 EVK board LPDDR NAND I2C ready DRAM 512 MiB NAND 512 MiB In serial Out serial Err serial DM3730 EVK xM RevA Die ID 3a7e00229e3800000168263d0402302fNet dm9000 Hit any key to stop autoboot 0 herein input any key DM3730 EVK setenv bootargs console ttyS2 115200n8 root dev mmcblkOp2 rootfstype ext3 rw rootwait mpurate 1000 mem 99M 0x80000000 mem 128M 0x88000000 omapdss def _ disp lcd omap_vout vid1_static_vrfb_alloc y omapfb vram 0 3M DM3730_EVK setenv bootcmd mmc init fatload mmc 0 80300000 ulmage bootm 80300000 DM3730_EVK Saveenv DM3730 EVK boot mmcl is available reading ulmage 2547428 bytes read eefiniti vmeumemtacom Booting kernel from Legacy Image at 80300000 Image Name Linux 2 6 32 Image T
60. new generation of programmable POWERVR graphic cores The POWERVR SGX530 v1 2 5 architecture is scalable and can target all market segments from mainstream mobile devices to high end desktop graphics Targeted applications eefiniti 2 wwoomentiacom include feature phone PDA and hand held games see Figure 2 1 1 Device Graphics accelerator L3 slave subsystem interconnect L3 master interconnect age 001 The SGX graphics accelerator can simultaneously process various multimedia data types e Pixel data e Vertex data e Video data e General purpose processing This is achieved through a multithreaded architecture using two levels of scheduling and data partitioning enabling zero overhead task switching 2 2 Description of different IC blocks 2 2 1 TPS65930 The TPS65930 devices are power management ICs for OMAP and other mobile applications The devices include power management a universal serial bus USB high speed HS transceiver light emitting diode LED drivers an analog to digital converter ADC a real time clock RTC and embedded power control EPC In addition the TPS65930 includes a full audio codec with two digital to analog converters DACs and two ADCs to implement dual voice eefiniti weementiacom channels and a stereo downlink channel that can play all standard audio sample rates through a multiple format inter integrated sound 12S time division multiplexing TDM inte
61. nternational AltGr dead keys Vietnam International with dead kevs Detect Keyboard Layout Figure Appedix 2 3 12 eefiniti vmeememacom Install Who are yo Your name Susan Brownmiller Your computer s name jubuntutaplop y The name it uses when it talks ta other computers Pick a username susan Y Choose a password ALAVA Fale password Confirm your password eeeesececes Login automatically Require my password to login Encrypt my home folder Figure Appedix 2 3 13 Install Welcome to Ubuntu 11 04 computer deli introduces the Unity de 5 find and manage you system gt Almost finished copying files Figure Appedix 2 3 14 eefiniti 2 wwoomentiacom Install Find even more software The Ubuntu Software Centre has thousands of new applications ready for FAA corso ja Lestzetagez tentu 2 gan your computer Just type what you want Beleg saoao or explore the categories like games Bata science and education It is simple to WE Stellari z H i um download new stul and write reviews to Drees pana we bebe share your experiences R Some of our favourites e An readers 30 photo real sie shies in ah cre With elk ar pe erh see Stellarium Y HO ea A A Inkscape s nectetrse a One 120000 siais cen Lhe tonn FE Frozen Bubble GK Kat marraine D dur Fox Ais bo gf lex one Pare thine ath fen freee ta Lee the
62. o linux 2 6 32 dm3730 evk drivers media video omap34xxcam c linux 2 6 32 dm3730_evk drivers media video tvp514x int c eefiniti 2 wwoomentiacom 3 5 5 Audio in out Native ALSA application Use ALSA LIBRARY ALSA KERNEL API Kernel ALSA SOC CORE MACHINE PLATFORM HARDWARE Figure 3 5 5 Modular structure for Audio Hardware ASOC basically splits an embedded audio system into three components e Codec driver The codec driver is platform independent and contains audio controls audio interface capabilities codec dapm definition and codec IO functions e Platform driver The platform driver contains the audio dma engine and audio interface drivers e g 12S AC97 PCM for that platform Machine driver The machine driver handles any machine specific controls and audio events i e turning on an amp at start of playback Kernel Driver reference path linux 2 6 32 dm3730 evk sound soc linux 2 6 32 dm3730 evk sound soc omap dm3730 evk c linux 2 6 32 dm3730_evk sound soc codecs twl4030 c eefiniti welementiacom 3 6 Driver Development 3 6 1 Driver For The gpio keys 1 Device Definition linux 2 6 32 dm3730 evk arch arm mach omap2 board dm3730 evk c Setup GPIO 26 as menu key return value as KEY F7 triggered on low level gpio 29 as back key return value as KEY ESC triggered on low level The structure template is shown below
63. o verify its compatibility with Windows XP Tell me why this testing is important Continuing your installation of this software may impair or destabilize the correct operation of your system either immediately or in the future Microsoft strongly recommends that you stop this installation now and contact the hardware vendor for software that has passed Windows Logo testing Continue Anyway STOP Installation Figure Appedix 3 3 4 Please wait until the installation is completed eefiniti mmwoomentiacom Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software for Linux USB Ethernet ANDIS Gadget Click Finish to close the wizard Cancel Figure Appedix 3 4 eefiniti 2 woomentiacom Appendix IV Linux Boot Disk Format How to create a dual partition card for DM3730 EVK to boot Linux from first partition and have root file system at second partition Introduction This guide is meant for those who are looking to create a dual partition card booting from a FAT partition that can be read by the DM3 ROM bootloader and LinuxWindows then utilizing an ext3 partition for the Linux root file system Text marked with shows user input 1 Determine which device the SD Card Reader is your system Plug the SD Card into the SD Card Reader and then plug the SD Card Reader into your system After doing that do the following to determine whic
64. ocess 1 Download software Before installing Ubuntu you must get VirtualBox software and Ubuntu disk image ISO file Available in the VirtualBox download page VirtualBox program VirtualBox 4 0 10 72479 Win exe In the Ubuntu download page to get Ubuntu disk image ubuntu 11 04 desktop i386 iso 2 Create New Virtual mechine lt Oracle VE VirtualBox Manager P Create New Virtual Machine Welcome to the New Virtual Machine Wizard This wizard will guide you through the steps that are necessary to create a new virtual machine for VirtualBox Use the Best button to go to the next page of the wizard and the Back button to return to the previous page You can also press Camcel if you want to cancel the execution of this wizard Figure Appedix 2 2 1 After you launch VirtualBox from the Windows Start menu click on New to create a new virtual machine When the New Virtual Machine Wizard appears click Next eefiniti wwwetementtacom Y Create Hew Virtual Machine YM Name and OS Type Enter a name for the new virtual machine and select the type of the guest operating system you plan to install onto the virtual machine The name of the virtual machine usually indicates its software and hardware configuration It will be used by all VirtualBox components to identify your virtual machine Name Ubuntu OS Type Operating System 9A LL Version Figure Appedix 2 2 2 You can call
65. ou can update one by one according to the following steps Press 5 to enter the Flash administration menu e Press a b and c to write XLDR EBOOT and NK images respectively Then press 0 to return to main menu and respectively press 2 4 7 and y to change the boot devices Pull out TF card and then reboot the system At this time the system will boot from NAND Flash 4 6 Instructions for use 4 6 1 How to use S Video interface In the WinCE operating system 1 Launch Start gt Program gt Command Prompt in windows ce 2 Type in the line below and enter in Command Prompt do tvout on eefiniti wwwatementtacom 4 6 2 How to use openGL ES demo Copy C Tlwince gfx sgx O1 01 00 patch 01 PowerVR SDK OGLES1 1 Binaries Demos or CAWINCE600 PUBLIC PowerV R oak target Rev125 ARMV4l retail exe to DM3730 EVK wince system And double click the demos to test Known problem Some demos are unable to work normally when DVI is used as output This problem will be solved in the next release version 4 6 3 How to use CAM8000 A module 1 Modify the lines below in DM3730 EVK bat set BSP_NOCAMERA set BSP NOCAMERA MDC set BSP NODIGITALCAMERA 1 2 Rebuild solution in vs 2005 to create nk bin 3 Connect camera8000 A module to DM3730 EVK and boot with updated nk bin 4 Copy C wince600 platform DM3730_EVK files CameraDshowApp_analog exe to target system and then launch Knowing issue CAM8000 A cannot work well on
66. ource 1 Visual Studio 2005 SP1 Update for Vista if applicable http download microsoft com download c 7 d c7d9b927 f4e6 4ab2 8399 79a2d5cdfac9 VS80sp 1 KB932232 X86 ENU exe 2 Windows Embedded CE 6 0 Platform Builder Service Pack 1 http www microsoft com downloads details aspx familyid BFODCOE3 8575 4860 A8E3 290ADF 242678 amp displaylang en 3 Windows Embedded CE 6 0 R2 http www microsoft com downloads details aspx FamilyID f41fc7c1 f0f4 4fd6 9366 b6 1e0ab59 565 amp displaylang en 4 Windows Embedded CE 6 0 R3 http download microsoft com download F 5 2 F5296720 250A 4055 99 1 C OCEA5DE11436 CE6 R3 iso 5 WinCEPB60 091 231 Product Update Rollup Armv4I msi http download microsoft com download E D 7 ED779010 1B2E 4ACA BF9F 9F 1 DOEF8052B Wi nCEPB60 091231 Product Update Rollup Armv4I msi 6 Viewers for Windows Embedded CE 6 0 R3 http download microsoft com download 3 3 8 3383B6CE F70A 4A2C 873A 8C67D3CF55F6 We sttekFileViewers6 exe 7 Windows Mobile 6 Professional SDK Refresh msi http download microsoft com download f 2 3 f232f773 7edc 4300 be07 d3b76a5b3a91 Windows 20Mobile 206 20Professional 20SDK 20Refresh msi 8 Windows Embedded CE 6 0 USB Camera Driver msi http download microsoft com download f a 1 falaaef1 6ae3 4cf3 ab95 b010d3e428403 Windows 20Embedded 20CE 206 0 20USB 20Camera 20Driver msi eefiniti wwoomentiacom Customer Service amp Technical support Customer Service Please cont
67. ppedix 2 3 5 Click OK Fa Ubuntu Running Oracle VM VirtualBox Ubuntu 11 04 Figure Appedix 2 3 6 eefiniti vmememtacom Asturian Bahasa indonesia Bosanski Catala e tina Dansk Deutsch Eesti pR LL Esperanto Euskara Try Ubuntu Install Ubuntu Francais Gaellge You can try Ubuntu without making any changes ba your computer directly Galego from this CD Or if you re ready you can Install Ubuntu alongside or instead of your Islenska current operating system This shouldn t take too long Italiane Kurdi 4 You may wish to read the release notes Figure Appedix 2 3 7 Select language and click Install Ubuntu Install Preparing to install Ubuntu For best results please ensure that this computer of has at least 4 4 GB available drive space af is plugged into a power source 2 is connected to the Internet _ Download updates while installing Ubuntu uses third party software to display Flash MP3 and other media and to work with some wireless hardware Some of this software is closed source The software is subject to the license terms included with the software s documentation Install this third party software Fluendo MP3 plugin Includes MPEG Layer 3 audio decoding technology licensed from Fraunhofer 15 and Thomson Figure Appedix 2 3 8 There is a new option in the Ubuntu 11 04 and 10 10 installers that asks if you want to install closed source third party software for M
68. reboot the system At this time the system boots from TF card The HyperTerminal will output boot print information and display the following contents 60 Texas Instruments Windows CE SD X Loader for EVM 3730 Built Mar 23 2011 at 08 31 15 Version 6 15 00 open ebootsd nb0 file Init HW controller RST SDHC 1 bit mode SDCARD regested speed 1000000 actual speed 1000000 Using 4 bit mode SDHC 4 bit mode SDCARD regested speed 25000000 actual speed 24000000 read ebootsd nb0 file jumping to ebootsd image Microsoft Windows CE Bootloader Common Library Version 1 4 Built Mar 22 2011 18 45 08 Texas Instruments Windows CE EBOOT for Mistral OMAP EVM Built Mar 23 2011 at 08 31 11 eefiniti welementiacom EBOOT Version 1 1 BSP 6 15 00 TI DM3730 Version 0x2b89102f unknown TPS659XX Version 0x10 ES1 1 System ready Preparing for download INFO Predownload WARN Boot config wasn t found using defaults INFO SW4 boot setting Ox2f gt gt gt Forcing cold boot non persistent registry and other data will be wiped lt lt lt Hit space to enter configuration menu 1 Init HW controller RST SDHC 1 bit mode SDCARD regested speed 1000000 actual speed 1000000 Using 4 bit mode SDHC 4 bit mode SDCARD regested speed 25000000 actual speed 24000000 BL IMAGE TYPE BIN Download file information Download file type 1 You may wait for a longer time here as the system boots from TF card rom off
69. rface TPS65930 U1 is communicated with CPU through I2C protocol the main function of this is to provide 1 2V and 1 8V to CPU to make CPU run normally Besides TPS65930 also has functions of Audio in Audio out OTG PHY Keyboard ADC and GPIO 2 2 2 MT29C4G96MAZAPCJA 5 As the storage chip of DM3730 EVK MT29C4G96MAZAPCVJA 5 is a memory device used for storage it is integrated with NAND Flash and SDRAM DDR its memory size is 512MB NAND Flash realizes data access through GPMC bus while DDR realizes data access through SDRAM Controller SDRC 2 2 3 DM9000 The DM9000A is a fully integrated and cost effective low pin count single chip Fast Ethernet controller with a general processor interface a 10 100M PHY and 4K Dword SRAM It is designed with low power and high performance process that support 3 3V with 5V IO tolerance DM3730 EVK uses 10 100M adaptive network interface of DM9000 in which the 10 100M Ethernet module is built in and is compatible to IEEE 802 3 standard protocol The cable interface is a standard RJ45 with a connection indicator and a transmission indicator DM3730 EVK can be connected to network hub through a direct cable also can be directly connected with a computer through a crossover cable 2 2 4 FE1 1 for USB 2 0 High Speed 4 Port Hub The FE1 1 is a highly integrated high quality high performance low power consumption yet low cost solution for USB 2 0 High Speed 4 Port Hub It adopts Multiple Trans
70. rs is pa tebes come installation Complete Installation has finished You can continue testing Ubuntu now but until you restart the computer any changes you make or documents you save will not be preserved continue Testing Somme Figure Appedix 2 3 15 The installation will finish the whole thing can take anywhere between 15 minutes and an hour depending on the speed of your computer eefiniti Ubuntu Settings www element14 com EI General System Display Storage Audio EP Network Serial Ports use Shared Folders Storage Storage Tree Attributes SATA Controller Ubuntu vdi amp IDE Controller CD DVD Drive IDE Primary Master v Type Size Location Attached To Sasa at your own risk On the System page you have assigned more than 50 of your computer s memory 959 00 MB to the virtual machine There might not be enough memory left for your host operating system Continue A Neopia sting dec Figure Appedix 2 3 16 Afterwards in order to use your virtualized installation instead of continually booting the live CD you have to change the CD DVD Device entry to be Empty again eefiniti 2 wwoomentacom Appendix III Driver Installation Of Linux USB Ethernet RNDIS Gadget 1 If you don t install driver of Linux USB Ethernet RNDIS Gadget PC will find the new hardware and give you a hint on th
71. s 192 168 1 15 Subnet mask 255 255 255 0 Default gateway 192 168 1 1 DN dd Use the following DNS server addresses Preferred DNS server Alternate DNS server 5 Use ping command in the HyperTerminal to test whether the settings of the development board are successful root DM3730_EVK ping 192 168 1 15 PING 192 168 1 15 192 168 1 15 56 data bytes eefiniti wwetementtacom 64 bytes from 192 168 1 15 seg 0 ttl 128 time 0 885 ms 64 bytes from 192 168 1 15 seq 1 ttl 128 time 0 550 ms 6 Occurrence of above serial port information indicates that the testing is successful IP address of the network adapter configured in OTG cannot be the same as that of Ethernet interface 3 8 1 7 USB HOST Testing 1 After connecting USB flash disk the system will mount the file system of the USB flash disk under the directory media automatically root DM3730_EVK cd media root DM3730_EVK media Is card hdd mmcbik0p1 ram sda1 cf mmc net realroot union 2 Contents in the USB flash disk will be seen after the following instruction is input root DM3730 EVK media Is sda1 flash uboot bin u boot bin x load bin ift for NAND mlo ulmage ramdisk gz ubi img 3 8 1 8 Audio Testing The board has audio input and output interface and we have alsa utils audio test tools in the file system users can enter the following commands for a test 1 Recording Test Plug in a microphone yo
72. ses the old table The new table will be used at the next reboot WARNING If you have created or modified any DOS 6 x partitions please see the fdisk manual page for additional information Syncing disks 14 Format the partitions The two partitions are given the volume names LABEL1 and LABEL2 by these commands You eefiniti 2 vmememtacom can substitute your own volume labels sudo mkfs msdos F 32 dev sdc1 n LABEL1 mkfs msdos 2 11 12 Mar 2005 sudo mkfs ext3 L LABEL2 dev sdc2 mke2fs 1 40 WIP 14 Nov 2006 Filesystem label OS type Linux Block size 4096 log 2 Fragment size 4096 log 2 195072 inodes 389576 blocks 19478 blocks 5 00 reserved for the super user First data block 0 Maximum filesystem blocks 4026531 84 12 block groups 32768 blocks per group 32768 fragments per group 16256 inodes per group Superblock backups stored on blocks 32768 98304 163840 229376 294912 Writing inode tables done Creating journal 8192 blocks done Writing superblocks and filesystem accounting information Notes After formatting and dividing into FAT and EXT3 under ubuntu system the FAT needs reformatting under windows system otherwise start up with SD card can be realized eefiniti wwetementtacom Appendix V The Setup Of TFTP Server 1 Install client gt sudo apt get install tftp hpa gt sudo apt get install tftod hpa 2 Install inet gt
73. set 0x0 ImageStart 0x80101000 ImageLength 0x22A14E4 LaunchAddr 0x8010F82C Completed file s 0 Address 0x80101000 Length 0x22A14E4 Name Target RAM ROMHDR at Address 80101044h Launch Windows CE image by jumping to 0x8000f82c Windows CE Kernel for ARM Thumb Enabled Built on Oct 20 2009 at 18 39 19 OAL CPU revision Oxffffffff OAL CPU L2 Aux register 0x400042 High Performance Frequecy is 32768 khz So far the system has entered the calibration interface of WinCE after finish of calibration the system enters the desktop system of WinCE eefiniti wwoomentiacom 4 5 2 Update of Nand flash 1 Format TF card Please referto contents of 3 7 1 Update the image for TF card 2 Load kernel image file e Position to sub catalogue Icd 800x480 Icd 480x272 and DVI 1280x720 under catalogue wince_6 image You can select a specific sub catalogue according to your display device lcd 480x272 for LCD 4 3 Icd 800x480 for LCD 7 and DVI 1280x720 for VGA e Copy MLO EBOOTNAND nb0 NK bin and XLDRNAND nb0 image files in the selected folder to the TF card and rename EBOOTNAND nb0 as EBOOTSD nb0 3 Update image file Insert TF card and reboot the system At this time the system boots from TF card The HyperTerminal will output boot print information you can press SPACE to enter the EBOOT menu There is an automatic update key k in the menu which can update XLDR EBOOT logo and NK images automatically or y
74. sudo apt get install xinetd gt sudo apt get install netkit inetd 3 Configure the server First create tftpboot under root directory and set the properties as a random user can write and read gt cd gt sudo mkdir tftpboot gt sudo chmod 777 tftpboot Secondly add in etc inetd conf gt sudo vi etc inetd conf Icopy the follow word to this file tftpd dgram udp wait root usr sbin in tftpd usr sbin in tftpd s tftpboot Then reload inetd process gt sudo etc init d inetd reload Finally enter directory etc xinetd d and create a new file tftp and put the designated content into file tftp gt cd etc xinetd d gt sudo touch tftp gt sudo vi tftp copy the follow word to tftp file service tftp disable no socket type dgram protocol udp wait yes user root server usr sbin in tftpd server args s tftpboot c eefiniti www element14 com per source UI cps 100 2 4 Reboot the server gt sudo etc init d xinetd restart gt sudo in tftpd l tftpboot 5 Test the server Conduct a test create a file under folder tftpboot gt touch abc Enter into another folder gt tftp 192 168 1 15 192 168 1 15was the server IP gt tftp gt get abc That download can be made means the server has been installed eefiniti 2 wwoomentiacom Appendix VI WinCE S
75. the machine whenever you want If you re installing Ubuntu it makes sense to call it Ubuntu guess You should also specify that the operating system is Linux Y Create Hew Virtual Machine Memory Select the amount of base memory RAM in megabytes to be allocated to the virtual machine The recommended base memory size is 512 MB Base Memory Size 2048 MB Figure Appedix 2 2 3 VirtualBox will try to guess how much of your memory or RAM to allocate for the virtual machine If you have 1 GB or less of RAM would advise you stick with the recommendation If however you have over 1 GB about a quarter your RAM or less should be fine For example if you have 2 GB of RAM 512 MB is fine to allocate If you have 4 GB of RAM 1 GB is fine to allocate If you have no idea what RAM is or how much of it you have just go with the default Click Next eefiniti E Y Create Hew Virtual Machine Virtual Hard Disk Select a virtual hard disk to be used as the boot hard disk of the virtual machine You can either create a new hard disk or select an existing one from the drop down list or by pressing corresponding button to invoke file open window If you need a more complicated hard disk setup you can also skip this step and attach hard disks later using the VM Settings dialog The recommended size of the boot hard disk is 8 00 GB Boot Hard Disk O Use existing hard disk ubuntu vdi Normal 8 00 GB
76. tition 1 4 p Partition number 1 4 1 First cylinder 1 245 default 1 press Enter Using default value 1 Last cylinder or size or sizeM or sizeK 1 245 default 245 5 Command m for help t Selected partition 1 Hex code type L to list codes c Changed system type of partition 1 to c W95 FAT32 LBA 10 Mark it as bootable Command m for help a Partition number 1 4 1 11 Create the Linux partition for the root file system Command m for help n Command action e extended p primary partition 1 4 p Partition number 1 4 2 First cylinder 52 245 default 52 press Enter Using default value 52 Last cylinder or size or sizeM or sizeK 52 245 default 245 press Enter eefiniti wwwoomentiacom Using default value 245 12 Print to Check Your Work Command m for help p Disk dev sdc 2021 MB 2021654528 bytes 255 heads 63 sectors track 245 cylinders Units cylinders of 16065 512 8225280 bytes Device Boot Start End Blocks Id System Idev sdci 1 51 409626 c W95 FAT32 LBA dev sdc2 52 245 1558305 83 Linux 13 Save the new partition records on the SD Card This is an important step All the work up to now has been temporary Command m for help w The partition table has been altered Calling ioctl to re read partition table WARNING Re reading the partition table failed with error 16 Device or resource busy The kernel still u
77. u can test recording root DM3730 EVK arecord t wav c 1 r 44100 f S16 LE v k Recording WAVE k Signed 16 bit Little Endian Rate 44100 Hz Stereo Plug PCM Hardware PCM card 0 omap3evm device 0 subdevice 0 Its setup is stream CAPTURE access RW INTERLEAVED format S16 LE subformat STD eefiniti O channels 2 rate 44100 exact rate 44100 44100 1 msbits 16 buffer size 22052 period size 5513 period time 125011 tstamp mode NONE period step 1 avail min 5513 period_event 0 start threshold 1 stop threshold 22052 silence threshold 0 silence size 0 boundary 1445199872 appl ptr 0 hw_ptr 0 2 Playback Testing Plug in the headphones you can hear what you have just recorded root DM3730 EVK aplay t wav c 2 r 44100 f S16_LE v k Playing WAVE k Signed 16 bit Little Endian Rate 44100 Hz Stereo Plug PCM Hardware PCM card 0 omap3evm device 0 subdevice 0 Its setup is stream PLAYBACK access RW INTERLEAVED format S16 LE subformat STD channels 12 rate 44100 exactrate 44100 44100 1 eefiniti vmeumemtacom msbits 16 buffer size 22052 period size 5513 period time 125011 tstamp mode NONE period step 1 avail min 5513 period_event 0 start threshold 22052 stop threshold 22052 silence threshold 0 silence size 0 boundary 1445199872 appl ptr 0 hw_ptr 0 3 8 1 9 Network Testing 1 The board has a
78. y 3 2 Software Resources This chapter provides an overview of software system components of DM3730 EVK A basic software system consists of four parts x loader u boot kernel and rootfs The Figure 3 2 1 shows the structure of the system Figure 3 2 1 Features and functions of each part of the system are given below eefiniti O O wwoomentacom 1 X loader is a first level bootstrap program After the system start up the ROM inside the CPU will copy the x loader to internal RAM and perform its routine work Its main function is to initialize the CPU copy u boot into the memory and give the control to u boot 2 U boot is a second level bootstrap program It is used for interacting with users and updating images and leading the kernel 3 The latest 2 6 x kernel is employed here and it can be customized based on DM3730 EVK 4 Rootfs employs Open source system It is small in capacity and powerful very suitable for embedded systems 3 3 Software Features Hem Note NAND ONENAND x loader MMC SD FAT BIOS NAND ONENAND MMC SD u boot FAT NET Supports ROM CRAM EXT2 EXT3 FAT NFS Kernel Linux 2 6 x JFFS2 UBIFS and various file systems Serial Series driver Ric Hardware clock driver Net 10 100M Ethernet card DM9000 driver Flash nand flash driver supports nand boot Led TFT LCD driver Device Driver Touch Touch screen controller ads7846 driver screen mmc sd mmc s
79. ype ARM Linux Kernel Image uncompressed Data Size 2547364 Bytes 2 4 MiB Load Address 80008000 Entry Point 80008000 Verifying Checksum OK Loading Kernel Image OK OK Starting kernel Arago Project http arago project org dm37x evm ttyS2 Arago 2010 07 dm37x evm ttyS2 dm37x evm login root 3 DVSDK file system has some preinstalled application programs which can be executed by the user running This pipeline decodes H 264 of GStreamer pipelines will be taken as shown example below root dm37x evm cd usr share ti gst omap3530 root dm37x evm usr share ti gst omap3530 loadmodules sh cmemk unregistered CMEMK module built on Oct 14 2010 at 13 14 41 Reference Linux version 2 6 32 File sdk build DVSDK 4 00 4 00 00 22 arago install arago tmp work dm37x evm none linux gnuea bi ti linuxutils 1 2 25 05 11 r89d linuxutis 2 25 05 11 packages ti sdo linuxutils cmem src mo dule cmemk c allocated heap buffer 0xc9000000 of size 0x53d000 cmemk initialized eefiniti welementiacom DSPLINK Module 1 65 00 02 created on Date Oct 14 2010 Time 13 21 09 SDMAK module built on Oct 14 2010 at 13 14 44 Reference Linux version 2 6 32 File sdk build DVSDK 4 00 4 00 00 22 arago install arago tmp work dm37x evm none linux gnuea bi ti linuxutils 1 2 25 05 11 r89d linuxutis 2 25 05 11 packages ti sdo linuxutils sdma src mod ule sdmak c root dm37x evm usr share ti gst omap3530 gst launch filesrc location usr share ti dat
80. zed Ubuntu in which the virtual hard drive just fills up instead of expanding So would actually recommend picking a Fixed size storage Y Create Hew Virtual Disk Virtual Disk Location and Size Press the Select button to select the location of a file to store the hard disk data or type a file name in the entry field Location F Ubuntul Ubuntu vdil a Select the size of the virtual hard disk in megabytes This size will be reported to the Guest 05 as the maximum size of this hard disk Size Q 8 00 GB 2 00 TB Figure Appdix 2 2 7 Ubuntu s default installation is less than 8 GB If you plan on adding software or downloading large files in your virtualized UBuntu you should tack on some buffer le I tc Y Create Hew Virtual Disk Summary You are going to create a new virtual hard disk with the following parameters Type Fixed size storage Location G 1Ubuntu system Ubuntu vdi Size 8 00 GB 8589934592 B If the above settings are correct press the Finish button Once you press it a ner hard disk will be created Figure Appedix 2 2 8 lt Oracle VE VirtualBox Manager amp Details O snapshots Summary You are going to create a new virtual hard disk with the following parameters Creating fixed medium storage unit G 1Ubuntu system Ubuntu Creating fixed medium storage unit G 1Ubuntu systemilbuntu vdi Ip ss Xx 1 minute 56 seconds remainin
Download Pdf Manuals
Related Search
Related Contents
to - Automatic Doors ABUS Rauchwarnmelder HSRM10000 / HSRM11000 DIVISIÓN BATERÍAS Steelseries QcK+ 4 - SEW-Eurodrive Tutorial Analyzing Affymetrix® Gene Expression data in GeneSpring Philips SC5274 Phospha-Light™ System Protocol (PN T9007D) Copyright © All rights reserved.
Failed to retrieve file