2015-01-04 00:11 jekhor has quit [Ping timeout: 264 seconds] 2015-01-04 01:51 atommann has joined #qi-hardware 2015-01-04 02:05 jow_laptop has quit [Ping timeout: 240 seconds] 2015-01-04 02:07 jow_laptop has joined #qi-hardware 2015-01-04 02:42 sb0 has joined #qi-hardware 2015-01-04 03:46 atommann has quit [Ping timeout: 244 seconds] 2015-01-04 03:59 atommann has joined #qi-hardware 2015-01-04 04:05 atommann has quit [Ping timeout: 265 seconds] 2015-01-04 05:08 astr has quit [Ping timeout: 240 seconds] 2015-01-04 05:11 astr has joined #qi-hardware 2015-01-04 06:24 atommann has joined #qi-hardware 2015-01-04 06:30 xiangfu has joined #qi-hardware 2015-01-04 06:45 Haswell has quit [Quit: Saliendo] 2015-01-04 07:37 archang has joined #qi-hardware 2015-01-04 08:41 jekhor has joined #qi-hardware 2015-01-04 09:07 atommann has quit [Quit: Leaving] 2015-01-04 09:10 atommann has joined #qi-hardware 2015-01-04 09:19 FAMAS has quit [Read error: Connection reset by peer] 2015-01-04 09:43 FAMAS has joined #qi-hardware 2015-01-04 09:55 xiangfu has quit [Quit: leaving] 2015-01-04 09:56 FAMAS has quit [Read error: Connection reset by peer] 2015-01-04 09:57 FAMAS has joined #qi-hardware 2015-01-04 10:07 kilae has joined #qi-hardware 2015-01-04 11:01 atommann has quit [Ping timeout: 244 seconds] 2015-01-04 11:20 jekhor has quit [Ping timeout: 245 seconds] 2015-01-04 11:45 pcercuei has joined #qi-hardware 2015-01-04 12:20 pcercuei has quit [Quit: brb] 2015-01-04 12:22 pcercuei has joined #qi-hardware 2015-01-04 12:31 pcercuei: yes, happy new year. 2015-01-04 12:31 I'm having trouble with your watchdog driver 2015-01-04 12:31 the system reboots after a while even though the watchdog is not enabled 2015-01-04 12:33 the upstream version? 2015-01-04 12:33 yes 2015-01-04 12:34 and it doesn't happen when the watchdog module is not loaded? 2015-01-04 12:34 yes 2015-01-04 12:35 we have a couple of changes here: https://github.com/gcwnow/linux/commits/jz-3.18/drivers/watchdog/jz4740_wdt.c 2015-01-04 12:36 but that means you need a "wdt" clock 2015-01-04 12:46 hm, looks as if something actually does enable the wdt 2015-01-04 12:47 and once it is enabled the gpios keyboard doesn't work anymore, strange 2015-01-04 12:47 huh 2015-01-04 12:53 does gmenu2x has any watchdog code? 2015-01-04 12:56 no, we have a watchdog daemon 2015-01-04 13:02 I really wonder why enabling the watchdog kills the gpios 2015-01-04 13:03 the watchdog doesn't use any pins, so that's probably not where the interference is 2015-01-04 13:03 maybe it messes with the wrong clock? 2015-01-04 13:03 or an interrupt? 2015-01-04 13:04 it looks like gpio_get_value() is still correct, but it doesn't generate any interrupts anymore 2015-01-04 13:05 actually it seems to kill the timer interrupt 2015-01-04 13:26 if I remove the 'writeb(0x1, drvdata->base + JZ_REG_WDT_COUNTER_ENABLE);' I still get the timer interrupts 2015-01-04 13:26 otherwise they stop 2015-01-04 13:27 strangely enough writing 0 to it again doesnt fix the issue 2015-01-04 13:28 if you write 0x1, you write 0 to the upper 30 bits 2015-01-04 13:28 is there anything in there? 2015-01-04 13:29 not according to the datasheet 2015-01-04 13:33 even if I replace the writeb(0x1, with writeb(0x0 it continuous to work 2015-01-04 13:39 hm, switched things around to first setup the watchdog and then enable the watchdog clock in the tcu and things seem to work 2015-01-04 13:46 only looked like it 2015-01-04 13:46 really strange 2015-01-04 13:47 we don't have those problems with the watchdog on jz4770 2015-01-04 13:48 so that's indeed strange 2015-01-04 13:57 hm, does the watchdog timer also generate an interrupt? 2015-01-04 13:59 no 2015-01-04 13:59 that wouldn't make sense 2015-01-04 14:01 it wouldn't 2015-01-04 14:01 but right now the whole thing doesn't make sense 2015-01-04 14:02 disable devicetree :p 2015-01-04 14:03 this is plain mainline 2015-01-04 14:20 the Ben has a matrix keyboard, right? 2015-01-04 14:20 wouldn't that be polled on a timer rather than have GPIO interrupts? 2015-01-04 14:23 both 2015-01-04 14:24 it looks as if for whatever reason tcu0 channel just stops 2015-01-04 14:25 the watchdog timer stop is in the same register as the tcu timer stop flags, but the code looks fine 2015-01-04 14:25 jz4740_timer_enable_watchdog 2015-01-04 14:26 I double checked that already, in the register it is still enabled 2015-01-04 14:26 also just calling jz4740_timer_enable_watchdog() doesn't do anything 2015-01-04 14:27 problems only start once the watchdog is enabled in the watchdog core 2015-01-04 14:28 if I change the timer code to not use tcu0 everything is fine 2015-01-04 14:35 are you using the watchdog on the dingoo? 2015-01-04 14:36 we didn't update the kernel for a long time 2015-01-04 14:38 which tcu channels are used for pwm on the dingoo? 2015-01-04 14:40 atommann has joined #qi-hardware 2015-01-04 14:41 PWM7 for the backlight 2015-01-04 15:00 maybe they just forgot to tell us that the wdt hijacks tcu0 2015-01-04 15:02 pcercuei: so, tomorrow morning 8 o'clock? ;) 2015-01-04 15:02 probably not 8 o'clock 2015-01-04 15:04 lots of work to do 2015-01-04 15:06 it'll take time to even read the emails 2015-01-04 15:06 all the ez posts 2015-01-04 15:12 atommann has quit [Quit: Leaving] 2015-01-04 15:28 Haswell has joined #qi-hardware 2015-01-04 15:30 FAMAS2 has joined #qi-hardware 2015-01-04 15:30 FAMAS has quit [Read error: Connection reset by peer] 2015-01-04 15:31 FAMAS2 has quit [Read error: Connection reset by peer] 2015-01-04 15:32 FAMAS2 has joined #qi-hardware 2015-01-04 15:32 FAMAS2 has quit [Read error: Connection reset by peer] 2015-01-04 15:32 FAMAS has joined #qi-hardware 2015-01-04 15:49 FAMAS has quit [Read error: Connection reset by peer] 2015-01-04 16:07 sb0 has quit [Quit: Leaving] 2015-01-04 16:37 FAMAS has joined #qi-hardware 2015-01-04 17:26 jekhor has joined #qi-hardware 2015-01-04 17:29 pcercuei has quit [Ping timeout: 245 seconds] 2015-01-04 17:36 pcercuei has joined #qi-hardware 2015-01-04 17:47 pcercuei has quit [Ping timeout: 256 seconds] 2015-01-04 17:48 pcercuei has joined #qi-hardware 2015-01-04 18:42 pcercuei has quit [Ping timeout: 256 seconds] 2015-01-04 18:44 pcercuei has joined #qi-hardware 2015-01-04 19:33 pcercuei has quit [Ping timeout: 245 seconds] 2015-01-04 19:36 pcercuei has joined #qi-hardware 2015-01-04 20:02 pcercuei has quit [Ping timeout: 244 seconds] 2015-01-04 20:03 pcercuei has joined #qi-hardware 2015-01-04 20:12 pcercuei has quit [Ping timeout: 244 seconds] 2015-01-04 20:14 pcercuei has joined #qi-hardware 2015-01-04 20:24 kilae has quit [Quit: ChatZilla 0.9.91.1 [Firefox 34.0.5/20141126041045]] 2015-01-04 20:27 pcercuei has quit [Ping timeout: 244 seconds] 2015-01-04 20:33 pcercuei has joined #qi-hardware 2015-01-04 20:53 pcercuei has quit [Ping timeout: 264 seconds] 2015-01-04 20:53 pcercuei has joined #qi-hardware 2015-01-04 20:54 FDCX has joined #qi-hardware 2015-01-04 20:59 pcercuei has quit [Ping timeout: 240 seconds] 2015-01-04 21:01 pcercuei has joined #qi-hardware 2015-01-04 21:27 pcercuei has quit [Ping timeout: 265 seconds] 2015-01-04 21:29 pcercuei has joined #qi-hardware 2015-01-04 21:52 pcercuei has quit [Ping timeout: 265 seconds] 2015-01-04 21:52 FAMAS has quit [Read error: Connection reset by peer] 2015-01-04 21:54 pcercuei has joined #qi-hardware 2015-01-04 22:21 pcercuei has quit [Ping timeout: 244 seconds] 2015-01-04 22:22 pcercuei has joined #qi-hardware 2015-01-04 22:26 FDCX has quit [Ping timeout: 240 seconds] 2015-01-04 22:31 lrockhq has joined #qi-hardware 2015-01-04 22:31 lrockhq has joined #qi-hardware 2015-01-04 22:47 pcercuei has quit [Ping timeout: 245 seconds] 2015-01-04 22:49 pcercuei has joined #qi-hardware 2015-01-04 22:58 pcercuei has quit [Ping timeout: 265 seconds] 2015-01-04 22:59 pcercuei has joined #qi-hardware 2015-01-04 23:02 FAMAS has joined #qi-hardware 2015-01-04 23:21 pcercuei has quit [Ping timeout: 244 seconds] 2015-01-04 23:23 pcercuei has joined #qi-hardware 2015-01-04 23:32 jekhor has quit [Ping timeout: 244 seconds] 2015-01-04 23:32 FAMAS has quit [Read error: Connection reset by peer] 2015-01-04 23:33 FAMAS has joined #qi-hardware