AnsweredAssumed Answered

imx6sx mxsfb error with QT5

Question asked by Baertsch Peter on Dec 8, 2015
Latest reply on Dec 9, 2015 by Baertsch Peter



We have only 256M RAM on our board. When I start QML Application I get mxsfb 2220000.lcdif: Unable to allocate framebuffer memory


cma: CMA: reserved 96 MiB at 8a000000

Memory policy: Data cache writealloc

PERCPU: Embedded 8 pages/cpu @89db1000 s8320 r8192 d16256 u32768

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024

Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk3p2 rootwait rw

PID hash table entries: 1024 (order: 0, 4096 bytes)

Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

Memory: 146900K/262144K available (7035K kernel code, 394K rwdata, 6144K rodata, 320K init, 429K bss, 115244K reserved, 0K highmem)

Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

    vmalloc : 0x90800000 - 0xff000000   (1768 MB)

    lowmem  : 0x80000000 - 0x90000000   ( 256 MB)

    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)

    modules : 0x7f000000 - 0x7fe00000   (  14 MB)

      .text : 0x80008000 - 0x80ce6e80   (13180 kB)

      .init : 0x80ce7000 - 0x80d37080   ( 321 kB)

      .data : 0x80d38000 - 0x80d9a980   ( 395 kB)

       .bss : 0x80d9a98c - 0x80e05dd8   ( 430 kB)

SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

Preemptible hierarchical RCU implementation.

    RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1



I increase the CMA memory to 160M (on EVK) and than it works. But on our board I can configure only 96M otherwise I get kernel panic.


Is the GPU Memory on a fix address or why does it not work with less then 160M CMA memory?