gpio driver porting from an r-pi3b
Morning. The SPI devices seem to work OK for me.  A while back I enabled one of them to test the on-board 16MB SPI Flash for booting which worked fine after enabling the SPI node in the devicetree and adding a node for the Flash. I had to rebuild the kernel once with the necessary drivers which I did directly on the Rock64... as for installing, I just copied the resulting image and dtb directly to the /boot/.... folders and made backups of the old ones. Since the boot process uses extlinux and not grub, I think the normal make install doesnt work... but there should be another matching script...

As for general things GPIO and MCU buses, I would not try and port the RPi stuff, rather just use the normal Linux interfaces...

If you have any questions, maybe drop by in the #rock64 IRC channel where all the devs hang out Smile
Come have a chat in the Pine IRC channel >>

Messages In This Thread
gpio driver porting from an r-pi3b - by gene83 - 10-12-2017, 08:12 PM
RE: gpio driver porting from an r-pi3b - by xalius - 12-02-2017, 03:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Brick Rock64 usb2.0 Power Control Floating GPIO Tutorial Files & Notes MarkHaysHarris777 6 13,405 01-15-2023, 10:36 AM
Last Post: ds00
  Configuring Python GPIO Pin Control Rock64 www139 3 7,740 06-22-2021, 06:57 AM
Last Post: Mrfixit2001
  Help connecting a dvb board in the right gpio pins cosmodeal 0 2,207 11-11-2020, 12:48 PM
Last Post: cosmodeal
Question UARTs from GPIO headers maks.dav 3 5,050 10-30-2020, 07:44 AM
Last Post: maks.dav
  RTL8812AU driver and connection issues pane 7 9,515 12-20-2018, 04:56 PM
Last Post: pane
  WIFI driver compilation wsk 1 2,889 11-01-2018, 12:21 AM
Last Post: wsk
  GPIO extension cable fault viguzzz 12 13,612 05-18-2018, 04:03 AM
Last Post: viguzzz
Question Rock64 GPIO Nak64Rbit 5 7,666 04-04-2018, 12:53 AM
Last Post: hryst

Forum Jump:

Users browsing this thread: 1 Guest(s)