I have a LEC-iMX8MP-QN-4G-32G-CT (pn 91-72512-6010) mounted on a I-Pi SMARC Plus (91-77A07-0020). I try to work with GPIO as described at imx8mplus-docs – I-Pi SMARC section 3. If I type:
echo 497 > export
as described in example, it generates this error : "-sh: echo: write error: Invalid argument"
if I remove spaces on each side of greter than sign, I do not have any error. It seams to work.
echo 497>export
After I continue the example and enter:
cat gpio497/direction
I get this error message: "cat: gpio497/direction: No such file or directory"
Does somebody know what is wrong? Here is my Linux version details:
ID=fsl-imx-xwayland
NAME="NXP i.MX Release Distro"
VERSION="6.6-scarthgap (scarthgap)"
VERSION_ID=6.6-scarthgap
VERSION_CODENAME="scarthgap"
PRETTY_NAME="NXP i.MX Release Distro 6.6-scarthgap (scarthgap)"
CPE_NAME="cpe:/o:openembedded:fsl-imx-xwayland:6.6-scarthgap"