KALUbE | I've fully rebuilt everything from scratch, hopefully fixing a few minor errors but still can't telnet. Here's my init.log https://pastebin.com/uYpY9LDR | 01:14 |
---|---|---|
KALUbE | porting to eva. | 01:15 |
KALUbE | It also seems to automatically disconnect from rndis after about a minute. | 01:15 |
*** OhYash1 is now known as ohyash | 06:19 | |
masha11 | Hello! What do I need to fix in order to start test_hwcomposer and lipstick successfully? Device reboots after starting test_hwcomposer. | 07:16 |
masha11 | Here are my logs. strace test_hwcomposer: https://pastebin.com/DavrGgsg. strace lipstick: https://pastebin.com/zxf93231. | 07:17 |
masha11 | dmesg: https://pastebin.com/nqVyHSr1, journalctl: https://pastebin.com/XeWgVLjh. | 07:17 |
T4 | <birdzhang> @masha11 https://public.etherpad-mozilla.org/p/faq-hadk line 670 | 07:31 |
T4 | <birdzhang> oh, wait, are you porting 15.1 ? | 07:31 |
sledges | PSA: Sailfish OS community collaboration in the #mer-meeting channel is starting in a half-hour | 07:32 |
masha11 | @birdzhang 14.1 | 07:51 |
T4 | <birdzhang> okay, ignore me :P | 07:51 |
mal | @adampigg you seem to have some issue in mesa spec, you cannot define same driver in both dri-drivers and gallium-drivers | 11:13 |
T4 | <adampigg> mal: yeah, its wip, making changes to spec and building on obs.... | 11:23 |
T4 | <adampigg> mal, the interesting q is...what drivers to build? | 11:29 |
mal | @adampigg those that we think might be useful, current list looks ok for now | 11:43 |
mal | @adampigg check fedora spec for some ideas where each one goes ref the bug you had https://src.fedoraproject.org/rpms/mesa/blob/master/f/mesa.spec | 11:44 |
T4 | <adampigg> yup,/thats my reference anyway | 12:16 |
T4 | <adampigg> will carry on tonight | 12:16 |
T4 | <adampigg> mal: did u see my issue installin | 12:16 |
T4 | <adampigg> target? | 12:16 |
mal | @adampigg probably your tooling hasn't been updated and is some older version, updating toolings is a bit of a issue | 12:29 |
T4 | EdwardHack was added by: EdwardHack | 12:37 |
T4 | <adampigg> mal, i suspect that....need to see how to update tooling given that it says its installed | 13:23 |
mal | @adampigg install it with other name? | 13:27 |
mal | then the new target will use the new one | 13:27 |
T4 | GodcraftLinXkin was added by: GodcraftLinXkin | 13:53 |
T4 | hassaan_24 was added by: hassaan_24 | 14:16 |
T4 | ga1lan was added by: ga1lan | 15:01 |
KALUbE | Yo, any ideas on /sys/class permission issues in init-debug? I have set init_enter_debug2, this is my init.log https://pastebin.com/ZbMCPQ5E. Huawei P9, reboots instantly on telnet/ping | 16:05 |
T4 | <elros34> do you have configfs enabled in kernel? | 16:12 |
KALUbE | I have CONFIG_USB_CONFIGFS=y and CONFIG_USB_CONFIGFS_RNDIS=y both set | 16:30 |
T4 | <elros34> you could try to change order of this if https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L244 so it will use usb_setup_configfs. Then make hybris-hal and change the same in /data/.stowaways/sailfishos/init-debug | 16:33 |
KALUbE | That didn't work, it now waits for ~60s then reboots, and nothing shows up in dmesg or lsusb -v | 16:45 |
T4 | <elros34> show you device repo | 16:46 |
KALUbE | https://github.com/OpenKirin/android_device_huawei_eva | 16:47 |
KALUbE | I'm using branch android-7.1.1_r22. Just wondering if that could be an issue vs 7.x branch... | 16:49 |
KALUbE | No, I don't think it is. | 16:50 |
T4 | <elros34> try to replace every occurence of rndis_bam.rndis with rndis.gs4 or add similar lines to rndis.gs4 in init-script | 16:50 |
T4 | <elros34> I mean similar lines to these which contains rndis_bam.rndis | 16:51 |
KALUbE | Just replace rndis_bam.rndis with rndis.gs4? | 16:54 |
T4 | <elros34> yes, you device use rndis.g4 https://github.com/OpenKirin/android_device_huawei_eva/blob/7.x/rootdir/etc/init.hi3650.usb.configfs.rc#L17 but I am not sure it's relevant | 16:56 |
KALUbE | Ah I see. I also have an issue where the init-debug that get's generated still contains "DATA_PARTITION=%DATA_PARTITION%" and doesn't get updates | 16:57 |
KALUbE | updated* | 16:57 |
mal | KALUbE: note the difference between init-debug and the init-script in kernel ramdisk | 16:57 |
mal | not the same thing | 16:57 |
KALUbE | I'm adding the changes to hybris/hybris-boot/init-script, compiling and flashing hybris-boot.img and then modifying init-debug to match | 16:58 |
mal | the partitions are relevant only in the kernel ramdisk | 16:58 |
KALUbE | oh ok | 16:58 |
T4 | <elros34> I dont't think it's important. Mounting data partition is done in initramfs DONE_SWITCH=no in script | 16:58 |
mal | those are generated from same source but only the one going to to kernel ramdisk has partitions replaced | 16:59 |
KALUbE | Ah ok, not an issue then. | 17:00 |
KALUbE | I've booted into lineage and /sys/class/android_usb/android0 DOES exist, I also don't get anything in dmesg when using usb_setup_configfs | 17:06 |
KALUbE | Before DONE_SWITCH, it does write to iSerial that telnet is on port 23, but it seems that after, INIT_DEBUG for some reason can't write to the files. | 17:08 |
mal | KALUbE: does lineage show anything under that /sys/class/android_usb/android0 and does it show configfs related things in /config/usb_gadget/g1/functions/ ? | 17:09 |
KALUbE | Whilst lineage flashes. I've previously added "ls /sys/class/android_usb/android0" to init-debug (in usb_setup_android_usb) and got the following: https://pastebin.com/dp1jthMH | 17:19 |
KALUbE | Ok here's the contents of the two folders on Lineage: https://pastebin.com/mddfBnS2 | 17:21 |
T4 | <elros34> port_mode is set to 9 in configfs mode here https://github.com/OpenKirin/android_device_huawei_eva/blob/7.x/rootdir/etc/init.hi3650.usb.configfs.rc#L351 | 17:27 |
KALUbE | Should that be set in init-debug? | 17:28 |
T4 | <elros34> worth a try | 17:28 |
KALUbE | Is it possible that is uses configfs in the bootloader but init-debug switches to android_usb for some reason? | 17:28 |
KALUbE | Because it's able to set the serialnumber initially, and tells me that telnet is on port 23. But the init.log says it's calling usb_info and setting telnet to port 2323, but it doesn't change on my PC | 17:29 |
KALUbE | And as I just changed hybris init-script to switch configfs and android_usb it failed to do it initially as it now wasn't using configfs initially where it was before? | 17:30 |
T4 | <elros34> you could check logs in initramfs to see what is really set | 17:31 |
KALUbE | How do I get the logs from initramfs? Do they get written? | 17:31 |
KALUbE | Damn, I need to get food. Back shortly. | 17:31 |
T4 | <elros34> https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L362 | 17:32 |
KALUbE | Oh I see, it prevents init-debug from overwriting the log? | 17:39 |
T4 | <elros34> not it should prevents switching to sfos rootfs so it will stay in initramfs with telnet and mass storage enabled | 17:42 |
KALUbE | Ah ok, I just reflashed, left hybris-boot init-script default but modified init-debug and it succesfully updated to tell me telnet was on 2323 this time | 17:45 |
KALUbE | However it still reboots when I try and telnet in | 17:46 |
KALUbE | The iSerial value changes to (error) and then it reboots. | 17:48 |
KALUbE | Ok so telnetd is now running in rootfs which it wasn't before, but it still reboots when I try and connect or ping. | 18:00 |
T4 | <SALPHA8506> anyone porting here for zuk z2_plus ? | 18:08 |
piggz | mal: i little more work to do on the spec https://build.merproject.org/package/show/nemo:devel:hw:native-common/mesa | 18:18 |
mal | piggz: you'll need to add some if x86 etc to meson command | 19:12 |
mal | for those i9x5 drivers | 19:12 |
mal | piggz: also same to the dri-drivers package file list | 19:13 |
mal | piggz: probably should also limit the arm drivers the same way fedora does | 19:14 |
mal | piggz: near the beginning of fedora spec | 19:15 |
mal | piggz: not sure if we should use those with_* variables or just use archs everywhere | 19:16 |
piggz | mal: yeah, ive seen how they do it | 19:21 |
mal | piggz: just using ifarch directly might be simpler | 19:28 |
piggz | mal: sure, that will be v1 anyway! | 19:28 |
piggz | mal: or, could just copy most of the fedora spec? | 19:29 |
piggz | it is kinda neat | 19:29 |
mal | piggz: I think it's a bit overkill to have a separate variable for each driver | 19:29 |
mal | when most of those are controlled just based on build arch | 19:30 |
piggz | k | 19:30 |
mal | but that's just my opinion | 19:30 |
piggz | mal: it has the advantage that if we just decide to enbable/disable a driver, it is a 1 or a 0 | 19:31 |
mal | true, you can just copy the stuff for first version | 19:31 |
piggz | mal: i'll simplify it a bit | 19:36 |
mal | piggz: a small comment also, move the libgbm file list earlier so the order of package definitions and file lists is the same | 19:37 |
piggz | k | 19:37 |
mal | piggz: looks like a small issue in arm build | 20:30 |
piggz | mal: ah, probably doesnt work like a bool? | 20:32 |
piggz | best to remove the with_tegra 0 completely | 20:32 |
mal | piggz: no, you need to enable nouveau driver | 20:32 |
mal | if you want to build also tegra | 20:32 |
mal | piggz: also fix the error from x86 build | 20:34 |
mal | unpackaged file | 20:34 |
piggz | np... | 20:36 |
piggz | mal: i586 success.... | 21:09 |
mal | yep, looking good | 21:09 |
mal | piggz: btw, mesa 19.1 was just released couple of days ago, maybe rebase to that later | 21:12 |
piggz | mal: | 21:12 |
piggz | piggz@linux-f1uu ~/mer/android/droid.dontbeevil/hybris/mw/mesa/mesa ((HEAD detached at mesa-19.1.0-rc2)) $ git checkout mesa-19.1.0 | 21:12 |
mal | piggz: looks like two unpackaged files in arm build so you have to fix it anyway so good time to rebase | 21:13 |
piggz | mal: minor fix needed, so will update to 19.1 at the same time | 21:13 |
piggz | mal: i _hope_that works as im going to sleep now! zzzZZZ | 21:18 |
piggz | will fix tomorrow if not :) | 21:18 |
mal | thanks | 21:19 |
piggz | mal: rats, also need to add a tag to the repo to get a nice version | 21:20 |
mal | piggz: the commit history also needs some cleanup | 21:20 |
piggz | k .. gnight :) | 21:21 |
nyl | I installed messwek i don't see any feedback strange | 21:49 |
nyl | Can't find the irc logs when someone configured sensors in hybris | 21:49 |
nyl | :-/ | 21:50 |
nyl | vgrade around? | 21:53 |
mal | how about you search faq for "sensors" | 21:53 |
mal | it has nice instructions what to do to fix one most common problem with sensors | 21:59 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!