<wpwrak> then i remove one of the DMA register initializations, and abracadabra, it times out
<wpwrak> nota bene, the DMA controller it still not even being used
<kristianpaul> sip tengo un bus pirata y el logic analyzer no el que vende seedstudio pero si hay un port para una board spartanr3 de avnet, con ese me funciona
<kristianpaul> argg
<kristianpaul> sorry
<mirko> kyak: ok, patched it and started compiling - will commit if it succeeds
<mirko> kyak: quite strange - didn't experience it but the error is an obvious result..
<qi-bot> [commit] Werner Almesberger: physmem.c: added virtual to physical translation http://qi-hw.com/p/ben-blinkenlights/6cd2140
<qi-bot> [commit] Werner Almesberger: regs4740.h: added DMAC registers; added virt to phys translation; cleanup http://qi-hw.com/p/ben-blinkenlights/1a7b501
<qi-bot> [commit] Werner Almesberger: ubb-vga.c: housekeeping http://qi-hw.com/p/ben-blinkenlights/8d803dd
<wpwrak> (and no, dma still doesn't work - just getting rid of other changes)
<Cold_Drone> Anyone know of any hardware #?
<Cold_Drone> Strictly for Networking of course.
<Cold_Drone> Other than networking lol.
<rjeffries> This may turn out to be a postive development
<qi-bot> [commit] kyak: add kernel patch for setfont2 http://qi-hw.com/p/openwrt-xburst/a972bf1
<whitequark> wpwrak: whyh is ir too small?
<whitequark> *why is it
<kyak> dvdk: hi! i don't know why, but -mc=5.0 seems to help the desync problem. I.e. even if desync happens, it get compensated rather quickly
<dvdk> kyak: strange
<dvdk> was just going to look up the demuxer sources
<kyak> dvdk: also, ffmpeg git revision is not working again :) i updated to the latest git version locally
<dvdk> kyak: so maybe they're doing something strange with their git repo?  whenever somebody commits, the previous head get unusable?
<dvdk> any ideas?
<dvdk> is not a git exepert
<kyak> me neither.. will need to have a close look
<dvdk> kyak: alternative: branch their repo on github, and use that :)
<kyak> dvdk: btw, mplayer runs perfectly fine in latest trunk
<dvdk> kyak: you mean, ignoring the desyncing problem you encountered?
<kyak> dvdk: or, as you once suggested, include ffmpeg tarball in files/
<dvdk> yuck
<kyak> dvdk: no-no, the same desyncing problem, which goes away with -mc
<dvdk> ok, let's see what the demuxer has to say
<dvdk> kyak: btw did you encode with any non-standard keyframe-distance?
<kyak> huh? how can i know?
<dvdk> kyak: if you gave -K or --keyint to ffmpeg2theora :)
<kyak> no, i didn't :)
<dvdk> kyak: have an idea, there is a way to generate 'no change' frames for theora.  if mplayer doesn't know about them, it might get problems
<dvdk> maybe ask at #theora
<dvdk> kyak: yeah looks like theore 'skipped frames'.  -mc 5 allows mplayer to do aggressive sync correction, so it can compensate for the missing frames.
<kyak> that's what i thought :)
<dvdk> found it?  'As per the Theora specification, an empty (0-byte) packet is treated as a data packet (a delta frame with no coded blocks). '
<kyak> so, mplayer is not working according to the specification?
<dvdk> kyak: guess it drops empty packets, so they never reach the decoder, so mplay encounters one or more missing frames, and can only resync if -mc allows it to skip enough
<dvdk> kyak: checking for how to patch
<kyak> dvdk: the problem is "git clone --depth 1"
<kyak> it only grabs trees for two latest commits
<kyak> therefore, our FFMPEG_REV is not valdi anymore :)
<qi-bot> [commit] kyak: mplayer: correctly checkout ffmpeg from git http://qi-hw.com/p/openwrt-packages/d69ac0f
<kyak> dvdk: something like this -^
<qi-bot> [commit] kyak: mplayer: install config from withing mplayer package http://qi-hw.com/p/openwrt-packages/773c244
<dvdk> kyak: but... i got this 'recipie' from include/download.mk
<dvdk> so how does openwrt handle that?  i mean gmenu2x checkout works ok, albeit using git revisions
<dvdk> ooops, you're right,
<dvdk> my recipie comes in part from mplayer configure, ok
<dvdk> kyak: does mplayer read /etc/mplayer something?  installing to /root looks sooo broken
<qi-bot> [commit] David Kühling: mplayer: update README tips for encoding videos for NanoNote http://qi-hw.com/p/openwrt-packages/781599f
<xMff> my ubuntu mplayer manpage says "/usr/local/etc/mplayer/mplayer.conf"
<xMff> probably depends on the configure flags
<xMff> $ strings /usr/bin/mplayer | grep mplayer.conf
<xMff> /etc/mplayer/mplayer.conf
<dvdk> xMff: thx,
<dvdk> kyak: ^
<dvdk> xMff: not on nanonote:
<Jay7> what qemu-system-mipsel machine is better suitable to run nanonote image on? :)
<dvdk> strings $(which mplayer)|grep mplayer.conf
<dvdk> -> /usr/share/mplayer/mplayer.conf
<xMff> yeah, it seems to vary a lot
<xMff> on the system here not even the binary and man pages agree
<xMff> but /usr/share/mplayer/ sounds sane, too
<xMff> saner than /root
<dvdk> hmm, according to ./configure it should be PREFIX/etc/mplayer
<Jay7> have recipe for lingot :)
<dvdk> xMff: kyak: ahh, our fault: our Makefile has   --confdir=/usr/share/mplayer
<dvdk> kyak: ok to change that?
<kyak> dvdk: sure :)
<kyak> dvdk: where will input.conf reside then? in /etc ?
<xMff> better use /etc/mplayer
<dvdk> kyak: let's use the default config dir=/etc/mplayer/
<dvdk> so everything in there, including mplayer.config
<xMff> then various packages could stuff additional config snmippets in there
<dvdk> s//mplayer.conf
<kyak> Jay7: openwrt is using malta board for running mips in qemu
<kyak> dvdk: that sound right
<dvdk> ok, just trying to build a patched mplayer with fixed ogg demuxer.  somehow applying all our patches fails the pc build :/
<Jay7> it would be great to have nanonote support in qemu :)
<dvdk> maybe with --disable-vidix
<kyak> regarding input.conf, i'm wondering why volume up/down keys don't work in mplayer anymore
<kyak> i.e. they work in the image i build on my pc
<kyak> but don't seem to work in release image
<kyak> need to have a closer look
<kyak> Jay7: there is qemu-jz project, but don't expect it to work with Ben right away :)
<dvdk> kyak: because they changed the keycodes of the volume keys from F11/F12 (?) to proper multimedia keycodes volup/voldown?
<kyak> dvdk: that's another thing, which also breaks these keys, but (it is easily fixed in console keymap) it was only introduced in some later kernels
<kyak> the release image should not have it
<dvdk> kyak: sure the input.conf is in the right directory for your mplayer install?
<kyak> yep, i tried it but adding some other binds
<kyak> yep, i tested it by adding some other binds
<kyak> usually, mplayer would say "unknown bind" when some key is pressed
<kyak> but here in release image it doesn't complain
<kyak> when i run mplayer in ssh, it reacts for F11/F12 keys.. for some reason volup/voldown are not recognized as F11/F12 by mplayer
<wpwrak> whitequark: you found one system consisting of several elements that doesn't work. you don't know for sure which of them is misbehaving, you don't know if any of them suffer manufacturing defects, you don't know if any of them suffer design flaws specific to that one product, etc.
<wpwrak> whitequark: if you had tried a few different headsets, and if they all exhibit the same problem, also with a different dongle on the host, and if you still get the same problems, perhaps also with a different host (cell phone, different OS, etc.), then you could claim that all BT headsets are evil
<wpwrak> kristoffer: so .. going to make a few vga adapters ? :)
<dvdk> ok, looks like emtpy video packets are properly enqueued, but for some reason never reach the theora decoder...
<viric> hello
<viric> have you seen that TI openlink?
<viric> wpwrak: what is your opinion on it? http://www.lsr.com/downloads/tiwi_r2/tiwi_r2_datasheet.pdf
<kristoffer> wpwrak, was hoping to do so yes :)
<viric> kristoffer: do you mean wpwrak plans to get one of those to test?
<kristoffer> No, I thought werner did those?'
<viric> did what?
<viric> Btw, on ELC there is a talk on "WLAN Chips in Embedded Linux Systems"
<dvdk> kyak: found the problem: ds_get_next_pts() broken for packets without data
<kyak> dvdk: great job! :)
<dvdk> patch is going to look ugly
<dvdk> maybe this: (compilation is going to take a while)
<kyak> dvdk: i will give it a try later.. have to go now
<mth> do the NanoNote distributions store the kernel in physical NAND blocks or on an UBI volume?
<larsc> physical
<mth> is there any kind of mechanism to deal with bad blocks?
<larsc> except for skipping it not really
<viric> I don't think so. But you could make uboot (also on nand physical) to find the kernel in another place, if you had bad blocks where the kernel sits
<mth> so uboot has a list of blocks that hold the kernel?
<viric> it has the start address where to find it at least
<whitequark> wpwrak: ah yes, I understand now, thanks
<whitequark> wpwrak: the interesting thing is, on Windows it recovers much faster (in ~second interval), but still suffers from same issue
<qi-bot> [commit] David Kühling: mplayer: install config to /etc/mplayer/mplayer.config (renamed files/config) http://qi-hw.com/p/openwrt-packages/4ce8eb4
<qi-bot> [commit] David Kühling: mplayer: fix mplayer bug for Theora frametime computation w/ emtpy packets http://qi-hw.com/p/openwrt-packages/6bfc32e
<qi-bot> [commit] David Kühling: mplayer: oops, have to create /etc/mplayer first http://qi-hw.com/p/openwrt-packages/ad04b8f
<qi-bot> [commit] David Kühling: mplayer: correct name of mplayer.conf.  everything seems to work correctly now. http://qi-hw.com/p/openwrt-packages/af52b4f
<Ayla> hello
<mth> hi Ayla
<Ayla> hi mth :)
<Ayla> I heard there are attempts at using kexecboot for the nanonote?
<mth> we are looking for something to replace uboot
<mth> and a minimal boot loader to load a kexecboot kernel could probably be identical for Dingoo and NanoNote
<mth> I'm going to get some groceries, back in a bit
<wpwrak> viric: ah, another wlan module ... yes, looks nice. but ... do you have documentation on the actual protocol ? (i.e., how do i send a packet, how do i pick a channel, who decides which access point to and and how)
<wpwrak> viric: bom cost isn't too bad of this one. i guess it would be somethink like USD 20-25 for ~1000 units. of course, atben would be about USD 3.7 at such quantities. for an estimate of end-customer pricing, multiply with 3. so that module would increase the price of a ben by ~usd 75, while ieee 802.15.4 would add ~usd 12.
<wpwrak> viric: besides, there's an easy way to show the benefits of such a module: get one, make an 8:10 card adapter (if has sdio, but doesn't say if you need additional signals. you'll find out ...), find/write a kernel driver, and see how it works :)
<kristianpaul> "That's our vision of Free. It's not communism. It's not capitalism as we know it. It's definitely not monopolies. It is Free Culture, and Free Enterprise."
<kristianpaul> looks at rejon
<Fusin> hi guys ;)
<vladkorotnev> Fusin: hello :P
<Fusin> question: why did someone put the gmenu#2 inside init?
<Fusin> wouldn't be a simple-init script be better for nanonote
<Fusin> si milar as old slackware did before?
<Fusin> reason for question: i would like to 'automount' my data partition, but due to this init behavior, I don't know where to insert the aditional script
<Fusin> s/init/initrc
<mth> it has to respawn though
<Fusin> yep, tragedy ;)
<Fusin> why not first config the device and then load gmenu or a shell?
<qi-bot> [commit] kyak: correct default keymap for handling of F11/F12 http://qi-hw.com/p/openwrt-xburst/08fadca
<qi-bot> [commit] kyak: ben-cyrillic: modify keymap for correct handling of F11/F12 http://qi-hw.com/p/openwrt-packages/870294b
<kyak> all right.. this should fix VolUp/Down in mplayer..
<rjeffries> wpwrak your mulriplier of 3x to arrive at selling price is on the low side
<rjeffries> and would be applied to manufactured cost, including mfg overhead, typically 5-10 percent at teh higher end for small volume production
<rjeffries> s/mulriplier/multiplier
<kodein> I'll remain sceptical, to be honest.
<wpwrak> wolfspraul: community news day today ? or tomorrow ?
<wolfspraul> wpwrak: yes I know may 1st... I need to start cleaning it up
<wpwrak> wolfspraul: heh, i didn't mean to nag you about your duties ;-) just wanted to know when i should be around
<wolfspraul> oh don't worry, it won't be rushed out
<wolfspraul> and yes, we need to document your VGA hack appropriately :-)
<wpwrak> by the mailing list archive size, this was the slowest month so far. certainly felt a bit tranquil.