sb0 changed the topic of #m-labs to: ARTIQ, Migen, MiSoC, Mixxeo & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
fengling has joined #m-labs
mithro has quit [Remote host closed the connection]
cr1901_modern has quit [Ping timeout: 264 seconds]
cr1901_modern has joined #m-labs
<sb0>
rjo, I have an idea for DDS write injection on the shared bus. the RTIO core could forward the time left before the next kernel-programmed event to the PHYs, and then the DDS PHY uses that to determine if it has time to complete a full write from the injection interface
<sb0>
this is complicated because of 1) the guard buffer in the RTIO core 2) the problem of restoring the kernel DDS register values when the override is disabled
<sb0>
but probably doable
<sb0>
there's also the problem of dealing with the "no event" case...
<sb0>
well, that one and the guard buffer problem can be solved by accounting for a potential DDS write in the guard time.
<sb0>
and proceed with the injected writes when there is no kernel event
mithro has joined #m-labs
mumptai has joined #m-labs
acathla has quit [Ping timeout: 276 seconds]
_florent_ has joined #m-labs
mumptai has quit [Remote host closed the connection]
<sb0>
'another in a long line of tech startups with good technology that just didn't make it into the market because of timing or the market dynamics' - and software that doesn't work, perhaps
<sb0>
ISE is a blessing compared to the tabula software
nicksydney has quit [Remote host closed the connection]
<GitHub72>
[artiq] sbourdeauducq pushed 2 new commits to master: http://git.io/vIgCU
<sb0>
rjo, what should the DDS monitor/injection panel show? just frequency, or more?
_florent_ has quit [Ping timeout: 276 seconds]
MiW has joined #m-labs
<MiW>
hiya
<MiW>
someone told me Sébastien got wifi working on a baytrail tablet?
<MiW>
id love to hear more if anyone knows about this
<sb0>
hi MiW
<sb0>
yeah
<MiW>
hi sb0
<sb0>
which tablet/wifi chipset?
<MiW>
ive been working on an arch install on a hp omni 10
<sb0>
the one i have is lenovo tablet 10, with a broadcom sdio wifi chip
<MiW>
yeah its probalby the same actually
<sb0>
on this tablet, for the wifi you just need to use a recent kernel (4.1-rcX) and the latest firmware that got committed to linux-firmware
<sb0>
and the wifi works fine.
<sb0>
there are many other bugs, though
<MiW>
oh mm nothing special then
<sb0>
since recently, no
<MiW>
i built a few kernels for it a few months ago but no luck
<sb0>
< 4.1 has packet delay/power management bugs, but those got fixed apparently
<sb0>
< 4.0 have sdio bugs that prevent the wifi chipset from being detected at all
<sb0>
...and all kernels have sdio bugs that crash the eMMC, which is the most annoying bug this tablet has
<MiW>
yeah, the emmc thing is a pain
<sb0>
also, there are acpi bugs: no AC adapter, no battery, and suspend just turns the screen off and freezes the machine completely
<MiW>
i did not have the same experience on my omni with that
<sb0>
which creates a nasty combination with systemd, which automatically suspends your laptop when on battery and no AC
<sb0>
*on low battery
<MiW>
yikes
<sb0>
the workaround is to build the kernel with the suspend support compiled out
<MiW>
im going to play with it some more now i know that wifi can work on that chipset
<sb0>
also, the broken AC adapter driver creates thousands of bogus events per second that cause userland issues and waste CPU cycles, so you want to compile out that one as well
<MiW>
this is on 4.1 yeah?
<MiW>
i never had such issues on 3.19 or 4.0
<MiW>
just no wifi and crackling sound
<sb0>
recent 4.0.X kernels have the bug.
<MiW>
oh. :-)
<sb0>
with older one, just no AC adapter detected
<sb0>
the bug appeared with a patch that changes the way interrupts are handled, and that patch is required to make the wacom digitizer work
<MiW>
wow this got worse quickly
<MiW>
i have a semi working tablet 3 months ago
<MiW>
now its ruined
<MiW>
hah
<sb0>
?
<MiW>
like, the builds i was playing with 3 months ago were OKish just no sound/wifi
<sb0>
the AC adapter driver never worked anyway
<sb0>
at least on mine
<MiW>
ok
<MiW>
you have inspired me to do some more work on this
<sb0>
do you have the battery monitor/AC adapter detection working?
<MiW>
I dont recall. it worked on battery or AC tho i remember
<sb0>
the AC adapter driver only lets userland know if the computer is on AC or not
<sb0>
the battery will charge etc. even without the driver
<MiW>
yes thats right
<ysionneau>
sb0: since the pyqtgraph didn't respond in a reasonable delay (even after your issue on github + my private emailing) could you fork his repo in the m-labs github account? (I don't have the right to do it)
<ysionneau>
pyqtgraph maintainer*
<ysionneau>
I propose we can go back to using his upstream repo when he fixed the trivial issue
<ysionneau>
hummm, seems max output frequency of PLL (for -2 speed grade device) is 933 MHz
<ysionneau>
so I don't think I can make the SerDes work @ 125 MHz x 8 (= 1GHz)
<ysionneau>
I would need to lower a bit the rio frequency to lower than 125 MHz
<ysionneau>
or maybe I can put the SerDes in DDR mode and use a 500 MHz clock
mumptai has joined #m-labs
mithro has quit [Ping timeout: 256 seconds]
mithro has joined #m-labs
rjo_ has joined #m-labs
<rjo_>
sb0: yes the rtio side of the dds-bus fifo could accept injected writes that can be squezed into the (enlarged) guard window.
<rjo_>
dds should just show frequency. imho the other things (phase, phase mode, amplitude) are of at most secondary importance.
<rjo_>
ysionneau: the ddr mode looks like the right thing.
<ysionneau>
I was able to generate a bitstream which met the timing constraints with the ddr mode
<rjo_>
*dds injmon should ..
<rjo_>
ysionneau: nice. in case you don't have a fast scope: i had verified that the ventilator hires dtc actually does what it is supposed to do. clock was 8*83 MHz.
<ysionneau>
good!
<ysionneau>
I took some ideas from your code
<ysionneau>
but I had to change a bit the SerDes instanciations since 7 series use different serdes blocks :/
<ysionneau>
(and I don't have any scope nor any 7 series FPGA ^^)
<rjo_>
ack. it would be nice to have the s6 version as well. pipistrello might see quite a bit use with the old hardware in the lab.
<ysionneau>
one it will work on 7 series, I don't think it will be hard to port on the S6
<ysionneau>
once*
rjo_ has quit [Ping timeout: 244 seconds]
mumptai has quit [Quit: Verlassend]
sh4rm4 has joined #m-labs
<GitHub49>
[artiq] fallen pushed 1 new commit to master: http://git.io/vIw94
<GitHub49>
artiq/master 92999d0 Yann Sionneau: sync_struct: test append, insert, delitem and pop actions
sh4rm4 has quit [Remote host closed the connection]
sh4rm4 has joined #m-labs
sh4rm4 has quit [Remote host closed the connection]