Installing Open-embedded

Next: Build image (omap3-console-image) with Bitbake http://www.gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html 1. $ mkdir -p ~/dev/overo-oe 2. $ sudo apt-get install git subversion gcc patch help2man diffstat texi2html texinfo libncurses5-dev cvs gawk python-dev python-pysqlite2 python-psyco unzip chrpath ccache 3. $ sudo dpkg-reconfigure dash Choose "No" 4. $ cd ~/dev/overo-oe $ git clone git://gitorious.org/gumstix-oe/mainline.git org.openembedded.dev 5. $ cd org.openembedded.dev $ git checkout --track -b overo origin/overo 6. $ cd ~/dev/overo-oe $ git clone git://git.openembedded.net/bitbake bitbake $ cd bitbake $ git checkout 1.10.2 7. $ cd ~/dev/overo-oe $ cp -r org.openembedded.dev/contrib/gumstix/build . 8. $ cd ~/dev/overo-oe/build $ vim profile change OVEROTOP to "${HOME}/dev/overo-oe" $ cat profile >> ~/.bashrc $ source ~/.bashrc Next: Build image (omap3-console-image) with Bitbake

Build image (omap3-console-image) with Bitbake

Previous: Installing Open-embedded Next: Installing DSPLink (Bitbake ti-dsplink) 1. Add PARALLEL_MAKE = "-j2" OE_ALLOW_INSECURE_DOWNLOADS = "1" to ~/dev/overo-oe/build/conf/local.conf 2. $ cd ~/dev/overo-oe $ bitbake omap3-console-image Issues: A: perl-native_5.10.1.bb failed with undefined reference to `pthread_getspecific` Sol: $ git clone git://gist.github.com/925006.git open 925006/0001-perl-native-multilib-patch-for-ubuntu-11.04.patch and replace `uname -m` with 'i386' (without quotes) $ git apply --verbose 925006/0001-perl-native-multilib-patch-for-ubuntu-11.04.patch $ bitbake -c clean perl-native $ bitbake perl-native B: Log data follows: | sed: can't read docbook.cat: No such file or directory | ERROR: Function do_compile failed NOTE: package docbook-sgml-dtd-3.1-native-1.0-r2.0: task do_compile: Failed Sol: $ cd ~/dev/overo-oe/tmp/work/i686-linux/docbook-sgml-dtd-3.1-native-1.0-r2.0/docbook-sgml-dtd-3.1-1.0 $ cp ../* . 3. $ bitbake x-load Previous: Installing Open-embedded Next: Installing DSPLink (Bitbake ti-dsplink)

Copy Angstrom Filesystem to MicroSD

Previous: Installing DSPLink (Bitbake ti-dsplink) Next: Booting OveroTide with MicroSD 1. Follow instructions at http://www.gumstix.org/create-a-bootable-microsd-card.html to make a bootable MicroSD. In our case we will be using the Angstrom file system built with bitbake omap3-console-image so only the section on partioning the card needs to be followed. 2. $ mkdir /media/card $ sudo mount /dev/sdd1 /media/card $ cd ~/dev/overo-oe/tmp/deploy/glibc/images/overo $ sudo cp MLO-overo /media/card/MLO $ sudo cp u-boot-overo.bin /media/card/u-boot.bin $ sudo cp uImage-overo.bin /media/card/uImage 3. Create a file name 'script.boot' and add the following lines to the file echo ===== DSPLink Settings===== setenv mmcargs ${mmcargs} mem=126M if run loadimage; then run mmcboot else run nandboot fi Then run the following commands: $apt-get install uboot-mkimage $mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n 'P25 OMAP3 DSP: 126M Linux' -d script.boot boot.scr 4. $ cp boot.scr /media/card/boot.scr 5. $ sudo umount /dev/sdd1 6. $ sudo mount /dev/sdd2 /media/card $ cd /media/card $ sudo tar xvaf ~/dev/overo-oe/tmp/deploy/glibc/images/overo/omap3-console-image-overo.tar.bz2 7. $ cd ~/dev/overo-oe/tmp/deploy/glibc/ipk/overo $ mkdir /media/card/home/root/ipk $ cp ti-* /media/card/home/root/ipk/ $ sudo umount /dev/sdd2 Previous: Installing DSPLink (Bitbake ti-dsplink) Next: Booting OveroTide with MicroSD

Booting OveroTide with MicroSD

Previous: Copy Angstrom Filesystem to MicroSD Next: 1. $ sudo apt-get install minicom 2. $ minicom -s Under "Serial Port Setup" set Serial Device: /dev/ttyUSB0 (or whatever it is on your system) Bps/Par/Bits: 115200 8N1 Hardware Flow Control: No Software Flow Control: No Hit [ESC] until you return to the main configuration menu Select "Save Setup as dfl" to save the default setup Select "Exit from Minicom" to exit the program 3. Connect the usb cable to the console usb port on the Overo Tobi then run minicom: $ minicom -o 4. Plug the power adapter into the power jack of the Gumstix. When connected and powered, you should see a message from U-boot followed by the normal Gumstix boot sequence in the minicom window. Log in for the first time with username: root password: gumstix 5. When finished, you can exit Minicom by typing [CTRL-A] then pressing Q. Previous: Copy Angstrom Filesystem to MicroSD Next: