**** BEGIN LOGGING AT Wed Dec 19 02:59:59 2012 Dec 19 08:44:26 Jay7: hello, seems zeldin is using some (un)common framebuffer so stride is not width*cpp Dec 19 09:17:18 ant_work: I see Dec 19 09:17:46 well, good idea to merge then Dec 19 09:17:53 but with testing Dec 19 09:18:00 I'm still thinking about endianness...check at compile time or runtime? Seems gcc has some optimizations Dec 19 09:18:21 at compile time Dec 19 09:18:23 do you prefer macros? Dec 19 09:19:00 but I like your idea about RGB <-> BGR swap according to endianess Dec 19 09:19:23 in fact you have 4 cases but just 2 results Dec 19 09:19:36 yeah Dec 19 09:19:48 RGB-BGR/LE-BE Dec 19 09:20:23 I've googled and there is people preferring to check on compile time and others saying runtime is also ok and will be ptimized Dec 19 09:20:31 i.e. this http://stackoverflow.com/questions/1001307/detecting-endianness-programmatically-in-a-c-program Dec 19 09:20:59 I hope we can now do less checks Dec 19 09:21:05 I see no point in runtime detection Dec 19 09:21:49 I was hoping we can just convert to BE Dec 19 09:21:50 color = (uint32_t)c1 << 16 | (uint32_t)c2 << 8 | (uint32_t)c3; Dec 19 09:21:56 if necessary Dec 19 09:22:07 but then we have the bitshifting in the code :/ Dec 19 09:22:26 in each fb_plot* Dec 19 09:22:41 I'll look over that code with endianess in mind Dec 19 09:24:32 here some snippets like reverseInt Dec 19 09:24:34 http://www.ibm.com/developerworks/aix/library/au-endianc/index.html?ca=drs- Dec 19 09:32:01 hm...in fstype.c we did Dec 19 09:32:03 #define cpu_to_be32(x) __cpu_to_be32(x) /* Needed by romfs_fs.h */ Dec 19 09:32:15 *and* Dec 19 09:32:16 #if __BYTE_ORDER == __BIG_ENDIAN Dec 19 09:32:44 iirc the second one was added by Thesing but people upstream criticized :/ Dec 19 09:33:14 they use *bytes = __be32_to_cpu(sb->size); Dec 19 09:53:35 ok, usually the filesystem are stored big endian Dec 19 09:55:00 but jffs2 can be both... Dec 19 15:36:32 i have pushed two new branches to my github kexecboot repo Dec 19 15:36:42 one is the source tree cleanup i was talking about Dec 19 15:37:15 the other is the immediate_boot, now renamed to autoboot, branch Dec 19 22:19:13 bluelightning: hey Dec 19 22:19:40 any plan to save the older linux kernels in meta-hh from bitrotting? Dec 19 22:20:32 otherwise pls think about an /obsolete parking Dec 19 22:43:17 ant_home: hi Dec 19 22:43:54 I'd like to update them... apparently there are some patches that need to be applied Dec 19 22:55:06 great Dec 19 22:55:09 Jay7: http://paste.debian.net/217356 Dec 19 22:55:48 I'll test now Dec 19 23:04:49 bluelightning: can you imagine to get some big endian device in your hands? Possibly with display... Dec 19 23:16:04 ant_home: isn't ARM bi-endian? Dec 19 23:16:23 I thought os Dec 19 23:16:26 *so Dec 19 23:16:54 http://cateee.net/lkddb/web-lkddb/CPU_BIG_ENDIAN.html Dec 19 23:17:30 http://cateee.net/lkddb/web-lkddb/ARCH_SUPPORTS_BIG_ENDIAN.html Dec 19 23:43:10 Jay7: all works as before on qvga/vga-resized after patch Dec 19 23:43:23 I'll add a bit of comment Dec 19 23:44:30 bluelightning: btw, how should we 'track' the patches to be conform? Dec 19 23:44:48 I mean in meta-handheld and meta-initramfs Dec 19 23:45:17 I've never looked attentively, iirc there are a couple of fields to add Dec 20 00:15:39 Jay7: 2 patches pushed a new fork on github Dec 20 00:29:18 gn **** ENDING LOGGING AT Thu Dec 20 02:59:59 2012