10:41 | jnettlet | hey all, I am around now if people still have questions. |
10:43 | vpeter | You have office hours now? :) |
10:50 | jnettlet | vpeter, well it is the really the first time I have been in my office since Monday...so for this week, yes! |
10:50 | jnettlet | vpeter, I just noticed that Freescale has released an official 4.1 kernel |
10:50 | jnettlet | I will take a peak at that and see what horror they have done...and I meant NXP |
10:51 | jnettle | 10:51 * jnettlet is having a hard time with the change. I actually said Freescale to the NXP sales guys a couple of days ago. |
10:51 | jnettlet | whoops |
11:07 | bencoh | haha, I still say Freescale as well |
11:11 | malte_ | jnettlet, - support hours now? |
11:11 | jnettlet | malte_, nope just making sure to set aside some time for the community |
11:11 | malte_ | great |
14:48 | topi` | jnettlet: can you help me with the SPI? |
14:49 | topi` | I even tried to get the display working on a spare BananaPI that I had lying on the table, but that didn't work out well, either :D |
14:49 | topi` | I wonder why SPI is so difficult to get going |
14:55 | jnettlet | topi`, which panel did you get? |
15:00 | topi` | jnettlet: jnettlet https://www.adafruit.com/products/1393 |
15:01 | topi` | it's a SHARP memory display, essentially a very low power TFT-like display |
15:01 | topi` | we have one curious case where the customer wants a display to show something all the time, but there are no mains power so we have to go battery |
15:02 | topi` | lead-acid battery plus a small solar cell |
15:18 | topi` | jnettlet: I found a patch for enabling SPI on 3.14+ kernel: https://github.com/SolidRun/linux-imx6-3.14/pull/19/files?diff=split |
15:18 | topi` | do you think it's worth trying out? |
15:22 | jnettlet | topi`, which board are you attempting to hook it up to? |
15:23 | topi` | the Original HB Pro with a Quad SoM |
15:23 | jnettlet | then yes you need that or a similar patch applied. |
15:23 | topi` | right now I'm downloading the newest jessie image from images.solid-build.xyz |
15:24 | topi` | the target machines (that go to the customer) are going to be HB Gates |
15:24 | topi` | with probably the Solo SoM |
15:24 | jnettlet | okay, those have the spi enabled in the device-tree |
15:24 | topi` | oh, interesting |
15:24 | jnettlet | try out that patch, and if it doesn't work ping me and I will sort it out for you. |
15:24 | topi` | I have one HB Gate here, I can try on that. The the SPI ggoes through the MikroBUS connector, right? |
15:25 | jnettlet | that is where it is set up yes. |
15:25 | topi` | well, I'll try that |
15:25 | jnettlet | by default all the other pins on the other headers are just GPIOs |
15:26 | topi` | should I then be able to compile the linux/Documents/spi/spidev_test.c and run it |
15:26 | topi` | I think it opens /dev/spi0.0 or something similar |
15:28 | topi` | I was wishing to use something higher level like WiringX, but it seems it doesn't have SPI support for the hummingboard |
15:28 | topi` | maybe I can fix that... |
15:31 | topi` | btw are the images on images.solid-build.xyz official SR images or something else? |
15:32 | topi` | Debian images, to be specific |
15:39 | jnettlet | topi`, it doesn't yet? I thought that got added. |
15:39 | jnettlet | let me look. |
15:40 | jnettlet | topi`, no it does have support for spi |
16:30 | topi` | is there a bug in HB Gate silkscreen? it says MISO twice in the upper side of mikroBUS connector |
16:30 | topi` | SCK, MISO, MISO, +3.2V, GND |
16:39 | vpeter | Seems yes. In schematic there is MISO, MOSI, +3.2V, GND |
16:41 | topi` | success! spidev_test.c works OK, I get DE AD BE EF BA AD F0 0D |
16:41 | topi` | (I loopbacked the MISO signal back to MOSI) |
17:11 | jnettlet | Great |