wpwrak | roh: they also say something about writing to the USB gadget "if it permits this", but it's not quite clear to me what this means | 00:00 |
---|---|---|
qi-bot | [commit] Xiangfu Liu: add new packages from qipackage http://qi-hw.com/p/openwrt-xburst/f0e56a3 | 01:33 |
SiENcE | hey | 04:14 |
SiENcE | got my nanonote today and i want to flash the latest dist. where can i get it? | 04:15 |
SiENcE | is there any other than openwrt? debian? | 04:15 |
wpwrak | jlime | 04:30 |
wpwrak | to flash openwrt: http://en.qi-hardware.com/wiki/Updating_Ben_with_usbboot | 04:33 |
wpwrak | images: http://downloads.qi-hardware.com/software/images/Ben_NanoNote_2GB_NAND/latest/ | 04:33 |
wpwrak | tools: http://projects.qi-hardware.com/index.php/p/xburst-tools/downloads/ | 04:34 |
wpwrak | that's all :) | 04:34 |
qi-bot | [commit] Werner Almesberger: Use two faces and show how they overlap (in progress) http://qi-hw.com/p/ben-scans/525e155 | 05:39 |
qi-bot | [commit] Werner Almesberger: The top face can now be shifted. http://qi-hw.com/p/ben-scans/d49f349 | 05:39 |
qi-bot | [commit] Werner Almesberger: When leveling, the center circle is now shown when the pointer approaches it. http://qi-hw.com/p/ben-scans/edb12b6 | 05:39 |
qi-bot | [commit] Werner Almesberger: Overlapping now has an OSD, too. http://qi-hw.com/p/ben-scans/85855ec | 05:39 |
qi-bot | [commit] Werner Almesberger: Various coordinate transform corrections in overlap.c http://qi-hw.com/p/ben-scans/f3e7c1e | 05:39 |
qi-bot | [commit] Werner Almesberger: Infrastructure for generating POV-Ray output (not useful yet) http://qi-hw.com/p/ben-scans/37e840f | 05:39 |
tuxbrain_away | wpwrak: I'm interpreting right the commits if I suppose you are in the way of generate the full 3d mesh of NN? | 05:41 |
wpwrak | tuxbrain_away: well, of the parts. since there doesn't seem to be anything that's useful for doing it, i'm hacking my own part combiner. | 05:42 |
wpwrak | tuxbrain_away: it's easy to try. just check it out, make, then mkdir .cache; make run | 05:43 |
wpwrak | tuxbrain_away: you'll get the top face and on the side three buttons. you can orient the top face with the scroll wheel. the goal is to have as much blue as possible. | 05:44 |
Action: tuxbrain wants to be like you when I grow up | 05:45 | |
wpwrak | tuxbrain_away: then click on B and do the same with the bottom face. finally, click on A+B and make them overlap by shifting (scroll wheel inside the circle) or rotating (scroll wheel outside the circle) | 05:45 |
wpwrak | tuxbrain: then press Q to exit. after that, make pov to render the scene in POV-Ray. lots of things don't quite work the way they should. e.g., the coordinate transforms in A+B aren't completely correct (the Z correction is missing) and the way user input gets applied is a bit counter-intuitive. | 05:47 |
wpwrak | tuxbrain: the pov-ray stuff is worse. right now, i just dump the data without actually aligning, scaling, etc., anything. so the result just tells me that i got the height field right, but the rest is a big no-op | 05:48 |
tuxbrain | cloning git | 05:48 |
wpwrak | tuxbrain: the trick is to never grow up ;-) | 05:48 |
wpwrak | hmm, if there's a way to clone only a subset of a git, that may be useful. else, you'll also clone all the 3D scans. they're biggish. | 05:49 |
tuxbrain | about 250Mb of data... wow all is 3d info? | 05:49 |
wpwrak | yup | 05:50 |
wpwrak | lots of data and a tiny bit of code :) | 05:50 |
tuxbrain | in which dir is the makefile? | 05:50 |
wpwrak | in solidify/ | 05:51 |
tuxbrain | making | 05:51 |
wpwrak | you have a very quick connection :) | 05:52 |
tuxbrain | heheehh | 05:52 |
tuxbrain | just downloaded at 1'6Mb :P | 05:53 |
tuxbrain | hey I have an colorized thing in the screen cool!!! | 05:53 |
wpwrak | when you move the mouse around, you'll see a yellow circle | 05:54 |
tuxbrain | yes | 05:54 |
wpwrak | mouse wheel inside the circle raises or lowers the z0 plane. where the plane intersects with the scan, you have blue color. anything below z0 is red. anything above green. | 05:54 |
wpwrak | the steps at z0+1 and z0-1 are darker green and darker red, to make it easier to see where the plane goes. | 05:55 |
wpwrak | mouse wheel outside the circle tilts the z0 plane. | 05:56 |
wpwrak | the goal is to have as much blue as possible | 05:56 |
wpwrak | "A" is difficult, because the piece seems to be a bit uneven. "B" is easier. | 05:57 |
wpwrak | then, at A+B, you can rotate (mouse wheel outside the circle) and shift (mouse wheel inside the circle, in one of the four quadrants shown) | 05:58 |
tuxbrain | man this is impresive | 05:59 |
wpwrak | i'll have to add some more visual aids in A and B. it's too easy to get lost there. | 06:00 |
tuxbrain | I barelly understand a fuck, but is like having a magnetic resonance on NN | 06:00 |
wpwrak | yeah, looks like x-ray images ;-) | 06:00 |
tuxbrain | oh it doesn't scale full screen :P | 06:01 |
wpwrak | naw, it uses the size of the scan :) each pixel is a scan point | 06:02 |
tuxbrain | now I can read wpwrak thoughts from here... (damn lusers...) | 06:02 |
wpwrak | ;-)) | 06:02 |
tuxbrain | wpwrak: make sense :) | 06:02 |
kristianpaul | SiENcE: jlime is great i use it too :) | 06:47 |
qwebirc70375 | i am trying to compile a simple hello world C code | 06:47 |
qwebirc70375 | plz help me with Makefile for it | 06:48 |
SiENcE | ok. i'm going to test jlime. where to get the latest one? | 06:48 |
kristianpaul | qwebirc70375: http://developer.ubicom.com/wiki/index.php/Add_a_new_application_to_openWRT | 06:49 |
kristianpaul | SiENcE: http://www.jlime.com/wiki/documentation/user/nanonote/installation | 06:49 |
kristianpaul | SiENcE: http://www.jlime.com/wiki/downloads | 06:50 |
qwebirc70375 | kristianpaul : if we go with this procedure then we will have to flush the kernel again and agin if some minor change is there in the application | 06:52 |
qwebirc70375 | cant we compile it seperately and port the bin file via storage card and then execute it | 06:52 |
kristianpaul | qwebirc70375: hmm not flush the kernel i think, you can just build the ipk look here http://en.qi-hardware.com/wiki/Building_Software_Image#A_short_guide | 06:54 |
SiENcE | kristianpaul, thanks | 06:55 |
kristianpaul | wpwrak: even when you ran the make all you got packages in the bin folder i think, so no need to reflash thre whole thing either | 06:55 |
kristianpaul | wpwrak: sorry | 06:55 |
kristianpaul | qwebirc70375: ^ | 06:55 |
qwebirc70375 | yes | 06:56 |
kristianpaul | is kay for you that way? | 06:56 |
kristianpaul | kay/okay | 06:56 |
kristianpaul | qwebirc70375: http://nbd.name/openwrt.html#x1-460002.1.2 | 06:57 |
kristianpaul | more info | 06:57 |
qwebirc70375 | have you tried this at ur end | 06:57 |
kristianpaul | nope :p | 07:00 |
kristianpaul | i dint get in to openwrt packing | 07:00 |
kristianpaul | i used jlime last time i wanted compile a simple app | 07:00 |
qwebirc70375 | i have tried the Makefile lying on Nanonote official site but getting error : cannot find -lSDL | 07:02 |
qwebirc70375 | what does it mean | 07:02 |
kristianpaul | that cannot find -lSDL/lib SDL ? | 07:02 |
kristianpaul | wpwrak: ah yes id just listing ID (i dint check the las table) i tought it was related with usb host or client stack.. | 07:03 |
kristianpaul | s/id/it | 07:04 |
wpwrak | kristianpaul: from the sound of it, it acts as a host, no ? then it need a fair bit of the stack to be able to get at the IDs. | 07:05 |
wpwrak | kristianpaul: from the description, it isn't quite clear to me if they've realized yet just how much work it is :) | 07:06 |
kristianpaul | wpwrak: yes host it is, but as you said not quite clear indeed :) | 07:07 |
kristianpaul | lot work indeed | 07:08 |
qwebirc91287 | I am able to execute hello world C program on nanonote successfully | 07:17 |
qwebirc91287 | from where I can have usbbot command | 07:46 |
qwebirc91287 | I want to reflash the kernel | 07:46 |
xiangfu | qwebirc91287: http://en.qi-hardware.com/wiki/Xburst-tools#usbboot | 08:13 |
qwebirc91287 | i am getting error while reflashing kernel : cant read bulk data from Ingenic device | 08:16 |
xiangfu | qwebirc91287: make sure there is no USB-HUB. and use the usb-cable that send with NanoNOte. | 08:24 |
SiENcE | xiangfu, why the usb cable send with nanonote? | 08:39 |
wpwrak | that seems to be another myth that ought to die. i don't think the nanonote cable is *that* superior to the average usb cable bought within the last years. | 08:57 |
xiangfu | I should say use better usb cable :) | 09:00 |
wpwrak | xiangfu: or "don't use the usb cable grandma knitted herself" ;-) | 09:01 |
qi-bot | [commit] Xiangfu Liu: change the INITRAMFS to LZMA compression http://qi-hw.com/p/openwrt-xburst/49182fa | 09:07 |
xiangfu | wpwrak: :) | 09:08 |
kyak | hm | 10:58 |
kyak | bad news is that even "Hello World" of ncursesw is giving bad output | 10:59 |
kyak | therefore, some problem with ncursesw | 10:59 |
kyak | "Bad output" means it output crap instead of utf-8 | 10:59 |
qi-bot | [commit] Carlos Camargo: Adding sram_gpio_QT example http://qi-hw.com/p/nn-usb-fpga/83f727f | 11:29 |
qi-bot | [commit] Carlos Camargo: Adding qmake.conf sample file http://qi-hw.com/p/nn-usb-fpga/5459532 | 11:57 |
larsc | Ayla: have you managed to get rtc wakeup working? | 14:16 |
Ayla | nope | 14:18 |
Ayla | I'll work on that tonight | 14:19 |
Ayla | it seems that the interrupt is never called, so I guess it is masked somewhere | 14:19 |
larsc | hm, ok. | 14:23 |
larsc | you should check /proc/interrupts to be sure that it really has not fired | 14:24 |
Ayla | 23: 0 INTC jz4740-rtc | 14:27 |
Ayla | no interrupt at all | 14:27 |
kristianpaul | xbust have a sleep instruction or it go to low power mode? | 14:29 |
larsc | sleep | 14:38 |
larsc | kristianpaul: well it has both. there are two different sleep modes | 14:43 |
larsc | so you can change the semantics of the sleep intstruction by writing to a mmio register | 14:43 |
larsc | one is the normal sleep behaviour known from mips. the cpu will stop executing instructions until the next interrupt | 14:44 |
larsc | the other is going to low power state until the next interrupt happens | 14:44 |
larsc | the first one is used when the cpu is idle, the second one is used when we send the system to suspend | 14:48 |
Ayla | larsc: the driver currently does not implement irq_set_state | 15:16 |
Ayla | is that a problem? | 15:16 |
Ayla | (ah no, it seems it's only for the periodic alarm) | 15:18 |
kristianpaul | larsc: so interrupt can be trigger by a counter or a internal clock? | 15:40 |
kristianpaul | just thinking how setup an alarm clock | 15:41 |
wpwrak | kristianpaul: counters often aren't powered in deep sleep states (not sure without looking how it is on xburst, though) | 15:47 |
larsc | well at least the rtc clock is of course running | 15:48 |
kristianpaul | hmm | 15:48 |
kristianpaul | ok | 15:48 |
kristianpaul | so how the nanonote will wakeup? | 15:49 |
larsc | and i think you can also keep the other SoC timers running | 15:49 |
kristianpaul | keyboard pressing i guess | 15:49 |
kristianpaul | but. | 15:49 |
kristianpaul | an alarm clock is so nice :) | 15:49 |
Ayla | larsc: hmm | 15:49 |
Ayla | jz4740_rtc_ctrl_set_bits: mask=0x4, set=1. | 15:50 |
Ayla | are you sure that this function actually works? :) | 15:50 |
larsc | no | 15:50 |
Ayla | is it possible that the interrupt is activated on the RTC subsystem, but not on the AIC? | 15:54 |
larsc | don't think so | 15:58 |
Ayla | that's funny, if I type "jz4740 RTC" on google I get your name everywhere :) | 16:05 |
Ayla | larsc: could you give me a hint? | 16:25 |
larsc | Ayla: do you have the jz4740 ds? | 16:26 |
Ayla | JZ_RTC_CTRL_AE bit is enabled in rtc_set_alarm, | 16:26 |
Ayla | I have a PDF document, but not really useful | 16:26 |
Ayla | JZ_RTC_CTRL_AF_IRQ is enabled in rtc_alarm_irq_enable, | 16:27 |
Ayla | but JZ_RTC_CTRL_AF is not enabled at all | 16:27 |
Ayla | even if it is disabled in the IRQ handler | 16:28 |
Ayla | or maybe I just can't see it... x_x | 16:28 |
larsc | AF is set by the hardware | 16:31 |
Ayla | ok | 16:34 |
Ayla | larsc: no it's not | 16:38 |
larsc | Ayla: but it should be | 16:39 |
Ayla | bits 3,4,5 are not set on the first call of rtc_ctrl_set_bits | 16:39 |
Ayla | (before applying flags) | 16:39 |
Ayla | but maybe they're cleared before that | 16:39 |
Ayla | but even if JZ_RTC_CTRL_AF is set by the hardware, | 16:43 |
Ayla | the bit is cleared on the interrupt | 16:43 |
Ayla | so there can be only one interrupt | 16:43 |
larsc | yes. there should only be one interrupt | 16:48 |
larsc | otherwise the handler will be called in a constant loop | 16:49 |
Ayla | shouldn't that flag be set on rtc_alarm_irq_enable ? | 16:49 |
Ayla | when I say there can be only one interrupt, I mean that it's not possible to reprogram the alarm for a new interrupt | 16:49 |
larsc | why not? | 16:52 |
Ayla | because the interrupt handler desactivates the AF bit | 16:53 |
larsc | the AF flag indicates whether a interrupt is pending | 16:53 |
Ayla | yes, I just read that.... | 16:54 |
Ayla | larsc: another idea, | 17:27 |
Ayla | you do not call wait_write_ready on rtc_reg_read | 17:28 |
Ayla | but on the doc it's written "The read | 17:28 |
Ayla | value from the target register is also undefined. | 17:28 |
Ayla | " | 17:28 |
Ayla | (when the bit is 0) | 17:28 |
qi-bot | [commit] Werner Almesberger: Instead of performing the tranformations stepwise for each point, pre-calculate http://qi-hw.com/p/ben-scans/898970b | 17:29 |
qi-bot | [commit] Werner Almesberger: More corrections to handling of the "user" matrix. Made controls more intuitive. http://qi-hw.com/p/ben-scans/7c24783 | 17:29 |
qi-bot | [commit] Werner Almesberger: solidify/main.pov: don't use weird "x is up" perspective http://qi-hw.com/p/ben-scans/0186959 | 17:29 |
qi-bot | [commit] Werner Almesberger: Increase dynamic range of rotation and follow "far from center = faster" http://qi-hw.com/p/ben-scans/2764155 | 17:29 |
qi-bot | [commit] Werner Almesberger: Some simple optimizations increase drawing speed in overlap by 33%. http://qi-hw.com/p/ben-scans/d4a5575 | 17:29 |
qi-bot | [commit] Werner Almesberger: Bottom face was flipped in overlap. http://qi-hw.com/p/ben-scans/9c614db | 17:29 |
qi-bot | [commit] Werner Almesberger: Like rotations, shifts can now be accelerated by changing the mouse position. http://qi-hw.com/p/ben-scans/a7105ad | 17:29 |
Ayla | when I write to the /sys/class/rtc/rtc0/wakealarm file, it does not seem to set the IRQ flag | 17:31 |
Ayla | the alarm_irq_enable function is never called... | 17:38 |
Ayla | oh! | 17:39 |
Ayla | rtc-dev.c: "RTC_WKALM_SET eliminates the need for a separate RTC_AIE_ON call" | 17:40 |
Ayla | which enable the alarm interrupt | 17:40 |
Ayla | which means that RTC_WKALM_SET should actually set the interrupt | 17:41 |
Ayla | what it does, is call the rtc_set_alarm() function | 17:41 |
Ayla | unfortunately, | 17:41 |
Ayla | jz4740's version of that function only modify the RTC_SEC_ALARM and the RTC_CTRL_AE flags | 17:42 |
Ayla | it does not set the RTC_CTRL_AF_IRQ flag | 17:42 |
larsc | ok. | 17:51 |
larsc | will you fix it? | 17:51 |
Ayla | yes | 17:52 |
larsc | good :) | 17:52 |
Ayla | I just hope that's the reason why it does not work :) | 17:52 |
wpwrak | Ayla: if not, you get to enjoy the adventure a bit longer. a win-win situation ;-) | 17:56 |
Ayla | 23: 21 INTC jz4740-rtc | 17:56 |
Ayla | whohooo | 17:56 |
Ayla | I get interrupts :p | 17:56 |
qi-bot | [commit] kyak: mupdf: added libjpeg dependency as noted by Xiangu http://qi-hw.com/p/openwrt-packages/0e186f0 | 17:56 |
Ayla | one every second | 17:56 |
Ayla | ah, yeah | 17:58 |
Ayla | I took the wrong interrupt xD | 17:58 |
Ayla | took the 1Hz one | 17:59 |
qi-bot | [commit] kyak: stupid workaround to make links compile http://qi-hw.com/p/openwrt-packages/7e5961a | 17:59 |
Ayla | okay, I get alarm interrupts... | 18:09 |
Ayla | but that does not wake the dingoo | 18:10 |
mth | it is posisble to suspend and resume individual drivers instead of the entire system? | 18:14 |
wpwrak | Ph'nglui mglw'nafh dingoo Ayla wgah'nagl fhtagn, in Ayla's house, dead dingoo waits dreaming | 18:14 |
tuxbrain | wpwrak: LOL | 18:15 |
Ayla | here's a patch: http://pastebin.com/UhBLc2LB | 18:16 |
mth | assuming you have no serial connection, there is not really much of a difference between "not waking up" and "crashes on wakeup" | 18:16 |
Ayla | does it crash on wakeup? | 18:17 |
Ayla | maybe it crash on suspend | 18:17 |
mth | also possible | 18:19 |
mth | maybe this is useful: Documentation/power/basic-pm-debugging.txt | 18:21 |
mth | via /sys/power/pm_test you can specify how deep the kernel is allowed to sleep | 18:23 |
mth | instead of doing a full suspend | 18:23 |
Ayla | okay | 18:28 |
Ayla | I'll check that tomorrow | 18:28 |
qi-bot | [commit] Werner Almesberger: The #endif at end of header file must have a comment saying /* !name */ http://qi-hw.com/p/ben-scans/0c49406 | 20:36 |
qi-bot | [commit] Werner Almesberger: Step sizes are now auto-determined, allowing use of files of any resolution. http://qi-hw.com/p/ben-scans/2cc9a9e | 20:36 |
qi-bot | [commit] Werner Almesberger: solidify now stores the context of sessions in project description files. http://qi-hw.com/p/ben-scans/f6ed3bf | 20:36 |
qi-bot | [commit] Werner Almesberger: Use the project name to disambiguate names in POV-Ray output. http://qi-hw.com/p/ben-scans/01d8e41 | 20:36 |
--- Sat Sep 25 2010 | 00:00 |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!