Qualcomm OE MSM » History » Revision 2
Revision 1 (laforge, 10/01/2016 03:39 PM) → Revision 2/4 (laforge, 10/01/2016 03:39 PM)
h1. 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 <pre>debootstrap --variant=buildd --arch amd64 precise /space/oe-msm-chroot-64 http://mirror.netcologne.de/ubuntu/</pre> # install the following packages into the chroot <pre>apt-get install vim git build-essential diffstat texi2html texinfo subversion gawk chrpath wget</pre> # add 'oe' user <pre>useradd -m oe</pre> # mount the following directories into the chroot <pre> mount --bind /dev/shm ${CHROOT}/dev/shm mount --bind /proc ${CHROOT}/proc mount --bind /sys ${CHROOT}/sys mount --bind /dev/shm/ ${CHROOT}/dev/shm </pre> # enter the chroot as 'oe' user and use 'repo' to check out a specific release <pre> 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 </pre> # apply @disable-alsa-loc-hostap.diff@ to remove dependencies to hostap, loc-api and alsa-intf # don't use the @build9615@ command, but: <pre> cd oe-core . ./build/conf/set_bb_env.sh bitbake -k 9615-cdp-image </pre> h2. build failures currently, it will fail the lk and busybox builds: h3. lk fail <pre> 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 </pre> despite the build-mdm9615/appsboot.mbn and .raw files actually existing, but maybe in a different directory? h3. busybox fail <pre> | /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 </pre> this is really odd, as the line 65 of the given file reads <pre> export EXTRA_CFLAGS="${CFLAGS/Os/O2}" </pre> with forward-slashes in the CFLAGS ?!? h2. missing recipes / packages there are some recipes missing, hence we commented them out above. h3. 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 h3. 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 h3. 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