IRC log of #cubox of Tue 12 Apr 2016. All times are in CEST < Back to index

00:20 Exaga Artox: du hast ya 'ne macke! :D
10:39 topi` I'm trying to port a RPi project over to HB2, but it's using directly memory at /dev/mem to poke the rpi GPIOs, any ideas how to fix this for HB2?
10:39 topi` see this: https://github.com/wrobell/smemlcd/blob/master/src/rpi-gpio.c
10:41 topi` #define GPIO_SET(pin) *(gpio + 7) = 1 << pin
10:41 topi` obviously this is not going to work on the iMX6
10:41 topi` I can replace all gpio access with WiringX calls, but I wonder how much that affects the timings...
10:52 jnettlet topi`, I would just link it against libwiringX and then use their gpio control functions
10:52 topi` yeah. I need to muck around a bit to convert the suorce
10:52 topi` basically overriding all the custom GPIO_SET macros etc
10:53 topi` it's been a rocky path to get that one damn display working. But I've learned something in the process :) my first soldering was bad, and nothing came on screen. I blamed the software, but it was my soldering :)
10:53 topi` this is how you convert a software guy to a hw guy ;)
17:16 Artox Exaga!
17:19 Artox Ich hab keine Macke, sondern Urlaub!!! ... zumindest jetzt.
17:21 Humpelstilzchen lol
18:40 Exaga Artox: ich habe psychische Probleme
18:43 Exaga ik heb geestelijke problemen
18:45 jnettlet bah...who doesn't
18:46 jnettlet you just need to learn to embrace them. What doesn't kill you, only makes you stranger
19:15 Exaga jnettlet: LOL!
20:23 UnicronNL jnettlet: have you seen these errors before?
20:23 UnicronNL [ 0.785213] mvneta f1030000.ethernet eth0: [0]: could not detect attached switch
20:23 UnicronNL [ 0.792629] mvneta f1030000.ethernet eth0: [0]: couldn't create dsa switch instance (error -22)