Hi everybody,
I'm using iMX93QSB and i'm tryng to debug GPIO interface of the processor using prebuild linux image. I would like to change the P2_6 pin of the GPIO expander PCAL6524HEAZ which drives the selection pin fo the TMUX used on the board.
Thanks to the driver I can see the GPIO expander as the gpiochip 4 and I should be able to move the pins by using libgpiod commands like: gpioset -t0 -c 4 22=1 .
But when I try to access to pin 22 (that is corresponding to P2_6) I receive the following message:
so I checked the gpioinfo and I notice pin 22 is used by "consumer = ?":
I cannot understand why isn't possible to change a gpio pin that's routed in order to be a selection pin.
Can you help me? How can I change my selection mode from command line?
Regards,
Roberto
已解决! 转到解答。
Hello,
I have not used device-tree-compiler to decompile .dtb in dts but I suggest you take a look on the next post, it could be helpful.
Also, please follow the steps on Yocto user's guide before use Devshell.
Best regards.
Hello @JorgeCas ,Thanks for answering,
Is it possible to modify .dtb file within Linux shell? Someone on the internet suggests to use device-tree-compiler to decompile .dtb in dts, change what you need and then compile it again. But when I try to install with: sudo apt-get install device-tree-compiler, I receive:
Can you help me please? Thanks in advance.
Best regards,
Roberto
Hello,
I have not used device-tree-compiler to decompile .dtb in dts but I suggest you take a look on the next post, it could be helpful.
Also, please follow the steps on Yocto user's guide before use Devshell.
Best regards.