Open matsujirushi opened 8 months ago
$ cd modules/mipi_dsi
$ make
make -C /lib/modules/6.6.20+rpt-rpi-v8/build M=/home/pi/seeed-linux-dtoverlays/modules/mipi_dsi modules
make[1]: Entering directory '/usr/src/linux-headers-6.6.20+rpt-rpi-v8'
CC [M] /home/pi/seeed-linux-dtoverlays/modules/mipi_dsi/mipi_dsi_drv.o
/home/pi/seeed-linux-dtoverlays/modules/mipi_dsi/mipi_dsi_drv.c: In function ‘i2c_md_probe’:
/home/pi/seeed-linux-dtoverlays/modules/mipi_dsi/mipi_dsi_drv.c:380:19: error: ‘struct drm_panel’ has no member named ‘prepare_upstream_first’; did you mean ‘prepare_prev_first’?
380 | md->panel.prepare_upstream_first = true;
| ^~~~~~~~~~~~~~~~~~~~~~
| prepare_prev_first
/home/pi/seeed-linux-dtoverlays/modules/mipi_dsi/mipi_dsi_drv.c: At top level:
/home/pi/seeed-linux-dtoverlays/modules/mipi_dsi/mipi_dsi_drv.c:462:18: error: initialization of ‘int (*)(struct i2c_client *)’ from incompatible pointer type ‘int (*)(struct i2c_client *, const struct i2c_device_id *)’ [-Werror=incompatible-pointer-types]
462 | .probe = i2c_md_probe,
| ^~~~~~~~~~~~
/home/pi/seeed-linux-dtoverlays/modules/mipi_dsi/mipi_dsi_drv.c:462:18: note: (near initialization for ‘i2c_md_driver.probe’)
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-6.6.20+rpt-common-rpi/scripts/Makefile.build:248: /home/pi/seeed-linux-dtoverlays/modules/mipi_dsi/mipi_dsi_drv.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.6.20+rpt-common-rpi/Makefile:1938: /home/pi/seeed-linux-dtoverlays/modules/mipi_dsi] Error 2
make[1]: *** [/usr/src/linux-headers-6.6.20+rpt-common-rpi/Makefile:246: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.6.20+rpt-rpi-v8'
make: *** [Makefile:15: all] Error 2
The latest bookworm support is currently in the vnext branch.
https://github.com/matsujirushi/seeed-linux-dtoverlays/blob/main/README_reTerminal2.md