Jump to content

bamkrs

Members
  • Posts

    4
  • Joined

  • Last visited

  1. So I made some progress, however, something seems of. I get a nullptr kernel panic when the module loads and tries to find the panel devicetree entry (i suppose) [ 1.749834] panel-dsi-simple ff960000.mipi.0: supply power not found, using dummy regulator [ 1.750865] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000290 [ 1.751637] Mem abort info: [ 1.751890] ESR = 0x96000004 [ 1.752166] EC = 0x25: DABT (current EL), IL = 32 bits [ 1.752636] SET = 0, FnV = 0 [ 1.752910] EA = 0, S1PTW = 0 [ 1.753191] Data abort info: [ 1.753449] ISV = 0, ISS = 0x00000004 [ 1.753822] CM = 0, WnR = 0 [ 1.754090] [0000000000000290] user address but active_mm is swapper [ 1.754654] Internal error: Oops: 96000004 [#1] PREEMPT SMP [ 1.755148] Modules linked in: [ 1.755433] CPU: 4 PID: 45 Comm: kworker/4:1 Not tainted 5.10.19-yocto-standard-som-rk3399 #1 [ 1.756181] Hardware name: Gessler GmbH IRISv1 (SOM-RK3399v2, MIPI-DSI) (DT) [ 1.756819] Workqueue: events deferred_probe_work_func [ 1.757282] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--) [ 1.757818] pc : of_drm_find_panel+0x78/0xc8 [ 1.758200] lr : of_drm_find_panel+0x4c/0xc8 [ 1.758579] sp : ffff800012263a80 [ 1.758876] x29: ffff800012263a80 x28: ffff800011cc7000 [ 1.759356] x27: ffff0000f77a87f0 x26: ffff0000f77a87a0 [ 1.759834] x25: ffff800011e8c540 x24: ffff8000111b47e8 [ 1.760312] x23: 0000000000000000 x22: 0000000000000001 [ 1.760790] x21: ffff800011e8a160 x20: ffff0000f7817330 [ 1.761266] x19: ffff000042fc3c80 x18: 0000000000000000 [ 1.761744] x17: 0000000000000020 x16: 0000000000000019 [ 1.762221] x15: ffffffffffffffff x14: ffffff0000000000 [ 1.762698] x13: ffffffffffffffff x12: 000000000000000c [ 1.763175] x11: 0000000000000003 x10: 0101010101010101 [ 1.763652] x9 : fffffffffffffff9 x8 : 7f7f7f7f7f7f7f7f [ 1.764129] x7 : fefefeff646c606d x6 : 1d150c11f5f38080 [ 1.764605] x5 : 00007375110c151d x4 : 0000000000000000 [ 1.765081] x3 : ffff800011e8a160 x2 : ffff800011e8a180 [ 1.765558] x1 : 0000000000000000 x0 : 0000000000000000 [ 1.766036] Call trace: [ 1.766261] of_drm_find_panel+0x78/0xc8 [ 1.766614] drm_of_find_panel_or_bridge+0x6c/0xe8 [ 1.767043] dw_mipi_dsi_host_attach+0x7c/0x130 [ 1.767449] mipi_dsi_attach+0x28/0x40 [ 1.767785] panel_simple_dsi_probe+0x448/0x548 [ 1.768190] mipi_dsi_drv_probe+0x20/0x30 [ 1.768549] really_probe+0xe8/0x4d0 [ 1.768872] driver_probe_device+0xf4/0x160 [ 1.769246] __device_attach_driver+0x8c/0x118 [ 1.769644] bus_for_each_drv+0x78/0xc8 [ 1.769988] __device_attach+0xf0/0x170 [ 1.770333] device_initial_probe+0x14/0x20 [ 1.770706] bus_probe_device+0x9c/0xa8 [ 1.771051] deferred_probe_work_func+0x88/0xd8 [ 1.771457] process_one_work+0x1c0/0x4a0 [ 1.771817] worker_thread+0x1f8/0x420 [ 1.772154] kthread+0x118/0x150 [ 1.772447] ret_from_fork+0x10/0x34 [ 1.772773] Code: eb02027f d1008273 540001a0 f9400261 (f9414821) [ 1.773314] ---[ end trace 52395e7ef92f2cb0 ]--- Any hints what I might be missing out?
  2. Nice! I've already seen your post for the legacy kernel. Do you know when you publish the post about 5.10.y?
  3. Looking at the pictures, the touch-controller is not connected. But since its an FT5316 its not much of a hassle. I would even assume it will just run with the default FT5x06 mainline module. I'm really interested in how he got the MIPI-DSI DRM running. As soon as I just add &mipi_dsi { status = "okay"; }; the entire rockchip-drm driver stops working. HDMI, eDP nothing comes up anymore. dmesg | grep drm only outputs [ 0.694126] panfrost ff9a0000.gpu: [drm:panfrost_devfreq_init] *ERROR* Couldn't set OPP regulators [ 1.740675] [drm] Initialized panfrost 1.1.0 20180908 for ff9a0000.gpu on minor 0 without mipi_dsi enabled, everything works fine: [ 0.686797] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops) [ 0.687611] [drm] unsupported AFBC format[3231564e] [ 0.689876] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops) [ 0.695308] panfrost ff9a0000.gpu: [drm:panfrost_devfreq_init] *ERROR* Couldn't set OPP regulators [ 1.748562] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops) [ 1.751190] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops) [ 1.753993] rockchip-drm display-subsystem: bound ff940000.hdmi (ops dw_hdmi_rockchip_ops) [ 1.755134] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes [ 1.756401] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0 [ 1.764194] [drm] Initialized panfrost 1.1.0 20180908 for ff9a0000.gpu on minor 1
  4. Hey, nice to see MIPI-DSI working in 5.10.y Would you mind sharing your config and devicetree? Im struggeling to get the MIPI-DSI up but the dmesg is completly silent about Mipi. It seems that isn't even loaded even tho the module is compiled and loaded and the devicetree entry is enabled.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines