#qi-hardware IRC log for Saturday, 2012-06-16

qi-bot[commit] Xiangfu: nanonote-files: wpan.nn: add option for start dirtpan (master) http://qi-hw.com/p/openwrt-packages/595140e02:21
xiangfuhmm.. the atusb cannot build as module. because the irq_set_chip_and_handler function03:41
xiangfuERROR: "irq_set_chip_and_handler_name" [drivers/ieee802154/spi_atusb.ko] undefined!03:41
wpwrakif it must be a module, then you'll have to find a way to hack around this issue03:49
wpwrakin the future, with the improved driver, these things will disappear03:49
wpwrakso a hack should be fine until then :)03:50
xiangfuok :)04:02
qi-bot[commit] Xiangfu: nanonotefiles: make inittab work with minimal config system (master) http://qi-hw.com/p/openwrt-packages/1ec3c8308:44
viriclarsc: thank you a lot for your support! I managed to send a patch upstream that 'works for me'08:46
qi-bot[commit] Xiangfu: xburst: qi_lb60 select the nanonote slash screen (master) http://qi-hw.com/p/openwrt-xburst/5d69bcb08:52
qi-bot[commit] Xiangfu: remove xburst target borken (master) http://qi-hw.com/p/openwrt-xburst/3a2518308:52
qi-bot[commit] Xiangfu: urjtag: fix typo (master) http://qi-hw.com/p/openwrt-packages/f5eefbc09:17
larscviric: nice trick reusing the existing handlers :)09:31
viricit took me a while to figure all out :)09:34
viricnow I've a *segfault* in webkit.09:35
virichm there is a null pointer when there should not be.09:39
viricwho knows.09:39
viricat least webkit runs further.09:40
lindi-I have been using chromium on openmoko for quite some time already12:03
viriclindi-: is that mips?12:59
lindi-no, armel13:00
lindi-but you probably have same bugs with unaligned accesses13:01
viricwell, I was using webkit 1.4.0. Maybe a newer webkit works better. And the troubles were in the unaligned-access-emulation of mips.13:02
viricspecifically.13:02
viriclindi-: and it's related to FPU, that the openmoko maybe does not have13:06
lindi-ok13:09
mthunaligned access emulation is a horrible thing anyway; it's much better to fix the program doing the access13:31
viricof course13:32
viricbut it becomes a matter of performance, then. Not a matter of "the program does not run"13:32
viricand with an 'echo' to a debugfs file, you can make all programs sigbus, if you want, on unaligned access. It becomes up to the kernel user.13:33
mthyeah, but I think that trying to make broken programs run is not a good idea, because it decreases the chance of them getting fixed13:43
mthalso, the resulting system is more complex, like you found out when there was a bug in the unaligned access emulation13:44
viricthen maybe you'd like the sigbus behaviour to be the default, and the emulation not default13:45
viricbut it should not be about not having that code in the kernel at all13:45
viricImagine a super-complex package has unaligned accesses, and the producers of the package do not give a penny for your platform.13:46
viric(hypothetical case :)13:46
mththe emulation can be useful even if only for logging where in the program the unaligned accesses come from13:47
mthbut indeed I wouldn't want it enabled by default13:47
mthsame for floating point emulation: I'd rather have the program crash so that I know that softfloat support failed13:48
Action: DocScrutinizer05 idly wonders why /ns help in this chan and now is the old version still, while /ns help in another chan and 2h ago showed some new details >>15:58
DocScrutinizer05[16.06.2012 16:43:29] [Notice] -NickServ- If a registered nick is not used by the owner for 150 days,15:58
DocScrutinizer05[16.06.2012 16:43:29] [Notice] -NickServ- NickServ will drop the nickname, allowing it to be reregistered.15:58
DocScrutinizer051h ago15:58
viricI'm trying fpu code in that loongson2f... and all I compiled looks broken :)16:13
viriclame has lots of nans (have to be emulated)16:13
viricffmpeg encoding with libvorbis looks quite mad too; I don't know if due to decoding an mp3, or encoding the ogg.16:14
viricI wonder what other floating point code I could run to test16:15
qi-bot[commit] Paul Cercueil: ASoC: JZ4740: delay activation of the DAC to work around a sound bug. (jz-3.4) http://qi-hw.com/p/qi-kernel/ef84c7117:34
larscAyla: that's an interresting way to implement a msleep() ;)17:38
Aylaisn't it? :)17:40
AylaI actually wasn't aware of msleep()...17:40
AylaI know mdelay, not msleep17:40
larscmsleep sort of does what you just implemented17:41
Aylaok, I'll edit it then17:42
qi-bot[commit] Paul Cercueil: ASoC: JZ4740: Use msleep() to wait before enabling the DAC. (jz-3.4) http://qi-hw.com/p/qi-kernel/5d267d618:01
Aylamth: that means we could replace all mdelay() by msleep() on the SLCD panels code18:01
Aylaso that the other threads can continue when the panel is initializing18:02
Aylathat was a request reported on the kernel bug tracker18:03
mthyes, sounds like a good idea18:03
Aylaat which point is it better to use msleep over mdelay, or the other way around?18:08
Aylaon some parts of the code, I waits only 10ms18:09
Aylas/I/it18:09
Aylamsleep() probably introduces a higher delay18:09
wpwrak"only" 10 ms :-)18:10
Aylabut I'm not sure it's important whether it waits longer than 10ms or not18:10
wpwrakthat's a pretty nasty delay, if you spend that time spinning18:10
Aylawell, the panel enable function spins for like one second total18:11
Ayla510ms for the ili9325 panel18:12
wpwrakmdelay ? urgh18:12
Aylayes :)18:12
AylaIIRC we use HZ=250 on dingoo, so a msleep() will last 4ms minimum18:13
Aylaand msleep(10) will sleep 12 milliseconds18:13
wpwrakjust hope you don't have anything remotely real-time-ish on that machine :)18:14
Aylawe do, sort of18:15
Aylathe sound output18:15
larscwhich is taken care of by dma18:17
mthonly for the span of the current period though18:18
mththe sound output is broken when the SLCD init happens18:18
mthwhen unblanking, for example18:19
mthAyla: I think that even 1 ms is a lot of time for this CPU18:19
Aylalarsc: yes, but the app that produces sound is blocked18:19
mthand afaik the 4 ms time slices matter when there are multiple active threads, but it doesn't mean a single active thread has to wait for the next time slice18:20
Aylaok18:20
AylaI replaced all mdelays by msleeps, and it works good18:20
Aylanow the sound doesn't stop when I un-blank the screen on GMU18:20
mthzLoud will be so happy18:21
Aylaheheh18:22
qi-bot[commit] Paul Cercueil: MIPS: JZ4740: Delay using msleep to prevent spinning for 0.5s. (jz-3.4) http://qi-hw.com/p/qi-kernel/b5cb66218:25
Aylamth: could you mark it as done on the bug tracker?18:28
mthyep, works great18:38
mthissue closed18:39
qi-bot[commit] Maarten ter Huurne: MIPS: JZ4740: Work around fbcon logo crash with SLCD. (jz-3.4) http://qi-hw.com/p/qi-kernel/d072b5919:22
whitequarkviric: where did you get your looooongson?21:34
lekernelby the way, what's the status of the kicad patches? were they submitted upstream?21:35
wpwraklekernel: at some point they were, and received the reply that this wasn't a good time22:46
GNUtoo-desktopviric, how's the lemote?22:52
--- Sun Jun 17 201200:00

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