Tuesday, 2013-03-26

*** prpplague <prpplague!~prpplague@> has joined #minnowboard00:16
*** hieuduong_ <hieuduong_!44584dab@gateway/web/freenode/ip.> has quit IRC00:26
*** panto <panto!~panto@> has joined #minnowboard08:24
*** philips <philips!~philips@> has quit IRC09:06
*** sakoman <sakoman!~steve@static-74-41-60-154.dsl1.pco.ca.frontiernet.net> has quit IRC09:06
*** philips <philips!~philips@> has joined #minnowboard09:10
*** sakoman <sakoman!~steve@static-74-41-60-154.dsl1.pco.ca.frontiernet.net> has joined #minnowboard09:14
*** panto_ <panto_!~panto@> has joined #minnowboard12:04
*** panto <panto!~panto@> has quit IRC12:04
*** prpplague <prpplague!~prpplague@> has quit IRC13:27
*** biot <biot!~bert@2a01:7b8:2006:ea81::fce2> has quit IRC13:29
*** biot <biot!~bert@2a01:7b8:2006:ea81::fce2> has joined #minnowboard13:29
*** mdp <mdp!~mdp@cpe-98-27-254-98.neo.res.rr.com> has joined #minnowboard14:42
*** prpplague <prpplague!~danders@adsl-68-88-77-171.dsl.rcsntx.swbell.net> has joined #minnowboard14:44
*** panto_ is now known as panto14:45
*** davest <davest!~Adium@> has joined #minnowboard15:01
*** zenlinux_ <zenlinux_!~sgarman@c-50-137-42-92.hsd1.or.comcast.net> has joined #minnowboard15:21
*** davest <davest!~Adium@> has quit IRC15:42
*** zenlinux_ <zenlinux_!~sgarman@c-50-137-42-92.hsd1.or.comcast.net> has quit IRC15:57
*** dvhart <dvhart!~dvhart@static-50-53-88-120.bvtn.or.frontiernet.net> has joined #minnowboard16:07
dvhartprpplague, poke,we're on16:08
prpplaguedvhart: ??16:09
dvhartprpplague, pm16:10
*** zenlinux_ <zenlinux_!~sgarman@c-76-105-137-48.hsd1.or.comcast.net> has joined #minnowboard16:26
*** ka6sox is now known as ka6sox-farfarawa16:28
*** davest <davest!Adium@nat/intel/x-rpwxyhvoewbccpud> has joined #minnowboard16:43
*** davest <davest!Adium@nat/intel/x-rpwxyhvoewbccpud> has quit IRC16:49
*** zenlinux_ <zenlinux_!~sgarman@c-76-105-137-48.hsd1.or.comcast.net> has quit IRC18:22
*** koen <koen!~koen@cl-267.ams-05.nl.sixxs.net> has quit IRC19:22
*** dvhart <dvhart!~dvhart@static-50-53-88-120.bvtn.or.frontiernet.net> has quit IRC19:43
*** koen <koen!~koen@ip4da2a5ae.direct-adsl.nl> has joined #minnowboard19:50
*** dvhart <dvhart!~dvhart@static-50-53-88-120.bvtn.or.frontiernet.net> has joined #minnowboard21:30
dvhartprpplague, can you provide an example of a Linux kernel driver using the hw rst on the AR8031?21:31
dvhartprpplague, there are some timing requirements wrt the clock and I'd like to see an example if there is one already out there.21:31
dvhartI have a prototype of the PCI Sub ID bits in place21:32
prpplaguedvhart: yea, can i get back to you on this, trying to get the pcb fabs ready21:35
prpplaguedvhart: they are all arm21:35
dvhartprpplague, I figured. I'm looking, but I suspect they may be external to mainline21:36
dvhartthe PAL phy driver doesn't seem to have a hw reset routine21:36
*** biot <biot!~bert@2a01:7b8:2006:ea81::fce2> has quit IRC21:52
*** biot <biot!~bert@2a01:7b8:2006:ea81::fce2> has joined #minnowboard21:54
*** Tartarus <Tartarus!trini@pixelshelf.com> has joined #minnowboard21:56
*** philips <philips!~philips@> has quit IRC22:01
*** philips <philips!~philips@opensuse/member/philipsb> has joined #minnowboard22:01
*** ka6sox-farfarawa is now known as ka6sox-faraway22:20
mranostaydvhart: using the pci quirks?22:39
dvhartmranostay, currently just pci sub id22:40
mranostayhack alert!22:41
dvhartswitch (pdev->subsystem_device_id)22:41
dvhartoh yeah, still under dev22:41
dvhartso yeah, lots of hacking going on22:41
dvhart(although I'm not sure this particular thing is an ugly hack... rather clean actually)22:41
dvhartthe ugly bit is pch_gbe_phy.c :-(22:42
mranostaybe sure to post that patch so we can give advice :) *evin grins*22:42
dvhartsomething like PAL seems great... but the driver implementations are so sparse :/22:42
dvhartI'll post when I'm either stuck or have something I think is worth presenting22:43
dvhartright now it isn't worth looking at22:43
mranostaydvhart: this for the PHY reset?22:43
dvhart(you can if you want to, but it is going to change so much)22:43
dvhartmranostay, 3 things22:43
dvhart1) read MAC from nvram (or similar)22:43
dvhart2) PHY reset with GPIO 1122:44
dvhart3) Set TX Clock Delay in PHY22:44
dvhart#2 is the ugliest22:44
dvhartand isn't fully implemented22:44
dvhartas that requires so much board specific knowledge22:44
dvhartin a driver that had zero provisioning for even using a different phy22:44
dvhartI need some context from the original author, so I'm going to get some info out to them today22:45
mranostayuse a rubber hose it doesn't leave marks22:46
mranostayyeah i can see #2 being ugly22:47
dvhartThe Intel designs to date all use the same phy, gpios, etc22:47
dvhartso this is stretching the flexibility of the drivers, understandably so22:47
dvhartso finding the optimal path is most of the work22:47
dvhartnone of the code is actually hard :)22:48
mranostaywhat you don't want is a Minnowboard only kernel :)22:48
dvhartthat isn't acceptable22:48
dvhartFedora ARM "support" for example.... need to avoid that kind of thing.22:48
mranostaydvhart: anything else on the minnowboard need an erranum in software?22:50
mranostaydriver level i mean22:50
dvhartthe pch_uart driver has multiple clocks that the firmware sets up22:51
dvhartso a simple switch in there to pick the right one22:51
dvhartwhich is consistent with the features I added to that driver a year ago in support of the FRI2 and another board22:51
dvhartso that's easy22:51
dvhartthe gpio_sch driver had a bug I've submitted a fix for22:52
dvharttwice and is still sitting actually, time to email gregkh on that one22:52
dvhartbut that was a bug, not a quirk22:52
dvhartanother has already been merged22:52
dvhartthe platform driver is the tough one22:53
dvhartthe thing that sets up the GPIOs, buttons, and LEDS and the HWID22:53
mranostaydvhart: you didn't bribe^H^H^H^H^Hbuy him beer at the last conference? :)22:53
dvhartit's easy to write a platform driver, but I'm trying to do it with an ACPI SSDT, and that's fairly new ground. Fortunatley I'm tight with the ACPI people ;-)22:53
dvhartheh, I used to work with Greg, I don't have any trouble getting patches in to him :)22:54
dvhartI just didn't Cc him before, hoping the driver maintainers would have managed it for him22:54
dvhartI try not to add to his INBOX if I can avoid it22:54
*** prpplague <prpplague!~danders@adsl-68-88-77-171.dsl.rcsntx.swbell.net> has quit IRC23:18
*** Tartarus <Tartarus!trini@pixelshelf.com> has quit IRC23:31
*** Tartarus <Tartarus!trini@pixelshelf.com> has joined #minnowboard23:32
mranostayTartarus: we let you in here?23:40

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!