Modifying BSP 2.8 to install QT 5.11

Hello!

I’m using the latest BSP with QT 5.9 in my projects and it almost works fine except for the QT-GStreamer. I have a lot of memory problems in this version.
However, I tested the demo version of QT 5.11 and everything went well.

So after that, I tried to change the QT recipes from the last BSP, but there is always a problem that prevents the generation of images.

How could I correctly change the QT recipes to generate an image with the latest stable QT and the last stable GStreamer?

Regards!

Ps: GStreamer messages (from Kernel). After some fail repetitions, eth0 goes down.

[   47.129152] WARNING: CPU: 1 PID: 592 at /media/dock/opt/yocto/oe-core/build/tmp-glibc/work-shared/colibri-imx6/kernel-source/mm/page_alloc.c:7393 free_contig_range+0x94/0x98
[   47.144676] 375 pages are still in use!
[   47.148547] Modules linked in: bluetooth(O) compat(O) usb_f_rndis u_ether hid_multitouch pn5xx_i2c libcomposite configfs galcore(O)
[   47.160545] CPU: 1 PID: 592 Comm: QSGRenderThread Tainted: G           O    4.9.87-2.8.3+g07d40f6f #9
[   47.169765] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[   47.176292] Backtrace: 
[   47.178771] [<8010ba5c>] (dump_backtrace) from [<8010bd34>] (show_stack+0x18/0x1c)
[   47.186344]  r7:00000009 r6:600a0013 r5:00000000 r4:80c1a9b0
[   47.192013] [<8010bd1c>] (show_stack) from [<803f79e4>] (dump_stack+0x90/0xa4)
[   47.199245] [<803f7954>] (dump_stack) from [<80124d14>] (__warn+0xec/0x104)
[   47.206209]  r7:00000009 r6:809101a0 r5:00000000 r4:8d487db0
[   47.211875] [<80124c28>] (__warn) from [<80124d6c>] (warn_slowpath_fmt+0x40/0x48)
[   47.219362]  r9:8d486000 r8:80c914c0 r7:80c06344 r6:000242b6 r5:00000177 r4:80910978
[   47.227113] [<80124d30>] (warn_slowpath_fmt) from [<801c8c70>] (free_contig_range+0x94/0x98)
[   47.235551]  r3:00000177 r2:80910978
[   47.239126]  r4:000242b6
[   47.241669] [<801c8bdc>] (free_contig_range) from [<80204b84>] (cma_release+0x88/0xa4)
[   47.249589]  r9:8d486000 r8:6e503944 r7:801140e8 r6:00000000 r5:00024100 r4:80c92204
[   47.257342] [<80204afc>] (cma_release) from [<804e5624>] (dma_release_from_contiguous+0x38/0x3c)
[   47.266126]  r5:001b6000 r4:8fdec000
[   47.269714] [<804e55ec>] (dma_release_from_contiguous) from [<801136fc>] (cma_allocator_free+0x58/0x7c)
[   47.279113] [<801136a4>] (cma_allocator_free) from [<801140d4>] (__arm_dma_free.constprop.2+0x124/0x138)
[   47.288594]  r7:801140e8 r6:24100000 r5:94100000 r4:8d3fdfc0
[   47.294259] [<80113fb0>] (__arm_dma_free.constprop.2) from [<80114104>] (arm_dma_free+0x1c/0x24)
[   47.303044]  r5:94100000 r4:001b6000
[   47.306632] [<801140e8>] (arm_dma_free) from [<8062ac7c>] (vpu_free_dma_buffer+0x94/0xb4)
[   47.314815] [<8062abe8>] (vpu_free_dma_buffer) from [<8062c134>] (vpu_ioctl+0x854/0xaec)
[   47.322909]  r7:0000001f r6:8d158600 r5:00000051 r4:6e503944
[   47.328573] [<8062b8e0>] (vpu_ioctl) from [<8021aa94>] (do_vfs_ioctl+0xa8/0x8e8)
[   47.335973]  r8:6e503944 r7:0000001f r6:8d158600 r5:8c4e0c70 r4:6e503944
[   47.342678] [<8021a9ec>] (do_vfs_ioctl) from [<8021b310>] (SyS_ioctl+0x3c/0x60)
[   47.349991]  r10:00000000 r9:8d486000 r8:6e503944 r7:00005601 r6:0000001f r5:8d158600
[   47.357819]  r4:8d158601
[   47.360360] [<8021b2d4>] (SyS_ioctl) from [<80107d20>] (ret_fast_syscall+0x0/0x48)
[   47.367933]  r9:8d486000 r8:80107ee4 r7:00000036 r6:00005601 r5:678ee398 r4:6e503944
[   47.375733] ---[ end trace 013a858af82ba851 ]---
[   47.380678] ------------[ cut here ]------------
[   47.385321] WARNING: CPU: 1 PID: 592 at /media/dock/opt/yocto/oe-core/build/tmp-glibc/work-shared/colibri-imx6/kernel-source/mm/page_alloc.c:7393 free_contig_range+0x94/0x98
[   47.400840] 375 pages are still in use!
[   47.404694] Modules linked in: bluetooth(O) compat(O) usb_f_rndis u_ether hid_multitouch pn5xx_i2c libcomposite configfs galcore(O)
[   47.416700] CPU: 1 PID: 592 Comm: QSGRenderThread Tainted: G        W  O    4.9.87-2.8.3+g07d40f6f #9
[   47.425921] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[   47.432448] Backtrace: 
[   47.434927] [<8010ba5c>] (dump_backtrace) from [<8010bd34>] (show_stack+0x18/0x1c)
[   47.442501]  r7:00000009 r6:600a0013 r5:00000000 r4:80c1a9b0
[   47.448169] [<8010bd1c>] (show_stack) from [<803f79e4>] (dump_stack+0x90/0xa4)
[   47.455404] [<803f7954>] (dump_stack) from [<80124d14>] (__warn+0xec/0x104)
[   47.462367]  r7:00000009 r6:809101a0 r5:00000000 r4:8d487db0
[   47.468034] [<80124c28>] (__warn) from [<80124d6c>] (warn_slowpath_fmt+0x40/0x48)
[   47.475520]  r9:8d486000 r8:80c914c0 r7:80c06344 r6:000244b6 r5:00000177 r4:80910978
[   47.483272] [<80124d30>] (warn_slowpath_fmt) from [<801c8c70>] (free_contig_range+0x94/0x98)
[   47.491710]  r3:00000177 r2:80910978
[   47.495285]  r4:000244b6
[   47.497830] [<801c8bdc>] (free_contig_range) from [<80204b84>] (cma_release+0x88/0xa4)
[   47.505751]  r9:8d486000 r8:6e71e6e4 r7:801140e8 r6:00000000 r5:00024300 r4:80c92204
[   47.513500] [<80204afc>] (cma_release) from [<804e5624>] (dma_release_from_contiguous+0x38/0x3c)
[   47.522287]  r5:001b6000 r4:8fdf0000
[   47.525872] [<804e55ec>] (dma_release_from_contiguous) from [<801136fc>] (cma_allocator_free+0x58/0x7c)
[   47.535272] [<801136a4>] (cma_allocator_free) from [<801140d4>] (__arm_dma_free.constprop.2+0x124/0x138)
[   47.544754]  r7:801140e8 r6:24300000 r5:94300000 r4:8d3fd9c0
[   47.550419] [<80113fb0>] (__arm_dma_free.constprop.2) from [<80114104>] (arm_dma_free+0x1c/0x24)
[   47.559204]  r5:94300000 r4:001b6000
[   47.562789] [<801140e8>] (arm_dma_free) from [<8062ac7c>] (vpu_free_dma_buffer+0x94/0xb4)
[   47.570971] [<8062abe8>] (vpu_free_dma_buffer) from [<8062c134>] (vpu_ioctl+0x854/0xaec)
[   47.579064]  r7:0000001f r6:8d158600 r5:00000051 r4:6e71e6e4
[   47.584729] [<8062b8e0>] (vpu_ioctl) from [<8021aa94>] (do_vfs_ioctl+0xa8/0x8e8)
[   47.592128]  r8:6e71e6e4 r7:0000001f r6:8d158600 r5:8c4e0c70 r4:6e71e6e4
[   47.598834] [<8021a9ec>] (do_vfs_ioctl) from [<8021b310>] (SyS_ioctl+0x3c/0x60)
[   47.606147]  r10:00000000 r9:8d486000 r8:6e71e6e4 r7:00005601 r6:0000001f r5:8d158600
[   47.613976]  r4:8d158601
[   47.616519] [<8021b2d4>] (SyS_ioctl) from [<80107d20>] (ret_fast_syscall+0x0/0x48)
[   47.624095]  r9:8d486000 r8:80107ee4 r7:00000036 r6:00005601 r5:678ee398 r4:6e71e6e4
[   47.631912] ---[ end trace 013a858af82ba852 ]---
[   47.636937] ------------[ cut here ]------------
[   47.641641] WARNING: CPU: 1 PID: 592 at /media/dock/opt/yocto/oe-core/build/tmp-glibc/work-shared/colibri-imx6/kernel-source/mm/page_alloc.c:7393 free_contig_range+0x94/0x98
[   47.657158] 375 pages are still in use!
[   47.661021] Modules linked in: bluetooth(O) compat(O) usb_f_rndis u_ether hid_multitouch pn5xx_i2c libcomposite configfs galcore(O)
[   47.673012] CPU: 1 PID: 592 Comm: QSGRenderThread Tainted: G        W  O    4.9.87-2.8.3+g07d40f6f #9
[   47.682232] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[   47.688759] Backtrace: 
[   47.691237] [<8010ba5c>] (dump_backtrace) from [<8010bd34>] (show_stack+0x18/0x1c)
[   47.698810]  r7:00000009 r6:600a0013 r5:00000000 r4:80c1a9b0
[   47.704479] [<8010bd1c>] (show_stack) from [<803f79e4>] (dump_stack+0x90/0xa4)
[   47.711711] [<803f7954>] (dump_stack) from [<80124d14>] (__warn+0xec/0x104)
[   47.718675]  r7:00000009 r6:809101a0 r5:00000000 r4:8d487db0
[   47.724341] [<80124c28>] (__warn) from [<80124d6c>] (warn_slowpath_fmt+0x40/0x48)
[   47.731828]  r9:8d486000 r8:80c914c0 r7:80c06344 r6:000246b6 r5:00000177 r4:80910978
[   47.739581] [<80124d30>] (warn_slowpath_fmt) from [<801c8c70>] (free_contig_range+0x94/0x98)
[   47.748020]  r3:00000177 r2:80910978
[   47.751595]  r4:000246b6
[   47.754138] [<801c8bdc>] (free_contig_range) from [<80204b84>] (cma_release+0x88/0xa4)
[   47.762058]  r9:8d486000 r8:6e5ed2e4 r7:801140e8 r6:00000000 r5:00024500 r4:80c92204
[   47.769809] [<80204afc>] (cma_release) from [<804e5624>] (dma_release_from_contiguous+0x38/0x3c)
[   47.778594]  r5:001b6000 r4:8fdf4000
[   47.782181] [<804e55ec>] (dma_release_from_contiguous) from [<801136fc>] (cma_allocator_free+0x58/0x7c)
[   47.791580] [<801136a4>] (cma_allocator_free) from [<801140d4>] (__arm_dma_free.constprop.2+0x124/0x138)
[   47.801061]  r7:801140e8 r6:24500000 r5:94500000 r4:8d3fde80
[   47.806726] [<80113fb0>] (__arm_dma_free.constprop.2) from [<80114104>] (arm_dma_free+0x1c/0x24)
[   47.815511]  r5:94500000 r4:001b6000
[   47.819097] [<801140e8>] (arm_dma_free) from [<8062ac7c>] (vpu_free_dma_buffer+0x94/0xb4)
[   47.827280] [<8062abe8>] (vpu_free_dma_buffer) from [<8062c134>] (vpu_ioctl+0x854/0xaec)
[   47.835374]  r7:0000001f r6:8d158600 r5:00000051 r4:6e5ed2e4
[   47.841039] [<8062b8e0>] (vpu_ioctl) from [<8021aa94>] (do_vfs_ioctl+0xa8/0x8e8)
[   47.848437]  r8:6e5ed2e4 r7:0000001f r6:8d158600 r5:8c4e0c70 r4:6e5ed2e4
[   47.855141] [<8021a9ec>] (do_vfs_ioctl) from [<8021b310>] (SyS_ioctl+0x3c/0x60)
[   47.862453]  r10:00000000 r9:8d486000 r8:6e5ed2e4 r7:00005601 r6:0000001f r5:8d158600
[   47.870281]  r4:8d158601
[   47.872822] [<8021b2d4>] (SyS_ioctl) from [<80107d20>] (ret_fast_syscall+0x0/0x48)
[   47.880395]  r9:8d486000 r8:80107ee4 r7:00000036 r6:00005601 r5:678ee398 r4:6e5ed2e4
[   47.888193] ---[ end trace 013a858af82ba853 ]---
[   47.893061] ------------[ cut here ]------------
[   47.897703] WARNING: CPU: 1 PID: 592 at /media/dock/opt/yocto/oe-core/build/tmp-glibc/work-shared/colibri-imx6/kernel-source/mm/page_alloc.c:7393 free_contig_range+0x94/0x98
[   47.913224] 375 pages are still in use!
[   47.917064] Modules linked in: bluetooth(O) compat(O) usb_f_rndis u_ether hid_multitouch pn5xx_i2c libcomposite configfs galcore(O)
[   47.929076] CPU: 1 PID: 592 Comm: QSGRenderThread Tainted: G        W  O    4.9.87-2.8.3+g07d40f6f #9
[   47.938297] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[   47.944825] Backtrace: 
[   47.947300] [<8010ba5c>] (dump_backtrace) from [<8010bd34>] (show_stack+0x18/0x1c)
[   47.954873]  r7:00000009 r6:600a0013 r5:00000000 r4:80c1a9b0
[   47.960543] [<8010bd1c>] (show_stack) from [<803f79e4>] (dump_stack+0x90/0xa4)
[   47.967776] [<803f7954>] (dump_stack) from [<80124d14>] (__warn+0xec/0x104)
[   47.974741]  r7:00000009 r6:809101a0 r5:00000000 r4:8d487db0
[   47.980407] [<80124c28>] (__warn) from [<80124d6c>] (warn_slowpath_fmt+0x40/0x48)
[   47.987892]  r9:8d486000 r8:80c914c0 r7:80c06344 r6:000248b6 r5:00000177 r4:80910978
[   47.995643] [<80124d30>] (warn_slowpath_fmt) from [<801c8c70>] (free_contig_range+0x94/0x98)
[   48.004081]  r3:00000177 r2:80910978
[   48.007657]  r4:000248b6
[   48.010201] [<801c8bdc>] (free_contig_range) from [<80204b84>] (cma_release+0x88/0xa4)
[   48.018123]  r9:8d486000 r8:6e71e364 r7:801140e8 r6:00000000 r5:00024700 r4:80c92204
[   48.025874] [<80204afc>] (cma_release) from [<804e5624>] (dma_release_from_contiguous+0x38/0x3c)
[   48.034659]  r5:001b6000 r4:8fdf8000
[   48.038243] [<804e55ec>] (dma_release_from_contiguous) from [<801136fc>] (cma_allocator_free+0x58/0x7c)
[   48.047642] [<801136a4>] (cma_allocator_free) from [<801140d4>] (__arm_dma_free.constprop.2+0x124/0x138)
[   48.057124]  r7:801140e8 r6:24700000 r5:94700000 r4:8d3fd440
[   48.062788] [<80113fb0>] (__arm_dma_free.constprop.2) from [<80114104>] (arm_dma_free+0x1c/0x24)
[   48.071573]  r5:94700000 r4:001b6000
[   48.075157] [<801140e8>] (arm_dma_free) from [<8062ac7c>] (vpu_free_dma_buffer+0x94/0xb4)
[   48.083339] [<8062abe8>] (vpu_free_dma_buffer) from [<8062c134>] (vpu_ioctl+0x854/0xaec)
[   48.091432]  r7:0000001f r6:8d158600 r5:00000051 r4:6e71e364
[   48.097096] [<8062b8e0>] (vpu_ioctl) from [<8021aa94>] (do_vfs_ioctl+0xa8/0x8e8)
[   48.104495]  r8:6e71e364 r7:0000001f r6:8d158600 r5:8c4e0c70 r4:6e71e364
[   48.111199] [<8021a9ec>] (do_vfs_ioctl) from [<8021b310>] (SyS_ioctl+0x3c/0x60)
[   48.118513]  r10:00000000 r9:8d486000 r8:6e71e364 r7:00005601 r6:0000001f r5:8d158600
[   48.126341]  r4:8d158601
[   48.128881] [<8021b2d4>] (SyS_ioctl) from [<80107d20>] (ret_fast_syscall+0x0/0x48)
[   48.136453]  r9:8d486000 r8:80107ee4 r7:00000036 r6:00005601 r5:678ee398 r4:6e71e364
[   48.144260] ---[ end trace 013a858af82ba854 ]---

Sorry, but this is not supported!

It’s a pity.
Could you tell me if is there another way to install QT 5.11 or fix QT-GStreamer issues in QT 5.9?

You would really need to migrate to a later Angstrom Distribution, OpenEmbedded, Yocto Project version which we currently plan to do in Q1 2019. You may also consult one of our partner network companies which includes the Qt company which are happy to offer you a boot2qt version I assume.