Qualcomm OE MSM

Qualcomm has released (parts of?) an OE/poky port for their MDM9615 devices. We are trying to find a building configuration as of now.

  1. install 64bit ubuntu precise chroot using debootstrap
    debootstrap --variant=buildd --arch amd64 precise /space/oe-msm-chroot-64
  2. install the following packages into the chroot
    apt-get install vim git build-essential diffstat texi2html texinfo subversion gawk chrpath wget
  3. add 'oe' user
    useradd -m oe
  4. mount the following directories into the chroot
    mount --bind /dev/shm ${CHROOT}/dev/shm
    mount --bind /proc ${CHROOT}/proc
    mount --bind /sys ${CHROOT}/sys
    mount --bind /dev/shm/ ${CHROOT}/dev/shm
  5. enter the chroot as 'oe' user and use 'repo' to check out a specific release
    repo init -u git:// -b release -m LNX.LE.2.1.1-59003-9x15.xml --repo-url=git://
    repo sync
  6. apply disable-alsa-loc-hostap.diff to remove dependencies to hostap, loc-api and alsa-intf
  7. don't use the build9615 command, but:
    cd oe-core
    . ./build/conf/
    bitbake -k 9615-cdp-image

build failures

currently, it will fail the lk and busybox builds:

lk fail

NOTE: package lk-git-r3: task do_install: Started
ERROR: Function failed: do_install (see /home/oe/oe-msm-LE2/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/lk-git-r3/temp/log.do_install.16752 for further information)
ERROR: Logfile of failure stored in: /home/oe/oe-msm-LE2/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/lk-git-r3/temp/log.do_install.16752
Log data follows:
| ERROR: Function failed: do_install (see /home/oe/oe-msm-LE2/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/lk-git-r3/temp/log.do_install.16752 for further information)
| + cd /home/oe/oe-msm-LE2/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/lk-git-r3/lk
| + do_install
| + install -d /home/oe/oe-msm-LE2/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/lk-git-r3/image/boot
| + install build-mdm9615/appsboot.{mbn,raw} /home/oe/oe-msm-LE2/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/lk-git-r3/image/boot
| install: cannot stat `build-mdm9615/appsboot.{mbn,raw}': No such file or directory
NOTE: package lk-git-r3: task do_install: Failed

despite the build-mdm9615/appsboot.mbn and .raw files actually
existing, but maybe in a different directory?

busybox fail

| /home/oe/oe-msm-LE2/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/busybox-1.18.5-r44.0/temp/run.do_configure.14962: 65: /home/oe/oe-msm-LE2/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/busybox-1.18.5-r44.0/temp/run.do_configure.14962:
Bad substitution
NOTE: package busybox-1.18.5-r44.0: task do_configure: Failed

this is really odd, as the line 65 of the given file reads

export EXTRA_CFLAGS="${CFLAGS/Os/O2}" 

with forward-slashes in the CFLAGS ?!?

missing recipes / packages

there are some recipes missing, hence we commented them out above.


alsa-intf requires this package, but no recipe is provided.


seems to be libloc_api,


seems proprietary, thoug an older version seems leakead at

disable-alsa-loc-hostap.diff Magnifier - patch to disable missing dependencies (1.07 KB) laforge, 10/01/2016 03:39 PM