**** BEGIN LOGGING AT Mon Jan 16 03:00:01 2017 Jan 16 08:03:04 Morning! Jan 16 08:03:07 Herrie: ok thanks :) Jan 16 08:37:47 morning Jan 16 08:57:04 Herrie|Pre3: your morty work would actually correspond to the unstable branch, wouldn't it? Jan 16 08:59:10 Tofe: There's a Morty branch already. So far we only need a gcc 6 libhybris patch and the fix for oFono & Connman it seems. Jan 16 09:00:48 But for building you need to use unstable from webos-ports-setup Jan 16 09:01:11 I'll ask JaMa to rebase Morty when he's around so we have the latest from Krogoth as well. Jan 16 09:01:41 ok :) Jan 16 13:27:48 Back Jan 16 17:23:24 Herrie: home, now with a N5 in hands :) Jan 16 17:26:21 I'm already flashing CM12.1 onto it :p Jan 16 17:49:02 Tofe: OOOH NICE! That's early in the week! Jan 16 17:49:21 yep, I'm very happy :) Jan 16 17:49:48 So I'm preparing the hybris android HAL build Jan 16 17:51:08 :D Jan 16 17:51:22 Curious to see how "easy" or difficult it will be Jan 16 17:51:29 Me too! Jan 16 18:03:43 granpc: have you figured out why test_sensors has different api versions on ubuntu and LuneOS? Jan 16 18:03:53 it seems to come from the headers Jan 16 18:03:59 API versions are #defined Jan 16 18:04:08 which makes me wonder why ubuntu's test_sensors is using an older header version Jan 16 18:04:53 (android headers that is) Jan 16 18:06:30 yes, seems so Jan 16 18:07:13 I have no idea what version ubuntu is building against though (or why that works at all, I thought version mismatches would break everything) Jan 16 18:07:22 haven't had much time to continue working on my port Jan 16 18:07:32 ok Jan 16 18:12:33 Herrie: I've got a first version of the hybris HAL for hammerhead CM12.1, based on CM's kernel Jan 16 18:16:35 The tricky part is yet to come, with the kernel Jan 16 18:31:56 Tofe: Yeha I guess the meta-smartphone part is not easy Jan 16 18:32:08 You know that N5 is supported from 4.9 mainline kernel? Jan 16 18:32:12 That might help somewhat? Jan 16 19:13:03 Ah, no, I didn't know Jan 16 19:13:26 But I'll first start with CM's kernel, and then we'll see Jan 16 19:13:39 because I guess mainline kernel misses some android stuff, right? Jan 16 19:14:50 Tofe: Yeah it's only console AFAIK Jan 16 19:15:06 But might be useful for the meta-smartphone bits somehow to get some of those files populated? Jan 16 19:15:15 But then again Ubuntu/SFOS should have this info too Jan 16 19:37:10 Tofe: I'm trying to switch to mer stack for oFono, connman, wpa-supplicant etc Jan 16 19:37:36 mmh ok Jan 16 19:37:42 good luck with that ;) Jan 16 19:37:53 Just seems Mer is using quite a different systemd service file compared to what we have.... Jan 16 19:38:01 Well oFono we already used, wpa-supplicant is OK Jan 16 19:38:01 On my side I've prepared meta-smartphone, now I'm patching the kernel Jan 16 19:38:06 https://git.merproject.org/mer-core/connman/blob/master/connman/src/connman.service.in Jan 16 19:38:11 Not sure that would work for us? Jan 16 19:38:27 I guess I could just try :P Jan 16 19:38:58 just be aware that they mix android's netd with connman in the same userspace, so it could be some of their fixes is not adapted to our case Jan 16 19:39:13 Ah oK Jan 16 19:39:19 I'll just give it a go to see what it does Jan 16 19:39:24 sure Jan 16 19:39:26 It now is stuck with Morty ;) Jan 16 19:39:35 So it could potentially only improve Jan 16 19:39:39 :) Jan 16 19:39:42 I guess I might switch Bluez4 too Jan 16 20:07:25 Herrie: here's a little pre-alpha-preview https://github.com/shr-distribution/meta-smartphone/compare/krogoth...Tofee:krogoth Jan 16 20:08:18 Some of this stuff stiff needs a lot of polish Jan 16 20:08:22 still* Jan 16 20:38:02 Tofe: That looks like a proper start already Jan 16 20:38:22 Seems I'll need to do some more work on Connman because they have quite some specific bits for SFOS in there :S Jan 16 20:44:39 Tofe: You're documenting the steps along the way for updating http://webos-ports.org/wiki/Porting_Guide ? Jan 16 20:45:14 oh, I forgot that. Let me take down some notes while it's still fresh. Jan 16 20:48:06 Tofe: Hehe ;) Yeah best to do when it's fresh still Jan 16 21:45:52 Herrie: https://gist.github.com/Tofee/f3a65d5ea391da20817d3746f0031357 here are my current steps Jan 16 21:50:39 Tofe: does the hybris-hal stuff actually work on the current krogoth branch? Jan 16 21:51:30 granpc: I'm doing all these steps live :) and mako is already migrated using similar steps, so yes Jan 16 21:51:40 cool! I'm going to try that on my chinese phone then! Jan 16 21:51:49 I wasnt doing hybris hal because it seemed like a pain in the ass Jan 16 21:51:53 but it doesn't seem all that complex Jan 16 21:52:01 not anymore, no Jan 16 21:52:12 Do you have a CM12.1 image for your device? Jan 16 21:53:02 if yes, then the only big question is where to pick the device and vendor source trees for the local manifest Jan 16 21:53:47 yeah Jan 16 21:53:56 I have device and vendor trees from the manufacturer Jan 16 21:54:13 well, then, there shouldn't be any problem Jan 16 21:54:26 i'm going to give that a shot again! Jan 16 21:54:35 :) Jan 16 21:54:37 thanks -- and thanks for keeping the porting guide up to date, too Jan 16 21:54:52 the lack of any usable porting guide for ubuntu is frustrating Jan 16 21:55:04 Well, I didn't update it yet, but I'll do that once I've done all the steps Jan 16 21:55:13 yeah I mean, you're working towards it Jan 16 21:55:16 yup Jan 16 21:55:18 nobody writes docs at canonical Jan 16 21:55:31 porting is our main goal, after all :) Jan 16 21:56:05 you'd assume it would be for ubuntu, too. otherwise nobody can run their OS! Jan 16 21:56:08 but oh well Jan 16 21:56:50 Herrie: do you have that config checker URL you gave me once? I can seem to find it in my logs Jan 16 22:00:10 Gosh, the longest step may as well be bitbake fetching my patched kernel from GH... Jan 16 22:01:51 Tofe: https://github.com/webOS-ports/meta-webos-ports/blob/master/meta-luneos/scripts/verify_kernel_config ? Jan 16 22:01:59 ah, yes, thanks :) Jan 16 22:02:05 Might need some updating though Jan 16 22:02:09 For 12.1 Jan 16 22:02:20 Not that much, but I'll have a look yes Jan 16 22:07:59 As frustrating as that may be, I'll have to go to sleep with an unfinished port :) Jan 17 00:30:46 looks like the hybris-hal approach won't work for me: http://paste2.org/Lj6vUIab Jan 17 00:30:49 cc Tofe Jan 17 00:31:19 I've seen this before, most people say it's ok to just get rid of the set_errno patches. not sure that's a great idea Jan 17 01:55:33 holy shit Jan 17 01:55:36 it works **** ENDING LOGGING AT Tue Jan 17 03:00:02 2017