We are trying to use UART7 which is located at J12. Trying to connect using minicom but it always shows offline. I was told to disable gpio pin in script file but not sure which pins to be disabled.
Any help would be appreciated.
Thanks Sudhir
We are trying to use UART7 which is located at J12. Trying to connect using minicom but it always shows offline. I was told to disable gpio pin in script file but not sure which pins to be disabled.
Any help would be appreciated.
Thanks Sudhir
Hi, chances are that it could have been overwritten by GPIO PIN (PI20, PI21). You could remove the following 2 PINs, and then compile with tools.
Remove
gpio_pin_6 = port:PI21 gpio_pin_12 = port:PI20
Tools http://linux-sunxi.org/Sunxi-tools
bin2fex This is a copy of sunxi-fexc which takes a script.bin and dumps the .fex text. fex2bin This is a copy of sunxi-fexc which takes the .fex text file and dumps the binary.
I have checked fex file but they are not matching with the one in my system. Please the my fex file
By the way we are using Raspbian OS
HI: I’ve seen your file, all you need is to remove the codes as follows:
gpio_pin_20 gpio_pin_21 gpio_pin_29 gpio_pin_31
I have removed the mentioned pins and build script file. Copied into /boot/bananapi/. Then tried to connec URAT7 using minicom -b 9600 -D /dev/ttyS3
In minicom it shows offline. Do I need to check for any other logs why it is not connected.
HI: Please modify Baudrate: 9600 ->115200
minicom -b 115200 -D /dev/ttyS3
No luck. Please see the boot log. Does it look good
HI: I still don’t know what you want to do .
If you went to use UART3 .you can reference it .
Turn on: [uart_para3] uart_used = 1