| *** n2klb_ is now known as n2klb | 02:02 | |
| sharks | @elros34 - thanks again, I had enabled it but when I rebuilt the rootfs my simlinks weren't there? I was too tired to keep debugging and gave up for the night. Thanks for spotting it, added the symlinks on the device and it got considerably further. | 12:16 |
|---|---|---|
| sharks | I could once again do with another hand - possibly because I'm too tired to think straight again - but I think I've got all the filesystems mounted, I'm struggling to spot now where things are getting stuck? Kernel seems to work, droid-hal-init is starting and not failing, though hwservicemanager is struggling to get graphics up. Additionally, the USB network interface comes up and goes down again nearly straight away, so still can't telne | 12:23 |
| sharks | If anyone more experienced than me would be willing to have another look I'd appreciate it. Thanks for all your help so far @mal and @elros34. Journal attached -> https://paste.opensuse.org/pastes/06c503ff21e1 | 12:24 |
| sharks | Ooh maybe it's those lines way towards the end about linker? `Warning: failed to find generated linker configuration from "/linkerconfig/ld.config.txt"` and `Hanging forever because setup failed: Unable to open hwrng /dev/hw_random`? | 12:30 |
| mal | sharks: which android base? | 12:32 |
| mal | noticed one issue | 12:32 |
| sharks | @mal - based on Lineage22.2 | 12:33 |
| sharks | What did you notice? | 12:34 |
| mal | "executing /usr/libexec/droid-hybris/system/bin/linkerconfig failed: No such file or directory" | 12:35 |
| sharks | Yep, cool - you're looking in the same spot I am. Thanks for confirming. | 12:36 |
| mal | go to $ANDROID_ROOT/rpm/dhd and check what is the last git commit there | 12:36 |
| mal | update that submodule to latest version anyway | 12:39 |
| mal | and then build_packages.sh -d and try what happens | 12:40 |
| sharks | Hmm, it is up to date, nothing has changed in a month? | 12:41 |
| sharks | Latest commit I have is be67bbc, which matches remote mer-hybris/droid-hal-device | 12:42 |
| mal | hmm, then how can it be missing | 12:42 |
| mal | run "find out/target/product -name linkerconfig" | 12:43 |
| sharks | `out/target/product/pdx225/obj/EXECUTABLES/linkerconfig.com.android.runtime_intermediates/linkerconfig`, `out/target/product/pdx225/symbols/apex/com.android.runtime/bin/linkerconfig`, `out/target/product/pdx225/recovery/root/linkerconfig`, `out/target/product/pdx225/root/linkerconfig` | 12:46 |
| mal | there is supposed to be one in out/target/product/$DEVICE/apex/com.android.runtime/bin/linkerconfig | 12:47 |
| mal | why is it not there | 12:48 |
| mal | looks like it's not there in my build either, let me check a bit | 12:48 |
| sharks | No worries, thanks mal. Let me know what you find | 12:52 |
| mal | you could remove the last commit from system/core which adds the new path for linkerconfig | 12:55 |
| sharks | What's the thinking behind that? | 12:56 |
| mal | or maybe I have a better idea | 12:56 |
| mal | in rpm/dhd you have this https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L788 | 12:57 |
| sharks | two secs I will check | 12:58 |
| sharks | Yes I do | 12:58 |
| mal | so make a duplicate of those lines 788-792 and in the duplicate change part "apex/com.android.runtime/bin/linkerconfig" to "obj/EXECUTABLES/linkerconfig.com.android.runtime_intermediates/linkerconfig" | 13:00 |
| sharks | Cool, done. Now I re-run `build_packages.sh -d`? | 13:02 |
| mal | yes | 13:03 |
| sharks | Fantastic, thanks mal. Will let you know how I get on in the morning, past 11pm now I'm nackered | 13:04 |
| sharks | Apologies, not sticking around to see replies, will get back to you in the morning, but have rebuilt the image and got a new journal log. As far as I can see not much change? https://paste.opensuse.org/pastes/d87b88286cb4 | 13:39 |
| sharks | I am signing off for the night, will get back to it tomorrow. Thanks again | 13:39 |
| mal | some issues I see in the log, you need to add "Requires: libgbinder-tools" to droid-config spec like this https://github.com/mlehtima/droid-config-fp5/blob/master/rpm/droid-config-fp5.spec#L31 also the android tad service is failing, from what I understand that is important on sonys, I found another issue also which I will fix in hybris-patches (issue that will slow down boot and can cause random | 14:29 |
| mal | failures) | 14:29 |
| T42 | <elros34> enabled kernel ratelimiting will hide some messages from you, disable it. Did you copy /etc/task_profiles.json as in hadk-hot? | 14:53 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!