kyak changed the topic of #qi-hardware to: Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben/atusb 802.15.4 wireless, anelok and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs and http://irclog.whitequark.org/qi-hardware
atommann has joined #qi-hardware
jow_laptop has quit [Remote host closed the connection]
rejon has quit [Remote host closed the connection]
jow_laptop has joined #qi-hardware
jow_laptop has quit [Ping timeout: 252 seconds]
jow_laptop has joined #qi-hardware
freespace has quit [Ping timeout: 265 seconds]
atommann has quit [Ping timeout: 246 seconds]
nicksydney has joined #qi-hardware
Nik05 has quit [Remote host closed the connection]
Nik05 has joined #qi-hardware
xiangfu has joined #qi-hardware
pcercuei has joined #qi-hardware
wolfspraul has joined #qi-hardware
atommann has joined #qi-hardware
xiangfu has quit [Ping timeout: 245 seconds]
fengling has quit [Quit: WeeChat 1.0]
wolfspraul has quit [Quit: leaving]
atommann has quit [Ping timeout: 244 seconds]
jwhitmore has joined #qi-hardware
atommann has joined #qi-hardware
jwhitmore has quit [Ping timeout: 256 seconds]
<viric> does anybody understand the "Attention" warning in http://en.nanotec.com/products/1023-smci12-stepper-motor-controllers/ ?
atommann has quit [Ping timeout: 252 seconds]
<whitequark> yes
<whitequark> the power supply apparently has a virtual ground made using two capacitors between line and neutral
<whitequark> usually done for EMI reasons which is likely a factor with a stepper controller
<viric> what power supply?
<whitequark> laptop
dandon_ has joined #qi-hardware
dandon has quit [Ping timeout: 256 seconds]
dandon_ is now known as dandon
<viric> so what should I do? Power the board, unplug the laptop from the line, connect the board to the laptop with usb, ...
<viric> and never connect the laptop to powerline again?
<whitequark> well, it appears this is what they recommend
<whitequark> alternatively you can use a line-isolated power supply for either of the laptop and the board
<whitequark> e.g.: plug it into an isolating transformer, or use a supply that does /not/ have the above connection
<whitequark> (poke your oscilloscope into GND of the supply and you'll see)
<viric> what should I see in the DC GND of the supply?
<whitequark> sine with a large amplitude
<viric> between dc gnd and what?
atommann has joined #qi-hardware
<whitequark> and nothing. just put a probe there
<viric> I don't have an oscilloscope here :)
atommann has quit [Ping timeout: 252 seconds]
atommann has joined #qi-hardware
atommann has quit [Remote host closed the connection]
Haswell has joined #qi-hardware
atommann has joined #qi-hardware
atommann has quit [Remote host closed the connection]
rjeffries has joined #qi-hardware
paul_boddie has joined #qi-hardware
<paul_boddie> pcercuei: Looking at pinctrl for jz4740. Lots of repetition between the pinctrl driver and the DTS file. Is that normal?
rjeffries has quit [Ping timeout: 265 seconds]
<pcercuei> paul_boddie: blame larsc D:
<pcercuei> I think he's the author
<pcercuei> paul_boddie: where is this driver? I can't find it
<paul_boddie> It's the jz4770 driver I'm adapting. I haven't seen a jz4740 version.
<pcercuei> oh
<pcercuei> don't use htat
<paul_boddie> No, I meant that in the pinctrl, there's a lot of GP?(?) stuff and then in the DTS the GPIOs are defined again.
<pcercuei> yeah
<pcercuei> don't use that
<pcercuei> we don't even use it anymore
<paul_boddie> Do you use the jz4780 one, then? The MIPS/Imgtec one?
<pcercuei> yes
<pcercuei> the one you're looking at, won't read anything from devicetree
<paul_boddie> OK. I saw that, but wondered if it was appropriate.
<pcercuei> I wrote pinctrl-jz4770, and one week after ImgTec released their set of drivers for the jz4780
<paul_boddie> OK. That might be a better starting point, I guess.
<pcercuei> I think you could start from MIPS/CI20_Linux
<pcercuei> they have some improvements to the jz4740 core that is not upstream (and not in the qi-kernel repo either)
<paul_boddie> I was looking at gcwnow jz-3.18-dts and jz-3.19. The MIPS one didn't seem to be any different.
<pcercuei> let's say it's getting more and more similar ;)
<pcercuei> that wasn't really the case a few months ago when they first released the code
<pcercuei> but we still have some crappy ingenic code in arch/mips/jz4770
<pcercuei> for instance, we don't have real support for DMA or timers
<paul_boddie> What about the upstream jz4740 DMA support?
<pcercuei> we use a MMC driver that would scare away any sane kernel developer
<pcercuei> it's for jz4740; we would need to adapt it to jz4770
<pcercuei> the only difference AFAIK is that we have two DMA chips
<pcercuei> so 2x 6 channels
<paul_boddie> How does one find out the differences? I'm just hoping at the moment that most of the work has already been kind of done. ;-)
<pcercuei> what do you mean?
<paul_boddie> I'm just thinking about the details like registers, interrupts, and so on.
<pcercuei> by reading the docs
<paul_boddie> The programming manual, I guess.
<pcercuei> yes
<paul_boddie> I'll look at MIPS/CI20_Linux ci20-v3.18, then.
<paul_boddie> (If any of that EOMA-68 hardware gets released with a jz4775 CPU, it'd be nice to see a kernel later than Ingenic's own code-drop version that actually supports it.)
pcercuei has quit [Ping timeout: 265 seconds]
<paul_boddie> Stupid git! Is it normal that git fails when cloning and then leaves no trace of its CPU-thrashing antics?
archang has quit [Ping timeout: 264 seconds]
pcercuei has joined #qi-hardware
pcercuei has quit [Ping timeout: 252 seconds]
rjeffries has joined #qi-hardware
rjeffries has quit [Ping timeout: 250 seconds]
wolfspraul has joined #qi-hardware
rjeffries has joined #qi-hardware
rjeffries has quit [Ping timeout: 252 seconds]
paul_boddie has quit []
rjeffries has joined #qi-hardware
freespace has joined #qi-hardware
<wpwrak> hmm, one for the gnu cpp wish list: #define foo(x) #ifdef x##foo ...
atommann has joined #qi-hardware
wolfspraul has quit [Ping timeout: 245 seconds]
wolfspraul has joined #qi-hardware
rjeffries has quit [Ping timeout: 245 seconds]
wolfspraul has quit [Quit: leaving]