Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5919

Compute Module • Re: Standard LCD 7 inches does not work fine on CM4 DSI0 connector

$
0
0
..
I compiled 6.6.y source code with 32bit mode, and get the 6.1.21-v8+ firmware. CM4 can run and HDMI part works(on 5.x kernel HDMI and DSI1 were working together)
Then I use the same way as 5.x kernel to cross compile ICN6211 driver file and device tree overlay in 6.x kernel. During compiling, there's one error in drive file, "remove" function has to be "void" intead of "int", after changing this, both ko file and dtbo files are correctly compiled. And after I copied the ko and dtbo file to relative folders and boot up, DSI1 didn't work(I haven't tried DSI0 yet), and I cannot find the DSI1 device in system.
Does this 6.x kernle need different operation?
sorry, but as you're requiring the ICN6211bridge driver why don't you simply enable the module in your kernel config when compiling your kernel?
Sounds like you're not making use of the driver in-tree https://github.com/raspberrypi/linux/bl ... -icn6211.c

Code:

static void chipone_dsi_remove(struct mipi_dsi_device *dsi){struct chipone *icn = mipi_dsi_get_drvdata(dsi);mipi_dsi_detach(dsi);drm_bridge_remove(&icn->bridge);}
https://github.com/raspberrypi/linux/bl ... 5C1-L771C2
Thanks for pointing out this, I will try this later. But I still got the question, why the new kernel system cannot hook up the DSI display? I saw the modules in "gpu/drm/panel" all become ko.xz files, in 5.x kernel, they're ko files. Could this be the problem?

Statistics: Posted by xiao_fengzi — Tue Dec 10, 2024 8:26 am



Viewing all articles
Browse latest Browse all 5919

Trending Articles