I am exploring ways to set my GPIO pins on boot. I have made a local.rc script setting my pins to their desired state.
Researching the problem I looked at NetBSD and I like their solution.
I could also use u-boot pinmux to set the state. More complicated I could change the dts files.
What is your method?
Researching the problem I looked at NetBSD and I like their solution.
src/gpio at trunk · NetBSD/src
Automatic conversion of the NetBSD src CVS module, use with care. Please submit bugs/changes via https://gnats.netbsd.org - src/gpio at trunk · NetBSD/src
github.com
src/gpio.conf at trunk · NetBSD/src
Automatic conversion of the NetBSD src CVS module, use with care. Please submit bugs/changes via https://gnats.netbsd.org - src/gpio.conf at trunk · NetBSD/src
github.com
I could also use u-boot pinmux to set the state. More complicated I could change the dts files.
What is your method?