Enable I2C, I2s, SPI in boot-config file?
#1
Hi, 

I wonder if someone can help me with this one: in the past I used a Raspberry Pi to run via the GPIOs a stepper motor. That required updating of the /boot/config.txt file (on the RPi) as follows:

Enable i2c, i2s and spi (only if not already enabled)

$ echo "dtparam=i2c_arm=on" >> /boot/config.txt

$ echo "dtparam=i2s=on" >> /boot/config.txt

$ echo "dtparam=spi=on" >> /boot/config.txt

$ echo "dtoverlay=pps-gpio,gpiopin=24" >> /boot/config.txt

I have not found in the boot directory of the Rock64 anything similar, and do not know whether required.

In this Forum I came across this thread on 

https://forum.pine64.org/showthread.php?tid=5331 which refers to a package RPi.GPIO-PineA64 package to configure the GPIOs. Is this something I should do to enable I2C, I2s and SPI?

Would really appreciate your help.

Thanks in advance, 

Helge


Messages In This Thread
Enable I2C, I2s, SPI in boot-config file? - by HelgeMK - 12-01-2017, 01:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 won't boot luminosity7 10 4,069 03-16-2024, 08:33 AM
Last Post: dmitrymyadzelets
  Rock64 doesn't boot dstallmo 1 325 03-16-2024, 08:29 AM
Last Post: dmitrymyadzelets
  Boot from SPI first mjnck 1 1,524 02-29-2024, 02:12 PM
Last Post: reukiodo
  ROCK64 v3 can it boot from USB? Tsagualsa 4 2,075 11-29-2022, 11:31 AM
Last Post: Macgyver
  Rock64 u-boot for eMMC Build Error mexicanflyer 0 1,050 09-18-2022, 02:29 PM
Last Post: mexicanflyer
  Rock64 enable 1-wire to read DS18B20 or Dallas temperature sensor Perry 2 3,088 02-12-2021, 08:02 PM
Last Post: Perry
  boot hdd usb3 philipe 1 2,643 01-27-2021, 02:12 PM
Last Post: tllim
  Libreelec Rock64 - 4GB no boot spiker15 3 4,559 11-02-2020, 12:36 AM
Last Post: wilsonYan
  Rock64 - boot helpmerock 2 3,531 10-08-2020, 01:29 PM
Last Post: helpmerock
  No boot up after power on Whoopsadaisy 4 5,645 09-26-2020, 05:14 PM
Last Post: simonsouth

Forum Jump:


Users browsing this thread: 2 Guest(s)