#qi-hardware IRC log for Sunday, 2010-11-07

kristianpaulvoy  a cambiar unas costias..00:00
juan64bitsjejeje00:00
juan64bitsy con el int resulta ineficiente si el procesador tiene que acceder continuamente a la ram de la fpga....00:00
juan64bitsporque siempre haría 4 lecturas y/o escrituras00:00
kristianpauleso es cierto00:01
kristianpaulmuy aburrido escribir lo mismo cada ratoo..00:01
juan64bitsaja,... pero por ejemplo si tenemos un micro de 32 bit implementado en la fpga ahí si se justifica el uso del int00:01
kristianpaulya casi pongo el lm32 ;-)00:02
kristianpaulpero dle milkymsit :D00:02
juan64bitsque bueno00:02
kristianpaulpero primero tengo que sacar a QT de mi camino :p00:03
juan64bitsjejej00:03
kristianpauloops seg fault--00:03
kristianpaula ver..00:03
kristianpauljuan64bits: pregunta00:05
kristianpaulel reloj va con 0x0800:05
kristianpaulpero en la clase ud lo pone en 0x00 par dejarlo sin configurar?00:05
juan64bitsmmm no recuerdo... dejame reviso00:06
kristianpaulcomo le dia a wpwrak hay tengo el libro de C++ pero ....00:06
kristianpaulje00:06
kristianpauls/dia/comtaba00:07
kristianpaulcontaba*00:07
juan64bitspero con 0x00 o funciona el SPI , él está limitado a 5MHz00:07
kristianpaulhmm00:07
kristianpaulespere pues reviso00:07
kristianpauljuan64bits: hay algun tiempo de espera minimo luego de escribir byte por byte de la ram del ADC en la FPGA?00:08
juan64bitserror mio, en el encabezado debería inicialo en 0x08 que es para 2.8 Mhz , el máximo para cuando se alimenta a 3.300:08
kristianpaulah00:08
kristianpaulsi va entonces en 0x08?00:08
juan64bitssi00:09
juan64bitscomo es ese es el divisor del clk entonces es la máxima velocidad...00:09
kristianpaulese  sizebuffer l si se usa?00:09
kristianpaulcreo son los bit 8 y 9?00:09
juan64bitsen el acceso hay un delay en cada lectura, no creo que esté en la lectura de los cuatro00:10
kristianpaulpero decia delay en la escritura00:10
kristianpaulok..00:10
juan64bitsah si, aplica igual a escritura00:10
kristianpaul10us?00:10
juan64bitscuando se configura el CS2 se cuadra el delay00:11
juan64bitslos 10us son del ADC00:11
kristianpaulhmm a ver00:11
kristianpaulnno veo delay en jz_adc_peripheral.c00:12
kristianpaulo esta en los datos ecritos?00:12
kristianpaulla verdad no puse mucho atentecion a CS200:12
juan64bitspara eso toca revisar el datasheet y cuadrar el valor 0x0FFF770000:12
kristianpaulhmm00:13
kristianpaulpero bueno ya probe y puendo leer y escrinbir a ram bien00:13
juan64bitsel registro en (0x13010000) + 0x18 es el de config del CS200:13
kristianpaulBCR00:13
kristianpauljuan64bits: se pone CMD_START en 1 a la hora de escribir o leer?00:21
kristianpaulo este registro es de solo lectura?00:21
juan64bitses de rw..00:21
kristianpaulo solo con fijar TYP00:21
kristianpaulok00:22
kristianpaulseria mejor tener un bit para cada cosa.00:22
kristianpauldigo..00:22
juan64bitspuede ser jeje00:23
kristianpaulno me gustan los bits que cambia de lectura a escritura de un momento otro00:23
kristianpaulahh nada..00:23
juan64bitsnada?00:24
kristianpaulwhile (virt_addr[i]&0X20)00:24
kristianpauli vale 300:24
kristianpaulosea le pongom 39 al CMD00:25
kristianpauly espero que el bit 5 deje de ser uno...00:25
kristianpaules la idea no?00:25
kristianpaul"cuando el periférico termine de leer la cantidad de datos especificados por SIZEB esta señal se pondrá en bajo automáticamente. "00:25
kristianpaulhmm osea que inicialmente puedo colocar el buffer en 4 bytes asi gano tiempo..00:26
juan64bitsaja00:26
juan64bitsmiraste lo de la función takeSamplesADC ?00:28
kristianpaulsi00:28
kristianpaul0x3000:29
kristianpaulluego00:29
kristianpaul0x02000:29
kristianpaulen eso me fije no mas :p00:29
kristianpaulahh samples es lo del vref??00:29
kristianpaulsi es asi no muchoa aun..00:29
juan64bitsen el while, qué pasa, nunca sale de él?00:31
kristianpaulya salio :D00:31
juan64bitsah bueno... ahora es comprobar que si esté bien el dato00:31
Action: kristianpaul busca un cable00:31
kristianpauldesde que direccion del buffer es confiable el dato??00:33
kristianpaulyo vi que tenia un valor de 8 de ajuste00:33
kristianpaulpero me imagino eso varia segun el reloj del ADC..00:33
juan64bitssi más o menos00:33
juan64bitssi, 8 es para cuando esta a la máxima velocidad00:33
kristianpaulahok00:33
juan64bitsuno la baja un poco y ya se puede confiar en todos jeeje00:34
kristianpauljajaj00:35
kristianpaul1hz ? xD00:35
juan64bitsjajaja00:36
kristianpaulque rato00:37
kristianpaulraro00:37
kristianpaulbueno si ya comprobe tengo 00 y FF00:37
kristianpaulcon 0V y 3V300:37
kristianpaulpero..00:37
kristianpaulme sale un 300:37
kristianpaulentre los FF00:37
kristianpaulque no me salio en cuando 0V..00:38
kristianpaulosea00:38
kristianpaulW:A, R:FF00:38
kristianpaulW:B, R:300:38
kristianpaulW:C, R:FF00:38
kristianpaulW:D, R:300:38
kristianpaulW:E, R:FF00:38
kristianpaulW:F, R:300:38
kristianpauly no recuerdo decirle que manejara dos canales..00:38
kristianpaulcon el CMD_SW..00:38
kristianpaula ver..00:38
juan64bitsah ya, es que el máximo es 0x3FF00:39
juan64bitslos 10 bits00:39
kristianpaulaah verdad00:39
kristianpaulcrei qera de 8..00:39
kristianpaulo suponia..00:39
kristianpaulno hay modo de 8 bits..00:40
kristianpaula ver.00:40
kristianpaulni modo00:41
kristianpaulbueno ahora vamos con SDL :D00:41
kristianpaulgracias por las aclaraciones juan64bits00:42
kristianpaulfueron muy utilkes00:42
juan64bitsok... pa' eso estamos :)00:42
kristianpaulme pase a unsigned char00:42
kristianpaulno int por ahora00:42
kristianpaultal ves use  int de 2 bytes00:42
kristianpaulpara pasar este dato de los 10bits mas transparente.00:43
juan64bitsaja... auqneu ahí esta lo tro que no me cuadró... que desperdicio 4 bits de la ram00:43
kristianpaulhmm00:44
kristianpaulsi00:44
kristianpaulje00:44
kristianpaulen todo lado sobra algo ;_)00:44
Action: kristianpaul se esconde..00:44
kristianpaulcomo 8 entraads analogas no se para que..00:45
kristianpaulen fin..00:45
kristianpaulrafa: a jlime le hace falta un git y queda lista para subir el codigo de una al repo :D00:46
kristianpauljuan64bits: http://lazyfoo.net/SDL_tutorials/index.php por si se anima  dejar qt ;-)00:51
rafakristianpaul: :) de que codigo me decis?.. un git en jlime.com? or un paquete git?00:52
kristianpaulrafa: paquete git00:52
kristianpaulod ecia pues e bien desarrollar en el SIE pero tener copia rapidamente de lo que se hace, que mejor que con git !00:52
kristianpauls/od/lo00:53
rafakristianpaul: okey.. voy a agregar eso a mi lista TODO y armo un paquete extra ;)00:53
kristianpaulEee :D00:53
rafakristianpaul: (el recipiente de openembedded de git fallo'.. asi que seguramente va a ser mas sencillo armar un paquete de git extra)00:53
kristianpaulrafa: como es que vos compilas sdl con el -I ..00:54
kristianpaul?00:54
rafapara un programa cualquiera?.. tendria que compilar con :00:55
qi-bot[commit] Werner Almesberger: Improved chip identification, added C8051F34x support, some cleanup. http://qi-hw.com/p/f32xbase/88fa3ad00:55
kristianpaulcualquiera si00:55
rafagcc -o binario tuprograma.c -I/usr/include/SDL -lSDL00:55
kristianpaulpor siero para SIE estaba pensado en una vesio modificada de un bash o algo, que de un menu con opciones00:56
kristianpaultodo esto a falta de no tener teclado pero si una pantalla ..00:56
kristianpaulok00:56
rafakristianpaul: (tenes que tener para SDL los paquetes libsdl-1.2-0 y libsdl-1.2-0-dev instalados)00:56
kristianpaulya ya00:56
rafalibsdl-1.2-0 seguramente ya esta instalado por default00:57
kristianpaulsip00:57
kristianpaulpero los intente instalar y lo note !00:57
rafa:)00:57
kristianpaulnite01:19
kristianpauland see you inn few hours01:19
rafanite!01:21
virickristianpaul: el sie no tiene ningún teclado?03:37
kristianpaulviric: no07:55
viricvaya.07:56
kristianpaultiene IO por todo lado pero ninguna tecla arra o abajo y enter :p07:56
virica lo mejor se puede acoplar aunque sea un ps/207:56
kristianpaulee buena idea07:56
kristianpaulps/2 !07:56
virices muy fácil el protocol07:57
virico07:57
kristianpaulsip07:57
viricno se si va a 12V como rs232, pero.07:57
kristianpaulno creo es ttl07:57
kristianpaulpero no se si ttl de 3v307:57
viricno creo que de 3v308:02
kristianpaul:/08:02
rafaxiangfu: hi, is the nand partition defined into kernel right?08:13
viricrafa: you can override it by the kernel command line08:14
viric(which is hardcoded in uboot. hehe)08:14
rafaviric: nice :P..08:14
viriccheck /proc/cmdline.08:14
viricto see if it is uboot setting it08:15
rafaviric: before the last change in qi-openwrt people was able to boot debian/jlime from uSD and mount the openwert on nand, but no now after the new layout (256MB for rootfs, rest for data)08:16
xiangfurafa: yes. it's hardcoded in kernel.08:16
rafaxiangfu: larsc : any idea what to do?.. before we mounted okey, with the new layout no08:17
virichow can they boot from uSD?08:17
viricdoes uboot try to boot from uSD first?08:17
viricrafa: you would need the debian kernel to use the same layout as used in the system in nand08:18
rafaviric: some versions of uboot lets you press [M] and power butoon08:18
viricthat means 'boot from sd'?08:18
rafayes.. I meant sd08:18
viricbut it may work only with one kind of filesystem in uSD, and the kernel at some specific place08:18
viricI could read the uboot source to know the details...08:19
viricrafa: so, I don't know if the nand partitions can be set after the kernel booted08:19
rafaviric: why debian kernel?08:19
viricrafa: does the debian run with the kernel in the nand?08:20
xiangfurafa:  not boot from uSD or not mount the NAND rootfs ? or both not work?08:20
rafaviric: you are the guy who answers with another question ? ;)08:21
xiangfurafa: boot from SD should works fine. because we only change the NAND partition.08:21
rafaxiangfu: yes, sorry. I will try to explain better:08:21
rafaxiangfu: before the last change.. we were able to boot from SD and then mount the nand under /openwrt for example. Now no08:22
viricrafa: it was me who was surprised that the nanonote can boot from sd :)08:22
xiangfuviric: yes. nanonote can boot from sd :)08:22
rafaviric: sorry, I am not sure the current state of debian. It worked before I would say. I am talking about "other" in general, and specifically I am talking for Jlime08:23
viricahh ok08:23
viricso, the jlime kernel should boot with the proper nand partitioning08:24
viricwhich maybe can be set at runtime, but I only know it can be set at the kernel cmdline08:24
rafaviric: mmh?.. I do not understand. jlime kernel boot from sd and from nand.. you can install jlime on nand or sd.. That is okey and all works08:24
viricah really? somehow it  has to know the proper nand partitioning08:25
rafaviric: but if you boot, for example, jlime from sd.. and you also have openwrt on nand, and then you want to access your files on openwrt from jlime you can not mount that nand right now08:25
viricrafa: maybe jlime boots fine from nand because it sets its own partitioning (different from openwrt)08:25
rafaviric: jlime has all the files and docs to install it on nand or sd.. you could try ;)08:25
viricrafa: ok :)08:26
rafaviric: yes, sure.. but jlime does not use the openwrt files if that is that you meant.. when you install jlime on nand you write a new rootfs on nand..08:26
rafathe jlime rootfs.08:26
rafaand yes, jlime kernel knows its own layout08:27
viricexactly.08:27
rafaviric: but jlime kernel is qi kernel.. just that it was built a time ago08:27
viricand it does not coincide with that of openwrt08:27
viricwell, then you already have the problem :)08:27
rafaviric: and we are not going to change the nand layout if there is not a good explanation why it would be the best..08:27
rafaviric: me?.. why.. now you find jlime only.. but what if there are 5 distributions around?.. all of them should change those layouts when sombedy changes it ? :=08:28
rafa:)08:28
rafathat does not sound as a good idea08:28
viricwhy not go setting uboot to determine the nand layout?08:29
viricthen all kernels would coincide08:29
viricoth, it would be difficult to override without overwriting uboot instead of only the kernel08:29
rafaviric: mmmh?.. into uboot we woult have different layouts for different linuxs?08:29
viricrafa: no, same layouts for all linuces08:30
viricrafa: but if we can find how to reset the mtd layout at runtime instead of boot time, you can run a script to set that to whatever you want08:30
rafaviric: we had the same layout for all linuces.. but now qi - openwrt changed its own.. and now we have different layouts. And what about if you do not like the idea 256MB for rootfs and rest for data?08:31
viricrafa: you build your own uboot with whatever you want08:31
rafaviric: no.. that is not a good idea08:31
viricin NAND, there is no 'partition table', so...08:31
rafaviric: I mean.. we are trying to be compatible with qi openwrt (we=jlime).. no comes here with those ideas.. like "you can built a new..."08:32
rafaviric: just try to be okey with all I would say08:32
viricjlime can't be easily compatible if openwrt does not want to ;)08:33
rafaviric:  that is not the idea what we want to have.. we have been talking about dual boot between qi and jlime08:33
rafaviric: but well, now we have another piece what either qi needs to change or jlime needs to change08:34
rafaviric: that is my concern08:34
rafaviric: I mean.. I do not care.. I am talking because I would like to help with that possibility (users using both: jlime and openwrt), just for fun for all.08:35
rafaviric: I just would like to know if somebody was thinking about how to work that change with others before to do that.08:36
viricok, clear08:38
xiangfuwhich commit you use for compile the last kernel?08:40
rafaxiangfu: current jlime released versions use 2.6.34 kernel, I can tell you if you need to know the commit. Current jlime under development uses latest 2.6.36 kernel and qi patches.08:42
bartbesso is libogg/vorbis/vorbisfile slow on the nn?08:43
bartbesbecause alsa keeps telling me I have buffer underruns (which i can hear, obviously)08:44
xiangfurafa: ok,  hmm.. let me search about the command "ubiattach",  I need to know how "ubiattach" get the partition. or if we can set the partition to "ubiattach"08:44
rafaxiangfu: ah.. sounds as good idea if that works08:44
wejpbartbes, you should not use libvorbis on the nanonote. you will never get an acceptable speed with that10:13
wpwraki was wondering how long it would take until someone would complain about the rootfs size change :-)10:23
B_LizzardIs anyone interested in testing a preview of the newer Muffinman image?11:15
B_LizzardA collaboration between rafa and mua11:15
B_LizzardIn any case, here's the URL11:16
B_Lizzardhttp://jlime.com/downloads/releases/muffinman/userlands/jlime-muffinman-preview.tar.bz211:16
kristianpaulchangelog?11:16
kristianpaulno patent?11:16
B_LizzardUm, it's somewhat different from rafa's betas11:16
kristianpaulwait11:17
B_LizzardThis contains mpg123 and whatnot11:17
kristianpauli wondered because this is qi channel11:17
kristianpauldowloading now11:17
B_LizzardIt's just a preview.11:18
wpwrakkristianpaul: watch out for the black helicopters !11:20
bartbeswejp: any sound decoding libs you *can* recommend?11:25
wejpbartbes, yes Tremor is very well suited for the nanonote11:26
wejpyou should avoid any libs that use floating point math11:26
bartbestremor, okay thanks!11:27
wejp:)11:27
bartbesinterestingly enough the other dev mentioned tremor at about the same time11:27
bartbes;)11:27
wejp:D11:27
qi-bot[commit] kristianpaul: ADC non serious stuff suposed to help on GPS signaling debugging http://qi-hw.com/p/ben-gps-sdr/5a7bacf11:29
qi-bot[commit] kristianpaul: Simple gate just for testing cpld http://qi-hw.com/p/ben-gps-sdr/3ef4cef11:32
bartbeswejp: is there a owrt package?11:35
bartbesdoesn't look like it11:37
kyakbartbes: it's name is libvorbisidec11:37
bartbesah11:37
wejpyeah, it is sometimes also called libvorbisidec11:38
Action: bartbes does a recompile11:39
kyakbartbes: what are you trying to do, btw? ):11:39
bartbesadding sound to nlove11:39
kyakah, good11:39
kyaki thought so11:39
bartbesI just got playback working yesterday11:39
bartbesand decoding was just too slow on the nn11:40
kyakhow many nlove games are there , usable on Ben?11:41
bartbeswell, since it has been pretty much under the radar, not too much11:42
bartbesI love source compatibility ;)11:42
kyakwhere they can be downloded from?11:44
bartbesI don't think there's a single location with them11:48
bartbesI have a snake clone by urandom__ and a small pong up on dropbox though11:48
kristianpaulB_Lizzard: awesomne !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11:48
kristianpauldamn aswesome11:48
kristianpaulit boots in 5 seconds??11:48
kristianpauli could count it11:48
kristianpaulOMG it have a Wizard for langauge !!11:48
kristianpaulall you jlime guys are damn good !11:48
bartbesit didn't link properly.. :(11:48
bartbesrecompile..11:48
B_LizzardHopefully kristoffer will do a nice silent u-boot with a splash screen so the whole boot process will be easy on the eyes11:48
bartbeswejp: thanks, it worked ;)11:55
wejpnice :)11:56
B_LizzardI'd love to hear some feedback from the rest of you11:56
B_Lizzard:/11:56
kristianpaulB_Lizzard: me?11:56
B_LizzardHow many Nanonotes are there?11:56
kristianpaulshould i feedback here or in #jlime?11:56
B_LizzardDunno11:57
B_Lizzard:)11:57
kyakB_Lizzard: it's a shame there is no Moscow in cities list :(11:57
kyaki gues it is for time zone11:57
B_LizzardYes11:57
kristianpaulWwaaahhaaa !11:57
kristianpaulit suspends11:57
kristianpaulor is just display poweroff?11:58
B_LizzardIt suspends11:58
kristianpaulit back really fast !11:58
kristianpaulcool !11:58
B_Lizzardkyak, no Russia?11:58
B_Lizzard:/11:58
B_LizzardWhere the hell is Russia?11:59
kristianpauli'll never shutfown my nanonote again !11:59
kristianpaulwow11:59
B_Lizzardkristianpaul, I don't know how effective it is11:59
rafakristianpaul: ;)11:59
B_LizzardIt depends on the kernel11:59
kyakB_Lizzard: dunno, i selected Europe.. expected to see Moscow ther11:59
kristianpaulthis version will really awasemo11:59
kristianpaulit could said nanonote is 80% ready for end users11:59
B_LizzardYeah, the script basically shows everything under /usr/share/zoneinfo12:00
kristianpauljust missing internationalization btw !12:00
B_LizzardAnd then /usr/share/zoneinfo/<selected thing>12:00
rafakristianpaul: and that was made and built by Blizzard from OE12:00
B_LizzardI'll work on that12:00
kristianpaullast OE?12:00
kristianpaulgood !!!!!!12:00
B_Lizzardkyak, so maybe I forgot to install some tzdata package12:00
kyakhm, i can't start anything now...12:00
rafakristianpaul: well, work that we (blizzy and kriss) are trying to push12:00
kyaklaunched terminal, then it exited by itself..12:01
qi-bot[commit] Xiangfu Liu: [gcc-mips] fix compile error in 64bit system. http://qi-hw.com/p/openwrt-packages/30e2a2a12:01
qi-bot[commit] Xiangfu Liu: Revert "mark as broken since it does not compile" http://qi-hw.com/p/openwrt-packages/8dbf61c12:01
kyakxiangfu: great, thanks!!12:01
B_Lizzardkyak, you're right, Moscow should be in there12:01
xiangfukyak: :)  I just read the link you send to me.12:02
kristianpaulB_Lizzard: is this matchbox?12:02
kyakxiangfu: hope it helped12:02
B_LizzardYes12:02
xiangfukyak: there is one issue make me waster some time. the gcc-mips not apply the ./patches/*12:02
B_LizzardMatchbox-desktop12:02
B_LizzardWindow manager is echinus12:02
kyakB_Lizzard: icons look awesome. Are they GPL? :)12:02
B_LizzardNot GPL12:03
B_LizzardOh, yeah12:03
kristianpaulbut free?12:03
B_LizzardI thought it was CC12:03
xiangfukyak: I put the patch to ./patches/   just like other package. but the gcc-mips just apply toolchain/gcc/patches/4.3.3/*12:03
B_LizzardBut it's GPL, you're right12:03
B_Lizzardhttp://tiheum.deviantart.com/art/Faenza-Icons-17332322812:03
kyakxiangfu: heh yes, i think it takes patches from system dir12:03
kristianpaulB_Lizzard: Internal Server Error.12:04
xiangfukyak: I must manual apply the ./patches/*. :) (which is not good)  I will try to ask in openwrt mailing list.12:04
B_LizzardWhat, deviantart?12:04
Action: B_Lizzard shrugs12:04
kristianpaulB_Lizzard: really coold preview12:05
kristianpaulB_Lizzard: great job !12:05
B_LizzardLet's hope stuff works12:05
B_LizzardThanks kristianpaul12:05
kristianpaulso far i dint break it :P12:05
B_Lizzardkyak, is it working for you?12:05
B_Lizzard:/12:05
B_LizzardApart from the whole Moscow thing12:05
kyakB_Lizzard: something strange.. nothing can be laucnhed12:06
B_LizzardIf you press Alt+T?12:10
kyaki try to restart now, but the screen would blink and then re appear12:10
B_LizzardDoes a terminal come up?12:10
kyaknope12:10
B_LizzardOr press Shift + Power Button12:10
B_LizzardMethinks you have a bad install12:10
kyakgive me a sec12:10
kristianpaulB_Lizzard: there is flash vesion?12:10
kristianpaulNAND*12:10
kyakB_Lizzard: i install to SD card btw12:10
B_Lizzardkristianpaul, not for now, no.12:10
B_LizzardI reinstall my stuff a lot and I cannot flash every time12:10
kyakB_Lizzard: where i can read about key bindings? shift+power and alt+T seem confusing12:10
B_Lizzardkyak, I plan on adding a help thing12:10
B_LizzardMost are in /etc/echinus/echinusrc12:10
kristianpaulB_Lizzard: where is the source, what OE commin are you using?12:10
kristianpaulwhat the default ip?12:10
kristianpauland pass12:10
B_LizzardAll the stuff is on upstream OE12:10
kristianpaulcool12:10
xiangfuit needs 20 secs compile a hello world. : http://pastebin.ca/198459612:10
B_LizzardIf you download oe and do "bitbake muffinman-image" you'll get that.12:10
kristianpaulahh12:10
kristianpaulso easy !12:10
kyakxiangfu: it's pretty slow, yes.. but there won't be a much difference between "hello world" and some 500-lines program..12:11
kristianpaulhm..12:12
kristianpaulJlime is gettin really interesting12:12
kristianpaulOE**12:12
kyakxiangfu: btw, you can try to build "patch" utility (just for interest). a classic ./configure && make works there :)12:12
kristianpaulwith the contribution from jliem developer12:12
kristianpauls12:12
kyakxiangfu: i find it amazing to watch things getting build on Ben12:13
kristianpaullarsc: how linux manage wakeup after suspend to ram=12:13
kristianpaul?12:13
kyakB_Lizzard: after reboot, it works better :)12:14
qi-bot[commit] bartbes: Update nlove to new repo version, with working sound http://qi-hw.com/p/openwrt-packages/13054fb12:15
xiangfukyak: ok. will try it :)12:15
kyakB_Lizzard: when i choose "End Session", how do i make the dropdown list appear?12:15
bartbeswejp: and that thanks to you ;)12:15
B_Lizzardkyak, space12:15
xiangfukyak: my daily build on build host is start. so I will test the gcc-mips on build hosts tomorrow. then re-enable it in config.full_system :)12:15
xiangfus/start/started12:16
kyakB_Lizzard: k, thnkas!12:16
B_Lizzardlarsc, one more thing I forgot to mention, usb0 doesn't appear to exist in 2.6.36.12:16
kyakxiangfu: that's great.. and i think new jlime will inspire us for more.. i see a very interesting SDL puzzle game there12:17
B_LizzardThat's a port of stppc2x, which is originally for the GP2X12:17
B_LizzardI could've used the normal puzzle games in GTK2 but that's slow as molasses12:17
kristianpaullarsc: i sadly confirm no usb0 :'(12:18
larsckristianpaul: the cpu resumes when an interrupt occurs12:18
kristianpaullarsc: k12:18
kyakB_Lizzard: i assume the network is not working?12:19
kristianpaulis not kyak12:19
B_Lizzardkyak, yes.12:19
B_LizzardUm, no12:19
kristianpaulno :'(12:19
larscthe usb gadget driver for the jz4740 is not in upstream yet.12:19
kristianpaulahh12:19
larscso you need to use the one from the qi-hardware tree12:19
B_LizzardAh, thanks.12:19
B_LizzardI probably forgot that one.12:19
kristianpaulokay boots in 14 seconds12:20
kristianpaulincluding uboo12:20
kristianpault12:20
kristianpaullarsc: are you aware of power consuption in suspend mode?12:21
larsc8 ma or something on the nanonote12:21
larscmA12:21
kristianpaulhe12:22
kristianpaulthats a long time in my pocket12:22
B_LizzardIs everything suspended apart from the keyboard?12:22
B_LizzardI guess there's not much to suspend but ehm.12:22
kristianpaulyeah12:22
kristianpaulLCM12:22
kristianpaulcpu !!12:22
kristianpaulis not enought ??12:23
B_Lizzard:)12:23
kristianpaullarsc: interrupt source could also be one of the other gpio pins or just the keyboard ones?12:23
larscwell there are other jz4740 devices where it gets below 1 mA12:23
kristianpaulohh12:23
larsckristianpaul: k kristianpaul  ny interrupt can be used as a wakeup source12:24
larsckristianpaul: any interrupt can be used as a wakeup source12:24
kristianpaulok12:24
kristianpaullarsc: RTC is a interrups source?12:25
larscyou just have to tell the kernel that you want to use it as one12:25
larsckristianpaul: yes12:25
kristianpaulonw i'm wondering if it could work as alarm clock !!12:25
rafaxiangfu: how long it takes for openwrt to boot?12:25
kyakB_Lizzard: what about other apps that used to be in jlime? like prboom, mydict, organizer or what else.. or they are just not there is test image?12:25
rafaxiangfu: until GUI is ready to use for users12:26
B_Lizzardkyak, this image and rafa's images are different12:26
B_LizzardI plan on implementing stuff but I want the base system to mature12:26
B_LizzardUgh12:26
larsckristianpaul: it can. Ayla wrote a patch for it.12:26
kristianpaulif uboot is eliminated from this history boot time could achive around 10 seconds i guess12:26
B_LizzardIn any case, most applications aren't there because this is a preview12:26
kristianpaulbut are there12:27
kristianpaulhow is that?12:27
kristianpaulahh you meant common apps?12:27
B_LizzardYeap12:27
xiangfurafa: it's need ~20 secs until the gmenu2x show up. ~3 secs the OpenWrt slash screen show up.12:27
larsckristianpaul: http://patchwork.ozlabs.org/patch/67993/12:28
kristianpaullarsc: so jsut missing the app12:29
larsckristianpaul: http://metafoo.de/lepus/boot.ogg12:29
B_Lizzardlarsc, is the usb-gadget driver on projects.qi-hardware?12:30
B_LizzardOr on dev.openwrt?12:30
kristianpaullarsc: that vieo was filmed with cheese btw?12:30
kristianpaul2 seconds?12:31
kristianpaulis really fast12:31
kristianpaulis that kerne boot isnt'12:31
kristianpaul?12:31
xiangfularsc: we should add this patch to openwrt-xburst.git  :)12:33
larscB_Lizzard: commit e57568310e71470ad509148d1a985132bab3b4f912:33
B_LizzardThank you larsc12:33
kristianpaulindeed, big Thanks12:33
larsckristianpaul: well 4 seconds until gmenu2x is runnig12:34
kristianpaulof course12:34
larscthe kernel needs 0.5 seconds12:34
kristianpaul:p12:34
qi-bot[commit] Juan64Bits: Some routing and revision. http://qi-hw.com/p/xue/8c6ea4312:38
B_Lizzardlarsc, you said that the udc driver isn't up to snuff yet?12:40
xiangfularsc: are you load the zImage. ? is the command line is hardcode to kernel? just want know. see if Nanonote can that fast :)12:42
larscB_Lizzard: yes. i did some cleanup on it yesterday though. maybe we'll see it in 2.6.3612:42
larscxiangfu: yes i'm loading the zImage the cmdline is hardcoded in the nand_spl12:42
B_LizzardAh, great12:43
B_LizzardThanks12:43
kristianpaulB_Lizzard: is no handy in the iamger viewver have to re opne it again after close and imagge12:47
B_LizzardSo many typos in that one12:47
B_LizzardI did not understand a word12:47
kristianpaulB_Lizzard: is no handy in the image viewver have to reopen/launch  it again after close and imagge12:48
B_LizzardYou mean the fileselector?12:48
B_LizzardYeah, I need to work on that.12:48
kristianpauli lanuched a video12:48
kristianpauli got sound12:48
kristianpaulyt no video..12:49
kristianpaulbut*12:49
kristianpauland still viewving the Media menu12:49
B_LizzardYeah, I'd need to find a nice frontend for mplayer too12:49
B_LizzardOpen a terminal and kill mplayer12:49
B_LizzardThen run mplayer from the terminal12:49
B_LizzardSee why the video ain't playing12:49
kristianpaullol12:50
kristianpaulVideo: no video12:50
kristianpaulmupsd kindslow with a 2.3 MB pdf12:52
kristianpaulmupdf*12:52
kristianpaulabout linux kernel development12:52
kristianpaulhown it do forward?12:53
kristianpaulgreat touch the bettery is updated when charging !12:53
kristianpaulbaterry*12:53
B_LizzardToo bad POSE doesn't run13:02
B_LizzardI'd love to have some PalmOS action on the nanonote13:02
kristianpaulhttp://www.flickr.com/photos/polachok/4935493017/13:03
mirkolarsc: ping13:05
wpwrakgrmbl. PxFLGC == PxDATS ? i don't think so ... now, where do you send bug reports for documents you nominally don't have access to ? :)13:44
larscwpwrak: actually it is14:13
wpwraklarsc: *hmm* looks like a very odd choice then. can't this cause conflicts ?14:24
wpwrakoh, it gets better :-) "They are read-only registers" ... "when write 1 to the bit, [...]"14:25
kristianpaulhw bug?14:32
wpwrakkristianpaul: the address equality or the "read-only" vs. "write" ?14:32
kristianpaulthe "[...]"14:34
kristianpauli could imagine lots of thing after you tried write it14:34
wpwrakkristianpaul: oh, i just omitted it. the contradiction is in calling it first read-only (which it isn't) but then explaining what happens when you write it.14:38
wpwrakkristianpaul: this is simply a documentation bug.14:38
kristianpaulah ok :)14:38
kristianpaul"be prapared to documentation lie to your face"14:39
kristianpaulwee my new soerkis based server booted :)14:41
wpwrak(lying documentation) yeah :)14:41
wpwrakwhat's odd on the hardware side is that the (interrupt) flag clear register would occupy the same location at the data set register.14:45
wpwraklarsc: (conflicts) hmm, apparently not. i see that a pin can't be GPIO and interrupt at the same time. also a bit of an odd choice.14:46
larscwell, it does not makes sense to have a gpio in output and interupt mode at the same time14:48
larscon the other hand you can still read the input values when the gpio is in interrupt mode14:49
wpwrakbut why would there have to be a distinction between gpio and interrupt mode in the first place ? sure, it would be useless in most cases, but there's probably a signal path to the interrupt logic anyway, so why introduce a mode ? if you don't care about the pin, you could just mask it.14:50
larscwell there might be reasons why its done the way its done. but as long we dont know what the acutal hw implementation looks like, we can only speculate about it14:54
wpwrakyeah, this is true. pity, would be nice to have a little more orthogonality.14:57
qmasterrris the package mathomatic gone?16:32
mirko$ find external/qipackages.git/ -name "mathomatic"external/qipackages.git/mathomatic16:44
qmasterrrdo i need to add a feed?16:48
qmasterrri think i found it, thx :)16:49
rafaWe need a qi / reseller server to do a jlime repo mirror without packages with patented technologies. Is tuxbrain or qi interested?17:41
kristianpaulrafa: *i think* that fidelio dot qi.com can host that but who is qi??17:45
kristianpaulrafa: ask to the list17:45
wpwrakkristianpaul: are you sure qi.com has anything to do with qi-hardware ?18:01
wpwrakkristianpaul: there is also no host called fidelio.qi.con18:01
wpwrakerr, .coM18:01
kristianpaulwpwrak: not sure..18:04
kristianpaulwell with qi.com i meant qi-hardware.com :p18:04
kristianpauls/qi.com/qi-hw.com18:05
wpwrakthere is also no host fidelio.qi-hw.com :-)18:06
kristianpaulahh18:06
kristianpaulwell you18:06
kristianpauls/qi-hw.co/qi-hardware.com18:06
kristianpaulknow18:07
wpwrakanyway, qi-hardware.com sounds like the right place. i guess wolfgang would handle decisions regarding such a mirror himself18:07
kristianpaulindeed18:07
rafawpwrak: yes.. but where is that lazy guy? (wolf).. argh.. well, you have better work timezone than me to find wolfgang.. We need to ask him then18:14
rafaabout lazy: of course, I am kidding :)18:18
wpwrakrafa: maybe a question for the openwrt gurus :-)21:39
rafawpwrak: yeah :)21:40
wpwrakrafa: everybody here seems asleep. lazy bastards :)21:43
wpwrakrafa: does SDL take care of the ben's unusual pixel format ? or does the application have to compensate for it ?21:45
Action: FrankBlues waves21:45
rafawpwrak: about ipk. ipkg home page says about ipkg format: "In keeping with the "Just like Debian" philosphy laid out above, I first made the .ipk format equivalent to .deb, (but renamed to avoid frustration and confusion). However, I recently changed it to be a tar.gz file rather than an ar archive so that ar would not have to be installed to use ipkg. (But with 0.99 we changed it back because gzipping compressed data is a waste of CPU and battery)."21:46
rafa"(But with 0.99 we changed it back because gzipping compressed data is a waste of CPU and  battery)."21:46
Action: wpwrak waves back :)21:46
rafathen.. a few lines after it says: "So, a .ipk file is an archive (either tar or gzipped tar) containing 3 members: "21:46
rafanice.. who knows exactly..21:46
wpwrakrafa: so that's ... 4 format changes and maybe one name change. in what time interval ? :-)21:47
FrankBluesrafa: Just installed the Muffinman beta 4 - nice!21:47
rafaNO idea :).. OpenEmbedded does ipk, opk, or deb I would say.. but all of them are ar archives21:48
rafawpwrak: (that was for you)21:48
rafaFrankBlues: he.. great! :)21:48
rafaFrankBlues: if you like it to use every day please read the Muffinman documentation wiki page.. it is just one page :) ..and it has a lot of useful information and lot of tips21:49
wpwrakrafa: perhaps the best approach is to just  for n in /bin/* /usr/bin/*; do for m in "" x -x xf xfz xfj; do $n $m $package && return; done21:51
wpwrakrafa: i.e., see if *anything* can handle the file ;-)21:51
rafawpwrak: SDL: sorry, what do you mean with unusual pixel format?21:52
wpwrakrafa: the ben's display has the RGB sub-pixel is a different location than "normal" lcd displays for computers. that was for instance a problem for text fonts. perhaps you remember this.21:55
wpwrakrafa: hmm, is there a basic and common library with the usual 2D graphics primitives for SDL ? e.g., drawing a line, a filled rectangle (or polygon), etc.21:59
rafayes I remember, but I would say that SDL does not do anything about. At least the libSDL that OE has it the standar one. If that problem is a known problems in many machines and sdl can controls that I would be impressed :).. Well, I have not seen this problem before and how to fix that21:59
wpwrak(pixel problem) hmm, so you say it doesn't happen in a noticeable way ? or that it happens in a noticeable way, but nobody cares to fix it ?22:01
rafawpwrak: I would say that it happens but nobody cares.. But I am not sure.. every sdl game I tested looked nice :)22:03
wpwrak(pixel problem) okay. i'll see how this goes then :)22:05
rafawpwrak: SDL.. maybe libsdl-sge is good for primitives.. but it is not on jlime repo I see :( .. with standar sdl you just can do rectangles.. or a pixel.. also you can load graphics.. so you can load triangles as surfaces or other kind of primitives.. and to put them.. But well, if you want to use different sizes or geometry you need another lib like libsdl-sge22:06
wpwrakany suggestion for a drawing lib ? i see that there are a bunch of them, but which would be the "most standard" ?22:06
wpwrakah, messages crossed :)22:06
rafa:)22:06
rafaanyway, libsdl-sge should not be hard to port22:07
rafawpwrak: ah.. sdl-gfx is on repo22:07
rafathat is useful as well !22:07
rafawpwrak: the headers are under SDL/ (/usr/include/SDL/SDL_gfx*).. And a ultrafast tutorial: http://www.aaroncox.net/tutorials/2dtutorials/sdlshapes.html22:10
rafawpwrak: that would be the best way to do graphics on Ben.. SDL using x11 or fb is fast.22:11
rafabah.. wolfgang is not logged in yet.. I go to sleep.. cya22:12
wpwrak(sdl_gfx) looks nice. and it has the functions i'm looking for. thanks !22:13
wpwrakand of course, the openwrt host toolchain doesn't have sdl :-(22:15
rafawpwrak: he.. murphy.. but well, sdl is the exact thing in pc version so you just init sdl as a 320x240 window on your pc and try there.. then the port is ultra easy and you do not need to touch anything in the code to build for ben22:17
rafaexact=exact same22:17
wpwrakrafa: (easy port) yup, that's what i'm hoping for :)22:19
--- Mon Nov 8 201000:00

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!