Hello! If somebody search a resolution how to enable can interface (it`s necessery for 3d printers with can bus circuits) on orange pi distr - you can use attachment kernel conf for build image.
You should palce it in `orange-build/external/config/kenrel` (with replace) or `orange-build/kernel` and load on kernel configuration. Other steps is default for building opi image:
git clone https://github.com/orangepi-xunlong/orangepi-build
mv -f ./linux-5.15-sun55iw3-current.config ./orangepi-build/external/config/kernel
cd ./orangepi-build
sudo ./build.sh BOARD=orangepi4a BRANCH=current BUILD_OPT=image RELEASE=jammy BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_CONFIGURE=n
If the OS does not detect the can0 interface - check if any CAN device is connected
voron@voron:~$ lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 1b3f:2247 Generalplus Technology Inc. GENERAL WEBCAM
-------> Bus 001 Device 003: ID 1d50:606f OpenMoko, Inc. Geschwister Schneider CAN adapter <---------
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
linux-5.15-sun55iw3-current.config