2015-04-10 02:33 atommann has joined #qi-hardware 2015-04-10 02:59 jow_laptop has quit [Remote host closed the connection] 2015-04-10 03:09 rejon has quit [Remote host closed the connection] 2015-04-10 03:26 jow_laptop has joined #qi-hardware 2015-04-10 03:31 jow_laptop has quit [Ping timeout: 252 seconds] 2015-04-10 03:45 jow_laptop has joined #qi-hardware 2015-04-10 04:13 freespace has quit [Ping timeout: 265 seconds] 2015-04-10 04:29 atommann has quit [Ping timeout: 246 seconds] 2015-04-10 05:33 nicksydney has joined #qi-hardware 2015-04-10 07:37 Nik05 has quit [Remote host closed the connection] 2015-04-10 07:41 Nik05 has joined #qi-hardware 2015-04-10 07:56 xiangfu has joined #qi-hardware 2015-04-10 07:59 pcercuei has joined #qi-hardware 2015-04-10 08:07 wolfspraul has joined #qi-hardware 2015-04-10 10:01 atommann has joined #qi-hardware 2015-04-10 10:25 xiangfu has quit [Ping timeout: 245 seconds] 2015-04-10 10:30 fengling has quit [Quit: WeeChat 1.0] 2015-04-10 10:33 wolfspraul has quit [Quit: leaving] 2015-04-10 10:57 atommann has quit [Ping timeout: 244 seconds] 2015-04-10 11:33 jwhitmore has joined #qi-hardware 2015-04-10 11:47 atommann has joined #qi-hardware 2015-04-10 12:10 jwhitmore has quit [Ping timeout: 256 seconds] 2015-04-10 12:46 does anybody understand the "Attention" warning in http://en.nanotec.com/products/1023-smci12-stepper-motor-controllers/ ? 2015-04-10 13:15 atommann has quit [Ping timeout: 252 seconds] 2015-04-10 13:38 yes 2015-04-10 13:39 the power supply apparently has a virtual ground made using two capacitors between line and neutral 2015-04-10 13:41 usually done for EMI reasons which is likely a factor with a stepper controller 2015-04-10 13:44 what power supply? 2015-04-10 13:45 laptop 2015-04-10 13:48 dandon_ has joined #qi-hardware 2015-04-10 13:49 dandon has quit [Ping timeout: 256 seconds] 2015-04-10 13:49 dandon_ is now known as dandon 2015-04-10 13:58 so what should I do? Power the board, unplug the laptop from the line, connect the board to the laptop with usb, ... 2015-04-10 13:58 and never connect the laptop to powerline again? 2015-04-10 14:01 well, it appears this is what they recommend 2015-04-10 14:01 alternatively you can use a line-isolated power supply for either of the laptop and the board 2015-04-10 14:02 e.g.: plug it into an isolating transformer, or use a supply that does /not/ have the above connection 2015-04-10 14:02 (poke your oscilloscope into GND of the supply and you'll see) 2015-04-10 14:06 what should I see in the DC GND of the supply? 2015-04-10 14:30 sine with a large amplitude 2015-04-10 14:39 between dc gnd and what? 2015-04-10 14:45 atommann has joined #qi-hardware 2015-04-10 14:53 and nothing. just put a probe there 2015-04-10 15:00 I don't have an oscilloscope here :) 2015-04-10 15:02 atommann has quit [Ping timeout: 252 seconds] 2015-04-10 15:16 atommann has joined #qi-hardware 2015-04-10 15:19 atommann has quit [Remote host closed the connection] 2015-04-10 15:28 Haswell has joined #qi-hardware 2015-04-10 15:34 atommann has joined #qi-hardware 2015-04-10 15:35 atommann has quit [Remote host closed the connection] 2015-04-10 15:42 rjeffries has joined #qi-hardware 2015-04-10 15:42 paul_boddie has joined #qi-hardware 2015-04-10 16:01 pcercuei: Looking at pinctrl for jz4740. Lots of repetition between the pinctrl driver and the DTS file. Is that normal? 2015-04-10 16:05 rjeffries has quit [Ping timeout: 265 seconds] 2015-04-10 16:06 paul_boddie: blame larsc D: 2015-04-10 16:06 I think he's the author 2015-04-10 16:09 paul_boddie: where is this driver? I can't find it 2015-04-10 16:09 It's the jz4770 driver I'm adapting. I haven't seen a jz4740 version. 2015-04-10 16:09 oh 2015-04-10 16:09 don't use htat 2015-04-10 16:09 No, I meant that in the pinctrl, there's a lot of GP?(?) stuff and then in the DTS the GPIOs are defined again. 2015-04-10 16:09 yeah 2015-04-10 16:09 don't use that 2015-04-10 16:10 we don't even use it anymore 2015-04-10 16:10 Do you use the jz4780 one, then? The MIPS/Imgtec one? 2015-04-10 16:10 yes 2015-04-10 16:11 the one you're looking at, won't read anything from devicetree 2015-04-10 16:11 we're using this one now: https://github.com/gcwnow/linux/blob/jz-3.19/drivers/pinctrl/pinctrl-jz4780.c 2015-04-10 16:11 OK. I saw that, but wondered if it was appropriate. 2015-04-10 16:12 with this devicetree: https://github.com/gcwnow/linux/blob/jz-3.19/arch/mips/boot/dts/jz4770.dtsi#L63 2015-04-10 16:12 I wrote pinctrl-jz4770, and one week after ImgTec released their set of drivers for the jz4780 2015-04-10 16:12 OK. That might be a better starting point, I guess. 2015-04-10 16:13 I think you could start from MIPS/CI20_Linux 2015-04-10 16:13 they have some improvements to the jz4740 core that is not upstream (and not in the qi-kernel repo either) 2015-04-10 16:14 I was looking at gcwnow jz-3.18-dts and jz-3.19. The MIPS one didn't seem to be any different. 2015-04-10 16:14 let's say it's getting more and more similar ;) 2015-04-10 16:14 that wasn't really the case a few months ago when they first released the code 2015-04-10 16:16 but we still have some crappy ingenic code in arch/mips/jz4770 2015-04-10 16:16 for instance, we don't have real support for DMA or timers 2015-04-10 16:17 What about the upstream jz4740 DMA support? 2015-04-10 16:17 we use a MMC driver that would scare away any sane kernel developer 2015-04-10 16:17 it's for jz4740; we would need to adapt it to jz4770 2015-04-10 16:17 the only difference AFAIK is that we have two DMA chips 2015-04-10 16:17 so 2x 6 channels 2015-04-10 16:18 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. ;-) 2015-04-10 16:18 what do you mean? 2015-04-10 16:19 I'm just thinking about the details like registers, interrupts, and so on. 2015-04-10 16:19 by reading the docs 2015-04-10 16:20 The programming manual, I guess. 2015-04-10 16:21 yes 2015-04-10 16:23 I'll look at MIPS/CI20_Linux ci20-v3.18, then. 2015-04-10 16:24 (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.) 2015-04-10 16:28 pcercuei has quit [Ping timeout: 265 seconds] 2015-04-10 17:05 Stupid git! Is it normal that git fails when cloning and then leaves no trace of its CPU-thrashing antics? 2015-04-10 17:15 archang has quit [Ping timeout: 264 seconds] 2015-04-10 17:31 pcercuei has joined #qi-hardware 2015-04-10 18:01 pcercuei has quit [Ping timeout: 252 seconds] 2015-04-10 18:04 rjeffries has joined #qi-hardware 2015-04-10 18:50 rjeffries has quit [Ping timeout: 250 seconds] 2015-04-10 18:56 wolfspraul has joined #qi-hardware 2015-04-10 19:17 rjeffries has joined #qi-hardware 2015-04-10 19:22 rjeffries has quit [Ping timeout: 252 seconds] 2015-04-10 21:06 paul_boddie has quit [] 2015-04-10 22:18 rjeffries has joined #qi-hardware 2015-04-10 22:42 freespace has joined #qi-hardware 2015-04-10 22:51 hmm, one for the gnu cpp wish list: #define foo(x) #ifdef x##foo ... 2015-04-10 23:09 atommann has joined #qi-hardware 2015-04-10 23:34 wolfspraul has quit [Ping timeout: 245 seconds] 2015-04-10 23:36 wolfspraul has joined #qi-hardware 2015-04-10 23:36 rjeffries has quit [Ping timeout: 245 seconds] 2015-04-10 23:47 wolfspraul has quit [Quit: leaving]