*** phdeswer has joined #sailfishos-porters | 00:24 | |
*** lbt has quit IRC | 02:42 | |
*** morphis has quit IRC | 02:42 | |
*** Wnt has quit IRC | 02:42 | |
*** lbt has joined #sailfishos-porters | 02:42 | |
*** lbt has quit IRC | 02:42 | |
*** lbt has joined #sailfishos-porters | 02:42 | |
*** morphis has joined #sailfishos-porters | 02:45 | |
*** Wnt has joined #sailfishos-porters | 02:47 | |
*** Wnt has quit IRC | 03:12 | |
*** thp has quit IRC | 03:12 | |
*** lbt has quit IRC | 03:12 | |
*** sledges has quit IRC | 03:12 | |
*** shallow has quit IRC | 03:12 | |
*** Jonni_ has quit IRC | 03:12 | |
*** netchip has quit IRC | 03:12 | |
*** Sazpaimon has quit IRC | 03:12 | |
*** jusa_ has quit IRC | 03:12 | |
*** tbr has quit IRC | 03:12 | |
*** situ has quit IRC | 03:12 | |
*** lbt has joined #sailfishos-porters | 03:20 | |
*** Jonni_ has joined #sailfishos-porters | 03:20 | |
*** thp has joined #sailfishos-porters | 03:20 | |
*** sledges has joined #sailfishos-porters | 03:20 | |
*** situ has joined #sailfishos-porters | 03:20 | |
*** shallow has joined #sailfishos-porters | 03:20 | |
*** jusa_ has joined #sailfishos-porters | 03:20 | |
*** Sazpaimon has joined #sailfishos-porters | 03:20 | |
*** netchip has joined #sailfishos-porters | 03:20 | |
*** tbr has joined #sailfishos-porters | 03:20 | |
*** Wnt has joined #sailfishos-porters | 03:22 | |
*** Jope_ is now known as Jope | 07:24 | |
sledges | situ: well pitched comment there http://review.cyanogenmod.org/#/c/67489/ | 08:08 |
---|---|---|
*** alin has joined #sailfishos-porters | 08:13 | |
*** alin has quit IRC | 08:28 | |
*** alin has joined #sailfishos-porters | 08:30 | |
*** Jonni_ is now known as Jonni | 08:53 | |
situ | sledges: Thanks. | 08:59 |
*** lbt_ has joined #sailfishos-porters | 08:59 | |
*** lbt_ has quit IRC | 08:59 | |
*** lbt_ has joined #sailfishos-porters | 08:59 | |
*** lbt has quit IRC | 08:59 | |
*** Wnt has quit IRC | 09:56 | |
*** thp has quit IRC | 09:56 | |
*** sledges has quit IRC | 09:56 | |
*** shallow has quit IRC | 09:56 | |
*** alin has quit IRC | 09:56 | |
*** Jonni has quit IRC | 09:56 | |
*** netchip has quit IRC | 09:56 | |
*** Sazpaimon has quit IRC | 09:56 | |
*** jusa_ has quit IRC | 09:56 | |
*** tbr has quit IRC | 09:56 | |
*** situ has quit IRC | 09:56 | |
*** phdeswer has quit IRC | 09:56 | |
*** stephg has quit IRC | 09:56 | |
*** dwangoAC has quit IRC | 09:56 | |
*** lbt_ has quit IRC | 09:56 | |
*** Jope has quit IRC | 09:56 | |
*** Sage_ has quit IRC | 09:56 | |
*** vgrade_ has quit IRC | 09:56 | |
*** Aquilum has quit IRC | 09:56 | |
*** Stskeeps has quit IRC | 09:56 | |
*** MSameer has quit IRC | 09:56 | |
*** alin has joined #sailfishos-porters | 10:01 | |
*** Wnt has joined #sailfishos-porters | 10:01 | |
*** tbr has joined #sailfishos-porters | 10:01 | |
*** netchip has joined #sailfishos-porters | 10:01 | |
*** Sazpaimon has joined #sailfishos-porters | 10:01 | |
*** jusa_ has joined #sailfishos-porters | 10:01 | |
*** shallow has joined #sailfishos-porters | 10:01 | |
*** situ has joined #sailfishos-porters | 10:01 | |
*** sledges has joined #sailfishos-porters | 10:01 | |
*** thp has joined #sailfishos-porters | 10:01 | |
*** Jonni has joined #sailfishos-porters | 10:01 | |
*** lbt_ has joined #sailfishos-porters | 10:01 | |
*** phdeswer has joined #sailfishos-porters | 10:01 | |
*** stephg has joined #sailfishos-porters | 10:03 | |
*** dwangoAC has joined #sailfishos-porters | 10:03 | |
*** Jope has joined #sailfishos-porters | 10:03 | |
*** Sage_ has joined #sailfishos-porters | 10:03 | |
*** MSameer has joined #sailfishos-porters | 10:03 | |
*** vgrade_ has joined #sailfishos-porters | 10:03 | |
*** Aquilum has joined #sailfishos-porters | 10:03 | |
*** Stskeeps has joined #sailfishos-porters | 10:03 | |
*** phdeswer has quit IRC | 11:26 | |
*** lbt_ is now known as lbt | 11:50 | |
sledges | situ: how did you rebuild `make hwcomposer.msm8974` ? tells me no rule to make target: libcamera_client_intermediates | 11:52 |
situ | sledges: You need to tweak an .mk file. I think it is core.mk | 11:52 |
situ | sledges: https://github.com/mer-hybris/android_build/commit/ac574b74890d0949d626dc4d0c96f143fa60ae9f | 11:54 |
situ | sledges: Just revert these changes | 11:54 |
situ | You can keep this: +# include build/core/pdk_config.mk | 11:55 |
sledges | thanks | 12:03 |
sledges | situ: now it says build/core/base_rules.mk:134: *** prebuilts/misc/common/ub-uiautomator: MODULE.TARGET.JAVA_LIBRARIES.ub-uiautomator already defined by frameworks/uiautomator. Stop. | 12:08 |
situ | show me your core.mk | 12:09 |
situ | core/main.mk * | 12:09 |
situ | It looks you have not reverted all the changes. | 12:10 |
situ | some .mk's are being included multiple times. | 12:10 |
sledges | situ: https://pastee.org/ms69z | 12:21 |
situ | sledges: Try this branch https://github.com/siteshwar/android_build/tree/hybris-11.0-test | 12:29 |
situ | That's what I use (your changes look similar however). | 12:31 |
sledges | situ: did you do full make ? | 12:37 |
situ | sledges: Nope, mka hwcomposer.msm8974 | 12:37 |
sledges | ah there's difference in build outcome between make and mka when followed by a single module name ^_^ | 12:39 |
sledges | will try other way round soon | 12:39 |
*** phdeswer has joined #sailfishos-porters | 12:41 | |
situ | sledges: Isn't hwclock command supposed to work on jolla device ? | 12:47 |
sledges | situ: dsme-server is possessing /dev/rtc | 12:51 |
sledges | which could be a clue ;) | 12:52 |
*** lbt_ has joined #sailfishos-porters | 12:56 | |
*** lbt_ has quit IRC | 12:56 | |
*** lbt_ has joined #sailfishos-porters | 12:56 | |
*** lbt has quit IRC | 12:57 | |
*** lbt_ is now known as lbt | 13:47 | |
situ | sledges: How did you find dsme is possessing /dev/rtc ? | 14:07 |
sledges | lsof | 14:10 |
situ | sledges: How would I know which kernel driver is being used by rtc clock ? | 14:17 |
sledges | try dmesg? | 14:28 |
situ | sledges: It's this https://github.com/mer-hybris/android_kernel_lge_hammerhead/blob/hybris-11.0/drivers/rtc/qpnp-rtc.c | 14:36 |
sledges | k | 14:40 |
sledges | i think im moving ahead, but now no rule to make target obj/SHARED_LIBRARIES/libgabi++_intermediates/export_includes | 14:42 |
situ | sledges: Are you missing any repositories from build tree ? | 14:49 |
situ | sledges: Do you get this message in journal logs on Jolla ? Jul 22 23:50:56 Jolla DSME[689]: IPHB: /dev/rtc0: RTC_SET_TIME: Invalid argument | 14:50 |
situ | or mako. | 14:50 |
stephg | situ: fwiw I don't have that on mako in the ring buffer nor in the journal | 14:55 |
situ | stephg: Ok, thanks. | 14:56 |
stephg | situ if it's any use, here is a full mako: http://paste.kde.org/palrphftl | 14:57 |
*** phdeswer has quit IRC | 15:01 | |
situ | sledges: nothing provides ngfd >= 0.94 needed by ngfd-settings-sailfish | 16:00 |
sledges | situ: thanks, sec | 16:01 |
situ | sledges: Causing build failures with ngfd-plugin-droid-vibrator on 1.0.8.19 | 16:01 |
sledges | situ: understood ;) | 16:03 |
sledges | situ: disable build flag for ngfd-0.91-branch on sailfish_1.0.8.19_armv7hl (https://build.merproject.org/project/show/home:siteshwar:hw:hammerhead ) | 16:05 |
situ | sledges: why ? | 16:06 |
sledges | beacuse it's 0.91 | 16:07 |
sledges | and u8 has the newer (needed) one | 16:07 |
situ | disabled | 16:07 |
sledges | also disable publish flag | 16:08 |
sledges | (and request wipe binaries on https://build.merproject.org/project/show/home:siteshwar:hw:hammerhead ) | 16:09 |
sledges | erm | 16:09 |
sledges | https://build.merproject.org/package/binaries/home:siteshwar:hw:hammerhead/ngfd-0.91-branch?repository=sailfish_1.0.8.19_armv7hl | 16:09 |
sledges | ) | 16:09 |
situ | sledges: still build not starting https://build.merproject.org/package/show/home:siteshwar:hw:hammerhead/ngfd-plugin-droid-vibrator | 16:12 |
sledges | it takes time before binaries wipe | 16:13 |
sledges | ( they are still there: http://repo.merproject.org/obs/home:/siteshwar:/hw:/hammerhead/sailfish_1.0.8.19_armv7hl/armv7hl/ ) | 16:16 |
situ | sledges: I did delete binaries from OBS ui. | 16:17 |
sledges | you clicked on "Delete bineries" in webui? | 16:17 |
situ | Yes | 16:18 |
sledges | ok, then it reloads and says "Request to delete binaries issued" | 16:18 |
sledges | doesn't mean they get immed deleted ;) | 16:18 |
situ | taking a lot of time | 16:21 |
sledges | situ: obs might by hickuppy, try this: | 16:22 |
sledges | re-enable all flags | 16:22 |
sledges | request to "Delete published binaries" again | 16:22 |
sledges | with flags on | 16:22 |
situ | sledges: I will just remove 1.0.8.19 target and readd it. | 16:22 |
situ | sledges: but then it will build again | 16:25 |
sledges | yes | 16:26 |
situ | sledges: it worked | 16:29 |
sledges | \o/ | 16:31 |
*** alin has quit IRC | 16:35 | |
situ | Installed 1.0.8.19. Looks good. | 17:19 |
*** phdeswer has joined #sailfishos-porters | 17:33 | |
sledges | sweet | 17:40 |
sledges | i think i should've re-run breakfast after modifying under build/*.. ;P | 17:41 |
sledges | now after git clone it decided to wipe out/ and building everything now :)) | 17:41 |
situ | sledges: Yes, running breakfsast is required, I do it always | 17:42 |
*** alin has joined #sailfishos-porters | 18:18 | |
*** alin has joined #sailfishos-porters | 18:18 | |
*** alin has quit IRC | 18:28 | |
*** alin has joined #sailfishos-porters | 18:29 | |
*** alin has joined #sailfishos-porters | 18:29 | |
situ | sledges: Here is relevant dsme journal log http://pastie.org/9394717 | 20:55 |
situ | ioctl on /dev/rtc0 should not fail. | 20:56 |
*** tbr has quit IRC | 21:07 | |
*** tbr has joined #sailfishos-porters | 21:07 | |
sledges | situ: on Jolla there's never such failure | 21:21 |
sledges | i got logs since 25th May | 21:21 |
situ | sledges: It's failing somewhere in https://github.com/siteshwar/android_kernel_lge_hammerhead/blob/hybris-11.0/drivers/rtc/interface.c#L51 | 21:22 |
sledges | debugy times :) | 21:28 |
situ | sledges: This condition is not met https://github.com/siteshwar/android_kernel_lge_hammerhead/blob/hybris-11.0/drivers/rtc/qpnp-rtc.c#L534 | 21:40 |
situ | sledges: This property is being read through https://github.com/siteshwar/android_kernel_lge_hammerhead/blob/hybris-11.0/drivers/rtc/qpnp-rtc.c#L439 | 21:45 |
situ | Is there a way to read this property directly using command line ? | 21:45 |
vgrade_ | related, https://github.com/siteshwar/android_kernel_lge_hammerhead/blob/hybris-11.0/arch/arm/boot/dts/msm-pm8941.dtsi#L535 | 21:47 |
vgrade_ | is that set to 1 in mako | 21:49 |
situ | sledges: https://github.com/siteshwar/android_kernel_lge_hammerhead/blob/hybris-11.0/Documentation/devicetree/bindings/rtc/qpnp-rtc.txt#L23 | 21:50 |
situ | vgrade_: ^ | 21:50 |
situ | vgrade_: Out of these configurations http://pastie.org/9394814 , how would I know which one is being used ? | 21:51 |
sledges | i'd say 89xx | 21:54 |
vgrade_ | just looking at mako | 21:54 |
vgrade_ | qpnp-rtc-write not set in there | 21:56 |
sledges | situ: i always thought writing to rtc means setting hwclock | 21:56 |
vgrade_ | to 1 | 21:56 |
sledges | we don't do that, we just want to read it | 21:56 |
sledges | and set system clock | 21:56 |
situ | sledges: but dsme does set rtc uncondtionally | 21:57 |
sledges | hmm | 21:58 |
situ | sledges: https://github.com/nemomobile/dsme/blob/master/modules/iphb.c#L2861 | 21:58 |
stephg | hi | 21:59 |
situ | stephg: Hey | 21:59 |
vgrade_ | \o stephg | 21:59 |
situ | Question should be, does mako always show correct time ? | 21:59 |
sledges | if( t_rtc < t_min ) { | 21:59 |
situ | sledges: If you look back at http://pastie.org/9394717 again, you will see that dsme is trying to set correct time but it fails to do so. | 22:00 |
sledges | i should try to set time to 1970-07-23 18:20:00 GMT on mako and reboot | 22:01 |
situ | I enabled rtc-write by adding "qcom,qpnp-rtc-write = <1>;" | 22:12 |
situ | Now it gives: Jul 24 01:07:29 Jolla DSME[676]: IPHB: /dev/rtc0: RTC_SET_TIME: Operation not permitted | 22:12 |
vgrade_ | permissions on /dev/rtc0 | 22:16 |
sledges | on mako they are more relaxed than on jolla | 22:27 |
sledges | unless dsme is not running under system:system | 22:27 |
situ | vgrade_: crw-rw---- 1 system system 252, 0 Jul 24 01:07 /dev/rtc0 | 22:36 |
sledges | yep, same on mako | 22:38 |
sledges | and dsme is running as root | 22:39 |
situ | sledges: but you never see invalid argument error on mako ? | 22:40 |
situ | sledges: Can you show us journal logs from mako ? | 22:40 |
sledges | situ: http://pastie.org/9394905 | 22:43 |
sledges | i changed time to July 23rd 1970 and rebooted -^ is the result | 22:44 |
sledges | (changed time via settings, not via `date -s ...`) | 22:44 |
sledges | crw-rw---- 1 system system 253, 0 Jul 23 1970 /dev/rtc0 | 22:44 |
situ | hmm ok. | 22:44 |
sledges | situ: no tearing with your hwc12 patches \o/ | 23:01 |
sledges | and no ui freeze | 23:01 |
sledges | that's a big thanks | 23:01 |
sledges | so all confirmed now | 23:01 |
situ | sledges: Great. | 23:02 |
sledges | still wallpaper goes up when homescreen scrolls down ;) | 23:02 |
sledges | but that's some UI glitch :)) | 23:02 |
sledges | now, whilst waiting for proper hwc13, we could find a way to gracefully cp .so into /system/lib/hw or put it under /usr/libexec/droid-hal/system/lib and hope it gets picked up | 23:03 |
sledges | untested, and probably things won't *just* work like that | 23:03 |
situ | sledges: I tried to put it under /usr/libexec/droid-hybris/system/lib but it didn't get picked. | 23:04 |
sledges | mkdir /usr/libexec/droid-hybris/system/lib/hw | 23:05 |
sledges | but yea, won't *just* work.. | 23:05 |
sledges | but that's food for thought for tomorrow | 23:06 |
sledges | n!n | 23:06 |
situ | Good night. | 23:06 |
stephg | niight | 23:07 |
situ | For now I can say that we are not getting permission error on /dev/rtc0 because of file permissions. | 23:12 |
situ | It has to do something with spmi permissions. | 23:12 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!