Page 1 of 1

How to I2C disable and using GPIO?

Posted: Mon Oct 19, 2020 11:08 am
by haksoolee
Hi..

I have a core board..

i need I2C Disable and Using GPIO..

i did npi-config but have a message "Fail to disable i2c0"..

How to use GPIO I2C Pins?

Please reply

Re: How to I2C disable and using GPIO?

Posted: Mon Dec 07, 2020 6:47 pm
by kajo
I have the same problem.

If I try to change the seial-Pin (UART0 / debug) to ordinary I/O-Pins (PWM-Pin) I get this message in the terminal:

Code: Select all

pi@NanoPi-Duo2:~$ sudo npi-config
Couldn't open blob from '/sys/firmware/fdt': No such file or directory
Couldn't open blob from '/sys/firmware/fdt': No such file or directory
Couldn't open blob from '/sys/firmware/fdt': No such file or directory
Couldn't open blob from '/boot/sun8i-h3-nanopi-duo2.dtb': No such file or directory
Couldn't open blob from '/sys/firmware/fdt': No such file or directory
Couldn't open blob from '/boot/sun8i-h3-nanopi-duo2.dtb': No such file or directory
Couldn't open blob from '/sys/firmware/fdt': No such file or directory
Couldn't open blob from '/boot/sun8i-h3-nanopi-duo2.dtb': No such file or directory
Couldn't open blob from '/boot/sun8i-h3-nanopi-duo2.dtb': No such file or directory
sed: can't read /boot/boot.cmd: No such file or directory
Couldn't open blob from '/sys/firmware/fdt': No such file or directory
Couldn't open blob from '/boot/sun8i-h3-nanopi-duo2.dtb': No such file or directory
Couldn't open blob from '/boot/sun8i-h3-nanopi-duo2.dtb': No such file or directory
sed: can't read /boot/boot.cmd: No such file or directory


There is no File "/boot/sun8i-h3-nanopi-duo2.dtb" in this folder.
In the folder /boot/ I can find a file called "boot.img" and "bootlogo.bmp".

/sys/firmware/ is empty too.