**** BEGIN LOGGING AT Sat Dec 02 02:59:59 2017 Dec 02 08:00:15 Morning Dec 02 08:00:21 Tofe: libhybris gives me: dlfcn.c:236:17: error: initializer element is not constant Dec 02 08:01:15 Tofe: Seems I need to bump SRCREV a bit Dec 02 08:01:23 Am on 4aa3379de1d911f00a86cb5643f7ff63dd48d7a6 Dec 02 08:04:19 Hmmz same error Dec 02 08:05:00 https://bpaste.net/show/6e279a87db2a Dec 02 08:38:17 Morning Dec 02 08:38:39 Herrie: could be it's the first time the mm linker is built with gcc 6.3 Dec 02 08:41:08 wait -- you're build the jb linker ? Dec 02 08:42:50 be careful here: you probably need to modify the libhybris bbappend for xiaomi, to have a slightly different configure Dec 02 08:48:43 Tofe: That could be Dec 02 08:49:17 Tofe: Not sure what to change to change the linker Dec 02 08:49:24 Should need n-linker no? Dec 02 08:49:29 Since this is 14.1 ? Dec 02 08:49:45 Ah, yes, right; though it may not the right root cause Dec 02 08:49:51 could be it's because of arm64 Dec 02 08:49:59 Tofe: Well ARM64 should work Dec 02 08:50:02 https://github.com/libhybris/libhybris/blob/master/hybris/configure.ac#L127 Dec 02 08:50:10 nope, rpi-64 doesn't use libhybris Dec 02 08:50:21 So we don't know yet :) Dec 02 08:50:31 Tofe: True Dec 02 08:50:42 Where do I tell it which linker to use? Dec 02 08:50:51 I guess I need to specify Android headers somewhere as well ? Dec 02 08:51:09 yes, you'll need specific libhybris configure and halium headers Dec 02 08:51:14 I guess I need to add a android-headers-halium_7.1.bb Dec 02 08:51:31 something like that yes Dec 02 08:51:42 Here: https://github.com/shr-distribution/meta-smartphone/tree/pyro/meta-android/recipes-android/android-headers Dec 02 08:52:31 Should be straightforward enough. I could point it to https://github.com/Halium/android-headers/tree/halium-7.1 Dec 02 08:52:32 ok, I didn't remember I already put a version - good ! Dec 02 08:53:00 yes, that's what you want to have Dec 02 08:53:21 and for libhybris itself, maybe a little tweak is needed too Dec 02 08:53:25 Tofe: Which API version? 24? Dec 02 08:54:37 I think so Dec 02 08:54:51 I don't even remember if we still actually use that variable Dec 02 08:56:14 SEems 25 even https://source.android.com/setup/build-numbers Dec 02 08:56:56 ok, let's go for 25 then :) Dec 02 08:57:27 Just don't know how I force it to use which headers? Dec 02 08:57:39 seems you'll need to add "--enable-arch=arm64" to the EXTRA_OECONF variable Dec 02 08:58:03 ah, well in the machine.conf you probably can specify a preferred version Dec 02 08:58:20 we will need to patch the other machines too... Dec 02 09:01:13 Herrie: can you check in your Halium output if you have system/lib, or if it's system/lib64 ? Dec 02 09:01:59 Seems I have both Dec 02 09:02:19 In /out/target/product/mido/system right? Dec 02 09:02:37 Or inside the .tar.gz? Dec 02 09:02:59 Ah also both there Dec 02 09:03:11 The MIUI is sluggish as hell btw :P Dec 02 09:03:53 Octacore 2.0GHZ with 4GB ram it should fly :P Dec 02 09:03:56 But it doesn't Dec 02 09:04:01 :) Dec 02 09:04:12 ok, both is good too I guess Dec 02 09:04:53 Yes, if LuneOS is sluggish on that beast, we'll know we have gone the wrong path Dec 02 09:05:31 Tofe: https://bpaste.net/show/b3e801036a46 Dec 02 09:05:53 Thisis with the --enable-arch=amr64 + the 7.1 halium android headers Dec 02 09:07:03 ok, well it skips jb, which is good Dec 02 09:07:26 Where is R_AARCH64_TLS_TPREL64 defined ? Dec 02 09:08:38 nowhere... great... Dec 02 09:13:24 ok it comes from things like elf_machdep.h of ELF.h, or something like that Dec 02 09:20:06 Tofe: I'm not sure it's taking the right headers still though Dec 02 09:20:13 I simply added the 7.1 headers Dec 02 09:20:22 I'm still not sure how it knows to use which one Dec 02 09:28:43 Tofe: This gives some clues maybe? https://www-auth.cs.wisc.edu/lists/dyninst-api/2016/msg00001.shtml Dec 02 09:31:25 this too https://lists.fedorahosted.org/archives/list/elfutils-devel@lists.fedorahosted.org/thread/I47QKMMACDCRXCC4YZNT76I5TIL36QUM/ Dec 02 09:41:01 I think, just try to remove the "64" suffix Dec 02 10:07:31 Tofe: OK will try in a bit Dec 02 10:36:52 Tofe: Ideally we should patch this in glibc? Dec 02 10:37:03 The libhybris one is a bit of a hack? Dec 02 10:37:08 I.e. it would break older glibc? Dec 02 10:37:46 Herrie: no, we should patch libhybris because glibc has done this change :) Dec 02 10:38:03 Tofe: Yeah I understand, but it would then break libhybris with older glibc Dec 02 10:38:10 With our glibc it's find of course Dec 02 10:38:17 It works now Dec 02 10:38:25 Onto next bit I guess :P Dec 02 10:38:35 Herrie: well, let's just not upstream it then, but I agree it's not ideal Dec 02 10:39:02 if we manage to detect this situation we could do a proper libhybris patch Dec 02 10:39:59 Tofe: Yeah Dec 02 10:40:12 Well it's C++ I don't touch that :P Dec 02 10:40:23 something like #ifdef R_AARCH64_TLS_DTPREL #ifndef R_AARCH64_TLS_DTPREL64 #define R_AARCH64_TLS_DTPREL64 R_AARCH64_TLS_DTPREL #endif #endif Dec 02 10:40:33 It's C ! :p Dec 02 10:41:27 (or the #define the other way around, it's a bit the same in the end) Dec 02 10:42:01 Tofe: Ah OK Dec 02 10:42:08 I guess I could manage something like that I guess Dec 02 10:42:24 I'll write it down on a bpaste, one minute Dec 02 10:42:29 OK ;) Dec 02 10:42:37 Build continuing now Dec 02 10:42:41 Still 3000+ packages to go Dec 02 10:42:45 So more dragons expected Dec 02 10:43:08 OK nyx-modules Dec 02 10:43:11 I didn't put those Dec 02 10:43:15 Let me have a look Dec 02 10:44:36 Tofe: How do I know which values to put? paths=/dev/input/event0;/dev/input/event1 Dec 02 10:44:51 Seem the same for all targets Dec 02 10:44:56 So I guess I can assume to use the same? Dec 02 10:45:12 it should only be the physical buttons Dec 02 10:45:41 so "cat /dev/input/event0", check if there's some output with a button, if not, take it out, etc Dec 02 10:45:55 and the touchpanel shouldn't be considered a button Dec 02 10:46:03 Tofe: That would work on Android as well? Dec 02 10:46:18 maybe, I never tried Dec 02 10:46:34 but this can be fixed afterwards Dec 02 10:47:01 it won't stop the boot, not result in enormous bugs Dec 02 10:47:16 OK I'll copy others then Dec 02 10:47:22 Have 2 buttons, power + volume Dec 02 10:49:17 Ah I had the nyx-conf just not the nyx-modules Dec 02 10:50:03 I guess I could copy the cmake from Hammerhead? Dec 02 10:50:20 https://bpaste.net/show/ad576f00877b <-- patch for libhybris Dec 02 10:50:24 And adjust afterwardsif needed? Dec 02 10:51:06 Herrie: that's what I would do Dec 02 10:52:35 Tofe: OK Dec 02 10:52:37 Thnx for patch Dec 02 10:52:43 Will test it on next failure of build :P Dec 02 11:10:59 Hmmz seems bitbake server might be down Dec 02 11:11:09 oh Dec 02 11:12:40 WARNING: Timeout while attempting to communicate with bitbake server Dec 02 11:14:13 I'll just disable it in my conf for now Dec 02 11:17:24 Tofe: Your patch works :) Dec 02 11:27:50 Tofe: Seems that for mm morphis fixed it already earlier with https://github.com/Herrie82/libhybris/commit/8e7c0e99eedbd14f05ace70a13a3306ded7bc8c5#diff-449327c846d9f58eb4ab486ff87041cc Dec 02 11:40:56 weird that the halium guys didn't spot it for the n linker Dec 02 11:41:23 bshah: ^ do you know about an issue regarding building libhybris' n linker with recent glibc ? Dec 02 11:42:22 um Dec 02 11:42:25 I don't know Dec 02 11:43:34 I wouldn't want to break libhybris' build, but it seems morphis already patched it for mm so I *guess* it should be fine for N too... not sure really. Dec 02 11:43:53 open a PR and see I guess :P Dec 02 11:43:58 yup Dec 02 11:46:21 will do that tomorrow, I've got a wine fair to attend to :) Dec 02 11:46:31 well Herrie was quick enough Dec 02 11:46:53 https://github.com/libhybris/libhybris/pull/365 Dec 02 11:47:16 ahah, yes :) Dec 02 11:57:49 Yeah did that already Dec 02 12:47:33 Tofe: It'll be busy for a while now since it's doing all the qt bit Dec 02 12:47:35 +s Dec 02 12:48:14 ok, I'll be away this afternoon Dec 02 12:52:34 Tofe: No worries, I should be able to solve most by myself anyway I guess Dec 02 12:52:37 If not too many dragons ;) Dec 02 12:53:05 Anyway I doubt it'll boot at first try once I have an image, but who knows :P Dec 02 12:53:16 I'd be extremely surprised in case it does :P Dec 02 17:13:41 Tofe: Seems I have an image Dec 02 17:14:58 woo Dec 02 17:21:53 Waiting for Mrs to come home to test Dec 02 17:22:32 Arms full with little ones now Dec 02 18:25:51 OK first need to figure out how to unlock this one and install TWRP Dec 02 19:55:06 Herrie: good! Dec 02 19:56:59 Tofe: Just need to wait for my "unlock" permission for bootloader Dec 02 19:57:03 That can take a few days it seems :S Dec 02 19:57:18 Their bootloader unlock is painful it seems Dec 02 19:59:08 https://devs-lab.com/root-xiaomi-redmi-note-4-unlock-bootloader-install-twrp.html Dec 02 20:00:06 Ô frustration Dec 02 20:00:12 So requested mine ;) Dec 02 20:00:16 Tofe: Yup... Dec 02 20:00:19 Quite Dec 02 20:16:12 Seems 1-3 days normally :S Dec 02 20:16:18 Looks like they process them manually Dec 02 20:16:24 So I guess Monday earliest Dec 02 20:21:28 ok Dec 02 20:33:07 Anyway image built :P Dec 02 20:34:26 That's already quite something Dec 02 20:34:39 Probably I'll need quite some tweaking still but well Dec 02 21:23:06 hey can someone help me out real fast Dec 02 21:23:22 I have a touchpad with the original luneos release. and android cm something Dec 02 21:23:30 id like to update just luneos to latest Dec 02 21:23:40 is there like a specific guide online just for that process? Dec 02 21:25:18 or maybe someone can help me out and walk me through it and I'll publish a guide :) Dec 02 21:27:03 COYOTE: you can follow the steps here: http://www.webos-ports.org/wiki/Install_LuneOS_for_Tenderloin#Installing_a_newer_or_different_image Dec 02 21:27:17 thank you! Dec 02 21:27:50 if you don't have webOS, just get on a terminal (on android, or on the recovery adb) and follow similar steps Dec 02 21:28:50 basically, you mount the luneos partition, extract the newer luneos release instead of the previous one, unmount, and eventually update the uImage boot file Dec 02 21:34:31 can I use the novacom interface that comes with web os quick install? Dec 02 21:34:37 for some reason i don't have novaterm on webos Dec 02 21:36:47 https://i.imgur.com/d37CgwT.jpg Dec 02 21:37:07 That's the way it's setup right now in monotone Dec 02 21:37:25 I haven't touched this thing in like...3 years. Forgot everything ;) Dec 02 21:37:36 It took 2 days on charge just for it to turn on Dec 02 21:38:56 I... don't know, I never used novacom :) Dec 02 21:39:06 Herrie: ^ do you know ? Dec 02 21:39:19 can I install novaterm in preware? Dec 02 21:39:39 i can't seem to find an ipk for it Dec 02 21:40:07 frankly, what I usually do is boot on Android (or recovery), and do the steps through adb Dec 02 21:40:55 I don't think novaterm can be installed through preware Dec 02 21:41:26 what rom do you recommend for android for tenderloin these days? Dec 02 21:42:54 I didn't try a lot of them, but I'm staying with CM-11 from jcsullins Dec 02 21:43:14 I've had wakeup issues with CM-12.1 roms Dec 02 21:43:28 theres no difference bwetween luneos-dev-image-tenderloin.tar.gz and luneos-dev-image-tenderloin-20170721114825-stable-051-90.rootfs.tar.gz right? Dec 02 21:43:51 the former should always point to the last stable Dec 02 21:43:57 oh nice Dec 02 21:44:23 ... which is not from 2017-07-21 Dec 02 21:45:08 oh? whats the latest stable? Dec 02 21:45:49 oh nm Dec 02 21:46:01 http://build.webos-ports.org/releases/decaf/images/tenderloin/ Dec 02 21:46:01 thats weird. i thunk pivotce pointed me to that Dec 02 21:48:16 I'll have to leave you there, going to sleep :p Dec 02 21:48:25 thank you for your help! Dec 02 21:48:34 you're welcome! Dec 02 22:17:36 Ptz how to install it on halium 5.1? Dec 02 23:34:44 Tofe: if you're using android to update, you should update the wiki instructions for how to do initial installs and upgrades. i haven't yet started reinstalling my 64gb but when i do, i'd prefer to just not have old webOS if i'm going to have luneos on it.. **** ENDING LOGGING AT Sun Dec 03 03:00:01 2017