190-2255 Bluetechnix, 190-2255 Datasheet
190-2255
Specifications of 190-2255
190-2253
Related parts for 190-2255
190-2255 Summary of contents
Page 1
... Blackfin uClinux User Guide Tinyboards from Bluetechnix www.bluetechnix.com ...
Page 2
... Contact Waidhausenstr. 3/19 A‐1140 Vienna AUSTRIA/EUROPE office@bluetechnix.at http://www.bluetechnix.com Document No.: 099‐0110‐01 Version 6 Date: 2009‐09‐02 ...
Page 3
Introduction . ........................................................................................................................ 8 2 Where to get Information and Help . ................................................................................... 9 3 Support DVD ...................................................................................................................... 10 3.1 Content ....................................................................................................................... 10 3.2 VMWare image setup ................................................................................................. 10 3.2.1 Install packages .................................................................................................... 10 3.2.2 Useful hints . .......................................................................................................... 11 3.2.3 Setup without VMWare image . ............................................................................ 11 3.3 Kermit . ......................................................................................................................... 11 ...
Page 4
Booting a uClinux Image ............................................................................................. 24 9 Blackfin uClinux ................................................................................................................. 26 9.1 First impression with pre‐compiled images . ............................................................... 26 9.2 Compiling your own uClinux Image ............................................................................ 26 9.2.1 Downloading the Source Code . ............................................................................ 26 9.2.2 Configuring the Kernel and User Space Applications . .......................................... 27 9.2.3 Compiling uClinux . ................................................................................................ 27 9.2.4 Special considerations for CM‐BF548 .................................................................. 28 9.3 Configuration of on‐board Components .................................................................... 28 9.3.1 SD/MMC card ....................................................................................................... 28 ...
Page 5
... Information For further information on technology, delivery terms and conditions and prices please contact Bluetechnix (http://www.bluetechnix.com). Warnings Due to technical requirements components may contain dangerous substances. ...
Page 6
... Low cost Blackfin processor Evaluation Board with one socket for any Bluetechnix Blackfin Core Module. Additional peripherals are available, such as an SD‐Card. ...
Page 7
... DEV‐BF548DA‐Lite: Get ready to program and debug Bluetechnix CM‐BF548 Core Module with this tiny development platform including a USB Based Debug Agent. The DEV‐BF548DA‐Lite is a low cost starter ...
Page 8
... BF537U, TCM‐BF537, CM‐BF548, CM‐BF561) uClinux support is available. In addition, Bluetechnix provides development tools (gnICE JTAG, PEEDI‐JTAG, ICEbear JTAG) and Development Boards (EVAL‐BF5xx, DEV‐BF5xxDA‐Lite, etc.) and Extender boards (EXT‐BF5xx‐ ...
Page 9
... Bluetechnix web site: http://www.bluetechnix.at This site provides Hardware User Manuals of all Bluetechnix Products and Schematics for the EVAL, DEV and Extender boards. ...
Page 10
... Virtual Machine” and choosing the file Bluetechnix Development Environment.vmx Xubuntu desktop. ...
Page 11
You will end up having the following directories in your home directory: • contains the binary tool chain. To add the tool chain path to the toolchain2009R1/ environment variable, an entry was already added to the $PATH wish to have another directory layout or you want to use another tool chain, you have to modify this entry. • contains the U‐Boot source code. It was checked out from SVN u-boot-2009.06/ and ...
Page 12
Hardware User Manual of your Eval/Dev‐BF5xx board how to install a driver for the UART‐to‐ USB converter chip in Windows.) In the VMWare Player menu, click Devices … USB to UART Bridge Controller Connect to connect the serial cable to the virtual machine. For your convenience, a shell script was installed that automatically searches for the last serial connection that was detected and opens the Kermit program with the correct parameters. In the terminal, type (from the home directory) stuff/serialterminal 3.4 TFTP ...
Page 13
... USB‐to‐UART converter chip. Most pre‐compiled kernels of Linux distributions have it already enabled. To verify this, power on your Bluetechnix board and connect to your ...
Page 14
... Pre‐compiled images for U‐Boot and uClinux as well as specific patches for the Bluetechnix Core Modules can be downloaded from the Bluetechnix project site at http://blackfin.uclinux.org/gf/project/bluetechnix/frs. ...
Page 15
... HP‐USB‐ICE from Analog Devices, flashing and/or debugging Bluetechnix Core Modules is supported by three JTAG devices, the gnICE from Analog Devices, the PEEDI from Ronetix, ...
Page 16
... Updating the configuration file PEEDI has a serial terminal similar to Bluetechnix Core Modules. Connect a serial cable and connect to it e.g. with Kermit to get a prompt. The configuration file is placed in EEPROM and can be accessed via the address ...
Page 17
Now you can connect to PEEDI with Telnet. The RedBoot prompt appears. Type the command update tftp://192.168.1.1/firmware.bin to start the update process (assuming that the file “firmware.bin” in your TFTP directory contains the new firmware). 6.2.4 Debugging the uClinux kernel ...
Page 18
... SRV‐1 Robot core module (www.surveyor.com) • Z‐Brain‐BF533 from Schmid Engineering AG • DSPStamp BF533 and Minotaur BF537 from Cambridge Signal Processing LTD • CM‐BF533/537/561 (v1 and v2) from Bluetechnix Blackfin uClinux User Guide ...
Page 19
Blackfin uClinux Tool Chain To be able to cross‐compile uClinux for the Blackfin processor, you must install the tool chain from the Blackfin uClinux web site on your development workstation. The pre‐compiled http://blackfin.uclinux.org/gf/project/toolchain/frs, both releases and nightly snapshots. Most versions are available in the RPM format. The necessary files will be installed in the directory . The tool chain consists of several packages which are explained /opt/uClinux/ in detail at http://docs.blackfin.uclinux.org/doku.php?id=toolchain:installing. If you ...
Page 20
... Table 8‐1 lists all Core Modules and the file type of U‐Boot that must be used for flash programming. Please refer to the “BLACKSheep Command Reference” (available on the Bluetechnix web site, http://www.bluetechnix.at) for instructions how to program U‐Boot with BLACKSheep. ...
Page 21
... Loading files onto the Core Module If you have access to Ethernet via your Bluetechnix board and a TFTP server is installed on your workstation, you can transfer any file from the TFTP server to the Core Module by ...
Page 22
... Download the source code for U‐Boot from the Blackfin uClinux web site. Please check the web site http://blackfin.uclinux.org/gf/project/bluetechnix/frs/ afterwards if there are patches for the source code that are needed for your Bluetechnix Core Module. Apply the ...
Page 23
If you want to create an Intel HEX image that is compatible to Analog Devices’ VisualDSP++ flash programmer, you need to type the following command: bfin-uclinux-objcopy –I binary –O ihex u-boot.bin u-boot.hex bfin-uclinux-objcopy –I binary –O ihex u-boot.ldr u-boot.hex 8.5 Upgrading the U-Boot If you want to replace the existing U‐Boot by a newer one, you can use U‐Boot itself ...
Page 24
Linux kernel. You have to program a root file vmImage system image additionally. • : Root file system in JFFS2 format. The file system is accessed directly rootfs.jffs2 in flash memory. Changes to the file system are persistent. If the flash memory is not empty, you have to erase it first. The erase command needs two arguments: The first is the start address of flash memory (0x20000000), the second is the memory size. To erase all sectors in flash memory (including U‐Boot), type: ...
Page 25
CM‐BF527, CM‐BF537E, CM‐BF537U, TCM‐BF537: flread 0x20040000 0x1000000 0x300000 bootm 0x1000000 CM‐BF533, CM‐BF548, CM‐BF561: bootm 0x20040000 The first argument is the source address, the second the destination address, and the third the image length. It does not matter if the length is greater than the actual image size. If you know the exact length of your image, you may store it in the variable and replace the fixed length 0x300000 in the above example with file is loaded in U‐Boot, U‐Boot sets this variable automatically to the file size of the last file transferred. If you save the environment afterwards, the variable content will be restored at each boot. The default of U‐Boot is to boot a uImage stored at 0x20040000 in flash memory. For using a JFFS2 file system, modifications to the U‐Boot environment are required. See chapter 8.2 for a short reference. Blackfin uClinux User Guide maximum performance at minimum size U‐Boot environment filesize Tinyboards . If a $(filesize) Page 25 ...
Page 26
... We provide pre‐compiled images with U‐Boot, uClinux, and root file system for all of our Core Modules. They are available at the Bluetechnix Blackfin project site ...
Page 27
... In the first configuration dialog, you must choose the vendor and the product for which you want to compile uClinux. Always choose “Bluetechnix” as the vendor and select your Core ...
Page 28
... Configuration of on-board Components This section is dedicated to components of the Bluetechnix Evaluation Boards and Development Boards. 9.3.1 SD/MMC card To enable SD/MMC card support in uClinux, the following kernel configuration is required: ...
Page 29
USB Gadget Support USB Peripheral Controller <M> Ethernet Gadget (with CDC Ethernet support) (Note that SCSI disk support is required for USB Mass Storage Support.) USB Host Example: To attach a USB mass storage device, connect Jumper JP3 of your Eval/Dev‐BF5xx >=V5.1 board to provide VBUS voltage. Boot uClinux, and load the following modules: modprobe usbcore modprobe musb_hdrc modprobe ...
Page 30
Document Revision History Version Date Document Revision 6 2009 09 02 Updated information about U‐Boot and uClinux; removed deprecated FAQ; added USB description; added Support DVD chapter; added UART boot description 5 2007 12 05 Information about SVN tool chain added 4 2007 07 19 Information about PEEDI JTAG added 3 2007 06 21 General Information 2 2007 06 13 ...
Page 31
A List of Figures and Tables Figures No table of figures entries found. Tables Table 8‐1: U‐Boot image types for Core Modules . ................................................................... 20 Table 10‐1: Document Revision History . ................................................................................. 30 Blackfin uClinux User Guide maximum performance at minimum size Tinyboards Page 31 ...