Increasing CMA in imx6dq scm

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

Increasing CMA in imx6dq scm

3,278 Views
zafriry
Contributor I

Hi,

I am using the SCM-i.MX 6Quad (imx6dqscm-1gb-qwks board), I am trying to increase the CMA (Contiguous Memory Allocator) from the default of 320 to something bigger, say CONFIG_CMA_SIZE_MBYTES=640.

To to this, I did the following:

1. In the .config (menuconfig) changed the CONFIG_CMA_SIZE_MBYTES=350 to CONFIG_CMA_SIZE_MBYTES=640

2. in /include/configs/mx6sabre_common.h, added cma=640M to bootargs. by applying this patch:

---
index 424189a..f59e8e1 100644
--- a/include/configs/mx6sabre_common.h
+++ b/include/configs/mx6sabre_common.h
@@ -217,2 +217,2 @@    
    "mmcargs=setenv bootargs console=${console},${baudrate} ${smp} " \
-        "root=${mmcroot} ${dmfc} \0" \
+       "root=${mmcroot} ${dmfc} cma=640M \0" \  
--
1.9.1

3. In the dts of the image, I applied the interleaving address, this was based on the imx6dqscm-1gb-interleave.dts ( did not see any difference between :

/ {
    memory: memory {
        linux,usable-memory = <0x10000000 0x40000000>;
    };

};

4. I am using a quick start board, so I modified the BOOT_CFG pads to boot up in interleave mode

           1                                                  8

SW1: ON OFF ON OFF ON OFF OFF ON

After doing these, the board boots up but stops while starting up the Linux OS.

Here is the output after the u-boot:

U-Boot 2015.04-imx_v2015.04_3.14.52_1.1.0_ga (Sep 06 2016 - 15:56:07)

CPU:   Freescale i.MX6Q rev1.5 at 792 MHz
CPU:   Temperature 33 C
Reset cause: POR
Board: MX6DQSCM-QWKS
I2C:   ready
DRAM:  1 GiB
PMIC:  PFUZE100 ID=0x10
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
*** Warning - bad CRC, using default environment

No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In:    serial
Out:   serial
Err:   serial
switch to partitions #0, OK
mmc1 is current device
Net:   Phy 3 not found
PHY reset timed out
FEC [PRIME]
Error: FEC address not set.

Normal Boot
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1 is current device
reading boot.scr
** Unable to read file boot.scr **
reading zImage
6063040 bytes read in 342 ms (16.9 MiB/s)
Booting from mmc ...
reading imx6dqscm-snipe.dtb
34929 bytes read in 18 ms (1.9 MiB/s)
Kernel image @ 0x12000000 [ 0x000000 - 0x5c83c0 ]
## Flattened Device Tree blob at 18000000
   Booting using the fdt blob at 0x18000000
   Using Device Tree in place at 18000000, end 1800b870

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 3.14.52-1.1.0_ga (grimlock@grimlock-7810) (gcc version 4.9.2 (GCC) ) #1 SMP PREEMPT Wed Sep 7 15:00:39 PDT 2016
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Snipe i.MX6DQ SCM
cma: CMA: reserved 640 MiB at 28000000
Memory policy: Data cache writealloc
PERCPU: Embedded 8 pages/cpu @97685000 s8320 r8192 d16256 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk2p2 rootwait rw dmfc=3 cma=640M
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 371188K/1048576K available (7544K kernel code, 462K rwdata, 2648K rodata, 392K init, 433K bss, 677388K reserved, 0K highmem)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xc0800000 - 0xff000000   (1000 MB)
    lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f000000 - 0x7fe00000   (  14 MB)
      .text : 0x80008000 - 0x809fc4c0   (10194 kB)
      .init : 0x809fd000 - 0x80a5f080   ( 393 kB)
      .data : 0x80a60000 - 0x80ad3a80   ( 463 kB)
       .bss : 0x80ad3a8c - 0x80b4015c   ( 434 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:16 nr_irqs:16 16
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x32070000, Cache size: 1024 kB
Switching to timer-based delay loop
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655765682ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x1072e888 - 0x1072e8e0
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU2: Booted secondary processor
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
CPU3: Booted secondary processor
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
Brought up 4 CPUs
SMP: Total of 4 processors activated (24.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
pinctrl core: initialized pinctrl subsystem
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
CPU identified as i.MX6Q, silicon rev 1.5
Use WDOG1 as reset source
syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered
vdd1p1: 800 <--> 1375 mV at 1100 mV
vdd3p0: 2625 <--> 3400 mV at 3000 mV
vdd2p5: 2000 <--> 2750 mV at 2400 mV
vddarm: 725 <--> 1450 mV at 1100 mV
vddpu: 725 <--> 1450 mV
vddsoc: 725 <--> 1450 mV at 1175 mV
syscon 20e0000.iomuxc-gpr: regmap [mem 0x020e0000-0x020e0037] registered
syscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] registered
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
bio: create slab <bio-0> at 0
mxs-dma 110000.dma-apbh: initialized
usb_otg_vbus: 5000 mV
i2c-core: driver [max17135] using legacy suspend method
i2c-core: driver [max17135] using legacy resume method
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usbphy_nop1.12 supply vcc not found, using dummy regulator
usbphy_nop2.13 supply vcc not found, using dummy regulator
i2c i2c-0: IMX I2C adapter registered
i2c i2c-1: IMX I2C adapter registered
i2c i2c-2: IMX I2C adapter registered
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
imx-ipuv3 2400000.ipu: IPU DMFC ONLY-DP HIGH RESOLUTION: 5B(0~3), 5F(4~7)
imx-ipuv3 2800000.ipu: IPU DMFC ONLY-DP HIGH RESOLUTION: 5B(0~3), 5F(4~7)
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.18
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
cfg80211: Calling CRDA to update world regulatory domain
Switched to clocksource mxc_timer1
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
imx rpmsg driver is registered.
Bus freq driver module loaded
futex hash table entries: 1024 (order: 4, 65536 bytes)
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.22)
msgmni has been set to 2004
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-weim 21b8000.weim: Driver registered.
MIPI DSI driver module loaded
MIPI DSI driver module loaded
mxc_sdc_fb fb.19: registered mxc display driver ldb
Console: switching to colour frame buffer device 128x48
mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0xa:0xa0:0xc1
fbcvt: 1920x1080@60: CVT Name - 2.073M9
mxc_sdc_fb fb.20: registered mxc display driver hdmi
mxc_sdc_fb fb.21: NO mxc display driver found!
mxc_sdc_fb fb.22: registered mxc display driver ldb
imx-sdma 20ec000.sdma: no iram assigned, using external mem
imx-sdma 20ec000.sdma: no event needs to be remapped
imx-sdma 20ec000.sdma: loaded firmware 3.2
imx-sdma 20ec000.sdma: initialized
pfuze100-regulator 1-0008: Full layer: 2, Metal layer: 1
pfuze100-regulator 1-0008: FAB: 0, FIN: 0
pfuze100-regulator 1-0008: pfuze100 found.
SW1AB: 300 <--> 1875 mV at 1375 mV
SW1C: 300 <--> 1875 mV at 1375 mV
SW2: 800 <--> 3300 mV at 3300 mV
SW3A: 400 <--> 1200 mV at 1200 mV
SW3B: 400 <--> 1200 mV at 1200 mV
SW4: 800 <--> 1800 mV at 1800 mV
SWBST: 5000 <--> 5150 mV at 5000 mV
VSNVS: 1000 <--> 3000 mV at 3000 mV
VREFDDR: 750 mV
VGEN1: 800 <--> 1550 mV at 1500 mV
VGEN2: 800 <--> 1550 mV at 800 mV
VGEN3: 1800 <--> 2800 mV at 2800 mV
VGEN4: 1800 <--> 2500 mV at 2500 mV
VGEN5: 1800 <--> 3300 mV at 3300 mV
VGEN6: 1800 <--> 3100 mV at 3200 mV
Serial: IMX driver
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a IMX
console [ttymxc0] enabled
21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 59, base_baud = 5000000) is a IMX
21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 60, base_baud = 5000000) is a IMX
serial: Freescale lpuart driver
imx sema4 driver is registered.
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
spi_imx 2008000.ecspi: probed
CAN device driver interface
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-mxc: Freescale On-Chip EHCI Host driver
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usb_ehset_test
2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
ci_hdrc ci_hdrc.0: EHCI Host Controller
ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 3.14.52-1.1.0_ga ehci_hcd
usb usb1: SerialNumber: ci_hdrc.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
egalax_ts 1-0004: Failed to read firmware version
egalax_ts: probe of 1-0004 failed with error -5
i2c-core: driver [vtl_ts] using legacy suspend method
i2c-core: driver [vtl_ts] using legacy resume method
i2c-core: driver [isl29023] using legacy suspend method
i2c-core: driver [isl29023] using legacy resume method
snvs_rtc 20cc034.snvs-rtc-lp: can't get snvs-rtc clock
snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR RC5 (streamzap) protocol handler initialized
IR SANYO protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
mxc_v4l2_output v4l2_out.23: V4L2 device registered as video16
mxc_v4l2_output v4l2_out.23: V4L2 device registered as video17
mxc_v4l2_output v4l2_out.23: V4L2 device registered as video18
mxc_v4l2_output v4l2_out.23: V4L2 device registered as video19
mxc_v4l2_output v4l2_out.23: V4L2 device registered as video20
i2c-core: driver [mag3110] using legacy suspend method
i2c-core: driver [mag3110] using legacy resume method
imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCIATH3K protocol initialized
usbcore: registered new interface driver bcm203x
usbcore: registered new interface driver btusb
usbcore: registered new interface driver ath3k
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc1: no vqmmc regulator found
mmc1: no vmmc regulator found
mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
mmc2: no vqmmc regulator found
mmc2: no vmmc regulator found
mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
Galcore version 5.0.11.33433
usb 1-1: new high-speed USB device number 2 using ci_hdrc
mmc2: host does not support reading read-only switch. assuming write-enable.
mmc2: new high speed SDHC card at address aaaa
mmcblk2: mmc2:aaaa SS08G 7.40 GiB
 mmcblk2: p1 p2
usb 1-1: New USB device found, idVendor=0b95, idProduct=1780
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: AX88178
usb 1-1: Manufacturer: ASIX Elec. Corp.
usb 1-1: SerialNumber: 000003
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
mxc_vpu 2040000.vpu: VPU initialized
caam 2100000.caam: Instantiated RNG4 SH0
caam 2100000.caam: Instantiated RNG4 SH1
caam 2100000.caam: device ID = 0x0a160100 (Era 4)
caam 2100000.caam: job rings = 2, qi = 0
caam algorithms registered in /proc/crypto
caam_jr 2101000.jr0: registering rng-caam
platform caam_sm: blkkey_ex: 4 keystore units available
platform caam_sm: 64-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: 64-bit black key:
platform caam_sm: [0000] 3a f0 fb 30 27 74 ae 15
platform caam_sm: [0008] 78 75 6c e9 57 2c 07 b1
platform caam_sm: 128-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: 128-bit black key:
platform caam_sm: [0000] fb 03 22 6f 6e fb 7e fe
platform caam_sm: [0008] d1 2e 84 8e f8 c0 a0 94
platform caam_sm: 192-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: [0016] 10 11 12 13 14 15 16 17
platform caam_sm: 192-bit black key:
platform caam_sm: [0000] ff 8f 07 23 ec 28 8b 43
platform caam_sm: [0008] 4d c4 e3 a2 34 ad 14 4c
platform caam_sm: [0016] c2 31 33 9c 73 62 70 b3
platform caam_sm: [0024] 71 14 1f cb 4b 21 78 83
platform caam_sm: 256-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: [0016] 10 11 12 13 14 15 16 17
platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1f
platform caam_sm: 256-bit black key:
platform caam_sm: [0000] 65 87 44 25 38 a7 c7 56
platform caam_sm: [0008] a5 d7 60 06 86 ff f9 d8
platform caam_sm: [0016] c3 72 12 60 5a 87 81 67
platform caam_sm: [0024] 69 b2 29 ed f8 45 6b 25
platform caam_sm: 64-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 128-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 196-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 256-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 64-bit black key in blob:
platform caam_sm: [0000] 93 da d0 90 fb 48 93 60
platform caam_sm: [0008] aa a0 80 36 b5 4f 16 6e
platform caam_sm: [0016] 4c f7 d4 30 c0 80 03 87
platform caam_sm: [0024] 87 4c 72 dc c7 21 71 fb
platform caam_sm: [0032] ee 84 5f 43 cc c3 bc 8a
platform caam_sm: [0040] 3c 0a 98 09 26 19 8c c4
platform caam_sm: [0048] 78 09 86 0f 55 df 6b 3e
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 128-bit black key in blob:
platform caam_sm: [0000] f3 5c 5c e9 57 6a da a2
platform caam_sm: [0008] 2d c8 2a 95 af 9c a6 7c
platform caam_sm: [0016] 10 04 7d 87 94 a6 6e 73
platform caam_sm: [0024] 43 01 c9 73 c9 7d a2 1e
platform caam_sm: [0032] 17 d0 66 6b 0a 44 55 8d
platform caam_sm: [0040] 5a b7 53 72 c1 d5 60 2c
platform caam_sm: [0048] a6 f4 83 c2 d6 f4 54 45
platform caam_sm: [0056] 99 74 ca bd 07 cf ed 90
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 192-bit black key in blob:
platform caam_sm: [0000] 09 49 0c 90 cf 1f 62 50
platform caam_sm: [0008] 59 2a 31 29 d5 03 0e 71
platform caam_sm: [0016] b9 82 c1 75 08 92 96 5f
platform caam_sm: [0024] 44 7f 21 6b 8f c3 da ef
platform caam_sm: [0032] bb b2 e7 e7 95 ba b8 e6
platform caam_sm: [0040] 44 a1 70 c5 41 73 bb bc
platform caam_sm: [0048] 0d dc 89 d0 bf 5a d3 14
platform caam_sm: [0056] 20 a7 25 0e ca 45 19 ec
platform caam_sm: [0064] eb d6 1c 63 e7 84 ab b3
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 256-bit black key in blob:
platform caam_sm: [0000] 55 15 1a 86 b5 1c 10 a8
platform caam_sm: [0008] 9e 36 99 c0 4a 14 5a 2b
platform caam_sm: [0016] 5c 73 61 6e 72 51 8e 94
platform caam_sm: [0024] d7 56 b5 69 5a a0 03 aa
platform caam_sm: [0032] 85 ad 38 69 4e 8f 89 e1
platform caam_sm: [0040] 77 b4 a7 74 91 e0 78 af
platform caam_sm: [0048] 11 5d 3a 75 49 8e 10 ed
platform caam_sm: [0056] df 98 65 9b 25 d0 58 62
platform caam_sm: [0064] f8 13 70 39 52 ec a6 cd
platform caam_sm: [0072] 4a b8 f4 4c e6 45 72 87
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: restored 64-bit black key:
platform caam_sm: [0000] 8d 6e 71 ca 3b 1a e3 a8
platform caam_sm: [0008] ad 51 af 6a 64 84 ae 60
platform caam_sm: restored 128-bit black key:
platform caam_sm: [0000] fb 03 22 6f 6e fb 7e fe
platform caam_sm: [0008] d1 2e 84 8e f8 c0 a0 94
platform caam_sm: restored 192-bit black key:
platform caam_sm: [0000] ff 8f 07 23 ec 28 8b 43
platform caam_sm: [0008] 4d c4 e3 a2 34 ad 14 4c
platform caam_sm: [0016] ca 9d 5b 0b bb 8a 20 94
platform caam_sm: [0024] 51 27 b9 7f 5d f1 0d 47
platform caam_sm: restored 256-bit black key:
platform caam_sm: [0000] 65 87 44 25 38 a7 c7 56
platform caam_sm: [0008] a5 d7 60 06 86 ff f9 d8
platform caam_sm: [0016] c3 72 12 60 5a 87 81 67
platform caam_sm: [0024] 69 b2 29 ed f8 45 6b 25
snvs-secvio 20cc000.caam-snvs: can't identify alarms configuration
snvs-secvio: probe of 20cc000.caam-snvs failed with error -22
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
fsl-asrc 2034000.asrc: driver registered
imx-audio-hdmi sound-hdmi.18: hdmi-hifi <-> hdmi_audio.3 mapping ok
NET: Registered protocol family 26
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
regulator-dummy: disabling
imx mcc test is registered.
input: gpio-keys.24 as /devices/soc0/gpio-keys.24/input/input1
snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 1970-01-01 00:00:02 UTC (2)
ALSA device list:
  #0: imx-hdmi-soc
kjournald starting.  Commit interval 5 seconds
EXT3-fs (mmcblk2p2): using internal journal
EXT3-fs (mmcblk2p2): recovery complete
EXT3-fs (mmcblk2p2): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 392K (809fd000 - 80a5f000)
INIT: version 2.88 booting
Starting udev
udevd[172]: starting version 182

At this point the boot stops.

Am I missing something? Has anyone been successful in increasing the CMA on this board?

Any help will be appreciated.

Thanks,

Zeph

Tags (1)
0 Kudos
Reply
1 Reply

1,516 Views
igorpadykov
NXP Employee
NXP Employee

HI Zeph

boot may stop due to non-existing drivers or peripherals, like (from log):

sema4,rpmsg,mcc drivers - these only for i.MX6SX, not for i.MX6DQ
mag3110, IR NEC and other IR** drivers - do you have these real sensors

attached to board

One can try fresh build from scratch using below official patch,

starting from minimal configuration:

Updates and Patches (1)
SCM-i.MX 6Dual/6Quad Manufacturing Toolkit for Linux 3.14.52 Patch Release (REV 1)
http://www.nxp.com/products/single-chip-modules/quick-start-board-for-scm-i.mx-6dq:QWKS-SCM-IMX6DQ?f...

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

0 Kudos
Reply