Tuesday, 2016-01-26

freqzentrum: i know uart works00:26
freqi accidentally enabled Vbios and had to rescue my turbot 2 days after i bought it00:27
freqor received it00:27
freqthe ftdi friend from adafruit works for that very well00:27
*** danno_ <danno_!~danno@207.114.205.60> has joined #minnowboard01:12
danno_wondering if anyone is able to use /sys/class/gpio when using u-boot as bootloader01:17
danno_it just has export/unexport, and they don't work as expected01:17
danno_no gpiochipNNN entries01:17
*** emeb <emeb!~ericb@ip68-2-68-52.ph.ph.cox.net> has quit IRC01:25
*** ajtag <ajtag!~ajtag@cpc10-lee211-2-0-cust124.7-1.cable.virginm.net> has quit IRC01:25
*** aholler <aholler!~aholler@p4FC370A3.dip0.t-ipconnect.de> has joined #minnowboard04:34
*** aholler_ <aholler_!~aholler@p4FC36A68.dip0.t-ipconnect.de> has quit IRC04:37
*** jnavarro <jnavarro!~jnavarro@189.203.149.15> has quit IRC05:46
*** jimt1 <jimt1!~Adium@2610:160:11:33:4e5:fd7c:24f0:1efd> has quit IRC05:46
*** jimt1 <jimt1!~Adium@65-36-116-65.dyn.grandenetworks.net> has joined #minnowboard06:31
*** leon <leon!~leon@5.53.209.92> has joined #minnowboard07:34
*** leon is now known as Guest5257107:34
*** _franck__ <_franck__!527f6536@gateway/web/freenode/ip.82.127.101.54> has joined #minnowboard07:51
*** deubeuliou` <deubeuliou`!~David@134.134.139.76> has joined #minnowboard09:15
*** jimt1 <jimt1!~Adium@65-36-116-65.dyn.grandenetworks.net> has quit IRC10:24
*** jimt1 <jimt1!~Adium@65-36-116-65.dyn.grandenetworks.net> has joined #minnowboard10:31
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC11:04
*** Guest52571 <Guest52571!~leon@5.53.209.92> has quit IRC12:35
*** leon <leon!~leon@5.53.209.92> has joined #minnowboard12:36
*** leon is now known as leon-anavi12:36
*** patrik <patrik!~patrik@h-185-93.a189.priv.bahnhof.se> has joined #minnowboard12:39
*** lamego <lamego!~jose@134.134.137.75> has joined #minnowboard13:35
*** Bhaal <Bhaal!~bhaal@freenode/staff-emeritus/bhaal> has quit IRC13:54
*** jnavarro <jnavarro!~jnavarro@189.203.149.15> has joined #minnowboard14:03
*** ka6sox is now known as zz_ka6sox14:32
*** zz_ka6sox is now known as Guest754614:33
*** Bhaal <Bhaal!~bhaal@freenode/staff-emeritus/bhaal> has joined #minnowboard15:54
*** prpplague <prpplague!David@nat/intel/x-ccqriwsmegbdzeqd> has joined #minnowboard16:27
*** bluelightning <bluelightning!~paul@2406:e007:44a7:1:5e51:4fff:febb:401d> has joined #minnowboard16:53
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #minnowboard16:53
*** _franck__ <_franck__!527f6536@gateway/web/freenode/ip.82.127.101.54> has quit IRC17:01
*** jnavarro_ <jnavarro_!~jnavarro@189.203.149.15> has joined #minnowboard17:03
*** jnavarro <jnavarro!~jnavarro@189.203.149.15> has quit IRC17:07
*** lamego1 <lamego1!jose@nat/intel/x-afnfgxuymhgapxqx> has joined #minnowboard17:18
*** danno_ <danno_!~danno@207.114.205.60> has left #minnowboard17:20
*** danno_ <danno_!~danno@207.114.205.60> has joined #minnowboard17:20
*** lamego <lamego!~jose@134.134.137.75> has quit IRC17:20
*** deubeuliou` <deubeuliou`!~David@134.134.139.76> has quit IRC17:58
*** Guest78650 is now known as moto-timo18:08
*** moto-timo <moto-timo!ttorling@fsf/member/moto-timo> has joined #minnowboard18:08
*** dvhart <dvhart!~dvhart@134.134.139.77> has joined #minnowboard18:20
*** leon-anavi <leon-anavi!~leon@5.53.209.92> has quit IRC18:23
*** Ch3ck <Ch3ck!uid129553@gateway/web/irccloud.com/x-pjodrjrrkmeijegc> has joined #minnowboard19:08
warthog9danno_: I assume you tried `echo ${gpio_number} > /sys/class/gpio/export` ?19:12
* reanguiano checks http://wiki.minnowboard.org/Where_to_buy, sees the MAX is sold out or on backorder, Turbot is available19:32
* reanguiano wonders exactly how backwards compatible Turbot is supposed to be19:34
danno_warthog9: yup, kernel complains "export_store: invalid GPIO 338"19:38
warthog9danno_: what kernel?19:47
danno_3.19.519:48
*** jimt1 <jimt1!~Adium@65-36-116-65.dyn.grandenetworks.net> has quit IRC19:49
warthog9danno_: hmmmmm20:02
warthog9that should be new enough20:03
warthog9danno_: do you have /sys/kernel/debug/gpio ?20:03
danno_warthog9: yes but it's empty20:04
warthog9:-/20:04
warthog9that makes me think that the gpio drivers aren't loaded20:04
warthog9do you have an lpss driver?20:05
danno_warthog9: probably? how do i check20:07
danno_warthog9: this kernel+rootfs (from yocto) works when I use the Intel firmware image, so I imagine it's a u-boot issue20:11
danno_warthog9: u-boot induced* issue, I'm probably doing something wrong there20:12
*** _franck_ <_franck_!~franck@ANice-652-1-259-12.w86-203.abo.wanadoo.fr> has quit IRC20:15
*** _franck_ <_franck_!~franck@ANice-652-1-259-12.w86-203.abo.wanadoo.fr> has joined #minnowboard20:23
_franck_q20:24
*** _franck_ <_franck_!~franck@ANice-652-1-259-12.w86-203.abo.wanadoo.fr> has quit IRC20:25
*** _franck_ <_franck_!~franck@ANice-652-1-259-12.w86-203.abo.wanadoo.fr> has joined #minnowboard20:27
*** ajtag <ajtag!~ajtag@cpc10-lee211-2-0-cust124.7-1.cable.virginm.net> has joined #minnowboard21:35
*** jimt1 <jimt1!~Adium@2610:160:11:33:c3b:cb03:8267:c4d3> has joined #minnowboard21:52
*** prpplague <prpplague!David@nat/intel/x-ccqriwsmegbdzeqd> has quit IRC22:45
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC23:08
*** emeb <emeb!~ericb@ip68-2-68-52.ph.ph.cox.net> has joined #minnowboard23:09
*** lamego1 <lamego1!jose@nat/intel/x-afnfgxuymhgapxqx> has quit IRC23:10
warthog9danno_: not sure, you built from martinr's suggested build for coreboot?23:14
warthog9(if so I can build it and slap it on and take a look around)23:14
freqreanguiano: everything works just the same on the turbot from my experience.23:15
freqall i was concerned with was a RTC, sata power and uart23:16
reanguianofreq: Good to know. I won't know until I try. :-) I picked up three of the max boards then developed a demo. Shopping for more demo boards, I finally found someone who had the max in stock.23:18
danno_warthog9: no coreboot involved, just the "bare metal" u-boot build23:19
reanguianoOr more like learned to read the page where it says "244 in stock" or whatever. :-)23:19
warthog9danno_: ohhhh, ok I'll see if I can get that built up and take a look23:20
warthog9I'd GUESS u-boot isn't setting something up23:21
warthog9is sjg1 paying attention?  He might be able to weigh in on what's going on23:21
sjg1danno_: Perhaps the GPIO setup is not correct? If you look at minnowmax.dts only a few GPIOs are mentioned23:22
sjg1See pch_pinctrl23:23
danno_sjg1: i am using that file, unmodified--the soc_gpio_s5_0 entry should correspond to gpio 338 that i tried above23:26
sjg1OK I see. I have tested this in U-Boot but not Linux23:26
sjg1It is worth taking a look at the Linux driver to see how it decides what GPIOs are available?23:26
danno_probably more worth making sure linux is getting the dtb23:28
danno_i'm not passing it explicitly because i'm booting a bzImage with zboot command23:28
*** bluelightning <bluelightning!~paul@2406:e007:44a7:1:5e51:4fff:febb:401d> has joined #minnowboard23:30
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #minnowboard23:30
sjg1I don't think Linux uses or needs the dtb on x8623:35
danno_u-boot/doc/README.x86 seems to indicate that it is used23:37
sjg1Not in Linux23:37
danno_ah23:37
danno_i see23:37

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