Qualcomm OE MSM » History » Version 4
zecke, 10/02/2016 02:55 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 | 4 | zecke | repo sync |
22 | 1 | laforge | </pre> |
23 | # apply @disable-alsa-loc-hostap.diff@ to remove dependencies to hostap, loc-api and alsa-intf |
||
24 | # don't use the @build9615@ command, but: |
||
25 | <pre> |
||
26 | cd oe-core |
||
27 | . ./build/conf/set_bb_env.sh |
||
28 | bitbake -k 9615-cdp-image |
||
29 | </pre> |
||
30 | |||
31 | h2. build failures |
||
32 | |||
33 | currently, it will fail the lk and busybox builds: |
||
34 | |||
35 | h3. lk fail |
||
36 | |||
37 | <pre> |
||
38 | NOTE: package lk-git-r3: task do_install: Started |
||
39 | 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) |
||
40 | 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 |
||
41 | Log data follows: |
||
42 | | 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) |
||
43 | | + cd /home/oe/oe-msm-LE2/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/lk-git-r3/lk |
||
44 | | + do_install |
||
45 | | + install -d /home/oe/oe-msm-LE2/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/lk-git-r3/image/boot |
||
46 | | + 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 |
||
47 | | install: cannot stat `build-mdm9615/appsboot.{mbn,raw}': No such file or directory |
||
48 | NOTE: package lk-git-r3: task do_install: Failed |
||
49 | </pre> |
||
50 | |||
51 | despite the build-mdm9615/appsboot.mbn and .raw files actually |
||
52 | existing, but maybe in a different directory? |
||
53 | |||
54 | h3. busybox fail |
||
55 | |||
56 | <pre> |
||
57 | | /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: |
||
58 | Bad substitution |
||
59 | NOTE: package busybox-1.18.5-r44.0: task do_configure: Failed |
||
60 | </pre> |
||
61 | |||
62 | this is really odd, as the line 65 of the given file reads |
||
63 | <pre> |
||
64 | export EXTRA_CFLAGS="${CFLAGS/Os/O2}" |
||
65 | </pre> |
||
66 | with forward-slashes in the CFLAGS ?!? |
||
67 | |||
68 | h2. missing recipes / packages |
||
69 | |||
70 | there are some recipes missing, hence we commented them out above. |
||
71 | |||
72 | h3. acdbloader |
||
73 | |||
74 | alsa-intf requires this package, but no recipe is provided. |
||
75 | |||
76 | https://github.com/meta-swi/meta-swi-extras/blob/master/meta-swi-src/recipes/acdbloader/acdbloader_git.bb |
||
77 | |||
78 | h3. loc-api |
||
79 | |||
80 | seems to be libloc_api, |
||
81 | https://android.googlesource.com/platform/hardware/qcom/gps/+/master/loc_api/ |
||
82 | |||
83 | https://github.com/meta-swi/meta-swi-extras/blob/master/meta-swi-src/recipes/loc-api/loc-api_git.bb |
||
84 | |||
85 | h3. qmi-framework |
||
86 | 2 | laforge | |
87 | seems proprietary, thoug an older version seems leakead at |
||
88 | http://v2.pikacode.com/jsr-d10/android_vendor_qcom_proprietary/src/msm8226-kk/qmi-framework |
||
89 | |||
90 | https://github.com/meta-swi/meta-swi-extras/blob/master/meta-swi-src/recipes/qmi-framework/qmi-framework_git.bb |