Skip to content

Integrate meta-seconorth-machine/kirkstone-santvend-fsl

Commit: seco-ne/yocto/layers/meta-seconorth-machine@35b770de

bootscript: increase vmalloc for seco-mx6-fsl machine

Second 1080p display fails to allocate memory for FB:

[ 46.716963] vmap allocation for size 24887296 failed: use vmalloc= to increase size [ 46.736880] mxc_sdc_fb fb@0: Unable to allocate framebuffer memory [ 46.736903] detected fb_set_par error, error code: -12

Also video playback may fail:

[ 6098.558397] vmap allocation for size 3137536 failed: use vmalloc= to increase size [ 6098.568463] mxc_vpu 2040000.vpu_fsl: Physical memory allocation error!

Signed-off-by: Mikhail Vanyulin mikhail.vanyulin@rtsoft.de

--

Commit: seco-ne/yocto/layers/meta-seconorth-machine@7f86a4f8

bootscript: increase cma for seco-mx6-fsl machine

Sometimes graphics failed to start at boot with the following errors:

[ 25.077583] cma: cma_alloc: reserved: alloc failed, req-size: 3038 pages, ret: -12 [ 25.078185] mxc_sdc_fb fb@0: Unable to allocate framebuffer memory [ 25.078220] detected fb_set_par error, error code: -12 [FAILED] Failed to start Weston, a …mpositor, as a system service. See 'systemctl status weston.service' for details.

Enabling CONFIG_CMA_DEBUG shows that CMA allocation failed due to lack of free contiguous memory:

[ 24.748600] cma: cma_alloc: reserved: alloc failed, req-size: 3038 pages, ret: -12 [ 24.748645] cma: number of available pages: 1@85+1039@241+160@1376+512@32256=> 1712 free of 32768 total pages

Default CMA memory size in NXP kernel for imx6q boards is 320M: https://github.com/nxp-imx/linux-imx/commit/0e1d7fe5eb3efb0e4348f28fde178af949417b59

The patch updates cma value in the kernel command line arguments.

Signed-off-by: Dmitry Petrov dmitry.petrov@rtsoft.de

--

Commit: seco-ne/yocto/layers/meta-seconorth-machine@7d40bcc9

linux-imx_5.15: Add seco-mx6-fsl machine to compatible list

Signed-off-by: Mikhail Vanyulin mikhail.vanyulin@rtsoft.de

--

Commit: seco-ne/yocto/layers/meta-seconorth-machine@df19b8e1

linux-imx-5.15: Add defconfig for mx6

Signed-off-by: Mikhail Vanyulin mikhail.vanyulin@rtsoft.de

--

Commit: seco-ne/yocto/layers/meta-seconorth-machine@59f1aef6

seco-mx6-fsl: Add new machine

This is a fsl based seco-mx6 machine. Currently only for SantVend board.

Signed-off-by: Mikhail Vanyulin mikhail.vanyulin@rtsoft.de

Merge request reports

Loading