07-11-2023, 01:12 AM
Hello
when I try to install the Driver CH341SER from CH341SER_LINUX.ZIP - 南京沁恒微电子股份有限公司 (wch.cn) for the Ayufan linux build. I get this error Message during the compilation:
I want to use the PineDisplay as Display on Linux and since Ayufan has a Documentation how to use it on his Linux Build, i use it.
But i need to install the Driver to use a CH340c RS485 to USB converter.
Any help is greatly appreciated.
when I try to install the Driver CH341SER from CH341SER_LINUX.ZIP - 南京沁恒微电子股份有限公司 (wch.cn) for the Ayufan linux build. I get this error Message during the compilation:
Code:
rock64@rockpro64:~/CH341SER_LINUX/driver$ make
make -C /lib/modules/4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/build M=/home/rock64/CH341SER_LINUX/driver
make[1]: Entering directory '/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310'
CC [M] /home/rock64/CH341SER_LINUX/driver/ch341.o
gcc: error: unrecognized command line option '-mgeneral-regs-only'
gcc: error: unrecognized command line option '-mcmodel=large'
scripts/Makefile.build:283: recipe for target '/home/rock64/CH341SER_LINUX/driver/ch341.o' failed
make[2]: *** [/home/rock64/CH341SER_LINUX/driver/ch341.o] Error 1
Makefile:1479: recipe for target '_module_/home/rock64/CH341SER_LINUX/driver' failed
make[1]: *** [_module_/home/rock64/CH341SER_LINUX/driver] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310'
Makefile:5: recipe for target 'default' failed
make: *** [default] Error 2
I want to use the PineDisplay as Display on Linux and since Ayufan has a Documentation how to use it on his Linux Build, i use it.
But i need to install the Driver to use a CH340c RS485 to USB converter.
Any help is greatly appreciated.