Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Based on the context provided, it seems you are using the deprecated sysfs interface to control GPIOs on your iMX6ULL with the boot2qt image. Since the sysfs interface is deprecated and you don’t have libgpiod installed, you might face issues.
Here are a few steps you can take to resolve this:
Verify Pin Multiplexing:
Ensure that the pin SODIMM_76 is correctly muxed as a GPIO in the device tree. If the pin is not muxed correctly, it will not function as expected. You might need to modify the device tree to set the pin function to GPIO.
Install libgpiod:
If possible, install libgpiod on your boot2qt image. This library provides a more modern and reliable way to control GPIOs. You can check if libgpiod is available in your package manager or build it from source.
Using sysfs:
If you must use sysfs, ensure that the GPIO number is correct. For SODIMM_76 on the Colibri iMX6ULL, the GPIO number might be different. You can find the correct GPIO number by referring to the Colibri iMX6ULL datasheet and the carrier board schematic.
Check GPIO Export:
Ensure that the GPIO is successfully exported and that you have the necessary permissions to access the GPIO sysfs interface.
Here is a revised approach using sysfs, assuming the GPIO number is correct:
I have installed the Toradex Reference Minimal Image (6.8.0)
This one has the gpio library installed.
I have the Colibry Evaluation Board.
I have connected the SODIMM_76 pin on the X9 connector to LED1 pin of X21 connector.
Yes, our PCB designer uses this pin to enable a serial input.
We want to use UART6 (UART_D ?) to receive a data stream from a serial device.
I need to make SODIMM 76 high before the serial data will pass through.
It seems that I also need to make a change in the device tree in order to use UART6.
We don’t use a LCD panel. Can we disable &lcdifdatgrp and &lcdifctrlgrp in order to free up SODIMM 76 for general I/O?
How do we enable &uart6 properly?
We only use the receive pin.
So, are you using a custom carrier board?
And the product is already on the shelf, you are just working on upgrading an existing product?
Just to have a better understanding of your use case.