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.
- install 64bit ubuntu precise chroot using debootstrap
debootstrap --variant=buildd --arch amd64 precise /space/oe-msm-chroot-64 http://mirror.netcologne.de/ubuntu/
- install the following packages into the chroot
apt-get install vim git build-essential diffstat texi2html texinfo subversion gawk chrpath wget
- add 'oe' user
useradd -m oe
- 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
- 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
- apply
disable-alsa-loc-hostap.diff
to remove dependencies to hostap, loc-api and alsa-intf - 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.
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
Updated by zecke about 7 years ago · 4 revisions