diff --git a/projects/gk7205v200_ultimate_baresip/general/overlay/etc/init.d/S35io b/projects/gk7205v200_ultimate_baresip/general/overlay/etc/init.d/S35io new file mode 100755 index 0000000..d6ba068 --- /dev/null +++ b/projects/gk7205v200_ultimate_baresip/general/overlay/etc/init.d/S35io @@ -0,0 +1,25 @@ +#!/bin/sh + + +# Initializing the second UART as /tty/AMA1 +# +devmem 0x112c0070 32 0x2 +devmem 0x112c0074 32 0x2 + + +# GPIO initialization and voltage supply to the LFD - gpio12 +# +devmem 0x120c0010 32 2 +gpio set 12 + + +# GPIO initialization - gpio40 +# +devmem 0x112c0040 32 0x0 +gpio clear 40 + + +# GPIO initialization - gpio41 +# +devmem 0x112c0044 32 0x0 +gpio clear 41 \ No newline at end of file diff --git a/projects/gk7205v200_ultimate_baresip/general/overlay/etc/init.d/S35speaker b/projects/gk7205v200_ultimate_baresip/general/overlay/etc/init.d/S35speaker deleted file mode 100755 index be8db0d..0000000 --- a/projects/gk7205v200_ultimate_baresip/general/overlay/etc/init.d/S35speaker +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -# GPIO initialization and voltage supply to the LFD -# -devmem 0x120c0010 32 2 -[ -d /sys/class/gpio/gpio12 ] || echo 12 >/sys/class/gpio/export -echo out >/sys/class/gpio/gpio12/direction -echo 1 >/sys/class/gpio/gpio12/value diff --git a/projects/gk7205v200_ultimate_baresip/general/overlay/etc/init.d/S35uart b/projects/gk7205v200_ultimate_baresip/general/overlay/etc/init.d/S35uart deleted file mode 100755 index 7cfbf5e..0000000 --- a/projects/gk7205v200_ultimate_baresip/general/overlay/etc/init.d/S35uart +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -# Initializing the second UART as /tty/AMA1 -# -devmem 0x112c0070 32 0x2 -devmem 0x112c0074 32 0x2