Qualcomm OE MSM » History » Version 3
laforge, 10/01/2016 03:49 PM
1 | 1 | laforge | h1. Qualcomm OE MSM |
---|---|---|---|
2 | |||
3 | Qualcomm has released (parts of?) an OE/poky port for their MDM9615 devices. We are trying to find a building configuration as of now. |
||
4 | |||
5 | # install 64bit ubuntu precise chroot using debootstrap |
||
6 | <pre>debootstrap --variant=buildd --arch amd64 precise /space/oe-msm-chroot-64 http://mirror.netcologne.de/ubuntu/</pre> |
||
7 | # install the following packages into the chroot |
||
8 | <pre>apt-get install vim git build-essential diffstat texi2html texinfo subversion gawk chrpath wget</pre> |
||
9 | # add 'oe' user |
||
10 | <pre>useradd -m oe</pre> |
||
11 | # mount the following directories into the chroot |
||
12 | <pre> |
||
13 | mount --bind /dev/shm ${CHROOT}/dev/shm |
||
14 | mount --bind /proc ${CHROOT}/proc |
||
15 | mount --bind /sys ${CHROOT}/sys |
||
16 | mount --bind /dev/shm/ ${CHROOT}/dev/shm |
||
17 | </pre> |
||
18 | # enter the chroot as 'oe' user and use 'repo' to check out a specific release |
||
19 | <pre> |
||
20 | 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 |
||
21 | </pre> |
||
22 | # apply @disable-alsa-loc-hostap.diff@ to remove dependencies to hostap, loc-api and alsa-intf |
||
23 | # don't use the @build9615@ command, but: |
||
24 | <pre> |
||
25 | cd oe-core |
||
26 | . ./build/conf/set_bb_env.sh |
||
27 | bitbake -k 9615-cdp-image |
||
28 | </pre> |
||
29 | |||
30 | h2. build failures |
||
31 | |||
32 | currently, it will fail the lk and busybox builds: |
||
33 | |||
34 | h3. lk fail |
||
35 | |||
36 | <pre> |
||
37 | NOTE: package lk-git-r3: task do_install: Started |
||
38 | 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) |
||
39 | 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 |
||
40 | Log data follows: |
||
41 | | 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) |
||
42 | | + cd /home/oe/oe-msm-LE2/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/lk-git-r3/lk |
||
43 | | + do_install |
||
44 | | + install -d /home/oe/oe-msm-LE2/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/lk-git-r3/image/boot |
||
45 | | + 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 |
||
46 | | install: cannot stat `build-mdm9615/appsboot.{mbn,raw}': No such file or directory |
||
47 | NOTE: package lk-git-r3: task do_install: Failed |
||
48 | </pre> |
||
49 | |||
50 | despite the build-mdm9615/appsboot.mbn and .raw files actually |
||
51 | existing, but maybe in a different directory? |
||
52 | |||
53 | h3. busybox fail |
||
54 | |||
55 | <pre> |
||
56 | | /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: |
||
57 | Bad substitution |
||
58 | NOTE: package busybox-1.18.5-r44.0: task do_configure: Failed |
||
59 | </pre> |
||
60 | |||
61 | this is really odd, as the line 65 of the given file reads |
||
62 | <pre> |
||
63 | export EXTRA_CFLAGS="${CFLAGS/Os/O2}" |
||
64 | </pre> |
||
65 | with forward-slashes in the CFLAGS ?!? |
||
66 | |||
67 | h2. missing recipes / packages |
||
68 | |||
69 | there are some recipes missing, hence we commented them out above. |
||
70 | |||
71 | h3. acdbloader |
||
72 | |||
73 | alsa-intf requires this package, but no recipe is provided. |
||
74 | |||
75 | https://github.com/meta-swi/meta-swi-extras/blob/master/meta-swi-src/recipes/acdbloader/acdbloader_git.bb |
||
76 | |||
77 | h3. loc-api |
||
78 | |||
79 | seems to be libloc_api, |
||
80 | https://android.googlesource.com/platform/hardware/qcom/gps/+/master/loc_api/ |
||
81 | |||
82 | https://github.com/meta-swi/meta-swi-extras/blob/master/meta-swi-src/recipes/loc-api/loc-api_git.bb |
||
83 | |||
84 | h3. qmi-framework |
||
85 | 2 | laforge | |
86 | seems proprietary, thoug an older version seems leakead at |
||
87 | http://v2.pikacode.com/jsr-d10/android_vendor_qcom_proprietary/src/msm8226-kk/qmi-framework |
||
88 | |||
89 | https://github.com/meta-swi/meta-swi-extras/blob/master/meta-swi-src/recipes/qmi-framework/qmi-framework_git.bb |