2010-07-12 00:15 unclouded: Hi 2010-07-12 00:15 xiangfu: hi 2010-07-12 00:16 I search a little bit. the sys_imageblit will call : color_imageblit which is at :    * drivers/video/cfbimgblt.c, line 75 2010-07-12 00:16     * drivers/video/sysimgblt.c, line 52 2010-07-12 00:16 unclouded: from those two file's comment: it says: Generic BitBLT function for frame buffer with packed pixels of any depth. 2010-07-12 00:17 unclouded: another is:   2  *  Generic 1-bit or 8-bit source to 1-32 bit destination expansion 2010-07-12 00:17   3  *  for frame buffer located in system RAM with packed pixels of any depth. 2010-07-12 00:17 unclouded: so I guess . it support any depth. :) 2010-07-12 00:18 1-bit or 8-bit source doesn't sound so hot though. 2010-07-12 00:19 I've been having trouble using fb_imageblit to draw a 1x1 image 2010-07-12 00:19 unclouded: oh. that make me confuse. it said "any depth", what is the different "1-bit or 8-bit source" and "depth" 2010-07-12 00:21 unclouded: 256-color mean 8 bit depth ? right? 2010-07-12 00:21 This was me trying to draw a single pixel in the top-left hand corner: 2010-07-12 00:21   u8  pixel[] = { 0xff, 0xff, 0xff, 0xff}; 2010-07-12 00:21   struct fb_image  im = { dx:0, dy:0, width:1, height:1, depth:32, data:pixel}; 2010-07-12 00:21   info->fbops->fb_imageblit( info, &im); 2010-07-12 00:21 ( from the kernel) 2010-07-12 00:23 so I'm trying to draw a 24-bit image using fb_imageblit ( which I think is a pointer to sys_imageblit) 2010-07-12 00:24 RE: packed pixels of any depth: I think that refers to the framebuffer, not the source image 2010-07-12 00:25 but I'm new to the kernel so I might have missed something 2010-07-12 00:26 unclouded: oh. me too. :) need learn more about IMAGE and FB. 2010-07-12 00:30 looking at sys_imageblit, it looks like it will use fast_imageblit or slow_imageblit for 1-bit ( mono) images and color_imageblit for "color" images, I wonder if color_imageblit only support 8-bit ( 256 colour paletted) images, which would explain why my example doesn't work 2010-07-12 00:44 unclouded: Hi. when you try to run your program. it is total not display or color not correct? 2010-07-12 00:45 both.  In the "one pixel" example, nothing is displayed.  When I try a 4x8 image with depth:24 I get mostly black but some random colors 2010-07-12 00:51 unclouded:  oh. check this issur: http://projects.qi-hardware.com/index.php/p/ben-nanonote/issues/87/ 2010-07-12 00:52 unclouded: Rikard have send a patch to mailing list. and I applied it today. fix the color palette. 2010-07-12 00:52 unclouded: so we better try the new kernel image. 2010-07-12 00:55 I don't think that's related.  text is all monochrome ( 1-bit) images 2010-07-12 00:56 unclouded: ok. 2010-07-12 01:06 xiangfu: I might be able to do what I want with depth:8 and a 256-color palette so I'll try that instead and see if that works for me 2010-07-12 01:11 unclouded: sure. 2010-07-12 03:02 Bas Wijnen: fix build process, thanks to Xiangfu Liu http://qi-hw.com/p/iris/662df38 2010-07-12 03:02 Bas Wijnen: fix things http://qi-hw.com/p/iris/2122a74 2010-07-12 09:06 Bas Wijnen: more fixes by Xiangfu Liu http://qi-hw.com/p/iris/a2add9a 2010-07-12 10:00 kristianpaul: thanks to pastebin that error 2010-07-12 10:01 kristianpaul: let me fix that 2010-07-12 10:08 rafa: tks 2010-07-12 10:09 rafa: btw is too hard have pyqt4 on jlime? 2010-07-12 10:10 or what do you recomend to do devel of grapgical apps that works both on fb and X 2010-07-12 10:10 ? 2010-07-12 10:11 Hi everybody, gbraad introduced me here, I'd like to do something for Qi-hardware. And currently I'm do an open project OpenOMAP: http://code.google.com/p/openomap/ 2010-07-12 10:11 kristianpaul: sdl 2010-07-12 10:12 kristianpaul: but if pyqt4 is in OE and it faild to build for jlime repo ( I mean, if it is not in jlime repo) i will check the problem 2010-07-12 10:12 and if it is on OE I will build it after to fix the building problems 2010-07-12 10:13 I also I will upload the packages missing for froto 2010-07-12 10:13 thanks :) 2010-07-12 10:13 kristianpaul: about xoscope: it is something of xoscope 2010-07-12 10:13 perhaps it needs some special config or file that it does not find? 2010-07-12 10:13 where? 2010-07-12 10:13 wich line of code..? 2010-07-12 10:14 ah ok 2010-07-12 10:14 i'll hceck 2010-07-12 10:14 kristianpaul: for xoscope? 2010-07-12 10:14 yes 2010-07-12 10:14 kristianpaul: try to install strace and run xoscope 2010-07-12 10:14 with 2010-07-12 10:14 strace -f -o /tmp/log xoscope 2010-07-12 10:14 then read /tmp/log to realize which is the problem 2010-07-12 10:16 ok 2010-07-12 10:24 rafa: how i can takea  screen shot of an app in Jlime? 2010-07-12 10:30 kristianpaul, fbgrab 2010-07-12 10:30 though i don't know if it's in the repo 2010-07-12 10:31 zear: even for Jlime X? 2010-07-12 10:31 kristianpaul, yes, it just makes a screenshot of what's running on the framebuffer 2010-07-12 10:31 in jlime case it's X11 2010-07-12 10:32 and it will work same, i understand..? 2010-07-12 10:34 yes 2010-07-12 10:34 oh great 2010-07-12 10:34 though if you don't want to have a terminal with fbgrab on screen, launch it via telnet/ssh rather than directly on the nn 2010-07-12 10:54 luo: Hi do you use KiCAD to design hardware? 2010-07-12 10:56 Sorry, no 2010-07-12 10:56 I'm using ORCAD and PADS 2010-07-12 11:28 luo: just curious. :) 2010-07-12 11:30 xiangfu: it's ok, I'll try KiCAD 2010-07-12 12:06 kristianpaul: PySide might be a more future proof alternative to PyQt 2010-07-12 12:07 mth: oh, well i just wan try run a PyQT based app on the nano, no more 2010-07-12 12:08 ah, I thought you wanted to develop new apps 2010-07-12 12:08 nah i don like QT :P 2010-07-12 12:09 mth: why is PySide more future proof than PyQt? 2010-07-12 12:09 i just dont write rewrite stuff  now 2010-07-12 12:09 kristianpaul: X, so I guess that there are plenty of X screenshots tools around :) 2010-07-12 12:09 wolfspraul: more developers working on it, as far as I can see 2010-07-12 12:09 :) 2010-07-12 12:10 and it will be in the SDK for MeeGo devices, so more exposure than PyQt which always has to be downloaded separately 2010-07-12 12:12 hah, just read a bit 2010-07-12 12:12 seems the main reason to start PySide was the GPL license of PyQt - whereas PySide is LGPL licensed 2010-07-12 12:13 cannot believe that that is still the reason behind such big moves... 2010-07-12 12:13 wolfspraul: where will the screenshots go (in qi wiki)? I have read a couple of mails about people uploading screenshots but I do not find those 2010-07-12 12:13 rafa: for now I just dump them 2010-07-12 12:13 http://en.qi-hardware.com/wiki/Special:NewFiles 2010-07-12 12:14 then they need to be categorized (along with hundreds of other uncategorized uploaded files) 2010-07-12 12:14 then maybe the Applications page? 2010-07-12 12:14 http://en.qi-hardware.com/wiki/Applications 2010-07-12 12:14 I think this could evolve into an illustrated app catalogue 2010-07-12 12:15 it's quite openwrt-centric though 2010-07-12 12:15 but feel free to throw in screenshots, any screenshot is cool 2010-07-12 12:15 wolfspraul: ah.. okey :) 2010-07-12 12:15 oh nice dump about electrician/startdic :) 2010-07-12 14:10 rafa: how did it go with that professor you gave SAKC to? 2010-07-12 14:12 wolfspraul: hey.. I traveled and it was great. I had a short meeting with him, so we was talking for a while. He knows the sakc a bit and he said me that there are some couple of researches ideas to do. He is going to contact to carlos, or he already did perhaps 2010-07-12 14:13 wolfspraul: I gave this professor, last friday, the SAKC, and he said me that he will take care of it with a proper academic work. SO I think that he is starting to move right now, since that sakc is a great stuff  ;) 2010-07-12 14:14 wolfspraul: I just arrived to BA again 2010-07-12 14:16 He knows the sakc a bit better than me* 2010-07-12 14:28 ok all sounds good I think 2010-07-12 14:28 let's see whether he moves :-) 2010-07-12 14:29 yeah, and I know where he lives :) 2010-07-12 15:57 wejp: openwrt now has the lastest libflac 2010-07-12 15:58 nice :) 2010-07-12 16:47 nice indeed :) 2010-07-12 16:58 Lars-Peter Clausen: MMC: jz4740: drop max_clock field http://qi-hw.com/p/qi-kernel/9a7ae71 2010-07-12 16:58 Lars-Peter Clausen: MMC: jz4740: Add some style cleanups http://qi-hw.com/p/qi-kernel/e0afb25 2010-07-12 16:58 Lars-Peter Clausen: MMC: jz4740: Rework state handling http://qi-hw.com/p/qi-kernel/ef52869 2010-07-12 17:14 this http://hnb.sourceforge.net might be usefull on the ben 2010-07-12 18:32 Anyone know where I can get a kernel.bin (Non-JLime) that has working sound and the ks7010 compiled in that works with the Debian-Lenny.ubi? I've tried compiling the source.. but int he "mkimage" phase of it, it will not boot. 2010-07-12 18:33 what kind of error do you get? 2010-07-12 18:34 It says it's booting the kernel, then the LCD gets real bright, and then goes into a continuous boot cycle. 2010-07-12 18:34 ezdagor: these notes might be useful if you haven't spotted them already --> http://en.qi-hardware.com/wiki/Debian/Kernel 2010-07-12 18:35 Awesome. Thanks. 2010-07-12 18:37 ezdagor: here i have a kernel  (I could upload modules too) --> https://rhizomatik.net/nanonote/kernel/deb-kern-mouse-uinput/ 2010-07-12 18:38 hm... no, but I disabled ks7010 :/ 2010-07-12 18:40 Which config file does the kernel.bin use? 2010-07-12 18:44 nn-kconfig-generic, nn-kconfig-xburst or nn-openwrt-kern? 2010-07-12 21:13 larsc: does set_timer_slack exist in 2.6.34? 2010-07-12 21:14 I can't find any header that defines it in the likely locations 2010-07-12 21:20 Ok... I have the cross compile kit... where would be the proper place to put it? 2010-07-12 21:20 I remember there being a HOWTO.. but I lost the URL. 2010-07-12 21:24 mth: no. did i commit it? 2010-07-12 21:24 yes, it was added on qi-kernel/jz-2.6.34 2010-07-12 21:24 last delta of this commit: http://projects.qi-hardware.com/index.php/p/qi-kernel/source/commit/ef52869/ 2010-07-12 21:24 ezdagor: I would like /opt or ~/ 2010-07-12 21:25 Nod. 2010-07-12 21:26 Lars-Peter Clausen: MMC: jz4740: fix merge error http://qi-hw.com/p/qi-kernel/d2d5cee 2010-07-12 21:26 Lars-Peter Clausen: jz4740: qi_lb60: Update mmc include file location http://qi-hw.com/p/qi-kernel/90d2c29 2010-07-12 21:26 Lars-Peter Clausen: MMC: jz4740: Move header file to arch/mips/include/... http://qi-hw.com/p/qi-kernel/e59921b 2010-07-12 21:36 thanks, that fixes it 2010-07-12 21:36 I didn't find any other issues in a quick test 2010-07-12 22:14 Hmm.. when doing a "make ARCH=mips menuconfig" the NN's processor isn't in the list. 2010-07-12 22:14 .config - Linux Kernel v2.6.32.10 Configuration 2010-07-12 22:15 I first did a "make kernel_menuconfig" from OpenWRT build system, it downloaded the kernel, did some shell scripting, then gave an error. 2010-07-12 22:16 nanodev@wolf:~/dev/openwrt-xburst-xburst> make kernel_menuconfig make[1]: Entering directory `/home/nanodev/dev/openwrt-xburst-xburst/target/linux' make[2]: Entering directory `/home/nanodev/dev/openwrt-xburst-xburst/target/linux/xburst' if [ -s "/home/nanodev/dev/openwrt-xburst-xburst/build_dir/linux-xburst_qi_lb60/linux-2.6.32.10/patches/series" ]; then (cd "/home/nanodev/dev/openwrt-xburst-xburst/build_dir/linux-xburst_qi_lb 2010-07-12 22:17 rc=- push -a; else quilt --quiltrc=- top >/dev/null 2>&1; fi ); fi make[2]: *** [/home/nanodev/dev/openwrt-xburst-xburst/build_dir/linux-xburst_qi_lb60/linux-2.6.32.10/.quilt_checked] Error 127 make[2]: Leaving directory `/home/nanodev/dev/openwrt-xburst-xburst/target/linux/xburst' make[1]: *** [menuconfig] Error 2 make[1]: Leaving directory `/home/nanodev/dev/openwrt-xburst-xburst/target/linux' make: *** [kernel_menuconfig] Er 2010-07-12 22:22 I also added the patch from http://sdschulze.dnsalias.org/~soeren/content/debian-nanonote-kernel.txt 2010-07-12 22:22 Could that be the problem? 2010-07-12 23:46 ezdagor: what the "git branch" output? and the first line of "git log"? 2010-07-12 23:49 git branch? 2010-07-12 23:53 ezdagor: yes. 2010-07-12 23:53 ezdagor: and the first line of git log 2010-07-12 23:54 You mean version of git? 2010-07-12 23:54 Branch of what? The kernel? 2010-07-12 23:55 ezdagor: I want make sure you are the the [xburst] branch of git repos. 2010-07-12 23:56 Hold on a sec.. 2010-07-12 23:57 I have absolutely no idea... I cannot remember.. :/ 2010-07-12 23:58 wolf:~/nano/kernel/1 # l total 366184 drwxr-xr-x  7 root root      4096 Jul 10 21:14 ./ drwxr-xr-x  3 root root      4096 Jul 12 12:27 ../ drwxr-xr-x 10 root root      4096 Jul 10 15:00 openwrt-xburst-xburst/ -rw-r--r--  1 root root  12611443 Jul 10 14:52 openwrt-xburst-xburst.zip drwxr-xr-x 24 root root      4096 Jul 10 17:14 qi-kernel-2.6.35.10/ drwxr-xr-x 24 root root      4096 Jul 11 20:38 qi-kernel-5396a9238205f20f811ea578 2010-07-12 23:58 If that helps..