**** BEGIN LOGGING AT Fri Apr 20 03:00:01 2018 Apr 20 07:22:29 hi greguu Apr 20 07:40:15 VartiWork: Hi Apr 20 07:42:46 hi ant_work Apr 20 07:43:19 greguu: dromede just mailed me this: "I just found out that i actually have a really old github account that i completely forgot about. Take a look, there's some good stuff there, including probably all of my patches that were used for ZGrom kernels. There's also my OE layer used to build ZGrom. You'll probably find some useful stuff there." https://github.com/mkatic Apr 20 07:43:26 yes, just checking Apr 20 07:43:39 dromede has sent me more details Apr 20 07:44:12 great. but the key thing missing was the optimized SDL he used for ZGrom. Apr 20 07:44:16 the source.. Apr 20 07:44:24 The OE layer was for a previous project i was working on. Before i started to work on ZGrom, i was trying to make a general purpose distribution for Zaurus. I got quite far with it but abandoned it in the end. It kinda worked but you can't really do useful work on these machines. Too slow and to small. So i decided to do something a bit more focused, more useful. Then i started working on ZGrom. Apr 20 07:44:36 Unfortunately you won't find much useful stuff from ZGrom in these repositores, except the kernel. The framebuffer memory allocation patches could prove useful. Apr 20 07:44:44 Also check the patches for Kdrive in meta-zos. You'll find custom written iWMMxT routines for really fast framebuffer rotation. Actually, i strongly believe that to this day my patched version of kdrive was amongt the fastest ones for Zaurus Cx00 series, if not the fastest one. Apr 20 07:44:55 ah, ok Apr 20 07:44:57 And yes, i completely forgot that i did quite a bit of work on kexecboot back in the day. But i think most of these patches were pushed to official kexecboot repo a long time ago. Apr 20 07:45:20 yes, unfortunately no full zgrom sources Apr 20 07:45:38 (end of his email) Apr 20 07:45:57 https://github.com/mkatic/meta-zos/blob/master/recipes/xorg-xserver/xserver-kdrive-1.2.0/shadowfb_iwmmxt_rotate_copy.patch Apr 20 07:46:03 this is most interesting Apr 20 07:46:19 I wonder if the same FB rotation routines has been used for SDL Apr 20 07:46:42 well SDL uses a backend, so it may be these routines used Apr 20 07:46:56 but there were some optimized blitting routines in SDL too afaik Apr 20 07:47:13 aha Apr 20 07:49:31 still, good that at least something has been recovered Apr 20 07:49:52 yes, indeed. Apr 20 07:52:11 https://github.com/mkatic/meta-zos/blob/master/recipes/xorg-xserver/xserver-kdrive-1.2.0/maemo_asm.patch Apr 20 07:52:13 wow Apr 20 07:52:18 some memo code from nokia Apr 20 07:52:52 iwmmxt optimized framebuffer Apr 20 07:53:08 sorry guys, phone call Apr 20 07:53:16 reading logs... Apr 20 07:55:10 ah..kdrive...long ago we had even an accelerated W100 fb for c7x0 Apr 20 07:55:25 but the c7x0 had this in hardware Apr 20 07:55:28 then kdrive was abandoned... Apr 20 07:55:46 yes, it was w100 and iwmmxt for pxa270 Apr 20 07:55:59 didn't know the w100 could be used for fb acceleration too, I though it was only for MPEG decoding Apr 20 07:56:00 w100 was only on pxa250 no ? Apr 20 07:56:11 yesm corgi. well..these two patches where in OE Apr 20 07:56:21 we can dig up Apr 20 07:56:42 VartiWork: the W100 did have some decoding optimizations yes Apr 20 07:57:06 greguu, OT, I'd like you to test runtime kexec for aarch64 Apr 20 07:57:07 there was bvvd Apr 20 07:57:19 ant_work: I do not have my gemini yet Apr 20 07:57:26 I remember this too: https://sourceforge.net/projects/libw100/ Apr 20 07:57:29 ah, ok, I only have qemu Apr 20 07:57:55 VartiWork, I remember the name of the developer svolpe (Shane Volpe iirc) Apr 20 07:58:44 bvdd-iwmmx it was called, for mplayer, but only worked on C7x0 as far as I know Apr 20 07:58:48 Volpe, that sounds italian Apr 20 07:59:35 maybe I am wrong, this site claims otherwise ttp://zaufan.net/modules/mydownloads/viewcat.php?cid=10 Apr 20 08:00:16 but yes, great to get that source from dromede Apr 20 08:00:21 now what to do with it ? Apr 20 08:01:28 greguu, iwmmx is only pxa270 Apr 20 08:02:08 yes, and W100 is only pxa250 (C7x0) Apr 20 08:02:32 dromede's repo is based on the old OE, I can extract the interesting pieces if any Apr 20 08:02:39 and rebase on current Apr 20 08:02:53 current kdrive? does it still exist ? Apr 20 08:03:29 no, it was maintained for a while then discarded (in OE) Apr 20 08:04:02 I remember we had discussion on zaurus-devel Apr 20 08:04:35 great if we get it into weston/compositor-fbdev.c or something Apr 20 08:06:03 lets see if --enable-kdrive does still exist Apr 20 08:06:05 fwiw https://www.mail-archive.com/zaurus-devel@lists.linuxtogo.org/msg00087.html Apr 20 08:06:40 but thats full xorg ? Apr 20 08:10:16 https://www.mail-archive.com/zaurus-devel@lists.linuxtogo.org/msg00532.html Apr 20 08:10:46 we were about switching back then Apr 20 08:11:18 https://cgit.freedesktop.org/xorg/xserver/log/hw/kdrive/src/kdrive.c Apr 20 08:11:25 still going Apr 20 08:11:42 so there is a change to port this to current Apr 20 08:11:52 s/chance/change Apr 20 08:21:18 its just odd that dromede deemed this all lost and then it was sitting on github for 6 years ..undiscovered by anyone. Apr 20 08:22:32 but its never too late. I may ask the zipit team to be part of this as they still maintain a port of openwrt for their zipit2 (pxa270) based Apr 20 08:43:22 actually the SDL patch is there https://github.com/mkatic/meta-zos/blob/master/recipes/libsdl/libsdl-1.2.14/iwmmxt_rotation.patch Apr 20 08:43:27 just have too look Apr 20 08:55:03 well great, VartiWork: please let Marko (dromede) know that we are happy to have this finally.. just a shame it was there in plain sight for 6 years. Apr 20 09:21:16 https://github.com/mkatic/linux/commit/1fe136131fc9154956f5b52711009b17ca36a5e0 Apr 20 09:21:19 sram caching Apr 20 09:24:09 http://www.penguin.cz/~utx/zaurus/datasheets/CPU/28000601.pdf Apr 20 09:24:34 ..On-chip SRAM large enough to be used for a frame buffer.. Apr 20 09:24:38 well, almost... Apr 20 09:24:45 back Apr 20 09:25:14 iirc was ok for qvga (320x200) Apr 20 09:25:21 yes, qvga Apr 20 09:25:45 but the performance improvment was quite big Apr 20 09:26:12 thats why ZGrom was 320x200 only Apr 20 09:26:54 it's ok for emulators, same was done on gpxd and gcw0 Apr 20 09:27:53 dromede completely forgot about this repository, he remembered it when he read his CW, it was linked there Apr 20 09:28:01 CW = CV Apr 20 09:28:11 i find the iwmmxt rotation routines for SDL and Xorg FB most interesting Apr 20 09:28:29 this is what was actually "lost" Apr 20 09:29:30 I'll write dromede a summary of what you wrote, and thank him Apr 20 09:30:06 greguu: so, could his rotation stuff be used for alarmz? Apr 20 09:32:05 I would implement this rather in VoidLinux than Arch. Apr 20 09:32:41 the zipit team uses OpenWrt for their port. also an option Apr 20 09:32:46 OE is also possible Apr 20 09:34:26 ok **** ENDING LOGGING AT Sat Apr 21 03:00:05 2018