|
On OrangePi PC2 board, we can use GPIO as above
The patch is used to export GPIO port on /sys/class/gpio_sw/
How to
1. Download and decompress Patch.tar
2. Update boot0.bin and uboot.bin on /dev/sdx, Note! "/dev/sdx" is device node of SDcard
- dd bs=1024 seek=8 if=boot0.bin of=/dev/sdx
- dd bs=1024 seek=16400 if=uboot.bin of=/dev/sdx
Copy code
3. Update dts
Copy OrangePiH5orangepi.dtb into /media/xxx/BOOT/orangepi
4. Plug SDcard and reboot OrangePi PC2.
|
This thread contains more resources
You need to Log in to download or view,No account?
Register
x
|