Embest BeagleBone-HDMI Cape User Manual

Functional extension board

Advertisement

Quick Links

BeagleBone-HDMI Cape
Functional Extension Board
User Manual
Version 1.2 – Oct. 30, 2012

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BeagleBone-HDMI Cape and is the answer not in the manual?

Questions and answers

Summary of Contents for Embest BeagleBone-HDMI Cape

  • Page 1 BeagleBone-HDMI Cape Functional Extension Board User Manual Version 1.2 – Oct. 30, 2012...
  • Page 2 Copyright Statement:  BeagleBone-HDMI Cape and its related intellectual property are owned by Shenzhen Embest Technology Co., Ltd.  Shenzhen Embest Technology has the copyright of this document and reserves all rights. Any part of the document should not be modified, distributed or duplicated in any approach and form with the written permission issued by Embest Technology Co., Ltd.
  • Page 3: Table Of Contents

    4.4.2 Compiling the kernel in the CD-ROM ............31 4.5 Summary of the Drivers in Linux Kernel............... 31 Chapter 5 Demonstration in WinCE ................32 Appendix ........................... 36 Installation of Linux ......................36 Technical Support and Warranty ..................48 Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 4: Chapter 1 Product Overview

    Chapter 1 Product Overview 1.1 Introduction BeagleBone-HDMI Cape (hereafter refers to BeagleBone-HDMI) is an extension board designed by Embest Technology for extending the functions of the BeagleBone development board that was built on TI’s Sitara AM335x microprocessors. BeagleBone-HDMI is capable of providing HDMI output including both audio and video signals with a video resolution of up to 720p.
  • Page 5  CEC supported  DDC/EDID supported  Audio transmission supported  Operating system: Linux and Wince Note:  A 5V external power adaptor is required when a 7-inch is connected to BeagleBone-HDMI. Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 6: Hardware Dimension

    Embest Technology 1.4 Hardware Dimension Figure 1-2 BeagleBone-HDMI hardware dimension Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 7: Chapter 2 Interface Definition

    2.2 Pin definition of HDMI interface Table 1 HDMI interface Definition Description HDMI_TX2+ TMDS data 2+ DAT2_S HDMI_TX2- TMDS data 2- HDMI_TX1+ TMDS data 1+ DAT1_S HDMI_TX1- TMDS data 1- HDMI_TX0+ TMDS data 0+ Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 8 LCD Pixel data bit 14 LCD_DATA10 LCD Pixel data bit 15 DGND LCD Pixel data bit 16 LCD Pixel data bit 17 LCD Pixel data bit 18 LCD_DATA11 LCD Pixel data bit 19 Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 9: Pin Definition Of Extension Interface (Left)

    VDD3V3_LCD 3.3V VDD5V_LCD VDD5V_LCD No connection GPIO3_17 GPIO 2.4 Pin definition of extension interface (left) Table 3 Extension Interface (left) Definition Description DGND DGND No connection No connection No connection No connection Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 10 LCD Data16 GPIO2_14 LCD Data08 GPIO2_15 LCD Data09 GPIO2_12 LCD Data06 GPIO2_13 LCD Data07 GPIO2_10 LCD Data04 GPIO2_11 LCD Data05 GPIO2_8 LCD Data02 GPIO2_9 LCD Data03 GPIO2_6 LCD Data00 GPIO2_7 LCD Data01 Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 11: Pin Definition Of Extension Interface (Right)

    GPIO3_19 I2S Data 3 GPIO3_17 I2S Data 2 GPIO3_15 I2S Word Select GPIO3_16 I2S Data 0 GPIO3_14 I2S Serial Clock No connection No connection No connection No connection No connection No connection Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 12 Embest Technology Definition Description No connection No connection No connection CLKOUT2 Audio Input Master Clock GPIO0_7 Interrupt Output DGND DGND DGND DGND Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 13: Chapter 3 Preparation Before Use

    Use a USB cable to connect the miniUSB interface on Beaglebone to the USB interface on PC; 3) Select Yes, this time only in pop-up window and click Next, as shown below; Figure 3-1 Allow Windows to search online Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 14 Select the second option and click Next, as shown below; Figure 3-2 Select the second option 5) Select the second option too and click Next, as shown below; Figure 3-3 Select the second option Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 15 Figure 3-4 Select Have Disk 7) Click Browse to find the folder usb driver which you copied to your hard drive just now, and then click OK as shown below; Figure 3-5 Find the driver Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 16 Embest Technology 8) Click Next as shown below; Figure 3-6 Click Next 9) Click Continue Anyway to install USB Serial Converter A as shown below; Figure 3-7 Click Continue Anyway Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 17 11) After USB Serial Converter B is installed, select the second option in the pop-up window of installing USB Serial Port and then click Next, as shown below; Figure 3-9 Select the second option Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 18 12) Select the second option too and click Next in the following window; Figure 3-10 Select the second option again 13) Select Show All Devices and click Next, as shown below; Figure 3-11 Select Show All Devices Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 19 15) Click Yes to complete installation as shown below; Figure 3-13 Click Yes 16) You can check if the device has been installed successfully by right-clicking My computer on your desktop and selecting Manage in the pop-up menu to Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 20: Setting Up Hyperterminal

    HyperTerminal can receive and show you the working status of BeagleBone-HDMI. In order to achieve communication between HyperTerminal and the device, you need to do some configurations on your PC first. Please follow the steps listed below: Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 21 HyperTerminal on your PC’s desktop; Figure 3-15 Start HyperTerminal 2) Enter a name in the Name field and select an icon below, and then click OK; Figure 3-16 Create a new HyperTerminal Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 22 Select the port to be used and click OK; Figure 3-17 Select port 4) Please configure the port you selected as shown in the following window, and then click OK; Figure 3-18 Configure port Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 23 Now the preparation is complete. We are ready to demonstrate the function of BeagleBone-HDMI. Software development based on the device requires more conditions such as the installation of a development environment. And this part will be introduced in detail in the following chapters. Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 24: Chapter 4 Operations In Linux

    4.1.1 Starting up Linux from a TF Card 1) TF card needs to be formatted first. Here we use USB Disk Storage Format Tool as the example. The tool’s interface is shown below; Figure 4-1 Formatting TF card Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 25 Texas Instruments Revision detection unimplemented No AC power, disabling frequency switch OMAP SD/MMC: 0 reading u-boot.img reading u-boot.img U-Boot 2011.09 (Sep 19 2012 - 14:57:16) I2C: ready DRAM: 256 MiB WARNING: Caches not enabled Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 26 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 Starting udev[ 3.631604] udevd (619): /proc/619/oom_adj is deprecated, please use /proc/619/oom_score_adj instead. tar: removing leading '/' from member names Remounting root file system... mount: mounting /dev/root on / failed: Invalid argument Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 27: Configuring Hdmi Output

    The HDMI output of the system is disabled by default. We need to execute the command shown below to enable it manually; BeagleBoneHDMI:~# echo 1 > /sys/devices/platform/da8xx_lcdc.0/hdmi_enable The HyperTerminal window will show the following information: Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 28: Video Playback Test

    Video playback information MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team CPU: ARM Playing test.avi. AVI file format detected. [aviheader] Video stream found, -vid 0 VDec: using Planar YV12 as output csp (no 0) Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 29: Installing Development Environment

    Figure 4-3, or click Dash home icon at the top of the tool bar and enter terminal in the search field as shown in Figure 4-4, and then click the terminal icon beneath the search field to start terminal program; (or starting Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 30 Embest Technology Linux terminal based on the version of your Linux system) Figure 4-3 Click terminal icon Figure 4-4 Search terminal program Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 31 The following table shows the contents: Table 8 View contents in the directory example-applications host-tools Rules.make board-support filesystem linux-devkit setup.sh docs Graphics_SDK_setuplinux_4_05_00_03.bin Makefile 5) Enter the following comand to add compiler into the Environment Viables of Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 32: Compiling Uboot Code

    Due to compile the kernel need to use mkimage tools, uboot after compiling, in the tools directory will appear mkimage, and then enter the following command to configure environment variables for mkimage. Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 33: Compiling Linux Kernel

    $ make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- distclean $ make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- am335x_hdmi_defconfig $ make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- uImage A kernel file with support for HDMI display named ulmage is generated under arch/arm/boot after compilation is done. Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 34: Compiling The Kernel In The Cd-Rom

    Files named da8xx-fb.c, da8xxfb_sysfs.c and da8xxfb_sysfs.h can be found under drivers/video. The da8xxfb_sysfs.c is used to generate device node to control the ON/OFF of HDMI output and switch between two video resolutions. Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 35: Chapter 5 Demonstration In Wince

    [4] Network Settings [5] SDCard Settings [6] Set Device ID [7] Save Settings [9] Enable/Disable OAL Retail Messages [a] Select Display Resolution [b] Select OPP Mode [0] Exit and Continue Selection: 2 Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 36 [4] LCD 800x480 60Hz //7 寸 LCD 显示 [5] DVI 800x600 60Hz(N/A) [6] DVI 800x600 56Hz(N/A) [7] VGA 1024x768 60Hz //HDMI 显示 [8] DVI 1280x720 60Hz(N/A) [0] Exit and Continue Selection (actual LCD 480x272 60Hz): 1 -------------------------------------------------------------------------------- Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 37 [9] Enable/Disable OAL Retail Messages [a] Select Display Resolution [b] Select OPP Mode [0] Exit and Continue Selection: 0 g_bootCfg.displayRes = 0 OEMPreDownload: Filename nk.bin BL_IMAGE_TYPE_BIN +OEMMultiBinNotify(0x8feb2338 -> 1) Download file information: ----------------------------------------------------------- Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 38 Board Ver : 00A3 Board Ser : 5211BB000544 Board Type: +OALTimerInit(1, 24000, 200) BSPGetDevicePadInfo: g_dwBoardId = 4 --- High Performance Frequecy is 24 MHz--- Now the booting process of WinCE completes successfully. Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 39: Appendix

    Installing VirtualBox You can access http://www.virtualbox.org/wiki/Downloads to download the latest version of VirtualBox. VirtualBox requires 512MB memory space at least. A PC with memory space of more than 1GB would be preferred. Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 40 Click Next to create a new virtual machine. 2) Enter a name for the new virtual machine and select operating system type as shown below; Figure 2 Name and OS type of virtual machine Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 41 512MB out of 2GB memory could be allocated to virtual machine. 4) If this is the fist time you install VirtualBox, please select Create new hard disk in the following window, and then click Next; Figure 4 Create new hard disk Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 42 5) Click Next in the following window; Figure 5 Wizard of new virtual disk creation 6) Selecting Fixed-size storage in the following window and click Next; Figure 6 Select the second option Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 43 Define where the hard disk data is stored and the default space of the virtual disk (8G at least), and then click Next; Figure 7 Virtual disk configuration 8) Click Finish in the following window; Figure 8 Virtual disk summary Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 44 Please click Finish to complete the whole process. Figure 10 Virtual machine is ready Installing Ubuntu Linux System After virtualBox is installed, we can start the installation of Ubuntu Linux system now. Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 45 Ubuntu, and then follow the steps。 1) Start VirtualBox from the Start menu and click Setting on the VirtualBox window. A Settings window will be shown as below; Figure 11 Setting window Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 46 ISO file you downloaded; Figure 12 Find ISO file 3) Select the ISO file you added in and click OK as shown below; Figure 13 Select ISO file Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 47 Some prompt windows will interrupt in during the initiating process. You just need to click OK all the way to the end of the process. 5) Click Install Ubuntu to start installation when the following window appears; Figure 15 Ubuntu installation window Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 48 Figure 16 Information before installation 7) Select Erase disk and install Ubuntu and click Forward; Figure 17 Options before installation Note:  Selecting this option will not lead to any content loss on your hard drive. Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 49 After all the required information is properly entered in to the fields, select Log in automatically and click Forward. 10) The installation of Ubuntu may take 15 minutes to about 1 hour depending Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 50 Ubuntu. If it doesn’t, you could eject the ISO file manually in the Setting window of VirtualBox. The following window shows how it looks after the ISO file is ejected. Figure 21 ISO file ejected Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 51: Technical Support And Warranty

    Embest Technology Technical Support and Warranty Technical Support Embest Technology provides its product with one-year free technical support including:  Providing software and hardware resources related to the embedded products of Embest Technology;  Helping customers properly compile and run the source code provided by Embest Technology;...
  • Page 52 4) Please contact technical support if there is any repair request. Note:  Embest Technology will not take any responsibility on the products sent back without the permission of the company. Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...
  • Page 53 Embest Technology Contact Information Hotline: +86-755-25503401 Fax: +86-755-25616057 Pre-sales: sales@timll.com After-sales: support@timll.com Website: http://www.timll.com Address: Rm 405, Luohu Technology Building, No. 85, Taining Rd., Luohu District, Shenzhen Copyright © 2012 Embest Technology BeagleBone-HDMI User Manual...

Table of Contents