klopsi-sdk | http://pastebin.de/5570 | 00:06 |
---|---|---|
klopsi-sdk | aha! uncommenting the #/boot line worked! | 00:08 |
klopsi-sdk | now happily makeing | 00:08 |
sledges | logical stop for good nighting ;) | 00:08 |
klopsi-sdk | yep thanks a meelion! | 00:08 |
klopsi-sdk | I will either get through this or donate a droid 4 to someone who can | 00:09 |
klopsi-sdk | gnite sledges | 00:09 |
sledges | n!n | 00:10 |
*** zetaz has left #sailfishos-porters | 00:19 | |
klopsi-sdk | /bin/sh: 1: /android/droid/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: not found | 00:25 |
klopsi-sdk | just for reference tomorrow | 00:25 |
*** edubai has quit IRC | 00:34 | |
*** the_mgt_ has joined #sailfishos-porters | 00:35 | |
*** olafh has quit IRC | 00:35 | |
*** vakkov has quit IRC | 00:37 | |
*** the_mgt has quit IRC | 00:38 | |
*** the_mgt_ is now known as the_mgt | 00:38 | |
*** vakkov has joined #sailfishos-porters | 01:01 | |
*** uhhimhere has quit IRC | 02:22 | |
*** uhhimhere has joined #sailfishos-porters | 02:22 | |
*** M4rtinK has quit IRC | 03:04 | |
*** vrutkovs|home has quit IRC | 03:08 | |
*** furikku has joined #sailfishos-porters | 04:42 | |
*** spiiroin_ has quit IRC | 05:17 | |
*** VDVsx has quit IRC | 05:43 | |
*** olafh has joined #sailfishos-porters | 05:47 | |
*** VDVsx has joined #sailfishos-porters | 06:10 | |
*** spiiroin_ has joined #sailfishos-porters | 06:58 | |
*** spiiroin_ has quit IRC | 07:08 | |
*** spiiroin has joined #sailfishos-porters | 07:09 | |
*** tanty_off is now known as tanty | 07:09 | |
*** plfiorini has quit IRC | 07:37 | |
*** phlixi has quit IRC | 08:16 | |
*** eleroux has joined #sailfishos-porters | 08:18 | |
*** alin has quit IRC | 08:22 | |
*** phlixi has joined #sailfishos-porters | 08:24 | |
*** vrutkovs has joined #sailfishos-porters | 08:33 | |
*** vrutkovs is now known as vrutkovs|home | 08:33 | |
*** plfiorini has joined #sailfishos-porters | 08:47 | |
*** vrutkovs|home has quit IRC | 09:25 | |
*** cmazieri has joined #sailfishos-porters | 09:35 | |
*** vrutkovs has joined #sailfishos-porters | 09:46 | |
*** Tassadar has joined #sailfishos-porters | 09:57 | |
mal- | sledges: about the includes in this file https://github.com/mer-hybris/pulseaudio-modules-droid/blob/master/src/droid/module-droid-card.c , the includes are in wrong order, the #include "droid-util.h" should be before #include <hardware/audio.h> | 10:20 |
sledges | mal-: #include <hardware/audio.h> should be redundant in that file, as utils include it | 10:22 |
mal- | yes | 10:22 |
mal- | I was just about to ask if we should remove it | 10:22 |
mal- | the real problem is actually system/audio.h | 10:23 |
mal- | which is also included in hardware/audio.h | 10:23 |
sledges | let me remove both, recompile, and retest on nexus5 | 10:23 |
mal- | thanks | 10:23 |
sledges | does everything work when you remove them? | 10:24 |
sledges | for you | 10:24 |
mal- | yes | 10:24 |
mal- | well, actually I did not try removing, just moved them | 10:24 |
mal- | but should not matter | 10:26 |
mal- | https://github.com/mer-hybris/android_hardware_libhardware/blob/hybris-10.1/include/hardware/audio.h | 10:26 |
mal- | that at least has #include <system/audio.h> | 10:26 |
mal- | sledges: I still can't get audio, but at least pulseaudio starts now | 10:27 |
mal- | for my phone I needed more changes than that, more about those later | 10:27 |
mal- | I think droid-util-44.h should support all things that are in system/audio.h | 10:28 |
* sledges nods | 10:33 | |
sledges | i think it's incremental support-as-we-go | 10:34 |
mal- | I have added most of those for my system, don't know if any other changes are needed | 10:34 |
mal- | I was just lazy and added without checking which are actually needed | 10:35 |
sledges | i.e., have the need, add, test; principle | 10:36 |
mal- | I'll have try play with the config files for pulseaudio to see if those have any effect on problem | 10:38 |
mal- | it just does not respond to for example pactl | 10:39 |
mal- | backtrace shows only a single thread that is waiting, not sure if it should be like that | 10:39 |
mal- | log does not show any clear problems, final things I see is that it suspends sinks bocause they are idle | 10:40 |
sledges | mal-: ping jusa_ if you get stuck | 10:42 |
mal- | well I'm pretty much stuck already with that :) | 10:43 |
sledges | ^;) | 10:44 |
mal- | anyway I'll still try the configs, I just copied those from some other phone | 10:44 |
mal- | didn't seem to contain device specific stuff, of course I could be wrong | 10:45 |
sledges | if you notice, the same config is being copied around several phones | 10:52 |
sledges | don't know the reasoning behind that though, or just pure luck | 10:52 |
sledges | mal-: removing those two includes worked, nexus5 still plays music | 10:53 |
sledges | could you please PR and describe, as you know exact path what goes wrong with your build env and hw | 10:54 |
sledges | since nexus5 worked ever since | 10:54 |
mal- | I'll do that in the evening, could you also try the changes to droid-util-44.h on nexus5? | 10:56 |
sledges | sure, fire away | 10:57 |
sledges | you can PR to my repo | 10:57 |
mal- | I'll send those in the evening, I don't have sources with me at work | 10:57 |
sledges | https://github.com/sledges/pulseaudio-modules-droid/tree/fix-defines | 10:57 |
sledges | ok | 10:57 |
sledges | what's your daily job if no secret?;) | 10:57 |
mal- | post-doc research in the field of chemistry | 10:58 |
sledges | cool, broad spectrum of porters:) | 10:58 |
mal- | I should finish adding a second harddisk to my laptop, replacing the dvd-drive | 11:00 |
mal- | ssd is too small for the sources | 11:00 |
* sledges is getting an ssd to do lots of compiling, hoping there will be a performance increase | 11:01 | |
sledges | but mainly getting ssd for other goodies like faster app start time | 11:01 |
mal- | other option would be to remove dual boot windows from the ssd, I use it very very rarely | 11:02 |
* stephg hearts ssds | 11:02 | |
*** s5pik3 has joined #sailfishos-porters | 11:03 | |
*** s5pik3 has quit IRC | 12:15 | |
klopsi-sdk | am I supposed to have a /android/droid/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3 directory? | 12:16 |
klopsi-sdk | trying to get it from google fails | 12:23 |
klopsi-sdk | git clone https://android.googlesource.com/platform/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin | 12:23 |
sledges | have you moved /android/? | 12:23 |
klopsi-sdk | yes | 12:23 |
sledges | move it back | 12:24 |
klopsi-sdk | then it will be invisible to the HABUILD_SDK chroot | 12:24 |
sledges | just adjust your android_sdk var to point to /parentroot/android.. | 12:25 |
klopsi-sdk | i do have an android/droid/prebuilts/ directory | 12:25 |
klopsi-sdk | but no /android/droid/prebuilt directory | 12:25 |
klopsi-sdk | (missing s) | 12:26 |
sledges | grep -w prebuilt $ANDROID_ROOT/.repo/manifest.xml | 12:26 |
klopsi-sdk | ok i can do that but how would that create the missing /android/droid/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc directory? | 12:26 |
klopsi-sdk | ok | 12:26 |
klopsi-sdk | returns nothing | 12:27 |
klopsi-sdk | /android/droid/.repo/manifest.xml -> manifests/default.xml | 12:28 |
sledges | i know | 12:28 |
klopsi-sdk | and default.xml is present | 12:28 |
sledges | cd .repo/manifests | 12:29 |
sledges | git remote -v | 12:29 |
klopsi-sdk | origingit://github.com/mer-hybris/android.git (fetch) | 12:30 |
klopsi-sdk | origingit://github.com/mer-hybris/android.git (push) | 12:30 |
sledges | git branch -a | 12:30 |
klopsi-sdk | ok shows a lot of remotes/* | 12:31 |
sledges | pastebin | 12:31 |
klopsi-sdk | http://pastebin.de/5596 | 12:31 |
sledges | git log | 12:31 |
*** alin has joined #sailfishos-porters | 12:32 | |
*** alin has joined #sailfishos-porters | 12:32 | |
sledges | pastebin just first screen | 12:32 |
sledges | alin: found a prob, wl_display.sync is not called for us | 12:32 |
sledges | but can't find where it got fixed, current suspect - silica | 12:32 |
klopsi-sdk | http://pastebin.de/5597 | 12:32 |
sledges | check all others (hwc,qtwayland,..) - same version in a working image, and in a broken image | 12:33 |
sledges | but silica is giving no clues :/ | 12:33 |
sledges | we might have to wait for update11 if we can't find what to cherry-pick backport | 12:33 |
sledges | klopsi-sdk: so you are on cm-10.1 | 12:35 |
sledges | is what you synced | 12:35 |
sledges | you should then switch to cm-10.1 on kernel and device | 12:35 |
alin | sledges: probably is better | 12:35 |
alin | sledges: to wait the issue is aesthetic mainly | 12:36 |
sledges | and naggy | 12:36 |
alin | sledges: and we can invest the time in better things... like drinking beer | 12:36 |
alin | sledges: is there any et for u11? | 12:36 |
sledges | yes, it's eta_before_you_asked+1week | 12:38 |
*** spiiroin has quit IRC | 12:39 | |
sledges | ;) | 12:39 |
klopsi-sdk | sledges: for cm10 on device i will have to wait until i get my 2nd Droid4 | 12:40 |
sledges | you can always nandroid | 12:40 |
sledges | backup | 12:40 |
klopsi-sdk | that backs up installed apps? | 12:41 |
sledges | it backsup all partitions into sdard | 12:41 |
sledges | card | 12:41 |
sledges | byte-to-byte | 12:41 |
klopsi-sdk | ok | 12:41 |
klopsi-sdk | how do i check what kernel version I have in the SDK? | 12:41 |
sledges | recovery supports this (it's not even mentioned that it's called nandroid) | 12:41 |
sledges | why? | 12:42 |
klopsi-sdk | < sledges> you should then switch to cm-10.1 on kernel and device | 12:42 |
sledges | cd kernel/motorola/maserati; git checkout cm-10.1 | 12:42 |
sledges | that's it | 12:42 |
sledges | also adjust local manifest | 12:43 |
klopsi-sdk | under /android/droid/kernel/motorola i only have omap4-common | 12:44 |
sledges | that | 12:44 |
sledges | you get my point | 12:44 |
klopsi-sdk | should i mkdir maserati and then run that git checkout? | 12:44 |
sledges | no | 12:44 |
klopsi-sdk | ok | 12:44 |
klopsi-sdk | Switched to branch 'cm-10.1' | 12:44 |
sledges | same for device | 12:45 |
mal- | those should be already cm-10.1, at least when we modified local manifest yesterday | 12:45 |
mal- | better make sure anyway | 12:46 |
klopsi-sdk | so the next thing for me to do is 1) backup my droid4 2) install cm10.1 3) extract-files.sh then 4) rerun make -j4 hybris-hal ? | 12:48 |
sledges | what is 3) ? | 12:48 |
sledges | you can skip 1 and 2 for later | 12:49 |
sledges | ah, the /vendor tricks... | 12:49 |
klopsi-sdk | extracts proprietary blobs http://wiki.cyanogenmod.org/w/Build_for_maserati | 12:49 |
sledges | somehow it could have been done without in the past | 12:49 |
sledges | for nexus4 at least.. | 12:49 |
sledges | where does it fail? | 12:49 |
sledges | ah you don't know yet ;) | 12:49 |
sledges | did you extract-files already before (from cm11 to cm10 tree?...) | 12:50 |
klopsi-sdk | extracting blobs worked, but I am guessing i will need different blobs from CM10.1? | 12:50 |
klopsi-sdk | yes | 12:50 |
sledges | ok, go with 1234 then.. | 12:50 |
klopsi-sdk | ok i have cleaning to do before the better half comes home :) thanks for the help, see you in a few hours | 12:52 |
sledges | :) o/ | 12:52 |
sledges | years ago i had to clean linux on my better half's HP iPAQ h1930 before she came home, to put windows pocketpc backup back.. | 12:54 |
sledges | is mainly the reason i ended up in this field really%) | 12:54 |
*** spiiroin has joined #sailfishos-porters | 12:56 | |
*** Lipevakala has joined #sailfishos-porters | 13:07 | |
*** Tassadar has quit IRC | 13:12 | |
*** mkosola has quit IRC | 13:14 | |
*** mkosola has joined #sailfishos-porters | 13:16 | |
alin | anyhow now I need to fix the lolipop seems to refuse to boot | 13:20 |
*** zhxt_ has joined #sailfishos-porters | 13:47 | |
*** cl_ has joined #sailfishos-porters | 13:48 | |
*** beidl_ is now known as beidl | 13:54 | |
*** Derecho_ has joined #sailfishos-porters | 13:58 | |
*** Derecho has quit IRC | 14:01 | |
*** arcean has joined #sailfishos-porters | 14:18 | |
*** spiiroin has quit IRC | 14:27 | |
*** cl_ has quit IRC | 14:39 | |
lbt | sledges: /home/lbt/mer/android/droid/sfa-i9305-ea-1.1.1.27-my1/sfa-i9305-ea-1.1.1.27-my1.tar.bz2 | 14:41 |
sledges | lbt: \o/ | 14:42 |
lbt | now see if it boots | 14:42 |
*** SK_work has quit IRC | 14:49 | |
*** zhxt_ has quit IRC | 15:04 | |
*** Derecho_ is now known as Derecho | 15:06 | |
*** spiiroin has joined #sailfishos-porters | 15:08 | |
*** SK_work has joined #sailfishos-porters | 15:08 | |
*** uhhimhere has quit IRC | 15:16 | |
*** VDVsx has quit IRC | 15:26 | |
*** tanty is now known as tanty_off | 16:02 | |
alin | lbt: hi | 16:14 |
alin | lbt: any chance to get did done in obs? | 16:15 |
alin | if not maybe fortran | 16:15 |
*** VDVsx has joined #sailfishos-porters | 16:20 | |
*** plfiorini has quit IRC | 16:32 | |
*** eleroux has quit IRC | 16:32 | |
*** piggz has joined #sailfishos-porters | 17:30 | |
piggz | sledges: just firing up the ace to confirm | 17:30 |
piggz | sledges: yes, think I know what you mean about smooth switching from app to homescreen.....an i have another example of animations not working | 17:36 |
piggz | in my game on warehouse (jewel rush) the blocks animate between positions ... but it just isnt happening on my ace ... works fine on android | 17:37 |
sledges | piggz: fingerterm and dialer have fine transitions/animations | 17:39 |
sledges | has jewel rush ever worked on ace? | 17:39 |
*** zanac has joined #sailfishos-porters | 17:40 | |
piggz | sledges: i never tried on an older release | 17:41 |
*** vrutkovs has quit IRC | 17:41 | |
piggz | the animations and timing suck though at the moment | 17:41 |
piggz | im just hoping it works on a Jolla! | 17:41 |
sledges | where else have you tried it on then? | 17:42 |
piggz | just android and dekstop so far ... its fine on them | 17:42 |
piggz | its not a complex animation ... just a Bahaviour on x and y ... and sailfish seems to be ignoring it | 17:43 |
sledges | ask on #sailfishos ;) | 17:44 |
* sledges afk | 17:44 | |
lbt | alin: ? | 17:45 |
lbt | did ? | 17:45 |
lbt | sledges: piggz: I've heard about fade animations not working too | 17:45 |
lbt | w00t_: ^^ | 17:46 |
*** Nokius__ has joined #sailfishos-porters | 17:47 | |
piggz | lbt: so, is 1.1.1.27 a brown paper bag release? :D | 17:49 |
lbt | no - I think there may be something in the device port - it works on the jolla | 17:50 |
alin | lbt: dhd | 17:50 |
lbt | for i9305 ? | 17:51 |
*** Nokius_ has quit IRC | 17:51 | |
alin | lbt: hammerhead... | 17:51 |
alin | lbt: the thing you started some time ago when we were young | 17:51 |
klopsi-sdk | it is so nice to see make -j4 hybris-hal running | 17:51 |
lbt | yeah - I'll be doing that in the next few days | 17:51 |
lbt | klopsi-sdk: :) | 17:51 |
alin | piggz: you get gremlins too? | 17:52 |
klopsi-sdk | what are gremlins? | 17:52 |
*** piggz has quit IRC | 17:52 | |
alin | klopsi-sdk: https://www.google.ie/search?q=define%3A+gremlins&oq=define%3A+gremlins&aqs=chrome..69i57j69i58.4347j0j4&sourceid=chrome&es_sm=122&ie=UTF-8 | 17:53 |
*** piggz has joined #sailfishos-porters | 17:53 | |
klopsi-sdk | ah ty | 17:53 |
alin | klopsi-sdk: in our case are not respoinnding flashing windows | 17:53 |
piggz | sledges: ok i have a more concret example ... my other game on warehouse, galaxy attack has in info window that animates it ... before 1.1.1.27 it was smooth, not it just appears | 17:53 |
piggz | alin: lbt: w00t_: ^ | 17:54 |
alin | piggz: ok.. so you do not get a not responding? sledges knows | 17:54 |
piggz | i have a 'not responding' in the settings app iirc | 17:55 |
*** plfiorini has joined #sailfishos-porters | 17:57 | |
alin | piggz: ok... after a while you will have a lot... give it around 2h | 17:58 |
alin | piggz: at least this is what happens to me... sledges promissed is fixed in update 11 | 17:58 |
*** faenil has quit IRC | 18:02 | |
*** faenil has joined #sailfishos-porters | 18:03 | |
*** Tassadar has joined #sailfishos-porters | 18:05 | |
*** vrutkovs has joined #sailfishos-porters | 18:12 | |
*** vrutkovs is now known as vrutkovs|home | 18:12 | |
*** alin has quit IRC | 18:13 | |
*** beidl_ has joined #sailfishos-porters | 18:16 | |
*** gogeta has joined #sailfishos-porters | 18:19 | |
*** beidl has quit IRC | 18:19 | |
mal- | sledges: just wondering if there is some reason why the QCOM_HARDWARE conditions do not correlate completely between droid-util-44.h and system/audio.h | 18:20 |
w00t_ | what version is 1.1.1.27? | 18:35 |
w00t_ | there have been some subsequent fixes to animations (http://github.com/mer-qt/qtdeclarative) | 18:35 |
gogeta | jo w00t_ | 18:36 |
gogeta | *hi | 18:36 |
*** piggz has quit IRC | 18:39 | |
*** piggz has joined #sailfishos-porters | 18:40 | |
*** gogeta has quit IRC | 18:44 | |
*** vakkov has quit IRC | 18:46 | |
*** vakkov has joined #sailfishos-porters | 18:47 | |
mal- | sledges: first PR sent, I'm preparing the other for you to test | 18:47 |
*** furikku has quit IRC | 19:00 | |
sledges | w00t_: animations work fine for non-silica app (fingerterm) and voicecall-ui (prestarted always in memory), so something goes amiss in booster/qtwayland/hwc/who-knows-where, only in 1.1.1.27 and only on non-jolla devices (so far we checked - all 3 expose symptoms) | 19:02 |
sledges | *homescreen animations/app compositing | 19:03 |
*** Sfiet_Konstantin has joined #sailfishos-porters | 19:03 | |
mal- | sledges: I have problems deciding whether to put QCOM_HARDWARE to couple of new lines I'm about to add, in hybris-10.1 they defined as QCOM in audio.h but in 11.0 they are not | 19:10 |
*** gogeta has joined #sailfishos-porters | 19:20 | |
*** Nokius__ is now known as Nokius | 19:22 | |
klopsi-sdk | still stuck at an error in make -j4 hybris-hal | 19:22 |
klopsi-sdk | make[1]: Entering directory `/android/droid/kernel/motorola/omap4-common' | 19:22 |
klopsi-sdk | make[2]: /android/droid/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Command not found | 19:22 |
klopsi-sdk | so i downloaded the toolchain arm-eabi-4.4.3 from google | 19:23 |
klopsi-sdk | can i copy that dir to prebuild/linux-86/toolchain and rerun make? or is that error telling us something else is misconfigured? | 19:23 |
mal- | ust wondering why you are missing that, I have that folder and file | 19:28 |
mal- | I'll check my manifest.xml | 19:29 |
*** r0kk3rz has joined #sailfishos-porters | 19:29 | |
klopsi-sdk | in manifest.xml i see a bunch of "prebuilts" directories but no "prebuilt" | 19:32 |
mal- | just a moment | 19:32 |
klopsi-sdk | thanks! | 19:33 |
mal- | try adding the following line to .repo/local_manifests/maserati.xml | 19:34 |
mal- | <project path="prebuilt" name="CyanogenMod/android_prebuilt" revision="cm-10.1" /> | 19:34 |
mal- | then repo sync and make hybris-hal | 19:35 |
klopsi-sdk | ok i did not have that | 19:35 |
mal- | while you add that, check that all of the lines in that file have cm-10.1 | 19:35 |
sledges | mal-: thanks for PR. QCOM_HARDWARE should be there in PA, where it is also in android's audio.h parts | 19:36 |
klopsi-sdk | all have revision="cm-10.1" | 19:36 |
mal- | klopsi-sdk: good, then repo sync | 19:36 |
klopsi-sdk | yeah this sync will take a while, many GB | 19:37 |
mal- | it should not redownload those that are already there | 19:37 |
mal- | just update | 19:38 |
mal- | and add missing ones | 19:38 |
sledges | alin: no promises;) | 19:38 |
klopsi-sdk | this will take a few hours.. need 20814 objects | 19:38 |
mal- | sledges: well, for example the AUDIO_DEVICE_OUT_PROXY is not defined as QCOM_HARDWARE in audio.h | 19:39 |
mal- | klopsi-sdk: is it getting something else than that newly added one | 19:40 |
sledges | mal-: don't overestimate audio.h's credibility: research shows: https://gitorious.org/android-bluez/system_core/source/7b3c541b486cfcdfed54d8555a03b319c4c27027:include/system/audio.h | 19:41 |
sledges | and https://code-review.phablet.ubuntu.com/gitweb?p=CyanogenMod/android_system_core.git;a=blob;f=include/system/audio.h;h=a68f2e3d1b4eb422c93ccd828d99226d2c0c8ffb;hb=7b3c541b486cfcdfed54d8555a03b319c4c27027 | 19:41 |
mal- | yes | 19:41 |
sledges | it's because cm is quite old there | 19:42 |
sledges | in mer-hybris | 19:42 |
sledges | cm11.0 | 19:42 |
sledges | i'm rebasing it to a fresher one, where they have already put those QCOMs most probably | 19:42 |
klopsi-sdk | mal here is the output of the repo sync http://pastebin.de/5856 | 19:42 |
mal- | at least in cm12 they are | 19:43 |
*** spiiroin_ has joined #sailfishos-porters | 19:44 | |
klopsi-sdk | i ran "repo sync" from klopsidev:/android/droid/.repo$ .. was that wrong? | 19:44 |
mal- | I run it in android/droid/ | 19:44 |
mal- | not sure if it affects something | 19:45 |
klopsi-sdk | ok will run it from android/droid | 19:45 |
* sledges afk | 19:46 | |
klopsi-sdk | ok cya sledges | 19:46 |
*** spiiroin has quit IRC | 19:47 | |
klopsi-sdk | looks like i am still at the very beginning of this project (Chapter 5.2) | 19:48 |
klopsi-sdk | how many days/weeks have you been working on your port mal- ? | 19:49 |
mal- | since christmas :) | 19:50 |
klopsi-sdk | every day? | 19:50 |
mal- | no | 19:50 |
mal- | after new year mostly during weekends | 19:51 |
klopsi-sdk | ok. you have a bootable image and are working on audio support? | 19:51 |
mal- | yes | 19:51 |
mal- | other serious missing features are display and call/sms | 19:52 |
mal- | biggest problem I had was getting the system to boot, that was because of a missing kernel config parameter | 19:53 |
mal- | most of the time went figuring that out | 19:55 |
*** vakkov has quit IRC | 19:55 | |
klopsi-sdk | what phone model is it? | 19:55 |
*** the_mgt_ has joined #sailfishos-porters | 19:56 | |
mal- | Sony Ericsson Xperia Pro | 19:56 |
klopsi-sdk | ah very nice, with hardware keyboard | 19:58 |
klopsi-sdk | ? | 19:58 |
klopsi-sdk | yes now i see a picture of one | 19:58 |
*** the_mgt has quit IRC | 19:59 | |
*** the_mgt_ is now known as the_mgt | 19:59 | |
mal- | yes, it has a keyboard | 19:59 |
mal- | which seems to be working, at least I can get raw data from the device | 20:00 |
klopsi-sdk | that is great | 20:00 |
klopsi-sdk | can sailfish run OK with just 512MB RAM? | 20:00 |
mal- | that is to be seen | 20:01 |
*** zetaz has joined #sailfishos-porters | 20:02 | |
klopsi-sdk | the droid 4 xt894 has 1GB | 20:03 |
mal- | sledges: I added a new PR to your fix-defines branch | 20:06 |
*** vakkov has joined #sailfishos-porters | 20:10 | |
klopsi-sdk | this channel sure has a lot of lurkers | 20:11 |
*** cmazieri has quit IRC | 20:18 | |
*** cmazieri has joined #sailfishos-porters | 20:18 | |
*** vakkov has quit IRC | 20:18 | |
*** alin has joined #sailfishos-porters | 20:22 | |
*** vakkov has joined #sailfishos-porters | 20:31 | |
*** piggz has quit IRC | 20:49 | |
*** gogeta has quit IRC | 20:51 | |
*** alin has quit IRC | 21:02 | |
klopsi-sdk | hmm | 21:04 |
klopsi-sdk | error: Cannot remove project "vendor/motorola/maserati": uncommitted changes are present commit changes, then run sync again | 21:04 |
mal- | does it continue after that? | 21:06 |
klopsi-sdk | no | 21:07 |
*** alin has joined #sailfishos-porters | 21:07 | |
*** alin has joined #sailfishos-porters | 21:07 | |
mal- | move the vendor folder to somewhere else and then back after repo sync | 21:07 |
klopsi-sdk | ok | 21:08 |
klopsi-sdk | ah now it is checking out files and completes | 21:09 |
klopsi-sdk | rerunning make | 21:09 |
klopsi-sdk | hmm | 21:10 |
klopsi-sdk | awk: cannot open sdk/files/tools_source.properties (No such file or directory) | 21:10 |
klopsi-sdk | find: `device/*/generic': No such file or directory | 21:10 |
klopsi-sdk | under device i have "asus common lge motorola samsung sony" | 21:10 |
klopsi-sdk | hangs there until i Ctrl-C | 21:11 |
klopsi-sdk | in good news: i now have /android/droid$ ls prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/ | 21:12 |
klopsi-sdk | googling dor the awk error first | 21:16 |
klopsi-sdk | fairly common error it seems | 21:21 |
*** DaZ has joined #sailfishos-porters | 21:23 | |
*** dr_gogeta86_joll has joined #sailfishos-porters | 21:25 | |
*** DaZ has left #sailfishos-porters | 21:27 | |
*** dr_gogeta86_joll has quit IRC | 21:30 | |
*** vrutkovs|home has quit IRC | 21:43 | |
klopsi-sdk | ah i see lardman ran into the device/*/generic error before\ | 21:43 |
*** vrutkovs has joined #sailfishos-porters | 21:43 | |
*** vrutkovs is now known as vrutkovs|home | 21:43 | |
klopsi-sdk | woo fixed the error | 21:47 |
klopsi-sdk | needed to rerun : source build/envsetup.sh | 21:48 |
klopsi-sdk | export USE_CCACHE=1 | 21:48 |
klopsi-sdk | breakfast $DEVICE | 21:48 |
*** Sfiet_Konstantin has quit IRC | 21:51 | |
*** mispp_ has joined #sailfishos-porters | 21:53 | |
*** mispp has quit IRC | 21:56 | |
klopsi-sdk | make -j4 hybris-hal completed with no errors! :D | 21:58 |
*** phdeswer_ has quit IRC | 21:59 | |
sledges | nice! | 22:01 |
klopsi-sdk | your answer to lardman|work solved my issue | 22:02 |
klopsi-sdk | now i do not see hybris-boot.img or hybris-recovery.img in out/target/product/$DEVICE/ | 22:02 |
sledges | 23:58 < klopsi-sdk> make -j4 hybris-hal completed with no errors! :D | 22:03 |
sledges | should complete with that message to be successful | 22:03 |
sledges | maybe the error is somewhere up the logs | 22:04 |
sledges | and the last ones just waited to finish? (due to -j4) | 22:04 |
sledges | try -j1 | 22:04 |
klopsi-sdk | ok | 22:04 |
klopsi-sdk | ah there is an error | 22:06 |
klopsi-sdk | make clean -C hardware/ti/wlan/mac80211/compat_wl12xx | 22:06 |
klopsi-sdk | make: *** hardware/ti/wlan/mac80211/compat_wl12xx: No such file or directory. Stop. | 22:06 |
klopsi-sdk | make: *** [WLAN_MODULES] Error 2 | 22:06 |
sledges | `take it out of local manifest | 22:06 |
klopsi-sdk | dont see wlan modules in the manifest http://pastebin.de/5966 | 22:08 |
sledges | ah | 22:09 |
sledges | so you need to add them back | 22:09 |
sledges | :D | 22:09 |
klopsi-sdk | where do i find the correct object path and name? | 22:11 |
*** cxl000 has quit IRC | 22:11 | |
sledges | wasn't it in the sample hadk as coincidence? | 22:12 |
sledges | otherwise- google | 22:12 |
mal- | looks like the one in the example | 22:13 |
klopsi-sdk | googling | 22:15 |
sledges | ^^ | 22:17 |
mal- | klopsi-sdk: the example in hadk pdf | 22:19 |
mal- | 14.3.1 | 22:20 |
klopsi-sdk | <project path="hardware/ti/wlan" name="CyanogenMod/android_hardware_ti_wlan" revisi... | 22:20 |
mal- | yes | 22:20 |
klopsi-sdk | it gets cut off | 22:20 |
klopsi-sdk | but i guess it is the same revision as the rest | 22:21 |
mal- | dont't know if the next one, wpa_supplicant, is needed also or not, maybe sledges knows | 22:21 |
sledges | dunno | 22:21 |
sledges | try | 22:21 |
klopsi-sdk | ok repo sync // breakfast $DEVICE | 22:22 |
klopsi-sdk | making | 22:25 |
klopsi-sdk | yeey got hybris-recovery.img and boot.img! | 22:27 |
mal- | now you need to check the kernel config | 22:28 |
mal- | in 14.3.5 | 22:28 |
mal- | you were lucky, I had to patch the sources in several places to get it to compile | 22:30 |
klopsi-sdk | whew! | 22:30 |
mal- | most likely because I used cm11 | 22:31 |
klopsi-sdk | ./hybris/mer-kernel-che | 22:31 |
klopsi-sdk | ck/mer_verify_kernel_config ./out/target/product/$DEVICE/obj/KERNEL_OBJ/.config | 22:31 |
klopsi-sdk | ok heh.. i will paste the output | 22:32 |
klopsi-sdk | http://pastebin.de/5979 | 22:33 |
*** cmazieri has quit IRC | 22:33 | |
*** cmazieri has joined #sailfishos-porters | 22:34 | |
mal- | you just have to make all of the suggested changes to the correct config in kernel/motorola/omap4-common/arch/arm/configs | 22:35 |
sledges | just deal with ERROR: ones | 22:36 |
mal- | I actually changed all :) | 22:36 |
klopsi-sdk | i guess CONFIG_VT is pretty important | 22:36 |
sledges | step-wise | 22:36 |
sledges | some recommended ones caused kernel panic recently on few hw | 22:36 |
mal- | then I was lucky :) | 22:37 |
*** plfiorini has quit IRC | 22:38 | |
klopsi-sdk | in /android/droid/kernel/motorola/omap4-co | 22:38 |
klopsi-sdk | mmon/arch/arm/configs | 22:38 |
klopsi-sdk | should I have a maserati_defconfig? | 22:39 |
sledges | 00:28 < mal-> in 14.3.5 | 22:39 |
klopsi-sdk | ok reading | 22:39 |
klopsi-sdk | sledges do you have access to fix errors in the HADK pdf? | 22:40 |
*** r0kk3rz has quit IRC | 22:40 | |
sledges | yes | 22:40 |
klopsi-sdk | in 14.3.5, i think tmp/mer_verify_kernel_config should be ./hybris/mer-kernel-check/mer_verify_kernel_config | 22:41 |
sledges | fixed;) | 22:42 |
sledges | thanks | 22:42 |
mal- | sledges: btw, you most likely know that some of the command have non-spaces in them which causes copy-paste to fail on those, and the commands end up on two line | 22:43 |
sledges | fixed;) | 22:43 |
sledges | thanks | 22:43 |
mal- | good :) | 22:43 |
klopsi-sdk | :~/android/droid/kernel/motorola/omap4-co | 22:43 |
klopsi-sdk | mmon/arch/arm/configs$ ls *maserati* | 22:43 |
klopsi-sdk | mapphone_maserati_phablet_defconfig | 22:43 |
klopsi-sdk | no other *maserati* found | 22:44 |
sledges | sometimes it might not have its codename withing | 22:44 |
sledges | -g | 22:44 |
sledges | that's why all those methods of finding the true one were enlisted in 14.3.5 | 22:44 |
mal- | at least from $ANDROID_ROOT/device/$VENDOR/*/BoardConfigCommon.mk you can find TARGET_KERNEL_CONFIG := mapphone_mmi_defconfig | 22:48 |
klopsi-sdk | i looked through all the *_defconfig | 22:48 |
sledges | run make hybris-boot and observe the output before it's preparing the .config | 22:49 |
sledges | 2 b sr, 2 b sr | 22:49 |
klopsi-sdk | make hybris-boot gives the familiar error : | 22:50 |
klopsi-sdk | awk: cannot open sdk/files/tools_source.properties (No such file or directory) | 22:50 |
klopsi-sdk | find: `device/*/generic': No such file or directory | 22:50 |
sledges | build/envsetup | 22:51 |
sledges | breakfast | 22:51 |
klopsi-sdk | do i need to rerun : source build/envsetup.sh and breakfast $DEVICE? | 22:51 |
sledges | yes | 22:51 |
klopsi-sdk | ok | 22:51 |
klopsi-sdk | and i am looking in the make output for a file in kernel/motorola/omap4-common/arch/arm/configs ? | 22:54 |
sledges | yes | 22:55 |
klopsi-sdk | it should appear *before* # configuration written to .config | 22:58 |
klopsi-sdk | "? | 22:58 |
*** zetaz has left #sailfishos-porters | 22:58 | |
sledges | yes | 22:58 |
klopsi-sdk | make -C kernel/motorola/omap4-common O=/android/droid/out/target/product/maserati/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /android/droid/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= mapphone_mmi_defconfig | 22:58 |
klopsi-sdk | woot found it. i think | 22:59 |
sledges | yes | 22:59 |
sledges | :) | 22:59 |
klopsi-sdk | ok in that file i see: | 23:00 |
klopsi-sdk | # Character devices | 23:00 |
klopsi-sdk | # | 23:00 |
klopsi-sdk | # CONFIG_VT is not set | 23:00 |
klopsi-sdk | change that to CONFIG_VT=y ? | 23:00 |
sledges | nah | 23:00 |
sledges | just add it to the bottom | 23:00 |
sledges | oh lol | 23:01 |
sledges | actually you are right | 23:01 |
sledges | we did it like you said:p | 23:01 |
sledges | https://github.com/mer-hybris/lge-kernel-mako/commit/e1d9619bd58c13aff6cec1c4c3126f10eb537dce | 23:01 |
klopsi-sdk | now setting: CONFIG_NLS_UTF8=y | 23:03 |
klopsi-sdk | now ERROR: CONFIG_FHANDLE is invalid | 23:04 |
klopsi-sdk | http://cgit.freedesktop.org/systemd/systemd/commit/README?id=001809282918f273d372f1ee09d10b783c18a474 | 23:05 |
klopsi-sdk | do i add CONFIG_DMIID and CONFIG_FHANDLE ? | 23:05 |
sledges | add all what errored | 23:05 |
klopsi-sdk | ok added | 23:06 |
klopsi-sdk | CONFIG_DMIID=y | 23:06 |
klopsi-sdk | CONFIG_FHANDLE=y | 23:06 |
*** arcean has quit IRC | 23:07 | |
klopsi-sdk | ok fixed up the errors | 23:11 |
*** Tassadar has quit IRC | 23:14 | |
*** plfiorini has joined #sailfishos-porters | 23:16 | |
klopsi-sdk | ok | 23:21 |
klopsi-sdk | ./hybris/mer-kernel-check/mer_verify_kernel_config verifies no ERRORS in new kernel | 23:21 |
sledges | time for sleep 28800 | 23:21 |
klopsi-sdk | ok thanks for the help and sleep well | 23:21 |
sledges | have fu!n | 23:21 |
klopsi-sdk | roger, wilco | 23:22 |
*** zanac has quit IRC | 23:23 | |
klopsi-sdk | next step Chapter 6: setting up a scratchbox2 target? | 23:25 |
klopsi-sdk | or 14.4 Mer-side package building? | 23:33 |
klopsi-sdk | sb2 -t $VENDOR-$DEVICE-armv7hl ./test | 23:47 |
klopsi-sdk | Hello, world! | 23:47 |
*** zetaz has joined #sailfishos-porters | 23:49 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!