ConfigureAndBuild
Configure and Build
Prepare your host environment¶
Hardware¶
To work with Beagleboard or OMAP3EVM you will need the following:
- Board
- Host machine (Linux Ubuntu 8.x/9.04) with Ethernet card and serial port
- Serial cable (null-modem)
- Power supply (5V)
- USB Hub
- USB Ethernet adapter (for Beagleboard)
- USB Keyboard & Mouse
- Ethernet cross cable or Ethernet Switch/Hub+2 cables
- Card Reader
- 2Gb SD or MMC Card
- 4:3 or 16:9 capable Display with DVI input
- HDMI to DVI cable (for BeagleBoard or IGEPv2)
- DVI to DVI (if you want to use external Display on OMAP3EVM)
Software¶
As Google we recommend to use Ubuntu 8.04+ , but also you can use CentOS 5.3 (32 bit).
- Install DHCP server
- Install tftp server (actual for OMAP3EVM)
- Install repo tool
- Set up your Linux development environment, make sure you have the following:
Required packages:
Git 1.5.4 or newer and the GNU Privacy Guard. JDK 5.0, update 12 or higher. Java 6 is not supported, because of incompatibilities with @Override. flex, bison, gperf, libsdl-dev, libesd0-dev, libwxgtk2.6-dev (optional), build-essential, zip, curl, minicom, tftp-server, uboot-mkimage
For Ubuntu 32-bit use such command:
$ sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev minicom tftpd uboot-mkimage
Ubuntu Intrepid (8.10) users may need a newer version of libreadline:
$ sudo apt-get install lib32readline5-dev
For DSP users:
$ sudo apt-get install expect
Configure your network¶
- Configure your host Ethernet adapter
sudo ifconfig ethX 10.10.10.1 netmask 255.255.255.0 up
- Configure DHCP server for target's network
; Example dhcpd.conf default-lease-time 600; max-lease-time 7200; subnet 10.10.10.0 netmask 255.255.255.0 { range 10.10.10.2 10.10.10.10; host beagleboard_rev_c3 { hardware ethernet 00:80:C8:xx:xx:xx; fixed-address 10.10.10.2; } host omap3evm_rev_d { hardware ethernet 00:50:c2:xx:xx:xx; fixed-address 10.10.10.3