Difference between revisions of "BeagleBoard Community"
m (→Clones: Fix link for EBVBeagle) |
m (→Clones: Use Dirk's link instead) |
||
Line 226: | Line 226: | ||
==Clones== | ==Clones== | ||
− | EBV build and sell their own BeagleBoard called [http://www.ebv.com/en/products/categories/details/product/ebvbeagle-board | + | EBV build and sell their own BeagleBoard called [http://www.ebv.com/en/products/categories/details/product/ebvbeagle-board EBVBeagle], see e.g. [http://fl0rian.wordpress.com/2009/03/08/the-other-beagleboard/]. |
It is actually a BeagleBoard revision C2 with green PCB boxed with some useful accessories. It comes as a quite complete starter kit with AC adapter, USB to Ethernet adapter, MMC card, USB hub and some cables. | It is actually a BeagleBoard revision C2 with green PCB boxed with some useful accessories. It comes as a quite complete starter kit with AC adapter, USB to Ethernet adapter, MMC card, USB hub and some cables. | ||
More information: | More information: |
Revision as of 10:31, 8 March 2009
This page collects information about TI's ARM based OMAP3 Beagle Board.
Contents
Events
- March 31st 2009 : Silica - Free TI - ARM OMAP Workshop, Brussels, Europe
- Google Summer of Code 2009: BeagleBoard.org specific page
Hardware
The Beagle Board is a low-cost, fan-less single-board computer based on TIs OMAP3 device family, with all of the expandability of today's desktop machines, but without the bulk, expense, or noise (from beagleboard.org). It uses a TI OMAP3530 processor (ARM Cortex-A8 Core ~600MHz paired with a TMS320C64x+ DSP ~430MHz. Also included on the die is an Imagination SGX 2D/3D graphics processor). See OMAP3530 features for more processor features. Target price is US-$149. The design goal was to make it as simple and cheap as possible, e.g. not having a LCD added, but letting you connect all add-ons available as cheap external components. See What is Beagle? and LinuxDevices article for more details.
The videos Beagle Board Beginnings and Beagle Board 3D, Angstrom, and Ubuntu give you a good intro about what BeagleBoard is about and it's capabilities.
Components
Top view:
No. | Name | Comment |
---|---|---|
1 | OMAP3530 processor + 128MB DDR + 256MB NAND | PoP: Package-On-Package implementation for Memory Stacking
256MB NAND/128MB Mobile DDR SDRAM available from DigiKey (512MB NAND/256MB Mobile DDR SDRAM available from DigiKey) |
2 | DVI chip (TFP410) | |
3 | DVI-D | Connection via HDMI connector |
4 | 14-pin JTAG | |
5 | Expansion connector: I2C, I2S, SPI, MMC/SD | User must solder desired header into place |
6 | User button | Allows setting boot order. |
7 | Reset button | |
8 | USB 2.0 EHCI HS | Currently not working in rev A or B boards; Rev C planned. |
9 | SD/MMC+ | SDHC cards are supported |
10 | RS-232 serial | |
11 | Alternate power | normally powered by USB (unmounted on REV Ax boards, see errata) |
12 | USB 2.0 HS OTG | Mini-AB connector. Board can be powered from port. |
13 | Stereo In | |
14 | Stereo Out | |
15 | S-Video | |
16 | TWL4030 | Audio CODEC, USB port, power-on reset and power management, pin-compatible with the TPS65950 chip |
- Board size: 3" x 3" (about 76.2 x 76.2 mm)
- Currently 6 layer PCB; target: 4 layer
Bottom:
See jadonk's photostream for some more detailed BeagleBoard pictures.
Manual
See BeagleBoard HW Reference Manual (rev. B7.2).
Schematic
Schematic of BeagleBoard Rev. B7 is available as part of BeagleBoard HW Reference Manual (rev. B7.2), from BeagleBoard.org design page or in PDF format. Please make sure that you read, understand and agree Jason's mail before using this.
Layout
Layout of BeagleBoard Rev. B7 is available as part of BeagleBoard HW Reference Manual (rev. B7.2) or from BeagleBoard.org design page. Please make sure that you read, understand and agree Jason's mail before using this.
Errata
- Boards revision A only: The DC power jack pinout is incorrect on the PCB layout. DC_5V and GND are switched on PCB layout. Normally, the power jack has DC_5V on the center pin and GND on the sleeve (see Figure 20 of Beagle HW manual). But on revision Ax boards the PCB layout has GND on center and DC_5V on sleeve. For this reason it is currently removed. It will be back on the Rev B board. Workaround is to remove wire connecting the two power pins on revision Ax boards and use external power supply with switched connector (do not connect anything to the “?” terminal. USB power will be permanently disabled and the board can only be powered from the 5V.) See Koen's Beagleboard powermod picture with short descriptions, too.
- Boards revision < A5 only: There is excess voltage drop across R6 which is used to measure the current consumption on the board. This needs to be a .1 ohm instead of a 1 ohm resistor (SMD 0805). All revision A5 boards have been updated to .1. You can also just solder in a jumper to J2 bypassing the current read point. This issue can cause issues with the USB host port as the voltage supplied to that port can be too low.
- Boards revision A only: User LEDS 0 and 1 are shorted on the layout preventing them from being controlled individually. You need to control both GPIO_149 and GPIO_150 to turn on or off both LEDS. This is fixed in the Rev B boards.
- Boards revision < A5 only: There is an issue where on some boards the 1.8V has excessive noise on it. This is the result of two incorrect parts L1 and L3 being installed on the board. The inductors that were initially installed in the switchers are 100uH and need to be 1uH. This change will require that the board be returned for update. To check for correct parts, have a look to bottom of BeagleBoard. L1 - L3 are the larger parts there. They all have to be labeled with "102" (== 1uH). If any of these three inductors are labeled with "104" (== 100uH) they are wrong and have to be exchanged.
- Boards revision A and B: USB HOST (EHCI) failures. See issue 15 and USB host test reproduce. This is a hardware defect. Most probably Rev. B board will be without the EHCI USB connector mounted and in a few weeks having a different SKU for the Rev. C2 boards with the EHCI USB fixed. Won't be fixed for Rev. A and Rev. B boards. Needs different PHY. Workaround: Use OTG port with something like mini A to USB A adapter instead.
- Boards revision A and < B4: Plugging in a USB OTG cable will prevent Beagle from booting (with git kernel), see issue #19, too. This is due to missing filtering capacitor at USB OTG VBUS. When the kernel driver detects that a USB OTG cable is inserted it enables the charge pump to generate VBUS. With no filtering VBUS looks like any switching regulator output with no filtering -- a huge voltage spike when the switch is on, followed by a rapid decay to a low voltage until the next switch on period. The capacitor is there to store energy between the output switch ON and OFF time, the feedback loop in the regulator does sample the cap voltage. Fix is to piggy-back solder a 0603 2.2uF ceramic capacitor to D3, see VBUS modification D3 picture. Revision B4 boards and newer have this fix applied. Thanks to Steve for debugging this!
- Boards revision A and < B5: There is some issue with 32kHz clock depending on system configuration used to clock some OMAP3 peripherals. From this e.g. GPIOs, GPTIMERs, and USB on Beagle might be affected. See Issue 22. Symptom from this is that after booting Linux kernel serial console hangs after some time and no serial input/output is possible any more. There is one software workaround and one hardware fix for this: (A) Software workaround: Don't use 32kHz timer to clock Linux, instead use MPU timer. (B) Hardware workaround: Remove capacitor C70, which improves the 32kHz clock quality and avoids hang-up. Note: Revision A boards have capacitor C70 at the same location as rev. B boards. Note: Board revision >= B5 removes capacitor C70.
- Random boards, quite rare, revision < B6: Some random boards and quite rare, show directly after purchasing broken serial communication from host PC to BeagleBoard. Symptom is that you get a new board, get serial output from BeagleBoard in terminal program, but can't type anything at U-Boot prompt (Note: Don't mix this with errata #7. With errata #7 you are able to use U-Boot normally, but Linux prompt input stops after some time). Most users don't have this issue, though. So, first double check your serial configuration (FAQ1, FAQ2 and FAQ3). Only if you are really, really sure that anything with your serial connection is fine, consider sending the board back doing a RMA request. This issue was resolved on revision B6 and later boards.
For additional (software) issues and enhancement requests see Beagle board open point list & issue tracker, too.
Note: BeagleBoard revision B6 uses different package for U9/U11.
Clocking
Some notes about (ARM processor) clock rates at BeagleBoard:
- ARM processor at BeagleBoard currently uses 500MHz
- 500MHz is the default used because it is a balance of performance and longevity
- For OMAP35x 600MHz is max recommended
- At 600MHz OMAP35x is considered to be 'overdrive' and it does not have the same life expectancy
- Higher than 600MHz is out of spec and no guarantee it will work at all (or not damage itself)
- Also keep in mind that if you go higher you probably want to increase the core voltage. Some of this is mentioned in table 3-3 of the OMAP3530 data sheet. Some numbers:
ARM | DSP | core voltage |
600 MHz | 430 MHz | 1.35V |
550 MHz | 400 MHz | 1.27V |
500 MHz | 360 MHz | 1.2V |
- For some OMAP3 clock, voltage and power management discussion see OMAP3 power management white paper, too.
- The OMAP3 chip on the Beagle lacks the efuses needed for using the SmartReflex technology, see [1].
- There is a thermal monitor in the core, you could use to scale frequency up and down
See Mans' hack to configure clock in U-Boot (V1) to 600MHz.
DLP Pico projector
Texas Instruments is developing a Pico Video Projector Kit (PVPK) as a peripheral for the Beagle Board. The stand alone pico projector will support VGA resolution (640 x 480), RGB 888 input through a DVI interface. The physical connector on the projector will be HDMI. See mailing list and Beagle Running Angstrom (VGA) on DLP Pico Projector for more details.
It is available from DigiKey for $349.
See article from Make, too.
Interfacing to Raw LCD Panels
Currently on Rev A / B boards there is no direct access to the LCD lines before they enter the DVI framer. The REV C2 provides access to these lines. See interfacing to Raw LCD Panels article for a workaround method.
Availability
BeagleBoards, currently Rev. B boards, are available from Digi-Key with part number 296-23428-ND.
Note: For non-US free shipping orders:
- Click the US flag on the top right corner of Digi-Key BeagleBoard page to come to the international page
- Select Order Online for your country
- Add quantity 1 and part number 296-23428-ND
- Click Add to order
When ordering over 65 EUR / GBP 50 product (BeagleBoard is above), for Europe the price depends on the actual dollar to EUR/GBP rate. On nov 9, 2008 the price was EUR 124 with free shipping.
Note: Some users report that they got some questions from DigiKey to be answered before board shipping is done.
Note: While you get free shipping, most probably you have to pay tax e.g. ordering from Europe. Users report that they had to pay EUR ~34 - 44 VAT + importing taxes (depending on european country), resulting in EUR 137 - 147 ordering from Europe.
Note: German (Europe) users can order from a German shop, too. For higher price, though. Embedded Projects Shop sells BeagleBoard for EUR 199.00 + shipping.
The Rev. B boards currently orderable do not have support for the USB EHCI port (see hardware erratum #5) and are not yet fully supported by the linux-omap git tree. These boards are being targeted only for early adopter developers. Rev. C boards (see below) will be available later under a different part number.
See below for hardware differences of the revisions. There are no software differences.
Revision A
There are some limited early revision Ax prototypes out there used by some hackers hanging around at #beagle channel on irc.freenode.net. See errata for limitations.
Revision B
Revision B is same as revision A, except
- fix for shorted LEDs 0/1
- fix for wrong power jack pinout
- revision B6 uses different package for U9/U11
Still has USB HOST (EHCI) failures. USB HOST (EHCI) connector isn't mounted.
There are 4 revisions of the B board in the field: B4, B5, B6 and B7.
The most notable difference is the use of the ES3.0 silicon in B6 and B7, other changes are not relevant to software developers.
Revision C2
Revision C2 is same as revision B7 except:
- USB HOST (EHCI) will be operational on revision C2.
- Add interface for raw LCDs (mockup)
- It will use updated OMAP3 revision. BeagleBoard revisions B4+B5 uses OMAP3 ES 2.1 (engineering sample), while BeagleBoard revision C2 is supposed to use ES 3.0. OMAP3 ES 3.0 will fix minor issues:
- updated ARM Cortex A8 silicon (r1p3) fixing a very rare NEON issue that has not been seen in real code
- Power measurement feature
- Will use TPS65950
- Three additional PWM signals on the expansion connector added as pin mux options to existing pins (message)
- Revision detection (to be able to identify C2 board from older boards by software, e.g. for different pin mux)
- Will have 256MB ram (message) (and still 256MB NAND like rev B)
- Price will go up to $159 to pay for the extra memory
Note: Revision C2 is expected end of March 2009. There are some early revision C prototypes out there, but they still have the USB host issue. There are also a few Rev C1D board that have everything listed above except for the additional pin mux option signals for the PWM.
Note: Revision C2 will be for sale, it has working USB HOST (EHCI). Early non-working prototypes are called C. Rev C1D is fully functional.
Clones
EBV build and sell their own BeagleBoard called EBVBeagle, see e.g. [2]. It is actually a BeagleBoard revision C2 with green PCB boxed with some useful accessories. It comes as a quite complete starter kit with AC adapter, USB to Ethernet adapter, MMC card, USB hub and some cables. More information:
Beagle cases
Some nice cases for your BeagleBoard are available from Special Computing. See SketchUp 3D model if interested in 3D models from Beagle, too.
Adapters
For quite detailed information about all BeagleBoard peripherals see BeagleBoard HW Reference Manual (rev. B6).
See BeagleBoard peripherals and adapters page for useful add ons for Beagle Board.
Expansion boards
- TinCanTools is in the process of developing an Expansion-Prototype Board for the BeagleBoard, comments and suggestions are welcome. Schematic.
- HY Research has some expansion board basics and example.
- Beaglebot uses a custom extension board.
- There is also a VGA DB15 adapter board under development for the Rev C2 board. It should be availble through a yet to be annnounced outlet.
JTAG
Depending on your JTAG tool, you'd need a 14-pin to 20-pin adapter to use an ARM debugger. The 14-pin TI JTAG connector is used on BeagleBoard and is supported by a large number of JTAG emulation products. See BeagleBoardJTAG for more information.
RS232
The pinout on the beagle board is "AT/Everex" or "IDC10". You can buy IDC10 to DB9M adapters in many places as they are commonly used for old PCs. Depending on your local configuration, you may need a 9-Pin NullModem cable to connect BeagleBoard to serial port of your PC. From TinCanTools there is a RS-232 DB-9 adapter and adapter schematic available.
USB
There are two USB ports on the BeagleBoard, one with an EHCI controller and another with an OTG controller. As of Rev B4, the usb EHCI has been removed because of a hardware defect. Rev C will include USB EHCI working properly.
EHCI
The HS (HighSpeed) USB ECHI controller on OMAP3 on BeagleBoard supports high-speed only. This simplifies the logic on the device. FS/LS (FullSpeed/LowSpeed) devices, such as keyboards and mice, require going through a HS hub.
OTG
The HS USB OTG (OnTheGo) controller on OMAP3 on the BeagleBoard does have support for all the USB 2.0 speeds (LS/FS/HS) and can act as either a host or a gadget/device. The HS USB OTG port is used as the default power input for the BeagleBoard. It is possible to boot the BeagleBoard using this USB port.
When using the OTG port in host mode, you must power the BeagleBoard using the +5V power jack. If you connect a USB hub, you'll probably also need external power for the USB hub as well, because according to the Hardware Reference manual the BeagleBoard OTG port only sources 100 mA. This is enough to drive a single low-power device, but probably won't work with multiple devices.
The Linux kernel needs to know you want to use the OTG port in host mode. I believe OTG ports are supposed to figure this out for themselves using the OTG Host Negotiation Protocol, but for now the Linux kernel may need some help. Specifically, Pin 4 (ID) of the OTG connector needs to be shorted to Pin 5 (GND) by using a 5-pin USB Mini-A plug which shorts these pins together in the plug. A 5-pin USB Mini-B plug leaves Pin 4 floating. Unfortunately, most USB Mini plugs are unmarked as to whether they are "A" or "B".
You can find "mini A" adapters that have Pin 4 shorted and offer out a full-sized USB A Female jack here.
DVI
DVI-D connection on BeagleBoard uses a HDMI connector:
HDMI is backward-compatible with the single-link Digital Visual Interface carrying digital video (DVI-D or DVI-I, but not DVI-A) used on modern computer monitors and graphics cards. This means that a DVI-D source can drive a HDMI monitor, or vice versa, by means of a suitable adapter or cable, but the audio and remote control features of HDMI will not be available.
BeagleBoard can be connected to a DVI monitor using HDMI female to DVI male cable.
BootRom
OMAP3 on BeagleBoard contains a BootRom. With this, BeagleBoard can boot without any code in permanent storage (NAND) or from peripherals. This is useful for first board bring up or if your BeagleBoard is bricked. For more information about BootRom booting see SPRUFD6.
User button
With user button on BeagleBoard you can configure boot order. Depending on this button, the order used to scan boot devices is changed. The boot order is (the first is the default boot source):
- User button not pressed: NAND -> USB -> UART -> MMC
- User button is pressed: USB -> UART -> MMC -> NAND
Technically speaking, the user button configures pin SYS.BOOT[5]. See SPRUFD6 for more details.
Serial and USB boot
Historically, using OMAP3's boot ROM for serial and USB boot, there are several tools around. The newest are Nishanth' OMAP U-Boot Utils, while there are still some older tools for serial boot and USB boot. It is also possible the access the u-boot env from linux.
OMAP U-Boot Utils
Nishanth' OMAP U-Boot Utils provide
- pserial - OMAP specific utility which downloads a file in response to ASIC ID over serial port.
- pusb - OMAP specific utility which downloads a file in response to ASIC ID over USB connection.
- ucmd - Send a command to U-Boot and wait till a specific match appears.
- ukermit - Download a file from host without using kermit to U-Boot.
See Nishanth' blog and announce mail, too.
Serial boot
Besides Nishanth' OMAP U-Boot Utils, to boot from USB or UART, you need a PC tool which talks with OMAP BootRom and speaks the correct protocol to download ARM target code to BeagleBoard. Currently there are two older (experimental) tools for UART boot:
- PC Serial Boot perl script
- Linux C utility (not working yet with below target code)
See USB and serial download target code for some example target code to be downloaded to OMAP3 on BeagleBoard.
USB boot
Besides Nishanth' OMAP U-Boot Utils, for USB boot, there is currently one (experimental) tool to boot BeagleBoard over USB:
See USB and serial download target code for some example target code to be downloaded to OMAP3 on BeagleBoard.
See USB recovery section how to use USB boot for board recovery.
NAND boot
See NAND boot article.
MMC/SD boot
Currently, boot the BeagleBoard with MMC/SD is the only working way for first board bring up.
MMC/SD formatting
As described in above MMC/SD boot description, you have to create a bootable partition on MMC/SD Card. This can be done using e.g. Windows or Linux tools.
Windows
See HP USB Disk Storage Format Tool 2.0.6 description on boot the BeagleBoard with MMC/SD page.
Linux
Please see OMAP3 MMC Boot Format.
Dual partition card
You can create a dual-partition card, booting from a FAT partition that can be read by the OMAP3 ROM bootloader and Windows, then utilizing an ext2 partition for the Linux root file system.
To mount second ext2 partition as root file system (e.g. containing contents of rd-ext2.bin) use kernel boot arguments (e.g. in uboot using setenv bootargs):
console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait
U-Boot booting
If your MMC/SD card formatting is correct and you put MLO, u-boot.bin and uImage on the card you should get a u-boot prompt after booting beagle board. E.g. (output from terminal program with 115200 8N1):
...40T.........XH.H.U�..Instruments X-Loader 1.41 Starting on with MMC Reading boot sector 717948 Bytes Read from MMC Starting OS Bootloader from MMC... U-Boot 1.1.4 (Apr 2 2008 - 13:42:13) OMAP3430-GP rev 2, CPU-OPP2 L3-133MHz TI 3430Beagle 2.0 Version + mDDR (Boot ONND) DRAM: 128 MB Flash: 0 kB NAND:256 MiB In: serial Out: serial Err: serial Audio Tone on Speakers ... complete OMAP3 beagleboard.org #
Using this u-boot prompt, you now can start kernel uImage stored on MMC card manually:
OMAP3 beagleboard.org # mmcinit OMAP3 beagleboard.org # fatload mmc 0:1 0x80000000 uimage OMAP3 beagleboard.org # bootm
If you like to make that happen every boot:
OMAP3 beagleboard.org # set bootcmd 'mmcinit ; fatload mmc 0:1 0x80000000 uimage ; bootm' ; saveenv
Code
Code and binaries for BeagleBoard are available at various places.
Binaries
BeagleBoard pre-built binaries and source code can be found at Beagle source code and downloads page. These are the locations where "official" TI code is available. Please note that this code is mainly for reference and testing. More up to date binaries and code is available by community. Community took (parts) of TI reference code, improves and updates it.
Actually, Koen's prebuilt Beagleboard demo images are up to date binaries including e17 as window manager, the abiword word processor, the gnumeric spreadsheet application, a NEON accelerated mplayer and the popular NEON accelerated omapfbplay which gives you fullscreen 720p decoding. The www.angstrom-distribution.org/demo/beagleboard directory should contain all the files you need:
See the beagle wiki on how to setup your SD card to use all this goodness.
Source
Besides above binary and source images (TI's and communities one), for various parts of Beagle software stack there are community supported git repositories available.
X-Loader
Steve did some work to consolidate and update X-Loader from various sources and put it in a X-Loader git repository. Get it by
git clone git://gitorious.org/x-load-omap3/mainline.git xloader cd xloader/
Build:
make distclean make omap3530beagle_config make
Result will be a ~20k sized x-load.bin in main directory.
U-Boot
Currently, Beagle community is working at getting U-Boot patches upstream to mainline U-Boot. While doing this, Steve set up a Beagle U-Boot git repository. Get it by:
git clone git://gitorious.org/u-boot-omap3/mainline.git cd u-boot-omap3 git checkout --track -b omap3-dev origin/omap3-dev
Build (assuming Code Sourcery GCC 2007q3):
make CROSS_COMPILE=arm-none-linux-gnueabi- mrproper make CROSS_COMPILE=arm-none-linux-gnueabi- omap3_beagle_config make CROSS_COMPILE=arm-none-linux-gnueabi-
Result will be a ~160k sized u-boot.bin in main directory.
Note: Due to (patch and binary) size, BeagleBoard splash screen was removed from upstream version. If you want it back, use U-Boot v1 BeagleBoard splash screen patch.
Linux kernel
Git repository of OMAP Linux kernel contains Beagle support. Get it by:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git
Build:
make distclean make omap3_beagle_defconfig make uImage
The result will be a uImage in arch/arm/boot/ directory.
Experimental kernel patches and hacks
Some beagle developers maintain their own kernel experimental patches and hacks not ready for upstream:
- Koen's collection of kernels patches for OE and the list of relevant patches
- Steve's kernel tree, a clone of main OMAP git with additional patches, mainly beagle audio (ASOC) related.
- Mans' kernel tree, a clone of main OMAP git with additional patches, mainly display & framebuffer related.
- Tomi's kernel tree, a clone of main OMAP git with display sub-system patches, replacing the entire display driver with one that is the likely direction moving forward.
Compiler
TI OMAP3530 processor on BeagleBoard contains an ARM Cortex-A8 general purpose processor and a TMS320C64x+ DSP.
Cortex A8 ARM
CodeSourcery's ARM GNU/Linux tool chain 2007q3 version is recommended. An ARM-native version of CS2007q3 has been built as well. You can also install a native tool-chain from Angstrom.
Note: A user reports that he found the use of CodeSourcery tool chain version 2007q1-21 and 2008q1-126 as strange. He has been using 2007q3-51 for a couple of months now.
Note: Some users report problems using Linux installer version. If installer doesn't work for you, download tar version (section Advanced Packages), copy extracted arm-2007q3 directory to /opt/codesourcery/arm-none-linux-gnueabi/ and add /opt/codesourcery/arm-none-linux-gnueabi/arm-2007q3/bin to your path.
- Note: CodeSourcery 2008q1 has the following issues:
- Vectorization + NEON is broken
- building static binaries with cortex-a8 flag (or any ARMv7a core) is broken
- some armv6 compilations end in ICE.
- Note: CodeSourcery 2008q3 (now replaced by 2008q3-72) has the following issues:
- Broken NEON support using -fmpu=neon -mfloat-abi=softfp -mcpu=cortex-a8 -O3
- Miscompiles U-Boot
- Note: CodeSourcery 2008q3-72 has the following issues:
Note: If you will use only OpenEmbedded (OE) to build code for your Beagle, you don't need to download the CodeSourcery compiler. OE builds a cross-compiler from source as part of the bitbake process.
ARM NEON
ARM Cortex A8 used in OMAP3 on BeagleBoard supports NEON instruction set. NEON is a wide SIMD vector extension for ARM, which has been architected to be an effective compiler target so easily useable from C as well as from assembly. The NEON instruction set is documented in ARM's RealView Compilation Tools Assembler Guide. ARM RVDS contains a vectorizing compiler documented in ARM's RealView Compilation Tools Compiler Reference Guide. These ARM manuals are available in Japanese, Korean, and simplified Chinese (select the lanuage in your web browser and go to RVDS Documentation). Gcc also supports vectorizing compilation ('cc -ftree-vectorize -ftree-vectorizer-verbose=6') and the same NEON Intrinsics.
For NEON optimized libraries see ARM Releases AAC, MP3, MPEG-4, H.264 and FFT OpenMAX DL Libraries, Highly Optimized for Cortex-A8/NEON and ARM11 Processors. Note: Read the EULA.
NEON is currently used by
- ffmpeg (libavcodec used by mplayer, omapfbplay, and many other apps)
- libpixman (used by Xorg and browsers to render text and graphics)
- Bluez (official Linux Bluetooth stack)
C64x+ DSP
A free C64x DSP compiler is available as Linux hosted C6x Code Generation Tools (TMS320C6000 C/C++ CODE GENERATION TOOLS 6.1.3 July 2008).
Note: my.TI account required. You may create an account here
Note: Old c6000 Linux compiler available on TI FTP site. Does NOT support c64x+ core in OMAP3 devices. Not recommended.
You can also utilize the full-CCS free evaluation tools for 120 days, but they currently require purchase to upgrade to service release 9 to support full JTAG debugging with supported JTAG hardware.
See BeagleBoard DSP howto for information about how to use the DSP.
Board recovery
If you played e.g. with the contents of the NAND, it might happen that the Board doesn't boot any more (without pressing user button) due to broken NAND content. See BeagleBoard recovery article how to fix this.
Development environments
Instead of just using compiler + editor, you can use complete image create "development tool chains" which integrate compiler, build system, packaging tools etc. in one tool chain.
OpenEmbedded
For OpenEmbedded (OE), there are some hints how to start with OE for BeagleBoard. See BeagleBoard and OpenEmbedded Git and OpenEmbedded getting started as well.
In the OE getting started document, for BeagleBoard replace MACHINE = "om-gta01" by MACHINE = "beagleboard". After confirming bitbake nano works, try bitbake console-image. The first time you run bitbake OE will download all the needed source and build the tool chain. This will take several hours. After all went fine, the output is in ${OE_ROOT}/tmp/deploy/glibc/images/beagleboard.
Note: Koen has some BeagleBoard source and binary images built with OE. There, Angstrom-console* images don't include an X server, you can still use a e.g. DVI-D screen with console, but you won't have a GUI. Angstrom-x11* images contain an X server.
One very important note:
It's important to have an X-Loader on your Beagleboard that uses the uImage on the SD Card that goes with Angstrom. The B6 Beagleboards do not appear to come with such an X-Loader. So you likely will have to upgrade the X-Loader. Here's what to do:
* Make an SD Card with the Angstrom Demo files. See the Beagleboard Wiki Page for more info on making the SD Card. * Put the SD Card in the Beagle, and boot up to the U-Boot Prompt. * Do the first six instructions in the Flashing Commands with U-Boot section. * Reboot the Beagle to see that the new X-Loader is properly loaded.
This will update the X-Loader to a newer version that will automatically load uImage from the SD Card when present -- rather than always using the uImage in the Beagleboard NAND.
Eclipse
The Eclipse C Development Tools Project provides a "fully functional C and C++ Integrated Development Environment (IDE) for the Eclipse platform". The Eclipse DSDP Target Managment Project provides a "Remote System Explorer" (RSE) plugin that simplifies downloading files to the BeagleBoard and editing files on the BeagleBoard within the Eclipse IDE. A Linux Target Agent is available as part of the Target Communications Framework (TCF) component. Info on how RSE is used for e.g. Gumstix development is described in this post.
Android
Android platform is a software stack for mobile devices including an operating system, middleware and key applications. Developers can create applications for the platform using the Android SDK. Applications are written using the Java programming language and run on Dalvik, a custom virtual machine designed for embedded use which runs on top of a Linux kernel.
There are several resources for Android on OMAP (Beagle) available:
OMAPZOOM
You can find Android port for OMAP ZOOM architecture on OMAPZoom.org's wiki page on Android.
EMBINUX
Beagleboard.org's Android project page announced, the successful porting of Android on Beagle board by EMBINUX™ Team. The source code and binaries are available for download and review.
Detailed instructions, for porting Android on Beagle Board, are available here. Current release supports input devices (keyboard/mouse), network and sound.
You can watch Android booting on Beagle Board.
Andorid on OMAP wiki
Wiki page for Andorid on OMAP can be found here
Mamona
Mamona is an embedded Linux distribution for ARM EABI. The main goal of the Mamona Project is to offer a completely open source alternative/experimental platform for Maemo using only free and open source components. Mamona 0.2 supports OMAP3430 Software Development Platform (SDP), so you can also use it at Beagle (OMAP3530), too. Work is being done to officially support Beagle.
Debian ARM
See Debian (ARM) installation guide how to install Debian (ARM) on BeagleBoard.
Handhelds Mojo ARM
See Handhelds Mojo (ARM) (formerly known as Ubuntu (ARM)) installation guide how to install Handhelds Mojo (ARM) port of Ubuntu on BeagleBoard.
Software hints
This section collects hints, tips & tricks for various software components running on beagle.
QEMU
QEMU supports OMAP3 being able to boot a BeagleBoard Linux kernel.
Linux hints
See BeagleBoard Google wiki Linux hints page (for Linux WTBU (Wireless TI Business Unit) kernel 2.6.22). Currently featuring:
- Switching video output between DVI-D and S-Video
- Disabling framebuffer blanking
- Listing USB devices
lmbench
Avik posted a detailed step-by-step procedure to run lmbench on Beagle.
Mediaplayer (FFmpeg)
There is a thread how to get a mediaplayer with NEON optimization (FFmpeg) to run on Beagle. Includes compiler hints and patches.
Java
When using the OpenEmbedded-based Angstrom image you have the following options of Java support:
- JamVM + GNU Classpath (small vm, fast interpreter, J2SE-like)
- Cacao + GNU Classpath (JIT compiler, J2SE-like)
- PhoneME Advanced Foundation (JIT compiler, CDC)
Java support in OpenEmbedded/Angstrom (details) is provided voluntarily through Jalimo.
See a post at mailing list, too.
Graphics accelerator
OMAP3530 used on BeagleBoard contains a graphics accelerator (SGX) based on the SGX core from Imagination Technologies. PowerVR SGX530 is a new generation of programmable PowerVR graphics and video IP cores. Only the kernel portions of Linux drivers will be open source. The PowerVR folks will provide binary user-space libraries. Using the EMail contact at TIs Mobile Gaming Developers page there are Linux v2.6 OMAP3430 SDKs for OMAP3 Zoom and SDP supporting OpenGL ES v2.0, OpenGL ES v1.1 and OpenVG 1.0 available.
Tutorial:
Some videos:
- SGX on Beagle working with Linux 2.6.27
- OpenGL ES 2.0 shader effects on OMAP3
- 3D User Interface on OMAP3 Platform
- 3D Mapping using OpenGL ES 2.0 on OMAP3 Platform
- Video blending in hardware
Beginners guide
You just got your new BeagleBoard, and now? See beginners guides.
FAQ
For BeagleBoard frequently asked questions (FAQ) see community FAQ and "official" BeagleBoard.org FAQ.
Links
Home page
beagleboard.org (beagle board home)
- Using Google you can search beagleboard.org (including IRC logs) using site:beagleboard.org <search term>
Manuals and resources
- BeagleBoard HW Reference Manual (rev B7)
- BeagleBoard HW Reference Manual (rev. B6)
- BeagleBoard HW Reference Manual (rev. B5)
- BeagleBoard HW Reference Manual (rev. B4)
- BeagleBoard HW Reference Manual (rev. A5)
- OMAP3530 processor description and manuals
- Beagle at code.google.com
- OMAP3530/25 CBB BSDL Model
- Micron's multi chip packages (MCPs) for Beagle Board
- Beagleboard resources page with hw docs
- Some performance comparison of BeagleBoard Rev. B with some other ARM/PC systems.
- OMAP3 pinmux setup
Contact and communication
- Beagle board discussion list
- Beagle board open point list & issue tracker
- Beagle board blog
- Beagle board RSS feed
- Chat:
- Beagle Board chat
- IRC: #beagle channel on irc.freenode.net
- IRC archive
- Beagles Ride, a site about building a community around the BeagleBoard focused on in vehicle applications
TI resources
- TI open source page
- TI E2E (Engineer-to-Engineer) Community
- DSP Bridge driver for OMAP3 platform
- ARMv7 Oprofile support
- OMAP34xx Wireless Technical Reference Manual (swpu114g.pdf, 47 MB)
- Koen's (OpenEmbeded) BeagleBoard source and binaries
- Verified peripherals for BeagleBoard
- OMAP3430 Linux Power Management presentation
Articles
Past Beagle events
- TIDC, February 26-28, 2008: Slides from TI developer conference (TIDC) open source session, covering also beagle board
- LUG RADIO Live USA 2008, April 12-13, 2008: TI/Beagle Presentation and video
- LinuxTag, May 28-31, 2008: picture 1 and picture 2
- LugRadio Live UK 2008, July 19 - July 20, 2008: Koen's pictures showing e.g. Big Buck BUNNY playing at Beagle. Interview with Linux Outlaws (52:06) and the video
- OSScamp Bengaluru Mobile 2008, July 19, 2008
- LinuxWorld Conference & Expo, August 4 - August 7, 2008: pictures with living beagle and from Linux Journal's photostream
- BeagleBoard.org event at Jillian's during LinuxWorldExpo, August 5, 2008, 5:30-7:30 pm
- BarCamp Houston 3, August 9, 2008, 9:00 A.M.: pictures
- NIT Suratkal, India IEEE SP Connect 2, August 30, 20008
- BarCamp Bangalore, India, September 13, 2008
- IBC 2008, September 11 - September 16, 2008: pictures
- Free Open "Embedded Linux" Training for Students in India, beagleboard.org Trainings in India, September 20, 2008: video, photos and blog
- Embedded Systems Show 2008, Birmingham, UK, October 1-2, 2008
- MontaVista Vision 2008 Embedded Linux Developers Conference, San Francisco, California, October 1-3, 2008 : Video and presentation overview, William Mills' presentation, Jason Kridner's presentation
- ARM Developers' Conference, Santa Clara Convention Center, Santa Clara, Calif., USA, October 7-9, 2008
- Embedded Systems Conference Boston 2008, Hynes Convention Center, Boston, USA, October 26 - October 30, 2008: Resources
- BeagleBoard contest #1: Create a cool BeagleBoard application and win a Rev C1! Closed, ran until January 9, 2009
- OMAP35x training by Silica, January 21, 2009, Cambridge, UK, ARM Holdings Lecture Theatre. RichardB's notes from the seminar
- BeagleBoard contest #2, unitl February 27, 2009: : Create a cool BeagleBoard application and win a Rev C2!
Beagle wiki pages
- BeagleBoard beginners guides
- BeagleBoard and OpenEmbedded Git installation guide and OpenEmbedded development
- Debian on BeagleBoard usage guide
- Handhelds Mojo (ARM) on BeagleBoard usage guide (formerly known as Ubuntu (ARM))
- Ubuntu (ARM EABI) distribution at BeagleBoard
- BeagleBoard recovery about fixing boards not booting any more because of broken NAND content
- BeagleBoard JTAG and OMAP3530_ICEPICK about JTAG on BeagleBoard
- BeagleBoard OpenOCD has infos about status and usage of open source JTAG software OpenOCD with Beagle
- BeagleBoard NAND boot about how to boot BeagleBoard from NAND flash
- BeagleBoard peripherals and adapters page about useful BeagleBoard add ons.
- Mount BeagleBoard root file system over NFS via USB
- BeagleBoard FAQ
- Sugar on BeagleBoard
- BeagleBoard DSP howto
- Interfacing BeagleBoard to Raw LCD
- BeagleBoard OpenMAX usage
- BeagleBoard video
- Using OpenCV computer vision library with BeagleBoard
- James: Just A Miniature Entertainment System
- U-boot musb gadget support
- Japanese translation of this Beagle page
- BeagleBoard E-Ink Platform Driver
- Random hacking notes for getting Fedora 10 to kinda work with the BeagleBoard
- BeagleBoard specific Google Summer of Code 2009 page and GSoC project ideas
- Beaglebot: build an experimental robotics project with Beagle
- code.google.com BeagleBoard wiki
- BeagleBoard contest
- Wikipedia BeagleBoard page
- Android port for BeagleBoard: Instructions for porting Android on BeagleBoard
Beagle photos
- Beagle board pictures at flickr
- Beagle board and USRP
- Modify SDP3430 QUART cable for beagle
- MythTV on Beagle
Beagle videos
- Beagle Board Beginnings
- Beagleboard in the Living Room
- Beagle Board 3D, Angstrom, and Ubuntu
- testsprite with beagleboard
- Beagleboard LED demo
- LCD2USB attached to a beagleboard
- Video blending in hardware
- Beagle Running Angstrom (VGA) on DLP Pico Projector
- SGX on Beagle working with Linux 2.6.27
- Not on Beagle OMAP3530: Ubuntu 7.04 on on OMAP3430 SDP
- Beagle Board booting Android
Beagle manufacturing
- Beagle Solder Paste Screening
- Beagle Assembly Inspection
- Beagle Functional Test
- Beagle Reflow
- Beagle Board Assembly at Circuitco
Fun
- Enjoy BeagleGame
Other OMAP boards
- OMAP1 OMAP5912 (ARM9 + C5x DSP) based OSK board.
- OMAP3 OMAP3430 based Zoom MDK
- OMAP3 OMAP3530 based Pandora
- OMAP3 OMAP3503 based Gumstix Overo
- OMAP3 OMAP35x based EVM from Mistral and TI (both are the same)
- OMAP3 OMAP3430 based Software Development Platform (SDP)
- OMAP3 OMAP3530 based board from Magniel Inc.
- OMAP3 based Archos 5, ARCHOS 5G and ARCHOS 7
- OMAP3 OMAP35x based OMAP35x SOM-LV
- OMAP3 based ICETEK-OMAP3530-Mini, a Chinese BeagleBoard clone
- OMAP3 based EBVBeagle, a German BeagleBoard clone
- OMAP3530 based BSQUARE’s Dev Kit OMAP3530
- OMAP3530 based OSWALD
- OMAP3 based Touch Book