Building Angstrom

From OMAPpedia

Revision as of 21:56, 24 May 2010 by Hari s (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[edit] Build Angstrom using narcissus

You can build Angstrom for Zoom2 in minutes using the Online Image Builder available at http://www.angstrom-distribution.org/narcissus/

Note: It is recommended to build Angstrom for omapzoom2 platform through Openembedded framework.

Select the following items:

Note: Narcissus build for Zoom2 (the Angstrom file system) also works on Zoom3 with the appropriate kernel and bootloader for Zoom3

[edit] Building Angstrom using Openembedded

Angstrom follows the same procedure as Openembedded. The only difference is selecting "Angstrom" as the "Distro" and selecting "omapzoom2" as "machine". Both of these variables can be set within the "local.conf".


Edit ${OETREE}/conf/site.conf

  SITE_PROXY_HOST="wwwgate.ti.com"
     GIT_PROXY_COMMAND = <path_to_git_proxy.sh>
  ${OETREE}/openembedded/bitbake/lib/bb/fetch/__init__.py
  
  Add the GIT_PROXY_COMMAND to the list of exported variables.  
     exportvars = ['PATH', 'GIT_PROXY_COMMAND', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'GIT_CONFIG', 'http_proxy', 'ftp_proxy',
     'SSH_AUTH_SOCK', 'SSH_AGENT_PID']

For more information regarding building instructions refer to www.openembedded.org

[edit] Troubleshooting Openembedded compilation

***** DO NOT run OE as root/sudoer user *****

While compiling Openembedded you might run into following issues;

1. import types, sets ERROR: no files to build. ERROR: Nothing PROVIDES 'nano'.

The BBFILES in local.conf or env BBPATH might be set wrong.

BBFILES = "/stuff/openembedded/recipes/*/*.bb"

BBPATH = /stuff/build:/stuff/openembedded

2. /proc/sys/vm/mmap_min_addr is not 0. This will cause problems with qemu so please fix the value (as root).

sudo -i
echo 0 >/proc/sys/vm/mmap_min_addr

3. Using dash as /bin/sh causes various subtle build problems, please use bash instead.

sudo dpkg-reconfigure bash

or

sudo apt-get remove dash
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox