**** BEGIN LOGGING AT Thu Nov 23 03:00:02 2017 Nov 23 07:53:05 Morning! Nov 23 08:12:50 Tofe: For the Redmi Note 4 (mido) I guess I should start with creating a meta-xiaomi in meta-smartphone and then try to build the kernel? Afterwards the Halium/Android bits? Nov 23 08:14:05 I guess we'll need some patches for our gcc :P Nov 23 08:14:21 Or maybe the 3.18 kernel is better with it already Nov 23 08:15:27 I'll keep track of what I'll do so I can update the porting guide too :) Nov 23 08:26:43 so, one of our pmOS contributors got most of LuneUI working! https://github.com/postmarketOS/pmbootstrap/issues/629#issuecomment-346512392 Nov 23 08:31:04 Herrie|Pre3: pong Nov 23 08:31:33 Herrie|Pre3: I'd say, do Halium first Nov 23 08:31:56 PureTryOut[m]: oh, great! Nov 23 08:37:46 Tofe: Just I have no idea what to do for Halium Nov 23 08:38:40 A few pointers would be nice Nov 23 08:43:52 Herrie|Laptop: here I can help :) Nov 23 08:44:06 Tofe: Ah OK Nov 23 08:45:28 Herrie|Laptop: so, first thing is to checkout the halium-7.1 android repo; then, take our webos-ports local manifest, create a new 7.1 branch, and comment out what's relative to hammerhead, mako & TP Nov 23 08:45:52 Tofe: We already have the halium-7.1 one Nov 23 08:46:01 oh, do we ? :) Nov 23 08:47:24 Yup: https://github.com/webOS-ports/android/tree/wop-halium-7.1 Nov 23 08:47:33 We'd just need to add our XML for our targets there Nov 23 08:47:44 wop_targets.xml Nov 23 08:48:21 ok then, good, so you'll need the same as the 5.1 but without lines 19-end Nov 23 08:49:28 then you'll need: 7.1 android kernel, 7.1 device tree, and 7.1 matching TheMuppets vendor repo Nov 23 08:50:04 Preferably LineageOS based, but AOSP can work too Nov 23 08:50:15 (may need a tweak or two though) Nov 23 08:52:11 Tofe: https://github.com/Herrie82/android_kernel_xiaomi_msm8953/tree/pgz-14.1 Nov 23 08:52:18 I already forked that one Nov 23 08:52:22 This one works for SFOS Nov 23 08:52:31 So should be pretty OK for us too Nov 23 08:52:37 Just need to check defconfig Nov 23 08:53:22 you can do defconfig a bit later, when building on LuneOS Nov 23 08:54:01 so if they have a SFOS port, you also have the pointers to the device & vendor repos ? Nov 23 08:54:09 OK TheMuppets has vendor repo: https://github.com/TheMuppets/proprietary_vendor_xiaomi/tree/cm-14.1/mido Nov 23 08:56:26 piggz has 2 14.1 based repos so I reached out to him on XDA to ask which one to use Nov 23 08:56:33 https://github.com/piggz/android_device_xiaomi_mido/tree/pgz-14.1 and he also has a cm-14.1 there Nov 23 09:08:09 ok, looks good Nov 23 09:08:44 then you repo sync all this Nov 23 09:09:44 well, for the build steps you can follow the steps we have on jenkins -- just the target name won't be the same (probably cm-mido_userdebug or similar) Nov 23 09:10:21 Tofe: OK will toy a bit with all that Nov 23 09:10:29 For the kernel I need some values, any idea where I can get these? Nov 23 09:10:51 what kind of values are you speaking of ? Nov 23 09:11:30 https://github.com/Herrie82/meta-smartphone/blob/pyro/meta-lg/recipes-kernel/linux/linux-lg-mako_git.bb#L11 to 15 Nov 23 09:12:29 I assume these differ for targets? Nov 23 09:18:22 ah ok, you're already tackling the luneos build Nov 23 09:18:42 you can take that from the board .mk file in the device tree Nov 23 09:19:02 https://github.com/piggz/android_device_xiaomi_mido/blob/pgz-14.1/BoardConfig.mk#L42 Nov 23 09:20:11 The produced kernel is a -dtb kernel (using uefi), so better compare with hammerhead in this case Nov 23 09:21:58 Tofe: OK Nov 23 10:39:57 Tofe: What should I set for KERNEL_RAM_BASE & SECOND_RAM_BASE ? I couldn't figure these out Nov 23 10:42:06 And where do I find the mmcblk layout? Nov 23 10:44:26 mmcblk layout generally you find on device Nov 23 10:44:40 ls -lah /dev/disk/by-partlabel Nov 23 10:48:16 bshah: Don't have the device yet ;) Nov 23 10:48:27 Should be here by end of next week ;) Nov 23 11:54:16 Herrie|Laptop: I don't remember, let me see Nov 23 12:01:34 Arg, I don't remember... but you can find it by analysing an existing boot.img Nov 23 13:31:39 Tofe: OK... For the udev rules: Where i get these from? Nov 23 13:40:59 you generate them :) Nov 23 15:41:25 Tofe: Some initial rough bits of a layer. Untested etc: https://github.com/Herrie82/meta-smartphone/commit/ffbbaed547309d208f1d5a3423535a34304c1914 Nov 23 15:49:22 That's a good start :) Nov 23 15:52:59 Herrie|Laptop: added two comments, though now that I think about it, probably one of them (wlan) might not be true.. Nov 23 15:53:01 verifying Nov 23 15:53:24 bshah: Well this is all untested so I need to get that done first Nov 23 15:53:31 Just to have a layer to start with and then adjust Nov 23 15:53:38 okay :) Nov 23 16:04:56 bshah: It was copy & paste & modify from our LG layer (which is pretty lean compared to some other ones) Nov 23 16:05:03 But needs some adjustments here and there for sure! Nov 23 17:10:47 Herrie, to convert jenkins to https I'm going to need some downtime. Nov 23 17:19:38 there is a oe world built running that I'll convert after. Nov 23 17:19:44 (probably 12+hrs) Nov 24 00:41:23 ka6sox: Thnx, https was nothing that urgent but good to see it gets solved so quickly! **** ENDING LOGGING AT Fri Nov 24 03:00:02 2017