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
  Boot from SPI first mjnck 0 400 12-31-2021, 11:23 AM
Last Post: mjnck
  Rock64 enable 1-wire to read DS18B20 or Dallas temperature sensor Perry 2 1,725 02-12-2021, 08:02 PM
Last Post: Perry
  boot hdd usb3 philipe 1 1,571 01-27-2021, 02:12 PM
Last Post: tllim
  Libreelec Rock64 - 4GB no boot spiker15 3 2,790 11-02-2020, 12:36 AM
Last Post: wilsonYan
  Rock64 - boot helpmerock 2 2,247 10-08-2020, 01:29 PM
Last Post: helpmerock
  No boot up after power on Whoopsadaisy 4 3,680 09-26-2020, 05:14 PM
Last Post: simonsouth
Bug u-boot (forks) status mcerveny 14 9,469 08-27-2020, 01:44 PM
Last Post: globaltree
Sad No boot, garbage console text and blinking red light ... jean_bruder 2 2,517 07-19-2020, 08:37 AM
Last Post: jean_bruder
  Graphical boot manager john3voltas 0 1,184 03-25-2020, 02:27 PM
Last Post: john3voltas
  doesn't boot, no video cjyar 7 5,053 11-15-2019, 03:45 PM
Last Post: ab1jx

Forum Jump:


Users browsing this thread: 1 Guest(s)