On 06/26/2017 03:28 PM, gianluca wrote: >> >> Your kernel is too old. Full support for the QuadPlus is a really >> recent addition. Either update your kernel to 4.12-rc, or add >> "clk_ignore_unused" to get at least basic functionality working. >> > > > Now I am compiling the 4.12-rc7. Hope this helps. > > I will keep you informed about that... > Now I am using the kernel 4.12-rc7 as the time of this writing. Regarding the device-tree, on the iMX6 the lcd is connected to a panel node of the device tree "panel-lvds" with the timing and it works great! > panel: panel { > /* > * compatible must be filled-in by bootloader: > * compatible = "innolux,g101ice-l01", "panel-lvds"; > */ > data-mapping = "jeida-24"; > backlight = <&backlight>; > /* > * width-mm and height-mm must be filled-in by bootloader, > * as well as the panel-timing properties... > */ > status = "okay"; > > panel-timing { > }; > > port { > in_lvds0: endpoint { > remote-endpoint = <&lvds0_out>; > }; > }; > }; The compatible property, the panel-timing property and the size proprerties will be filled-in by Barebox with the correct stuff like: > compatible = "innolux,g101ice-l01", "panel-lvds"; > panel-timing { > clock-frequency = <71000000>; > hactive = <1280>; > vactive = <800>; > hback-porch = <50>; > hfront-porch = <50>; > vback-porch = <5>; > vfront-porch = <5>; > hsync-len = <60>; > vsync-len = <13>; > hsync-active = <0>; > vsync-active = <0>; > de-active = <1>; > pixelclk-active = <0>; > width-mm = <210>; > height-mm = <160>; Using the same approach with both boards, in the iMX6DL the video works in Barebox and in Kernel too. In iMX6QP is working in Barebox and is __NOT_WORKING__ in kernel! In the iMX6QP the kernel skips some initialization stuff (like the imx-drm display subsystem calls) > ... > [ 0.233880] etnaviv gpu-subsystem: bound 134000.gpu (ops 0xc0a9040c) > [ 0.234016] etnaviv gpu-subsystem: bound 130000.gpu (ops 0xc0a9040c) > [ 0.234150] etnaviv gpu-subsystem: bound 2204000.gpu (ops 0xc0a9040c) > [ 0.234162] etnaviv-gpu 134000.gpu: model: GC320, revision: 5303 > [ 0.282178] etnaviv-gpu 130000.gpu: model: GC3000, revision: 5450 > [ 0.330652] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1216 > [ 0.330666] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0 > [ 0.331194] [drm] Initialized etnaviv 1.1.0 20151214 for gpu-subsystem on minor 0 > ... And I have no framebuffer registered... In the iMX6DL here is some logs: > [ 0.233835] etnaviv gpu-subsystem: bound 134000.gpu (ops 0xc0a9040c) > [ 0.234007] etnaviv gpu-subsystem: bound 130000.gpu (ops 0xc0a9040c) > [ 0.234019] etnaviv-gpu 134000.gpu: model: GC320, revision: 5007 > [ 0.267122] etnaviv-gpu 130000.gpu: model: GC880, revision: 5106 > [ 0.299671] [drm] Initialized etnaviv 1.1.0 20151214 for gpu-subsystem on minor 0 > [ 0.301955] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). > [ 0.301960] [drm] No driver support for vblank timestamp query. > [ 0.302112] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0) > [ 0.302227] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0) > [ 0.302398] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c): -517 > [ 0.302505] imx-drm display-subsystem: master bind failed: -517 > [ 0.302549] imx-ipuv3 2400000.ipu: IPUv3H probed ... > [ 0.658283] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). > [ 0.658291] [drm] No driver support for vblank timestamp query. > [ 0.658376] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0) > [ 0.658425] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0) > [ 0.658617] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c): -517 > [ 0.658728] imx-drm display-subsystem: master bind failed: -517 .. > [ 0.825679] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). > [ 0.825685] [drm] No driver support for vblank timestamp query. > [ 0.825853] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0) > [ 0.825902] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0) > [ 0.826083] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c): -517 > [ 0.826189] imx-drm display-subsystem: master bind failed: -517 .. > [ 3.000563] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). > [ 3.000569] [drm] No driver support for vblank timestamp query. > [ 3.000648] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0) > [ 3.000691] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0) > [ 3.000869] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c): -517 > [ 3.001036] imx-drm display-subsystem: master bind failed: -517 > [ 3.024858] of_pwm_get(): PWM chip not found ... > [ 3.059329] panel-simple panel: panel supply power not found, using dummy regulator > [ 3.132595] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). > [ 3.132601] [drm] No driver support for vblank timestamp query. > [ 3.132687] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0) > [ 3.132731] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0) > [ 3.132910] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c): -517 > [ 3.133076] imx-drm display-subsystem: master bind failed: -517 > [ 3.134066] of_pwm_get(): PWM chip not found > [ 3.135453] panel-simple panel: panel supply power not found, using dummy regulator ... > [ 3.183779] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). > [ 3.183786] [drm] No driver support for vblank timestamp query. > [ 3.183865] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0) > [ 3.183908] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0) > [ 3.184082] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c): -517 > [ 3.184189] imx-drm display-subsystem: master bind failed: -517 > [ 3.187295] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). > [ 3.187301] [drm] No driver support for vblank timestamp query. > [ 3.187377] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0) > [ 3.187422] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0) > [ 3.187686] imx-drm display-subsystem: bound 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c) ... > [ 3.321845] imx-drm display-subsystem: fb0: frame buffer device > [ 3.334412] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 1 and the video is working perfectly! It looks like the imx-drm and/or the drm driver are not called or they are called in a different (wrong?) way. In attachment both dmesg and device-tree passed to kernel by Barebox. Any help? Regards -- Eurek s.r.l. | Electronic Engineering | http://www.eurek.it via Celletta 8/B, 40026 Imola, Italy | Phone: +39-(0)542-609120 p.iva 00690621206 - c.f. 04020030377 | Fax: +39-(0)542-609212