i.MX6 Solo 256MB ram - Unable to allocate framebuffer memory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6 Solo 256MB ram - Unable to allocate framebuffer memory

Jump to solution
3,007 Views
marconnl
Contributor I

Hi all,

Im trying to get the core-image-sato to work on a (Seco) i.MX6 Solo with 256MB ram with a 480x272 LCD touchscreen. Linux boots succesful and during boot I see a little pinguin in the left top corner of my screen and after that a Yocto loading screen. But when Xorg starts I get the follow error:

[    8.724708] mxc_sdc_fb fb.18: Unable to allocate framebuffer memory
[    8.724715] detected fb_set_par error, error code: -12

Why does it fail to allocate framebuffer memory?

Below my kernel boot log.

Thank you for any help regarding this issue!

Bootlog:

CPU:   Freescale i.MX6SOLO rev1.3 at 792 MHz
CPU:   Temperature 42 C, calibration data: 0x5764fe5f
Reset cause: WDOG
Board: Seco uQ7-i.MX6 (uQ7-J) - A75
I2C:   ready
DRAM:  256 MiB
Boot: Unknow
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
In:    serial
Out:   serial
Err:   serial
Net:   using phy at 0
FEC [PRIME]
Normal Boot
Hit any key to stop autoboot:  0
Running in Normal Mode...
mmc1 is current device
reading zImage
6042904 bytes read in 299 ms (19.3 MiB/s)
mmc1 is current device
reading /boot/imx6dl-seco_uq7-j_A75_cw.dtb
39048 bytes read in 44 ms (866.2 KiB/s)
Kernel image @ 0x12000000 [ 0x000000 - 0x5c3518 ]
## Flattened Device Tree blob at 18000000
   Booting using the fdt blob at 0x18000000
   Using Device Tree in place at 18000000, end 1800c887

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.14.28 (uq7@uq7-VirtualBox) (gcc version 4.9.1 (GCC) ) #1 SMP PREEMPT Thu Jun 1 18:39:15 CEST 2017
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: SECO i.MX6 DualLite/Solo uQ7-J (A75) Board
[    0.000000] cma: CMA: reserved 32 MiB at 1e000000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] /dynamic_choice/chip_audio/no_audio: error reading code_name string
[    0.000000] /dynamic_choice/serial_device, use default mode: uart
[    0.000000] /dynamic_choice/serial_device, code name: flexcan
[    0.000000] /dynamic_choice/serial_device, code name: uart
[    0.000000] /dynamic_choice/serial_device, found selected mode
[    0.000000] PERCPU: Embedded 8 pages/cpu @8ddc6000 s8896 r8192 d15680 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttymxc1,115200 mem=256M cma=32M video=mxcfb0:dev=ldb,480x272,if=RGB24 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off root=/dev/mmcblk1p2 rootwait rw root=/dev/mmcblk1p2 rootwait rw
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 212120K/262144K available (7360K kernel code, 403K rwdata, 6188K rodata, 340K init, 428K bss, 50024K reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0x90800000 - 0xff000000   (1768 MB)
[    0.000000]     lowmem  : 0x80000000 - 0x90000000   ( 256 MB)
[    0.000000]     pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
[    0.000000]     modules : 0x7f000000 - 0x7fe00000   (  14 MB)
[    0.000000]       .text : 0x80008000 - 0x80d4338c   (13549 kB)
[    0.000000]       .init : 0x80d44000 - 0x80d992c0   ( 341 kB)
[    0.000000]       .data : 0x80d9a000 - 0x80dfec00   ( 403 kB)
[    0.000000]        .bss : 0x80dfec0c - 0x80e69fb0   ( 429 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L310 cache controller enabled
[    0.000000] l2x0: 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32050000, Cache size: 512 kB
[    0.000000] failed to set parent of clk gpu2d_core_sel to pll2_pfd1_594m: -22
[    0.000000] Switching to timer-based delay loop
[    0.000006] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655765682ns
[    0.001043] Console: colour dummy device 80x30
[    0.001065] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.001079] pid_max: default: 32768 minimum: 301
[    0.001247] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001258] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001955] CPU: Testing write buffer coherency: ok
[    0.002257] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002310] Setting up static identity map for 0x10701b48 - 0x10701ba0
[    0.060394] CPU1: failed to boot: -38
[    0.060429] Brought up 1 CPUs
[    0.060437] SMP: Total of 1 processors activated.
[    0.060445] CPU: All CPU(s) started in SVC mode.
[    0.061003] devtmpfs: initialized
[    0.064909] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.065281] pinctrl core: initialized pinctrl subsystem
[    0.065616] regulator-dummy: no parameters
[    0.067406] NET: Registered protocol family 16
[    0.074302] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.074974] cpuidle: using governor ladder
[    0.074985] cpuidle: using governor menu
[    0.075243] CPU identified as i.MX6DL, silicon rev 1.3
[    0.075343] Use WDOG1 as reset source
[    0.083972] syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered
[    0.084273] vdd1p1: 800 <--> 1375 mV at 1100 mV
[    0.084644] vdd3p0: 2800 <--> 3150 mV at 3000 mV
[    0.084970] vdd2p5: 2000 <--> 2750 mV at 2400 mV
[    0.085321] vddarm: 725 <--> 1450 mV at 1150 mV
[    0.090368] vddpu: 725 <--> 1450 mV
[    0.090734] vddsoc: 725 <--> 1450 mV at 1175 mV
[    0.092674] syscon 20e0000.iomuxc-gpr: regmap [mem 0x020e0000-0x020e0037] registered
[    0.095633] syscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] registered
[    0.098473] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.098484] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.100133] imx6dl-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.121676] bio: create slab <bio-0> at 0
[    0.123929] mxs-dma 110000.dma-apbh: initialized
[    0.124844] i2c-core: driver [max17135] using legacy suspend method
[    0.124854] i2c-core: driver [max17135] using legacy resume method
[    0.125351] SCSI subsystem initialized
[    0.125866] usbcore: registered new interface driver usbfs
[    0.125935] usbcore: registered new interface driver hub
[    0.126059] usbcore: registered new device driver usb
[    0.126226] usbphy_nop1.10 supply vcc not found, using dummy regulator
[    0.126335] usbphy_nop2.11 supply vcc not found, using dummy regulator
[    0.127088] i2c i2c-0: IMX I2C adapter registered
[    0.127918] i2c i2c-1: IMX I2C adapter registered
[    0.128654] i2c i2c-2: IMX I2C adapter registered
[    0.128749] Linux video capture interface: v2.00
[    0.128826] pps_core: LinuxPPS API ver. 1 registered
[    0.128834] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.128860] PTP clock support registered
[    0.140571] imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
[    0.141642] MIPI CSI2 driver module loaded
[    0.141808] Advanced Linux Sound Architecture Driver Initialized.
[    0.142579] Bluetooth: Core ver 2.18
[    0.142629] NET: Registered protocol family 31
[    0.142639] Bluetooth: HCI device and connection manager initialized
[    0.142657] Bluetooth: HCI socket layer initialized
[    0.142670] Bluetooth: L2CAP socket layer initialized
[    0.142706] Bluetooth: SCO socket layer initialized
[    0.143569] Switched to clocksource mxc_timer1
[    0.146691] cfg80211: Calling CRDA to update world regulatory domain
[    0.153533] NET: Registered protocol family 2
[    0.154388] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.154421] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.154460] TCP: Hash tables configured (established 2048 bind 2048)
[    0.154516] TCP: reno registered
[    0.154529] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.154554] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.154796] NET: Registered protocol family 1
[    0.155097] RPC: Registered named UNIX socket transport module.
[    0.155107] RPC: Registered udp transport module.
[    0.155115] RPC: Registered tcp transport module.
[    0.155122] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.155765] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
[    0.157079] Bus freq driver module loaded
[    0.157911] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.164888] VFS: Disk quotas dquot_6.5.2
[    0.165174] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.167375] NFS: Registering the id_resolver key type
[    0.167438] Key type id_resolver registered
[    0.167448] Key type id_legacy registered
[    0.167487] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.168231] fuse init (API version 7.22)
[    0.168661] msgmni has been set to 478
[    0.172348] io scheduler noop registered
[    0.172359] io scheduler deadline registered
[    0.172540] io scheduler cfq registered (default)
[    0.173058] imx-weim 21b8000.weim: Driver registered.
[    0.174804] backlight.17 supply power not found, using dummy regulator
[    0.176803] MIPI DSI driver module loaded
[    0.177451] display timing with name 480x272 found!!!
[    0.177467] ldb ldb.13: using display timing with name 480x272.
[    0.177483] mxc_sdc_fb fb.18: registered mxc display driver ldb
[    0.224963] Console: switching to colour frame buffer device 60x34
[    0.237723] mxc_sdc_fb fb.19: Can't get fb option for mxcfb1!
[    0.245830] imx_epdc_fb 20f4000.epdc: can't get/select pinctrl
[    0.247815] imx-sdma 20ec000.sdma: no iram assigned, using external mem
[    0.248007] imx-sdma 20ec000.sdma: no event needs to be remapped
[    0.248191] imx-sdma 20ec000.sdma: loaded firmware 3.1
[    0.251065] imx-sdma 20ec000.sdma: initialized
[    0.251583] Serial: IMX driver
[    0.251935] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a IMX
[    0.252585] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 59, base_baud = 5000000) is a IMX
[    1.084043] console [ttymxc1] enabled
[    1.088208] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 60, base_baud = 5000000) is a IMX
[    1.097186] serial: Freescale lpuart driver
[    1.102508] imx sema4 driver is registered.
[    1.106808] [drm] Initialized drm 1.1.0 20060810
[    1.111843] [drm] Initialized vivante 1.0.0 20120216 on minor 0
[    1.125596] brd: module loaded
[    1.132816] loop: module loaded
[    1.139316] of_dma_request_slave_channel: dma-names property of node '/soc/aips-bus@02000000/spba-bus@02000000/ecspi@02008000' missing or empty
[    1.152261] spi_imx 2008000.ecspi: cannot get the TX DMA channel!
[    1.158390] spi_imx 2008000.ecspi: dma setup error,use pio instead
[    1.165424] spi_imx 2008000.ecspi: probed
[    1.170260] vcan: Virtual CAN interface driver
[    1.174779] slcan: serial line CAN interface driver
[    1.179669] slcan: 10 dynamic interface channels.
[    1.184427] CAN device driver interface
[    1.188666] imx6dl-pinctrl 20e0000.iomuxc: pin MX6DL_PAD_KEY_ROW2 already requested by 2020000.serial; cannot claim for 2090000.can
[    1.200594] imx6dl-pinctrl 20e0000.iomuxc: pin-152 (2090000.can) status -22
[    1.207619] imx6dl-pinctrl 20e0000.iomuxc: could not request pin 152 (MX6DL_PAD_KEY_ROW2) from group flexcan1grp  on device 20e0000.iomuxc
[    1.220084] flexcan 2090000.can: Error applying setting, reverse things back
[    1.227317] 2090000.can supply xceiver not found, using dummy regulator
[    1.234978] flexcan 2090000.can: device registered (reg_base=909c0000, irq=142)
[    1.243406] 2188000.ethernet supply phy not found, using dummy regulator
[    1.333995] pps pps0: new PPS source ptp0
[    1.341595] libphy: fec_enet_mii_bus: probed
[    1.346511] fec 2188000.ethernet eth0: registered PHC device 0
[    1.352975] PPP generic driver version 2.4.2
[    1.357524] NET: Registered protocol family 24
[    1.362008] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.368596] ehci-mxc: Freescale On-Chip EHCI Host driver
[    1.374139] usbcore: registered new interface driver usb-storage
[    1.380927] 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
[    1.388995] 2184000.usb supply vbus not found, using dummy regulator
[    1.399505] 2184200.usb supply vbus not found, using dummy regulator
[    1.409233] ci_hdrc ci_hdrc.1: doesn't support gadget
[    1.414339] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    1.419249] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    1.443608] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    1.449861] hub 1-0:1.0: USB hub found
[    1.453698] hub 1-0:1.0: 1 port detected
[    1.458459] mousedev: PS/2 mouse device common for all mice
[    1.465169] i2c-core: driver [isl29023] using legacy suspend method
[    1.471451] i2c-core: driver [isl29023] using legacy resume method
[    1.478434] snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0
[    1.486850] i2c /dev entries driver
[    1.490953] IR NEC protocol handler initialized
[    1.495525] IR RC5(x) protocol handler initialized
[    1.500326] IR RC6 protocol handler initialized
[    1.504879] IR JVC protocol handler initialized
[    1.509417] IR Sony protocol handler initialized
[    1.514057] IR RC5 (streamzap) protocol handler initialized
[    1.519638] IR SANYO protocol handler initialized
[    1.524362] IR MCE Keyboard/mouse protocol handler initialized
[    1.531387] i2c-core: driver [mag3110] using legacy suspend method
[    1.537607] i2c-core: driver [mag3110] using legacy resume method
[    1.544130] imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
[    1.552435] Bluetooth: HCI UART driver ver 2.2
[    1.557401] Bluetooth: HCI H4 protocol initialized
[    1.562207] Bluetooth: HCI BCSP protocol initialized
[    1.567203] Bluetooth: HCIATH3K protocol initialized
[    1.572281] usbcore: registered new interface driver bcm203x
[    1.578048] usbcore: registered new interface driver btusb
[    1.583545] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    1.589342] usbcore: registered new interface driver ath3k
[    1.595044] sdhci: Secure Digital Host Controller Interface driver
[    1.601238] sdhci: Copyright(c) Pierre Ossman
[    1.605628] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.612304] mmc0: no vqmmc regulator found
[    1.616451] mmc0: no vmmc regulator found
[    1.663605] mmc0: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
[    1.673776] mmc1: no vqmmc regulator found
[    1.677892] mmc1: no vmmc regulator found
[    1.723598] mmc1: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA
[    1.731330] galcore: clk_get vg clock failed, disable vg!
[    1.736839] Galcore version 5.0.11.25762
[    1.768303] mmc0: BKOPS_EN bit is not set
[    1.810558] mmc0: new high speed DDR MMC card at address 0001
[    1.817101] mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
[    1.825406] mmcblk0: mmc0:0001 004GE0 3.68 GiB
[    1.830168] mmcblk0boot0: mmc0:0001 004GE0 partition 1 2.00 MiB
[    1.836716] mxc_vpu 2040000.vpu: VPU initialized
[    1.843990] mmcblk0boot1: mmc0:0001 004GE0 partition 2 2.00 MiB
[    1.863606] mmcblk0rpmb: mmc0:0001 004GE0 partition 3 512 KiB
[    1.878075]  mmcblk0: p1 p2
[    1.896276]  mmcblk0boot1: unknown partition table
[    1.915254]  mmcblk0boot0: unknown partition table
[    2.014637] mmc1: new high speed SDHC card at address aaaa
[    2.033613] mmcblk1: mmc1:aaaa SS08G 7.40 GiB
[    2.039386]  mmcblk1: p1 p2
[    2.090690] caam 2100000.caam: Instantiated RNG4 SH0
[    2.337150] caam 2100000.caam: Instantiated RNG4 SH1
[    2.342133] caam 2100000.caam: device ID = 0x0a160100 (Era 4)
[    2.347908] caam 2100000.caam: job rings = 2, qi = 0
[    2.437295] caam algorithms registered in /proc/crypto
[    2.446286] caam_jr 2101000.jr0: registering rng-caam
[    2.452236] platform caam_sm: blkkey_ex: 4 keystore units available
[    2.458794] platform caam_sm: 64-bit clear key:
[    2.463343] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[    2.469054] platform caam_sm: 64-bit black key:
[    2.473801] platform caam_sm: [0000] 50 2a ca ff 0a 4b bc b1
[    2.479480] platform caam_sm: [0008] e9 18 86 0c b0 af 2f c6
[    2.485194] platform caam_sm: 128-bit clear key:
[    2.489828] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[    2.495535] platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
[    2.501206] platform caam_sm: 128-bit black key:
[    2.505884] platform caam_sm: [0000] 45 7c b9 7c 4e f6 1a e3
[    2.511556] platform caam_sm: [0008] 73 69 a7 9e b3 03 37 6d
[    2.517241] platform caam_sm: 192-bit clear key:
[    2.521873] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[    2.527559] platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
[    2.533231] platform caam_sm: [0016] 10 11 12 13 14 15 16 17
[    2.538912] platform caam_sm: 192-bit black key:
[    2.543544] platform caam_sm: [0000] e6 c0 e5 83 b0 e1 45 f4
[    2.549230] platform caam_sm: [0008] e6 85 8b 2e 9a 1f bd 6a
[    2.554915] platform caam_sm: [0016] 25 c2 c2 17 6e 7e 19 dd
[    2.560586] platform caam_sm: [0024] 8d 4f 74 13 36 0a 5c 47
[    2.566268] platform caam_sm: 256-bit clear key:
[    2.570898] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[    2.576582] platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
[    2.582254] platform caam_sm: [0016] 10 11 12 13 14 15 16 17
[    2.587939] platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1f
[    2.593664] platform caam_sm: 256-bit black key:
[    2.598299] platform caam_sm: [0000] ed e0 0e d1 1c ae b7 57
[    2.603994] platform caam_sm: [0008] 62 1e f4 39 39 c3 e1 09
[    2.609668] platform caam_sm: [0016] 50 c1 dd 3c 03 aa df f0
[    2.615355] platform caam_sm: [0024] 78 c6 34 98 2f 1a 0e 37
[    2.621025] platform caam_sm: 64-bit unwritten blob:
[    2.626018] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[    2.631691] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[    2.637377] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[    2.643049] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[    2.648735] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[    2.654422] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[    2.660094] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[    2.665778] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[    2.671450] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[    2.677133] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    2.682805] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    2.688489] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    2.694173] platform caam_sm: 128-bit unwritten blob:
[    2.699237] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[    2.704922] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[    2.710593] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[    2.716278] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[    2.721949] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[    2.727635] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[    2.733307] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[    2.738992] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[    2.744678] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[    2.750349] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    2.756033] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    2.761704] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    2.767386] platform caam_sm: 196-bit unwritten blob:
[    2.772450] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[    2.778136] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[    2.783822] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[    2.789494] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[    2.795203] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[    2.800877] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[    2.806567] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[    2.812241] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[    2.817928] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[    2.823615] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    2.829289] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    2.834973] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    2.840643] platform caam_sm: 256-bit unwritten blob:
[    2.845720] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[    2.851392] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[    2.857077] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[    2.862751] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[    2.868435] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[    2.874119] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[    2.879791] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[    2.885475] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[    2.891147] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[    2.896832] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    2.902502] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    2.908191] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    2.914097] platform caam_sm: 64-bit black key in blob:
[    2.919341] platform caam_sm: [0000] 74 38 5f 6f 61 a7 b0 5f
[    2.925035] platform caam_sm: [0008] f9 a3 10 7e 59 9c 23 a2
[    2.930708] platform caam_sm: [0016] 12 20 4e 8a 63 e0 a3 67
[    2.936394] platform caam_sm: [0024] a7 33 d0 03 6b 4a 4d 03
[    2.942068] platform caam_sm: [0032] c1 dc 51 4e 88 3c 9b 43
[    2.947754] platform caam_sm: [0040] c5 b1 50 92 e8 f1 49 74
[    2.953425] platform caam_sm: [0048] f4 9e d6 c1 15 7a b8 f7
[    2.959113] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[    2.964799] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[    2.970470] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    2.976155] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    2.981826] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    2.987508] platform caam_sm: 128-bit black key in blob:
[    2.992834] platform caam_sm: [0000] 0b db dc 55 58 ec 57 46
[    2.998544] platform caam_sm: [0008] 5e 0e 2b fe fb 66 40 e5
[    3.004238] platform caam_sm: [0016] c6 9f 1e a9 a3 a2 ef 1e
[    3.009912] platform caam_sm: [0024] 3c f8 e2 e5 f4 2d 2a 0c
[    3.015599] platform caam_sm: [0032] 2c 25 d8 7a fb 35 56 7e
[    3.021272] platform caam_sm: [0040] 2d e1 22 74 07 1f 2f 02
[    3.026958] platform caam_sm: [0048] ac 68 43 43 9a 67 05 0d
[    3.032630] platform caam_sm: [0056] de 45 e4 d4 43 9b 7f 0b
[    3.038318] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[    3.044033] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    3.049705] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    3.055395] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    3.061064] platform caam_sm: 192-bit black key in blob:
[    3.066403] platform caam_sm: [0000] cf eb 05 fb 57 f0 32 c6
[    3.072076] platform caam_sm: [0008] 7f ce 1d b4 7a 55 25 9c
[    3.077761] platform caam_sm: [0016] d8 ca ad 9f 69 82 67 4d
[    3.083432] platform caam_sm: [0024] 15 2e 91 13 8b 87 1a 51
[    3.089117] platform caam_sm: [0032] fc 1a 03 3e 96 6f 5a 05
[    3.094803] platform caam_sm: [0040] 16 d8 9c 02 9e 55 3a 32
[    3.100474] platform caam_sm: [0048] ee c6 3e b1 01 66 2d 6c
[    3.106158] platform caam_sm: [0056] 51 d7 72 f1 8d 32 58 bf
[    3.111833] platform caam_sm: [0064] 8f 7d 69 74 a4 77 87 4d
[    3.117517] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    3.123189] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    3.128873] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    3.134554] platform caam_sm: 256-bit black key in blob:
[    3.139881] platform caam_sm: [0000] 6b a6 34 90 8d c9 82 cc
[    3.145565] platform caam_sm: [0008] 77 e0 b7 b3 ef 65 c8 29
[    3.151236] platform caam_sm: [0016] e1 da ed 51 9d 46 ff 75
[    3.156921] platform caam_sm: [0024] aa eb 25 83 94 11 f3 67
[    3.162592] platform caam_sm: [0032] 30 06 96 96 9c 3d 7f fd
[    3.168277] platform caam_sm: [0040] 9e b3 11 64 ef 9a fa 04
[    3.173962] platform caam_sm: [0048] 9e 7c 7a a0 c8 dc 4a b2
[    3.179633] platform caam_sm: [0056] d6 b7 a8 fd 12 3c 9b 6d
[    3.185318] platform caam_sm: [0064] a1 5a a6 d1 bc 24 a1 d1
[    3.190990] platform caam_sm: [0072] 4d 2e 2d a9 0c c8 31 67
[    3.196699] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    3.202373] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    3.208286] platform caam_sm: restored 64-bit black key:
[    3.213633] platform caam_sm: [0000] 59 5b ed 88 2d d5 ba e3
[    3.219307] platform caam_sm: [0008] 80 20 ca 99 76 14 b9 fe
[    3.224990] platform caam_sm: restored 128-bit black key:
[    3.230402] platform caam_sm: [0000] 45 7c b9 7c 4e f6 1a e3
[    3.236088] platform caam_sm: [0008] 73 69 a7 9e b3 03 37 6d
[    3.241756] platform caam_sm: restored 192-bit black key:
[    3.247183] platform caam_sm: [0000] e6 c0 e5 83 b0 e1 45 f4
[    3.252857] platform caam_sm: [0008] e6 85 8b 2e 9a 1f bd 6a
[    3.258543] platform caam_sm: [0016] c2 1a c0 bf ba 1c e6 5f
[    3.264230] platform caam_sm: [0024] 8a d2 01 c6 5f 02 8d 33
[    3.269900] platform caam_sm: restored 256-bit black key:
[    3.275325] platform caam_sm: [0000] ed e0 0e d1 1c ae b7 57
[    3.280997] platform caam_sm: [0008] 62 1e f4 39 39 c3 e1 09
[    3.286683] platform caam_sm: [0016] 50 c1 dd 3c 03 aa df f0
[    3.292356] platform caam_sm: [0024] 78 c6 34 98 2f 1a 0e 37
[    3.298346] snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state
[    3.306708] usbcore: registered new interface driver usbhid
[    3.312294] usbhid: USB HID core driver
[    3.318607] fsl-asrc 2034000.asrc: driver registered
[    3.326172] imx-audio-hdmi sound-hdmi.16: initialize HDMI-audio failed. load HDMI-video first!
[    3.335369] pktgen: Packet Generator for packet performance testing. Version: 2.74
[    3.353211] NET: Registered protocol family 26
[    3.357854] TCP: cubic registered
[    3.361726] NET: Registered protocol family 10
[    3.367229] sit: IPv6 over IPv4 tunneling driver
[    3.372560] NET: Registered protocol family 17
[    3.377099] can: controller area network core (rev 20120528 abi 9)
[    3.383359] NET: Registered protocol family 29
[    3.387857] can: raw protocol (rev 20120528)
[    3.392137] can: broadcast manager protocol (rev 20120528 t)
[    3.397870] can: netlink gateway (rev 20130117) max_hops=1
[    3.403653] Bluetooth: RFCOMM TTY layer initialized
[    3.408560] Bluetooth: RFCOMM socket layer initialized
[    3.413795] Bluetooth: RFCOMM ver 1.11
[    3.417565] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.422885] Bluetooth: BNEP filters: protocol multicast
[    3.428150] Bluetooth: BNEP socket layer initialized
[    3.433126] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.439077] Bluetooth: HIDP socket layer initialized
[    3.444152] l2tp_core: L2TP core driver, V2.0
[    3.448532] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[    3.453333] 8021q: 802.1Q VLAN Support v1.8
[    3.457619] Key type dns_resolver registered
[    3.462544] failed to disable 1.2 GHz OPP
[    3.468465] regulator-dummy: disabling
[    3.472505] imx mcc test is registered.
[    3.477040] snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 2017-06-06 16:27:17 UTC (1496766437)
[    3.496655] ALSA device list:
[    3.499649]   No soundcards found.
[    3.512201] EXT3-fs (mmcblk1p2): error: couldn't mount because of unsupported optional features (240)
[    3.522178] EXT2-fs (mmcblk1p2): error: couldn't mount because of unsupported optional features (240)
[    3.545492] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.553718] VFS: Mounted root (ext4 filesystem) on device 179:34.
[    3.562305] devtmpfs: mounted
[    3.565637] Freeing unused kernel memory: 340K (80d44000 - 80d99000)
INIT: version 2.88 booting
Starting udev
[    4.072872] udevd[165]: starting version 182
[    6.469545] random: nonblocking pool is initialized
[    6.944979] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
[    6.959327] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    6.972661] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    6.984385] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    7.118537] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
bootlogd: cannot allocate pseudo tty: No such file or directory
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1729: No soundcards found...
INIT: Entering runlevel: 5
Configuring network interfaces... [    7.823678] fec 2188000.ethernet eth0: Freescale FEC PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1)
[    7.873759] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
done.
Starting Xserver
Starting system message bus: dbus.
Starting Connection Manager
Starting Dropbear SSH server: dropbear.
Starting rpcbind daemon...done.
[    8.724708] mxc_sdc_fb fb.18: Unable to allocate framebuffer memory
[    8.724715] detected fb_set_par error, error code: -12
Starting advanced power management daemon: No APM support in kernel
(failed.)
Starting syslogd/klogd: done
 * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
   ...done.
Starting Telephony daemon
Starting Linux NFC daemon

Poky (Yocto Project Reference Distro) 1.7 seco-a75-s-256mb /dev/ttymxc1

0 Kudos
1 Solution
2,301 Views
marconnl
Contributor I

I have solved my framebuffer memory issue. And in case anyone else runs into this problem here's how I solved the memory issue.

By default the GPU driver reserves 132MB. With only 256MB ram this is a whole lot and didn't leave enough left over for the framebuffer.

To solve this issue I have changed the value in gc_hal_kernel_platform_imx6q14.config to 32MB. Now my imx runs fine with my 4.3" and 10.1" LCDs with resolutions of 480x272 & 1280x800.

View solution in original post

2 Replies
2,302 Views
marconnl
Contributor I

I have solved my framebuffer memory issue. And in case anyone else runs into this problem here's how I solved the memory issue.

By default the GPU driver reserves 132MB. With only 256MB ram this is a whole lot and didn't leave enough left over for the framebuffer.

To solve this issue I have changed the value in gc_hal_kernel_platform_imx6q14.config to 32MB. Now my imx runs fine with my 4.3" and 10.1" LCDs with resolutions of 480x272 & 1280x800.

2,301 Views
igorpadykov
NXP Employee
NXP Employee

Hi Marco

one can try to run core-image-minimal image to test if this is caused by

insufficient memory. In general it can be debugged in

linux/drivers/video/fbdev/mxc/mxc_ipuv3_fb.c
function mxcfb_map_video_memory(), which allocates the DRAM memory for the frame buffer

use AN4553 Using Open Source Debugging Tools for Linux on i.MX Processors
http://www.nxp.com/assets/documents/data/en/application-notes/AN4553.pdf


Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos