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