dtc -@ -O dtb -o vc4-vga666-overlay.dtbo vc4-vga666-overlay.dts
- Install Kernel Headers
sudo apt install raspberrypi-kernel-headers
- Compile drm bridge (do not use sudo)
make -f Makefile.cross ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- KERNELDIR=/lib/modules/$(uname -r)/build
- Copy .ko file into system dir
sudo cp rpi-dpidac.ko /usr/lib/modules/$(uname -r)/kernel/drivers/gpu/drm/bridge
NOTE: default /boot/timings.txt path is not mounted when module tries to read the same so changed path to /home/pi/RGB-Pi/data/system.dat - Rebuild module dependency list
sudo depmod
- Add rpi-dpidac module to /etc/modules-load.d/modules.conf or /etc/modules.conf
rpi-dpidac
- Check if kernel module is loaded
lsmod | grep rpi_dpidac
- Display module info
modinfo rpi-dpidac
- Load module manually
modprobe rpi-dpidac
orinsmod /usr/lib/modules/$(uname -r)/kernel/drivers/gpu/drm/bridge/rpi-dpidac.ko
- Unload module manually
modprobe -r rpi-dpidac
- Get kernel boot messages to check info
sudo less /var/log/messages | grep RPI-DPIDAC
ordmesg | grep RPI-DPIDAC