Hi to al, I'm new to the OpenWrt forum.
In these days I'm traying to use a Raspberry Pi Zero 2 W for a personal project using OpenWrt as my OS.
The project start as a personal project to read some data from a ModBUS/RTU device port and read a serial device on another port, and send all datas to an MQTT broker.
The raspberry Pi Zero 2 W have a very limited number of serial port:
- One serial port is used by default for the UART console
- One serial port can be enabled for BLE module
For my project I need 2 more serial port and searching online for supported bridge to serial I've found the SC16IS750 that also add some extra GPIO.
The SC16IS750 is already supported by the official Raspberry Pi image and also by the Linux kernel.
When i connect it following the instruction on how to enable the i2C 1 on the Raspberry using the i2cget I can find the devece without problem
Now comes my problem, if I would like to use these driver with OpenWrt I need to manually enable them in the kernel_menuconfig, and that change my kernel versione making it not compatible with the online kernel package compiled from openWRT community, and this is a big issue because I need to self-host all the pakages I need, for example OpenVPN.
How can I resove this problem, so how can I mantain my kernel version fully compaible with OpenWrt Kernel withot aving errors form opkg and the web interface?
It's possible to add by default these 2 drivers as kernel modules (kmod-*) to make them installable via opkg or web interface?
Thank you for all the support