Umeaboy | Hi! What was the right line to create the target again? | 00:03 |
---|---|---|
Umeaboy | sdk-assistant create $VENDOR-latest-aarch64 http://releases.sailfishos.org/sdk/targets/Sailfish_OS-latest-Sailfish_SDK_Target-aarch64.tar.7z doesn't work. | 00:03 |
Umeaboy | I am saving every step now that I do in a document so I can show the output and outcome of it. | 00:04 |
Umeaboy | I did sdk-assistant create SailfishOS-4.1.0 http://releases.sailfishos.org/sdk/targets/Sailfish_OS-latest-Sailfish_SDK_Tooling-i486.tar.7z and that went fine. | 00:05 |
Umeaboy | Is it $DEVICE-$VENDOR-$ARCH ? | 00:13 |
Umeaboy | @Thaodan or @elros34: ^^ | 00:14 |
Umeaboy | And why doesn't the HADK contain a link to instructions to patch hybris? I can't find that procedure anywhere except for in my old logs. | 00:29 |
Thaodan | Umeaboy: look at Xperia x instructions | 00:39 |
Thaodan | Umeaboy: see https://gitlab.com/Thaodan/hadk_tools/-/blob/master/templates/sfos.sdk.device_target.hadk about adding the device target | 00:42 |
Umeaboy | Thaodan: Explain to me why the apply_patches part got removed from the HADK. It is needed everytime I build again. | 00:55 |
Thaodan | for hal? you use setup sources | 01:01 |
Thaodan | see https://gitlab.com/Thaodan/hadk_tools/-/blob/master/templates/mer.hybris.hal.pie.hadk | 01:01 |
Thaodan | also there is "please" | 01:02 |
Umeaboy | Sorry. Just getting frustrated that I can rarely do this right. | 01:08 |
Umeaboy | I apologize. | 01:09 |
Umeaboy | Thaodan: However if the tooling gets installed correctly the target command should work: http://collabedit.com/7cxw7 | 01:12 |
Thaodan | np just use please and thanks | 01:36 |
Thaodan | $VENDOR $DEVICE $PORT_ARCH is probably not set | 01:37 |
Thaodan | In any case you can use sdk-manage if you want to do it in one go if you want. | 01:37 |
Umeaboy | Thaodan: https://ghostbin.co/paste/q4ug8 | 02:03 |
Umeaboy | It is indeed set. | 02:03 |
Umeaboy | Line 5. | 02:04 |
Umeaboy | So, where did I make the mistake for that target command not to work? I am following the HADK. | 02:24 |
Umeaboy | Please. :) | 02:24 |
T42 | ajshal was added by: ajshal | 08:09 |
piggz | strange issue with a python script which downlaods from a website on my phone ... its very slow ... like, on my PC, t finishes in seconds, on my phone, it takes 10 minutes! | 08:55 |
piggz | same wifi, other wifi traffic is fine | 08:55 |
piggz | anything limits console internet access? | 08:55 |
piggz | ah, its trying to do an ipv6 connect first ... retryng and taking ages to timeout .. then trying ipv4 | 09:45 |
T42 | <elros34> Umeaboy: your .mersdk.profile is incomplete, read hadk again. Print your $VENDOR or $DEVICE variable and you will see that is not defined in platform sdk. Why did you event start everything again? | 09:51 |
T42 | <A_T_R> sudo ifconfig usb0 192.168.2.13 | 09:51 |
T42 | <A_T_R> [sudo] password for atr: | 09:51 |
T42 | <A_T_R> atr@atr-DL-G41MXE:~$ telnet 192.168.2.15 2323 | 09:51 |
T42 | <A_T_R> entered telnet but freeze after few seconds | 09:51 |
piggz | this worked.... | 09:57 |
piggz | [defaultuser@Pro1 ~]$ cat /etc/gai.conf | 09:57 |
piggz | precedence ::ffff:0:0/96 100 | 09:57 |
piggz | sailfish issue? | 09:57 |
T42 | <A_T_R> dmesg - this means selinux enabled ? | 10:03 |
T42 | <A_T_R> [ 123.105017] systemd[1]: Successfully loaded SELinux policy in 162.504ms. | 10:03 |
T42 | <A_T_R> dmesg https://pastebin.ubuntu.com/p/6v48nbvKhC/ | 10:13 |
T42 | <elros34> @A_T_R enable persistent journal (hadk-faq) then you will be able to grab full journal also even when you lost usb connection. You can also try to mask usb-moded or search for some import *usb* in *.rc files and comment it out | 10:24 |
T42 | <ruspartisan> @piggz I've tried using Pinephone images in QEMU with kernel from debian arm. I managed it to get to "Reached target Graphical Interface.", but then nothing happens. It looks like lipstick can't start because there's no virtio_gpu_dri.so or kms_swrast_dri.so lib. there's swrast_dri.so, but renaming it to kms_swrast_dri.so doesn't | 10:35 |
T42 | help (I didn't expect it to work but thought it was worth trying). Full log for default state: https://pastebin.com/hZm5WhpZ log for hacked swrast https://pastebin.com/arxfav46 . I guess I have to build mesa3d myself for the image, so here's the question: is there an instruction how to build pinephone image from scratch so I can change some kernel | 10:35 |
T42 | config parameters and mesa configs? | 10:35 |
T42 | <ruspartisan> @A_T_R [/ # journalctl -b --no-pager | 10:37 |
T42 | <ruspartisan> No journal files …], you have to change log storage to persistent. in /etc/systemd/journald.conf change Storage=auto to Storage=persistent | 10:37 |
T42 | <A_T_R> i set as automatic ..will try this | 10:38 |
T42 | <A_T_R> then how grab the log | 10:40 |
T42 | <ruspartisan> it should be saved in /var/log/journal. can you copy that dir to another pc somewhere? then you use journalctl -D path_to_journal_dir | 10:41 |
T42 | <adampigg> @ruspartisan mesa build is from https://build.merproject.org/package/show/nemo:devel:hw:native-common/mesa | 10:45 |
T42 | <adampigg> kernel is from https://build.sailfishos.org/package/show/nemo:devel:hw:pine:dontbeevil/kernel-adaptation-pine64 | 10:46 |
T42 | <A_T_R> @ruspartisan [it should be saved in /var/log/journal. can yo …], @ruspartisan there no journal file inside /var/log/journal | 10:47 |
*** wiktorek141 is now known as wiktorek140 | 10:53 | |
T42 | <ruspartisan> @A_T_R [@ruspartisan there no journal file inside /va …], I'm out of ideas at this point, sorry. setting to persistent helped in my case | 11:15 |
T42 | <A_T_R> ok ..no problem | 11:15 |
T42 | <b100dian> "Too many levels of symbolic links" you have circular soft links, see if the advice above for the same message helps | 11:33 |
T42 | snowrych was added by: snowrych | 12:41 |
T42 | <A_T_R> https://github.com/SailfishOS-sagit/droid-config-sagit/blob/hybris-17.1/sparse/usr/libexec/droid-hybris/system/etc/ld.config.29.txt#L83 | 13:21 |
T42 | <A_T_R> https://github.com/SailfishOS-sagit/droid-config-sagit/blob/hybris-17.1/sparse/usr/libexec/droid-hybris/system/etc/ld.config.29.txt | 13:21 |
T42 | <A_T_R> should I add these for hybris-17 | 13:22 |
T42 | <b100dian> don't you already have an ld-config.29.txt in sparse-10? Maybe only L11 needs to be added. But you should fix your links first | 13:34 |
T42 | <A_T_R> Add from device : /system/etc/ld.config.29.txt · SailfishOS-sdm660/droid-config-X00TD@e4197ec · GitHub | 13:48 |
T42 | <A_T_R> https://github.com/SailfishOS-sdm660/droid-config-X00TD/commit/e4197ecf5237934e3a72ca3f19a44b3bdbb98eaf | 13:48 |
T42 | <A_T_R> Here added ld.config.29.txt | 13:48 |
T42 | <A_T_R> also | 13:48 |
T42 | <A_T_R> ```dir.system = /usr/libexec/droid-hybris/system/bin/``` | 13:48 |
T42 | <A_T_R> path too | 13:48 |
rinigus | mal: I wonder what that dir.system = /usr/libexec/droid-hybris/system/bin/ does. mer-hybris repo doesn't have it and when I added it to tama, I could see no difference | 15:11 |
T42 | <A_T_R> hybris: kernel-cmd: Use systemd legacy mode instead of hybris one. · SailfishOS-sagit/android_device_xiaomi_msm8998-common@b42fef4 · GitHub | 17:05 |
T42 | <A_T_R> https://github.com/SailfishOS-sagit/android_device_xiaomi_msm8998-common/commit/b42fef44e67a4deae07c61821b9876c9ed3e8182 | 17:05 |
T42 | <A_T_R> This is required for hybris-17.1 ? | 17:07 |
T42 | <elros34> @A_T_R yes, you might these lines. Why don't you follow ld.config.29.tx from fp3 repo, find where all droid-hybris paths were add and do the same for your file. @A_T_R have you read notes from collabedit? There is better instruction there than legacy cgroup mode | 17:17 |
T42 | <A_T_R> I will read it again | 17:32 |
mal | rinigus: not sure anymore why that is there, might not be relevant, could be some leftover from some tests I made | 17:49 |
rinigus | mal: the libs are included in the config file as it is used by seine (and I am using same for tama), but not bin. so far all is "fine" - there are issues, but I cannot relate them to that line | 17:52 |
mal | rinigus: could be from attempts to not require some modifications to system partition | 17:54 |
rinigus | mal: could be. but I still had to add icu symlinks and one more lib with it. I don't mind adding symlinks here and there if it makes it work | 17:55 |
mal | rinigus: that way works only for packaged system partition | 18:29 |
rinigus | mal: indeed. others have to bind mount. which is the same in the result | 18:35 |
T42 | <Verevka86> @rinigus [mal: indeed. others have to bind mount. which …], my symlink on icu does not work for me and the camera does not work, what do you mean by bind mount? | 18:48 |
rinigus | @Verevka86: maybe your camera is missing something else in addition. did you check with strace? or was it somehow differently checked... | 18:50 |
T42 | <Verevka86> @rinigus [@Verevka86: maybe your camera is missing somet …], i see missing libicui18n.so in logcat when camera starts | 18:54 |
mal | @Verevka86 what symlinks have you added? | 19:02 |
T42 | <Verevka86> @Verevka86 [i see missing libicui18n.so in logcat when cam …], Sorry *libandroidicu.so | 19:03 |
T42 | <Verevka86> @mal [@Verevka86 what symlinks have you added?], https://github.com/SailfishOS-sagit/droid-config-sagit/commit/35baf753510841fc030c183e70a0b3d8dd28da53 | 19:04 |
T42 | <Verevka86> https://github.com/SailfishOS-sagit/droid-config-sagit/commit/35baf753510841fc030c183e70a0b3d8dd28da53 | 19:04 |
T42 | <elros34> @Verevka86 do provide your own /system? If no then obviously anything in sparse/system/ is pointless | 19:15 |
T42 | <Verevka86> @elros34 [@Verevka86 do provide your own /system? If no …], No 😔 | 19:16 |
T42 | <elros34> your system partition is mounted in /system so your symlinks are not visible anymore | 19:16 |
T42 | <elros34> unless you are using some overlay | 19:17 |
T42 | <b100dian> > warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at compile time | 20:39 |
T42 | <b100dian> Should I worry about this? Or try building another gdb:)? | 20:39 |
T42 | <b100dian> anyway, I'll try to add some padding to my stack corruption | 20:43 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!