Project

General

Profile

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 http://mirror.netcologne.de/ubuntu/
  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://codeaurora.org/quic/le/manifest.git -b release -m LNX.LE.2.1.1-59003-9x15.xml --repo-url=git://codeaurora.org/tools/repo.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/set_bb_env.sh
    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.

acdbloader

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

https://github.com/meta-swi/meta-swi-extras/blob/master/meta-swi-src/recipes/acdbloader/acdbloader_git.bb

loc-api

seems to be libloc_api,
https://android.googlesource.com/platform/hardware/qcom/gps/+/master/loc_api/

https://github.com/meta-swi/meta-swi-extras/blob/master/meta-swi-src/recipes/loc-api/loc-api_git.bb

qmi-framework

seems proprietary, thoug an older version seems leakead at
http://v2.pikacode.com/jsr-d10/android_vendor_qcom_proprietary/src/msm8226-kk/qmi-framework

https://github.com/meta-swi/meta-swi-extras/blob/master/meta-swi-src/recipes/qmi-framework/qmi-framework_git.bb

Add picture from clipboard (Maximum size: 48.8 MB)