**** BEGIN LOGGING AT Sat Apr 25 02:59:59 2020 Apr 25 10:01:47 JaMa: https://github.com/webOS-ports/nodejs-module-webos-pmlog/commit/043f95acf1b7adc2ed17e341a433788b1f37b795 https://github.com/webOS-ports/nodejs-module-webos-sysbus/commit/bc8d0db6b323137ff5b04b6ccd190159e2c58366 ( and https://github.com/webOS-ports/nodejs-module-webos-dynaload/commit/09a86cd4b6f7662718a5282df47eef7ecaf30763 ) for dunfell's node.js v14 Apr 25 10:03:12 damn, I wrote node.js v14 everywhere, but it's actually v12 Apr 25 10:10:46 JaMa: Ok, here are the new commits with the correct naming: https://github.com/webOS-ports/nodejs-module-webos-dynaload/commit/309ad91ee23b76c4afb61935ad8e1eace88950ac https://github.com/webOS-ports/nodejs-module-webos-sysbus/commit/252a28ed99e0d0353b192f718035d3af235f9bba and https://github.com/webOS-ports/nodejs-module-webos-pmlog/commit/6cc2ea137fcb7dbe99c67f2c0e07531d444d03b9 Apr 25 10:23:13 Actually, there's a good chance that it would also compile for nodejs v10 Apr 25 10:43:00 mmh I can't create any PR for the pmlog nodejs module, because it's based on OSE, not on OWO Apr 25 12:52:03 JaMa: o/ Apr 25 15:19:53 Tofe: I see you're optimistic with webosose PR :) Apr 25 15:34:54 JaMa: well, it's the only path to upstream, so... Apr 25 15:35:02 but I pinged them in parallel Apr 25 15:37:13 nice, I get directfb working in recovery quite out-of-the-box Apr 25 15:48:55 now, that would be the easiest way to show couple of buttons and text in an initrd image, on top of directfb Apr 25 15:52:45 damn, directfb.org has been bought by another entity and they didn't update their readme... Apr 25 15:55:02 ah, but directfb is actually quite a dead project :( Apr 25 15:55:13 sounds like kexecboot UI from zaurus :) Apr 25 15:58:26 interesting, I didn't think about it, but yes several things would be common Apr 25 15:59:02 JaMa: https://github.com/kexecboot/kexecboot/wiki/Screenshots this, right ? Apr 25 16:01:27 ok, it does all the UI by itself, tapping directly onto the kernel's framebuffer API Apr 25 16:04:28 I don't really want something that complex; only let the user select which memory to expose via usb_mass_storage, reboot and poweroff. Apr 25 16:09:25 Tofe: yes, that's what I remember Apr 25 16:28:22 So, it seems my options are: 1. fork kexecboot and build a UI on top of kernel's fb api; 2. use directfb to abstract a bit the hw; 3. use SDL+directfb (that would probably mean a dedicated sdl recipe); 4. use GTK/DirectFB (for 4 buttons ?? also, dedicated recipe probably) Apr 25 16:31:51 postmarketos, for pin-unlocking from initramfs, went for SDL+DirectFB... I guess it's a hint Apr 25 16:36:42 JaMa: do you know a way I could reuse libsdl2 for the initramfs image, but with a different packageconfig set of options ? It would be pretty easy to write a new recipe, but just in case I can reuse the existing one... Apr 25 17:05:09 Tofe: I would imagine something like our busybox-static recipe, you can reuse existing recipe with "require" but you will sill need to make sure that the packaged bits (and packages itself) aren't overlapping the normal recipe output Apr 25 17:05:43 ah, ok, that looks a bit fragile Apr 25 17:06:06 better make a simplified dedicated libsdl2-directfb or something like that Apr 25 17:06:30 in addition, I just remarked that SDL2 is capable of using KMS/DRM, so maybe I can even skip directfb Apr 25 17:06:34 yes, busybox-static is at least just one binary we care about Apr 25 17:07:18 yes directfb seems to be pretty dead now, so KMS/DRM might be more tested path in SDL2 Apr 25 17:08:46 pity that kexecboot wasn't adopted by more people, it's not dead yet, but it's just maintained since 2013 Apr 25 17:09:31 well it's also based on keys for input, that would have to be updated for touchscreens Apr 25 17:09:55 ah, I forgot about that, hmm Apr 25 17:10:12 maybe we were using something else for "bootmenu" in gta02 days Apr 25 17:10:50 I think I'll try the SDL way, we'll see. I can reuse some bits of the pincode app from postmarketos as a bootstrap Apr 25 17:11:24 ah that was Qi http://wiki.openmoko.org/wiki/Qi Apr 25 17:13:39 hmm Qi doesn't render UI it seems, so I don't remember at all what I was using back then Apr 25 17:16:11 ok, I now have SDL2 with directfb and kms/drm in my initrd... I just have to build the tests now Apr 25 17:16:59 :) you're faster than my memory Apr 25 17:20:16 well, having even a basic recovery mode helps a lot, now I can just copy/paste the new initrd image onto the sdcard without extracting it from the phone **** ENDING LOGGING AT Sun Apr 26 02:59:57 2020