Getting started with RevPi Core and Balena OS

Hey @savnik,

To my understanding the config.rsc file contains information on the IO modules and the position relative to the Core Module. A I/O module placed on the left side of the Core module will have a different config.rsc than if the I/O module is placed on the right side of the Core module.

Thanks for the tip

I do not have a similar device to test,. Referring to the piTest documentation, I would suggest

  • try to read the value of the RevPiLED variable using ./piTest -r RevPiLED ?
  • Are you able to use piTest to toggle other pins? eg O_1, O_2 etc
  • Are you using a privileged container? can you please confirm if you have the following device: /dev/piControl0? piTest controls peripherals via this device based on the source
  • I saw you commented on the other forum thread

COPY config.rsc /etv/revpi/config.rsc
Hi, I’am trying to reproduce this in my own setup.
Is it a typo or intention in the path /etv/… ?

I believe it is. If you want to modify the file when building the image, it should be COPY config.rsc /etc/revpi/config.rsc

I hope this gives you enough to continue debugging.

Cheers