T42 | <birdzhang> @anpep is /vendor mounted or exist ? | 01:27 |
---|---|---|
T42 | <birdzhang> and check /lib/firmware | 01:27 |
T42 | <adampigg> R0kk3rz, lol, i had to work out what you meant then! | 05:08 |
r0kk3rz | hehe | 05:10 |
Mister_Magister | mal: it turns out i added native i just forgot to change patterns | 07:44 |
Mister_Magister | lol i wanted to update droid-configs on device in order to change to native vibrator but i got 600 packages to update wtf | 07:55 |
deathmist | mal: after adding AudioPolicyService patch make droidmedia fails https://pastebin.com/Y8vfw5Xp I added the patch to latest master like so https://git.io/fjoRb instead of using the original patched fork @ https://git.io/fjo0q, what am I doing wrong? | 10:24 |
T42 | <birdzhang> @deathmist https://github.com/Sailfish-On-Vince/droidmedia/commit/3e96be86d23497755af5cff880348e0fcd09a458 | 10:33 |
deathmist | birdzhang: thanks! I also found what was wrong: I pasted the audiopolicy lines in Android.mk to the wrong LOCAL_C_INCLUDES section | 11:19 |
liux | what's the passwd of root in sb2 arm target? | 13:10 |
Mister_Magister | there is no | 13:11 |
Mister_Magister | what r u tryin to do | 13:11 |
mal | use -R if you run things with sb2 to get root | 13:12 |
Mister_Magister | i was going to that xd | 13:13 |
liux | got it. thanks | 13:13 |
liux | I'm trying to resolve package conflict | 13:14 |
piggz | mal: any ports used qca_cld3 wlan? im guessing not as i cant see anything in the logs | 16:56 |
mal | piggz: what is the problem? | 17:12 |
piggz | mal: i modprobe it, but not getting a network device... | 17:33 |
piggz | ive added a service with the touch trick, but nopw | 17:34 |
mal | piggz: are you sure it finds all firmware? | 17:35 |
piggz | mal: nothing complaiing in dmesg | 17:36 |
piggz | [ 1568.611410] R0: wlan: [12619:E :QDF] qdf_nbuf_track_memory_manager_destroy: 2048 unused trackers were allocated | 17:36 |
piggz | [ 1580.826292] wlan: Loading driver v5.1.1.71C; 2019-06-27T21:48:58Z; cld:; cmn:; ( +TIMER_MANAGER +MEMORY_DEBUG +PANIC_ON_BUG) | 17:36 |
piggz | [ 1580.868590] wlan_hdd_state wlan major(221) initialized | 17:36 |
piggz | and i have | 17:38 |
piggz | sh-3.2# ls /vendor/firmware/wlan/qca_cld/ | 17:38 |
piggz | WCNSS_qcom_cfg.ini wlan_mac.bin | 17:38 |
Mister_Magister | piggz: i have question. should i go buy some beer? | 17:38 |
piggz | Mister_Mnyagister: if it makes u feel better, and it is sun | 17:40 |
Mister_Magister | yee | 17:40 |
mal | piggz: what firmware symlinks do you have | 17:44 |
piggz | mal: likely none yet .... looking thru the source to see where it loads the .bin file from | 17:44 |
mal | android does some loading in init now | 17:44 |
mal | check system/core/init | 17:45 |
mal | piggz: did you see the firmware patch I linked couple of days ago | 17:45 |
piggz | mal: nope... | 17:45 |
mal | https://pastebin.com/khcCKLEr | 17:46 |
piggz | mal: this? https://piggz.co.uk/sailfishos-porters-archive/index.php?log=2019-06-26.txt#line71 | 17:46 |
mal | yes | 17:46 |
piggz | mal: so, i should just be able to link /vendor/firmware to /lib ? | 18:04 |
piggz | in anycase, my reading of the code suggests its not trying to load the fw | 18:04 |
piggz | there should be a .probe function called on the driver, which kicks off the chain of events to load the fw | 18:04 |
piggz | but nothing in the log | 18:04 |
mal | piggz: some wlan chips want something like this https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/lib/systemd/system/wifisetup.service | 18:06 |
piggz | hmmm, nothing in /sys/kernel looks relevant.... | 18:08 |
piggz | mal: do feel free to browse the src and work out how to call wlan_hdd_probe :D https://android.googlesource.com/kernel/msm/+/android-msm-wahoo-4.4-oreo-m4/drivers/staging/qcacld-3.0 | 18:56 |
piggz | not sure if thats the _exact_ source we have | 18:57 |
T42 | <DSstill01> Doesnt work | 19:35 |
mal | piggz: does the device have /vendor/firmware_mnt ? | 19:41 |
mal | piggz: try ln -s /vendor/firmware /firmware | 19:43 |
T42 | <meierrom> ds01: what is not working? | 19:44 |
piggz | mal: it does, and firmare_mnt is empty... | 19:53 |
piggz | that second link didnt work | 19:53 |
piggz | well, it linked, but modprobing the driver didnt change anything | 19:53 |
mal | hmm | 19:54 |
mal | piggz: can you show what the build has in out/..../root/ | 19:55 |
mal | pretty sure this some firmware issue, but which symlink is needed | 19:55 |
mal | piggz: does the device have some stuff under /mnt | 19:56 |
mal | also show output of mount | 19:57 |
piggz | mal: mount https://paste.gnome.org/pfl2mnbfc | 19:58 |
piggz | mal: build root https://paste.gnome.org/pqtsqtijg | 20:00 |
mal | piggz: is that /persist symlink present on device? | 20:00 |
piggz | mal: no | 20:01 |
mal | create it | 20:01 |
mal | check also if /mnt/vendor/persist exists on device | 20:02 |
piggz | mal: /mnt/vendor is empty | 20:02 |
mal | show original fstab | 20:02 |
piggz | mal: https://paste.gnome.org/p3k9cxpsz | 20:05 |
mal | piggz: that doesn't match the output of mount | 20:07 |
mal | piggz: are you sure fixup is correct | 20:07 |
piggz | i think Mister_Magister did some hacking of the mount files! | 20:08 |
mal | fix those and lets check again | 20:08 |
mal | piggz: how can you have /vendor mount when there is no such thing in fstab | 20:09 |
mal | something is really wrong | 20:09 |
mal | piggz: first thing to do in case of issues is to check mounts | 20:10 |
piggz | ok | 20:10 |
piggz | im also double checking that is the correct fstab.. | 20:11 |
Mister_Magister | piggz: mounts are made according to fstab | 20:13 |
piggz | Mister_Magister: i know | 20:13 |
piggz | mal: yes, that fstab matches /vendor/etc/fstab | 20:15 |
piggz | .qcom | 20:15 |
piggz | Mister_Magister: why were our .mount units not made with hybris-hal ? | 20:16 |
piggz | vendorimage? | 20:16 |
Mister_Magister | correct | 20:16 |
mal | sometimes make fstab.qcom is needed | 20:17 |
mal | or copying the fstab manually | 20:17 |
mal | to out | 20:17 |
piggz | i think that will help | 20:17 |
mal | Mister_Magister: did wlan work for you? | 20:18 |
piggz | Mister_Magister: no, im on wlan | 20:18 |
piggz | sorry, mal | 20:18 |
Mister_Magister | mal: considfer myself equal with piggz | 20:18 |
Mister_Magister | same errors | 20:18 |
mal | Mister_Magister: did you try that symlink I mentioned | 20:20 |
mal | assuming you have mounts correctly set | 20:20 |
Mister_Magister | mal: i don't know what symlink u r talking about but piggz has same mounts | 20:21 |
Mister_Magister | wait | 20:21 |
Mister_Magister | piggz: you ofcourse did systemctl enable *.mount every of those mounts i gave you right? | 20:21 |
piggz | mal: perhaps the build system should have a varible to pass extras into HYBRIS_TARGETS | 20:21 |
piggz | Mister_Magister: ofc! | 20:22 |
mal | Mister_Magister: ln -s /vendor/firmware_mnt /firmware | 20:22 |
Mister_Magister | maybe these vendor subfolders need after= | 20:22 |
Mister_Magister | mal: plz handle fixing wifi with piggz if that's not a problem. we wanted to split jobs, i'm drunk rn trying to port zenfone 5z. will you please don't mind my rudness? | 20:23 |
piggz | Mister_Magister: we dont mind your rudeness any other time :D | 20:23 |
Mister_Magister | <3 love you | 20:23 |
mal | ok | 20:23 |
Mister_Magister | best answer "ok" | 20:23 |
Mister_Magister | when you get through facade of insults i think i'm pretty nice guy | 20:24 |
mal | I probably should push those droidmedia and afglue change to somewhere public | 20:25 |
mal | *changes | 20:25 |
Mister_Magister | mal: ye u should… erm i mean… could you please do me a favour of doing that? | 20:26 |
Mister_Magister | if that's not a problem for you :) | 20:26 |
Mister_Magister | ninja: error: 'libhwc2_compat_layer', needed by 'hybris-hal', missing and no known rule to make ffs | 20:26 |
mal | faq, i.e. clone libhybris to external/libhybris | 20:27 |
Mister_Magister | i already did | 20:27 |
Mister_Magister | submodule u coc… | 20:28 |
mal | correct branch? and remembered --fetch-submodules | 20:28 |
Mister_Magister | yeee submodules | 20:28 |
Mister_Magister | branch master right? | 20:28 |
mal | yes | 20:28 |
mal | hmm, actually depends on base | 20:29 |
Mister_Magister | 16.0 lineage | 20:29 |
piggz | mal: other important things, your p-o-v work ;) | 20:30 |
mal | piggz: :D | 20:30 |
mal | piggz: it tells something that my other app project has 3 open PRs waiting for proper review and merging | 20:31 |
Mister_Magister | mal: i'm porting both pro1 and 5z using hybris16 (pro1 is aosp, 5z is lineage) so i hope in finding how to fix bug in one device and applying it to second device | 20:31 |
Mister_Magister | why mal sometimes can react with ":D" and usually he reacts with no answer as it's obvious or with sharp "ok" | 20:31 |
Mister_Magister | i'm sad because of this ;-; | 20:32 |
mal | didn't libhybris need some changes for android 9 base | 20:32 |
mal | at least my local repo has | 20:32 |
Mister_Magister | *Kit (cause i can't find his nick jesus) gave me Android.mk to put in it | 20:33 |
mal | Mister_Magister: https://github.com/krnlyng/libhybris-1/tree/egl_libs | 20:34 |
Mister_Magister | hm? | 20:34 |
mal | check the submodule in that | 20:35 |
Mister_Magister | too complicated lol | 20:35 |
mal | Mister_Magister: I mean if you clone that branch the you have all you need | 20:36 |
Mister_Magister | okay sir | 20:36 |
Mister_Magister | on your command | 20:36 |
mal | from the submodule https://github.com/krnlyng/libhybris/commit/0eee1a2bff1ca91b326e7204916c01fe9253c492 | 20:36 |
piggz | Mister_Magister: this helps the build a lot....in hybris-boot/Android.mk, at the bottom, change the line to | 20:36 |
piggz | HYBRIS_TARGETS := $(HYBRIS_COMMON_TARGETS) $(HYBRIS_COMMON_64_BIT_EXTRA_TARGETS) fstab.qcom qca_cld3_wlan.ko | 20:36 |
Mister_Magister | i see makes sense | 20:37 |
Mister_Magister | also add there please udev file | 20:37 |
Mister_Magister | that's needed | 20:37 |
mal | you mean the ueventd*.rc | 20:37 |
Mister_Magister | ye ye | 20:37 |
Mister_Magister | am i good project manager lol | 20:37 |
* Mister_Magister not when i'm drunk | 20:37 | |
mal | maybe you should use a etherpad to keep notes | 20:37 |
piggz | are you saying some uvent files need added to the build? | 20:38 |
mal | piggz: yes | 20:38 |
Mister_Magister | mal: i failed college today lol | 20:38 |
mal | piggz: otherwise you won't get graphics working | 20:38 |
Mister_Magister | mal: we have wiki | 20:38 |
mal | Mister_Magister: what happened? | 20:38 |
Mister_Magister | but he just won't add stuff there | 20:38 |
Mister_Magister | and wanted me to create it | 20:38 |
piggz | yea yea, iwill | 20:38 |
Mister_Magister | mal: i was repeating one subject but the laboratories covered with our laboratories and we couldn't attend them so we failed whole subject again | 20:39 |
piggz | mal: is it a single ueventd.rc ? | 20:39 |
Mister_Magister | and i cannot repeat it again without repeating whole year | 20:39 |
Mister_Magister | piggz: ueventd.qcom.rc | 20:39 |
Mister_Magister | in qcom common repo | 20:40 |
Mister_Magister | rootdir | 20:40 |
Mister_Magister | ya'll find it | 20:40 |
piggz | k | 20:40 |
mal | Mister_Magister: that's sad | 20:40 |
Mister_Magister | mal: is it really | 20:40 |
Mister_Magister | more sad is your health bar | 20:41 |
Mister_Magister | and my mental health bar | 20:41 |
Mister_Magister | i took too many ports :P | 20:41 |
* Mister_Magister to be honest i at some point cared more ports than jolla does gib me break | 20:42 | |
* Mister_Magister i don't want to brag about myself i'm just telling truth | 20:43 | |
Mister_Magister | but hat's down to angel of this channel called mal :P | 20:43 |
Mister_Magister | mal: https://paste.opensuse.org/view//13162646 | 20:44 |
mal | and we know what happens when I help too much | 20:44 |
Mister_Magister | mal: yeas | 20:44 |
mal | missing skia from manifest? | 20:45 |
piggz | Mister_Magister: https://wiki.merproject.org/wiki/Adaptations/libhybris/FxtecPro1#Development_bugs: | 20:45 |
* Mister_Magister pats mal | 20:45 | |
Mister_Magister | mal: skia huh? | 20:45 |
Mister_Magister | lemme check pro1 | 20:45 |
Mister_Magister | external/skia exists | 20:46 |
mal | did you clone the proper branch? | 20:46 |
mal | of libhybris | 20:46 |
Mister_Magister | yeah i git reset --hard to that comit | 20:47 |
piggz | Mister_Magister: what pixel ratio, 1.5? | 20:49 |
Mister_Magister | piggz: i'll have to adjust that manually | 20:50 |
Mister_Magister | IF SFOS ALLOWED ME TO DO THIS | 20:50 |
piggz | why? | 20:50 |
Mister_Magister | to match jolla 1 icon size | 20:50 |
piggz | is that ultra important? | 20:50 |
Mister_Magister | sure | 20:50 |
Mister_Magister | but 1.5 | 20:50 |
Mister_Magister | can do | 20:50 |
Mister_Magister | temporarly | 20:51 |
mal | Mister_Magister: did submodule update correctly also? | 20:57 |
Mister_Magister | i just got submodule i didn't change libhybris repo | 20:57 |
Mister_Magister | mal: *kit made Andorid.mk to put inside libhybris that fixes it | 20:58 |
Mister_Magister | mal: http://susepaste.org/56348108 | 20:58 |
piggz | mal: new mount https://paste.gnome.org/pgmzdilie | 21:02 |
Mister_Magister | piggz: wat did u change | 21:03 |
piggz | Mister_Magister: just built automatically from droid-hal | 21:03 |
piggz | im just looking for differences | 21:03 |
Mister_Magister | there is still no /vendor/* mounts | 21:03 |
Mister_Magister | we need after | 21:03 |
Mister_Magister | add to these bluetooth and second one which are in subfolders of /vendor after=vendor.mount | 21:04 |
* Mister_Magister drunk doesn't even know what is he talking about but his subconsciousness says he's talking good shit | 21:05 | |
mal | piggz: why does it create that /vendor mount | 21:09 |
Mister_Magister | mal: i added it manually | 21:10 |
Mister_Magister | it's ususally mounted in kernal | 21:10 |
Mister_Magister | not in fstab | 21:10 |
Mister_Magister | it should be mounted | 21:10 |
Mister_Magister | mal: i have actual real question | 21:11 |
Mister_Magister | in fixup mountpoints if i have -e 's block/bootdevice/by-name/system sda14 ' \ does it mean it will mount /dev/sda14? | 21:11 |
Mister_Magister | shouldn't i put -e 's bootdevice/by-name/system sda14 ' \ instead? in recovery i don't have /dev/sda | 21:12 |
Mister_Magister | is that actually dumbass question? | 21:13 |
piggz | on a plus, it came up ok with the ui, meaning the uevent.qcom.rc addition worked | 21:13 |
Mister_Magister | nice | 21:14 |
piggz | and the wifi driver was installed | 21:14 |
Mister_Magister | then only *kit is slacking of! | 21:15 |
mal | Mister_Magister: about fixup, just check what other devices did | 21:16 |
mal | those have block also | 21:16 |
Mister_Magister | okaaay | 21:16 |
Mister_Magister | every seem to have it that way | 21:16 |
Mister_Magister | well if it won't work i will cahnge | 21:16 |
Mister_Magister | hard to think | 21:16 |
mal | piggz: so it doesn't create any other mount services? | 21:18 |
piggz | mal: these https://paste.gnome.org/pbr4pshiv | 21:21 |
mal | piggz: so those first ones fail? | 21:24 |
Mister_Magister | my fstab is similar | 21:24 |
Mister_Magister | nothing to mount /vendor | 21:24 |
Mister_Magister | but it needs to be mounted | 21:24 |
piggz | mal:https://paste.gnome.org/paoxxcvye | 21:26 |
Mister_Magister | mal: how do i add /vendor mountpoint if it's not in fstab | 21:26 |
piggz | you could add a unit to config, or modify fstab for hal | 21:27 |
Mister_Magister | modifying fstab sucks | 21:27 |
Mister_Magister | yee config will do | 21:27 |
mal | Mister_Magister: add the entry fstab obviously :D | 21:28 |
Mister_Magister | mal: but adding entry succs | 21:29 |
Mister_Magister | u shouldn't do it | 21:29 |
Mister_Magister | i think | 21:29 |
mal | why not | 21:29 |
mal | other option is to add it to config sparse | 21:29 |
Mister_Magister | mal: yeah sparese is better like piggz said | 21:29 |
Mister_Magister | cause i can add before | 21:29 |
mal | I think fstab is cleaner way | 21:29 |
Mister_Magister | but no before | 21:30 |
mal | ? | 21:31 |
Mister_Magister | i can add to /vendor mountpoint to mount before subfolders | 21:31 |
piggz | mal: walking thru the code, im sure it would print out if it coldnt load the firmware | 21:33 |
Mister_Magister | or does systemd manage that | 21:33 |
piggz | i just dont think it probes | 21:34 |
piggz | a lot of other qcom devices in our tree echo 1 to the sdio polling file ... but not our device | 21:34 |
Mister_Magister | hybris9 | 21:35 |
piggz | Mister_Magister: could just ask the chinese android team! | 21:35 |
Mister_Magister | piggz: what | 21:35 |
piggz | if they have to make the driver start polling somehow | 21:35 |
piggz | i walked back thru the code from the firmware loading section, and got to a .probe method....but dunno what calls that, its exported by the module | 21:36 |
Mister_Magister | maybe some blobs | 21:37 |
Mister_Magister | or android services | 21:37 |
mal | piggz: sometimes errors do not always show in logs | 21:38 |
Mister_Magister | haa it's building! | 21:44 |
Mister_Magister | only 14.5k objects | 21:44 |
piggz | ok, im done, tomorrow i will scatter pr_info over the driver! | 21:53 |
mal | piggz: did you make sure the mounts are working and you have the symlink I said | 21:59 |
Mister_Magister | selinux_stubs not building lol | 22:03 |
mal | did you apply the patch | 22:03 |
Mister_Magister | someone needs to push -WError and -Wall on jolla | 22:04 |
Mister_Magister | mal: i don't even remember which, sorry | 22:04 |
mal | https://pastebin.com/A6Ba6YBa | 22:04 |
Mister_Magister | thanks, sorry | 22:04 |
mal | you need to learn to grep logs, grep mal.*pastebin is quite useful | 22:05 |
mal | I used it myself | 22:05 |
Mister_Magister | oh | 22:05 |
Mister_Magister | thaks for tip | 22:05 |
Mister_Magister | i mean i would but i'm totally braindead now | 22:06 |
Mister_Magister | yes i should go to sleep but i want it to compile | 22:06 |
mal | in this case selinux_stubs would have helped also | 22:06 |
Mister_Magister | it buiilt! | 22:24 |
Mister_Magister | mal: it built and i'll try bringing gui tomorrow. if i succeed we will see first ever in history of jolla and sailfishos notchfish :P | 22:38 |
Mister_Magister | a sailfish with a notch | 22:38 |
mal | notch is very stupid feature | 22:47 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!