Single Board Computer - Xilinx - Adaptable. Intelligent.



Single Board ComputerLinux Desktop on an Embedded Zynq PlatformIntroductionThis reference design demonstrates the use of the ZedBoard as a Single Board Computer. The powerful co-design platform enabled by the Zynq device empowers the user to run a full Ubuntu Linux desktop, a variety of Linux applications, surf the web and more, all from within the ZedBoard environment.This example design shows the ZedBoard running a Linaro Desktop with a Web Cam application, monitor, keyboard and mouse, and an Ethernet connection to surf the web.The block-diagram illustrates the connectivity.HDMISD CardUSB OTGUSB HUBHDMIDisplay Controller IPPSUSB OTGPL RequirementsSoftware RequirementsThis application uses ZedBoard’s “Boot from SD” feature to boot from the included Secure Digital card, placed into the SD card slot (below the FMC connector on the ZedBoard). The Linaro Ubuntu image must be stored on the Secure Digital card. Follow the section on “Programming SD Card with Boot Image and File System”.Hardware RequirementsZedBoard (with power supply and cables)MonitorKeyboardMouseWeb cameraEthernet cableUSB hubSD card with image programmedProgramming the SD Card with Boot Image and File SystemA separate Linux desktop/laptop machine is needed to program the SD card. The machine should preferably have an SD card slot that can be used and accessed by the Linux system. If that is not available, a USB SD card reader may be used along with the SD card.Format the 4GB SD card using the “Disk Utility” program that comes with any Linux desktop. Format the card as “Master Boot Record”. (Using the application, create 2 partitions. )The first partition is of type FAT32 (0x0b) with 512 MB of space with Volume Name as “FAT_boot”. This is where the boot files will be stored. The second partition is the remaining 3.5 GB of space of type EXT4 with Volume Name as “EXT4_FS”. This partition will hold the file system. Make sure that both the partitions are completely empty. For e.g., if EXT4_FS partition has an automatically created directory called “lost+found”, mount the volume, and delete the “lost+found” directory. An “rm –r” command could be used to delete everything in both partitions (use caution with the “rm –r” command! Confirm that you are in the directory and the particular partition first)The demo comes with two .tgz files – sbcboot.tgz and sbcfs.tgz. Untar and Unzip the sbcboot.tgz file into the FAT_boot partition using these commands: Mount the SD card – the two partitions will be mounted cd <FAT_boot partition mount directory> sudo tar xvf <directory path>/sbcboot.tgzcd <EXT4_FS partition mount directory. sudo tar xvf <directory path>/sbcfs.tgzUnmount the SD card and proceed to the Demonstration.Demonstrating the ApplicationInsert the pre-programmed SD card into the ZedBoard SD card slot. Connect the USB OTG connector port to a USB hub, through the USB Adapter (Male Micro-B to Female Standard-A) cable provided in the kit.To the USB hub, connect:Web cameraKeyboardMouseConnect the HDMI port on the ZedBoard to the DVI port on the monitorIf you would like to use the internet in the demo, connect the Ethernet port to a router or switch that is connected to the internetEnsure the ZedBoard jumpers are configured to boot from SD card:Mode Jumper (4 – 0): 01100Jumper JP6 shorted VADJ set to 1.8 VJP2 and JP3 shortedConnect the power to the ZedBoardUse the mouse, keyboard and monitor connected to the ZedBoard for the rest of this demonstration.Turn the power on the ZedBoard and wait a couple minutes. The Linaro desktop should boot.Note that you will first notice the blue “Done” LED light up on the ZedBoard.Next, on the monitor, you will see an image of 2 penguins on the upper left hand corner. After about 3-4 minutes, you will see the Linaro desktop image on your monitor.When Linaro has completed booting, you will see the menu icons arranged vertically on the left hand side of the screen. Double-click the “Terminal” icon (5th from the bottom) and a terminal window opens. Type ‘ls’ to see the contents, and navigate to other directories as you would normally.Click on the “VLC media player” icon (4th from the bottom). The VLC media player opens. Move your mouse to the top of the screen, where you will now see the VLC media player toolbar.Click Media -> Open Capture Device…In the Open Media window, click PlayNote that an Errors window pops up; click on Close. You can ignore this message.The image captured by the Web camera is displayed on the screen.Also, if at any time you are prompted for a password, it is: linaro ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download