i.MX6Q Custom SBC: Lockup after "random: nonblocking pool is initialized"

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

i.MX6Q Custom SBC: Lockup after "random: nonblocking pool is initialized"

Jump to solution
4,490 Views
PaulDeMetrotion
Senior Contributor I

Working on a custom SBC base on the i.MX6Q. I am converting our BSP process from LTIB to YOCTO. I have created a custom device tree and built a core-image-base zImage. The boot proceeds quite far and then stops with no further console output. Any guidance would be appreciated. Here is the console output:

U-Boot 2014.04 (Dec 08 2015 - 09:37:25)

CPU:   Freescale i.MX6Q rev1.2 at 792 MHz

CPU:   Temperature 50 C, calibration data: 0x5534cc69

Reset cause: POR

Board: SBC35-C398Q

Boot Device: SD

I2C:   ready

DRAM:  2 GiB

MMC:   FSL_SDHC: 0, FSL_SDHC: 1

In:    serial

Out:   serial

Err:   serial

mmc0 is current device

Net:   board_eth_init()++

board_eth_init()--

Phy not found

FEC

Normal Boot

Hit any key to stop autoboot:  0

reading zImage

5930616 bytes read in 279 ms (20.3 MiB/s)

reading imx6q-c398.dtb

39259 bytes read in 20 ms (1.9 MiB/s)

Kernel image @ 0x10800000 [ 0x000000 - 0x5a7e78 ]

## Flattened Device Tree blob at 18000000

   Booting using the fdt blob at 0x18000000

   Using Device Tree in place at 18000000, end 1800c95a

Starting kernel ...

Booting Linux on physical CPU 0x0

Linux version 3.14.28-1.0.0_ga+g91cf351 (pauldemet@yocto) (gcc version 4.9.1 (GCC) ) #6 SMP PREEMPT Tue Dec 8 12:34:50 CST 2015

CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d

CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine model: WinSystems i.MX6 Quad SBC-C398

cma: CMA: reserved 320 MiB at 6a000000

Memory policy: Data cache writealloc

PERCPU: Embedded 8 pages/cpu @ee71f000 s8896 r8192 d15680 u32768

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

Kernel command line: console=ttymxc0,115200n8 video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 video=mxcfb1:dev=ldb,1024x600M@60,if=RGB666 video=mxcfb2:off root=/dev/mmcblk0p2 rootwait rw ip=dhcp

PID hash table entries: 4096 (order: 2, 16384 bytes)

Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)

Inode-cache hash table entries: 131072 (order: 7, 524288 bytes)

Memory: 1736076K/2097152K available (7209K kernel code, 394K rwdata, 6144K rodata, 328K init, 428K bss, 361076K reserved, 270336K highmem)

Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

    vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)

    lowmem  : 0x80000000 - 0xef800000   (1784 MB)

    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)

    modules : 0x7f000000 - 0x7fe00000   (  14 MB)

      .text : 0x80008000 - 0x80d12640   (13354 kB)

      .init : 0x80d13000 - 0x80d652c0   ( 329 kB)

      .data : 0x80d66000 - 0x80dc8a80   ( 395 kB)

       .bss : 0x80dc8a8c - 0x80e33d5c   ( 429 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: 4096 (order: 2, 16384 bytes)

Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes)

CPU: Testing write buffer coherency: ok

CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

Setting up static identity map for 0x106dd008 - 0x106dd060

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.

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.2

Use WDOG1 as reset source

syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered

vdd1p1: 800 <--> 1375 mV at 1100 mV

vdd3p0: 2800 <--> 3150 mV at 3000 mV

vdd2p5: 2000 <--> 2750 mV at 2400 mV

vddarm: 725 <--> 1450 mV at 1150 mV

vddpu: 725 <--> 1450 mV

vddsoc: 725 <--> 1450 mV at 1150 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

platform mipi-dsi-reset.17: Driver gpio-reset requests probe deferral

bio: create slab <bio-0> at 0

mxs-dma 110000.dma-apbh: initialized

reg_2p5v: 2500 mV

reg_3p3v: 3300 mV

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.11 supply vcc not found, using dummy regulator

usbphy_nop2.12 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 NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)

mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 driver probed

mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 dphy version is 0x3130302a

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: 16384 (order: 4, 65536 bytes)

TCP bind hash table entries: 16384 (order: 5, 131072 bytes)

TCP: Hash tables configured (established 16384 bind 16384)

TCP: reno registered

UDP hash table entries: 1024 (order: 3, 32768 bytes)

UDP-Lite hash table entries: 1024 (order: 3, 32768 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

imx6_busfreq busfreq.15: DDR medium rate not supported.

Bus freq driver module loaded

futex hash table entries: 1024 (order: 4, 65536 bytes)

bounce pool size: 64 pages

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 3502

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

imx-weim 21b8000.weim: Driver registered.

21e0000.mipi supply disp-power-on not found, using dummy regulator

mxc_mipi_dsi 21e0000.mipi: failed to reset: -19

MIPI DSI driver module loaded

mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0xa:0xa0:0xc1

fbcvt: 1280x720@60: CVT Name - .921M9

mxc_sdc_fb fb.18: registered mxc display driver hdmi

imx-ipuv3 2400000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)

Console: switching to colour frame buffer device 160x45

mxc_sdc_fb fb.19: registered mxc display driver ldb

mxc_sdc_fb fb.20: Can't get fb option for mxcfb2!

mxc_sdc_fb fb.21: 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.1

imx-sdma 20ec000.sdma: initialized

pfuze100-regulator 0-0008: Full layer: 1, Metal layer: 1

pfuze100-regulator 0-0008: FAB: 0, FIN: 0

pfuze100-regulator 0-0008: pfuze100 found.

SW1AB: 300 <--> 1875 mV at 1375 mV

SW1C: 300 <--> 1875 mV at 1375 mV

SW2: 800 <--> 3300 mV at 3000 mV

SW3A: 400 <--> 1975 mV at 1500 mV

SW3B: 400 <--> 1975 mV at 1500 mV

SW4: 800 <--> 1975 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 800 mV

VGEN2: 800 <--> 1550 mV at 1500 mV

VGEN3: 1800 <--> 3300 mV at 1800 mV

VGEN4: 1800 <--> 3300 mV at 1800 mV

VGEN5: 1800 <--> 3300 mV at 2500 mV

VGEN6: 1800 <--> 3300 mV at 2800 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

21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 61, base_baud = 5000000) is a IMX

21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 62, 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

ahci-imx 2200000.sata: fsl,transmit-level-mV not specified, using 00000024

ahci-imx 2200000.sata: fsl,transmit-boost-mdB not specified, using 00000480

ahci-imx 2200000.sata: fsl,transmit-atten-16ths not specified, using 00002000

ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 05000000

ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled

ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode

ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst

scsi0 : ahci_platform

ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port 0x100 irq 71

m25p80 spi0.0: m25p32 (4096 Kbytes)

3 ofpart partitions found on MTD device spi0.0

Creating 3 MTD partitions on "spi0.0":

0x000000000000-0x000000080000 : "bootloader"

0x000000080000-0x000000082000 : "bootenv"

mtd: partition "bootenv" doesn't end on an erase block -- force read-only

0x000000090000-0x000000800000 : "kernel"

mtd: partition "kernel" extends beyond the end of device "spi0.0" -- size truncated to 0x370000

spi_imx 2008000.ecspi: probed

spi_imx 2010000.ecspi: probed

CAN device driver interface

2090000.can supply xceiver not found, using dummy regulator

flexcan 2090000.can: device registered (reg_base=f0210000, irq=142)

2094000.can supply xceiver not found, using dummy regulator

flexcan 2094000.can: device registered (reg_base=f0218000, irq=143)

2188000.ethernet supply phy not found, using dummy regulator

pps pps0: new PPS source ptp0

libphy: fec_enet_mii_bus: probed

fec 2188000.ethernet eth0: registered PHC device 0

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

2184800.usbmisc supply vbus-wakeup not found, using dummy regulator

2184200.usb supply vbus not found, using dummy regulator

ci_hdrc ci_hdrc.1: doesn't support gadget

ci_hdrc ci_hdrc.1: EHCI Host Controller

ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1

ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00

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

i2c-core: driver [isl29023] using legacy suspend method

i2c-core: driver [isl29023] using legacy resume method

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.27: V4L2 device registered as video16

mxc_v4l2_output v4l2_out.27: V4L2 device registered as video17

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

Bluetooth: Generic Bluetooth SDIO driver ver 0.1

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

sdhci-esdhc-imx 2190000.usdhc: could not get ultra high speed state, work on normal mode

Adding host...

We are

mmc0: no vqmmc regulator found

mmc0: no vmmc regulator found

mmc0: Successful request of IRQ 54: 0

mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA

Galcore version 5.0.11.25762

mmc0: host does not support reading read-only switch. assuming write-enable.

mmc0: new high speed SDHC card at address 1234

mmcblk0: mmc0:1234 SA08G 7.28 GiB

mmcblk0: p1 p2

ata1: SATA link down (SStatus 0 SControl 300)

ahci-imx 2200000.sata: no device found, disabling link.

ahci-imx 2200000.sata: pass ahci_imx..hotplug=1 to enable hotplug

usb 1-1: new high-speed USB device number 2 using ci_hdrc

hub 1-1:1.0: USB hub found

hub 1-1:1.0: 7 ports detected

mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed

mxc_vpu 2040000.vpu: VPU initialized

usb 1-1.1: new low-speed USB device number 3 using ci_hdrc

caam 2100000.caam: Instantiated RNG4 SH0

usb 1-1.2: new low-speed USB device number 4 using ci_hdrc

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] 29 9c 9c 4e 94 b9 9e 1f

platform caam_sm: [0008] e6 36 d4 31 b1 d7 a2 81

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] 7c fc bb e1 8a 86 54 87

platform caam_sm: [0008] bd 23 e3 8c fe ba af bc

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] 3f a1 58 e3 6b ee bb 06

platform caam_sm: [0008] 85 52 04 cb 43 0c e4 17

platform caam_sm: [0016] c2 d8 b8 f0 8a bf 26 5b

platform caam_sm: [0024] a6 aa ff 95 fb d9 c1 a1

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] a1 56 2e 9d 0d 85 35 97

platform caam_sm: [0008] 69 17 85 7e 63 1c d8 23

platform caam_sm: [0016] 8e 2c 28 af 91 82 d8 ce

platform caam_sm: [0024] 37 67 00 2d 7e c5 d2 2f

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] dd 21 09 ef ee 59 0d 67

platform caam_sm: [0008] cd aa 4a be 24 f1 e0 d2

platform caam_sm: [0016] d4 de d9 b3 1f 5d 4e 63

platform caam_sm: [0024] 21 04 58 89 ab b8 4e 7a

platform caam_sm: [0032] a9 34 36 4f 20 a0 c4 ef

platform caam_sm: [0040] a1 1a 05 bb 92 ca 67 3f

platform caam_sm: [0048] 58 1b c5 92 5f 93 a7 b0

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] 05 9c ae 6f 8c 81 c7 36

platform caam_sm: [0008] 4a 4d 11 04 82 6d ca 87

platform caam_sm: [0016] 4c 45 3d 75 83 4f 3e c4

platform caam_sm: [0024] ab 48 66 5b ed 8c 4d 0d

platform caam_sm: [0032] 57 72 6e 5b 71 e9 09 6f

platform caam_sm: [0040] 4c 49 fb bd f2 79 df 13

platform caam_sm: [0048] 0d 47 89 8e 57 b1 fe 3d

platform caam_sm: [0056] b5 ac 6e 46 23 8e ea bb

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] 61 24 5e e7 de 2a f9 7e

platform caam_sm: [0008] 55 28 c5 1d 16 4a 96 a5

platform caam_sm: [0016] 5d b4 25 e9 c2 7b 21 05

platform caam_sm: [0024] 76 14 b1 90 f0 54 a0 8b

platform caam_sm: [0032] 68 56 9b 6e 28 8c 07 a8

platform caam_sm: [0040] 1e 9a af 49 6e 83 96 7e

platform caam_sm: [0048] 68 77 5b 57 b5 43 2b 2c

platform caam_sm: [0056] ff 84 98 f1 90 0a d0 34

platform caam_sm: [0064] a1 fb 47 a6 90 aa 5f d3

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] 05 6c 25 35 99 da 29 f3

platform caam_sm: [0008] cf bd 34 c9 d5 f0 3b c4

platform caam_sm: [0016] 4a 38 fe e6 84 75 f3 5c

platform caam_sm: [0024] 05 3e da 8e 76 21 94 5b

platform caam_sm: [0032] 24 c3 41 09 ab 5c 48 fa

platform caam_sm: [0040] be 0c c2 07 2f 47 b4 cd

platform caam_sm: [0048] bb 96 36 51 bf 3f ab dc

platform caam_sm: [0056] d0 a8 e0 ef 9c fe 19 c2

platform caam_sm: [0064] c7 31 ea a3 f8 86 32 29

platform caam_sm: [0072] a7 92 b7 74 f2 ee f0 11

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] 1e 51 61 61 6d 9b d7 b0

platform caam_sm: [0008] da de 7b d5 15 ef 20 3a

platform caam_sm: restored 128-bit black key:

platform caam_sm: [0000] 7c fc bb e1 8a 86 54 87

platform caam_sm: [0008] bd 23 e3 8c fe ba af bc

platform caam_sm: restored 192-bit black key:

platform caam_sm: [0000] 3f a1 58 e3 6b ee bb 06

platform caam_sm: [0008] 85 52 04 cb 43 0c e4 17

platform caam_sm: [0016] 1a de 73 47 9c 66 5b 5a

platform caam_sm: [0024] 63 a2 0a 15 13 6b 99 91

platform caam_sm: restored 256-bit black key:

platform caam_sm: [0000] a1 56 2e 9d 0d 85 35 97

platform caam_sm: [0008] 69 17 85 7e 63 1c d8 23

platform caam_sm: [0016] 8e 2c 28 af 91 82 d8 ce

platform caam_sm: [0024] 37 67 00 2d 7e c5 d2 2f

random: nonblocking pool is initialized

After a few minutes I get this message.

INFO: rcu_preempt self-detected stall on CPU { 0}  (t=2100 jiffies g=4294967015 c=4294967014 q=2)

CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.14.28-1.0.0_ga+g91cf351 #6

[<800149f8>] (unwind_backtrace) from [<80011714>] (show_stack+0x10/0x14)

[<80011714>] (show_stack) from [<806d6e8c>] (dump_stack+0x7c/0xbc)

[<806d6e8c>] (dump_stack) from [<800710fc>] (rcu_check_callbacks+0x488/0x8b8)

[<800710fc>] (rcu_check_callbacks) from [<80036eec>] (update_process_times+0x44/0x64)

INFO: rcu_preempt detected stalls on CPUs/tasks: { 0} (detected by 2, t=2103 jiffies, g=4294967015, c=4294967014, q=2)

Task dump for CPU 0:

swapper/0       R running      0     1      0 0x00000002

[<806d9518>] (__schedule) from [<00000000>] (  (null))

[<80036eec>] (update_process_times) from [<8007b918>] (tick_sched_timer+0x4c/0x78)

[<8007b918>] (tick_sched_timer) from [<80049e3c>] (__run_hrtimer.isra.32+0x44/0xd4)

[<80049e3c>] (__run_hrtimer.isra.32) from [<8004a790>] (hrtimer_interrupt+0x124/0x2cc)

[<8004a790>] (hrtimer_interrupt) from [<800143d0>] (twd_handler+0x30/0x38)

[<800143d0>] (twd_handler) from [<8006a6a4>] (handle_percpu_devid_irq+0x6c/0x84)

[<8006a6a4>] (handle_percpu_devid_irq) from [<80066d14>] (generic_handle_irq+0x2c/0x3c)

[<80066d14>] (generic_handle_irq) from [<8000ed8c>] (handle_IRQ+0x40/0x90)

[<8000ed8c>] (handle_IRQ) from [<8000856c>] (gic_handle_irq+0x2c/0x5c)

[<8000856c>] (gic_handle_irq) from [<80012200>] (__irq_svc+0x40/0x70)

Exception stack(0xd805fd38 to 0xd805fd80)

fd20:                                                       00000000 00204140

fd40: 80dcaa00 00000000 00000040 00008080 00003458 0000f398 d805e000 80d6e518

fd60: 80d56fbc 00000000 00000000 d805fd80 80030994 800309a4 20000113 ffffffff

[<80012200>] (__irq_svc) from [<800309a4>] (__do_softirq+0xc8/0x248)

[<800309a4>] (__do_softirq) from [<80030dac>] (irq_exit+0xb8/0xf4)

[<80030dac>] (irq_exit) from [<8000ed90>] (handle_IRQ+0x44/0x90)

[<8000ed90>] (handle_IRQ) from [<8000856c>] (gic_handle_irq+0x2c/0x5c)

[<8000856c>] (gic_handle_irq) from [<80012200>] (__irq_svc+0x40/0x70)

Exception stack(0xd805fe08 to 0xd805fe50)

fe00:                   00000000 00000001 f0460000 80000b00 00000000 d82c3b00

fe20: d8146210 80d6e5d0 8073d148 80d6e518 80d56fbc 00000000 d8193f48 d805fe50

fe40: 806dc76c 804ff9c0 60000113 ffffffff

[<80012200>] (__irq_svc) from [<804ff9c0>] (snvs_secvio_probe+0x178/0x228)

[<804ff9c0>] (snvs_secvio_probe) from [<80336a44>] (platform_drv_probe+0x44/0xa4)

[<80336a44>] (platform_drv_probe) from [<803352cc>] (driver_probe_device+0x110/0x24c)

[<803352cc>] (driver_probe_device) from [<803354d8>] (__driver_attach+0x8c/0x90)

[<803354d8>] (__driver_attach) from [<80333824>] (bus_for_each_dev+0x6c/0xa0)

[<80333824>] (bus_for_each_dev) from [<80334a84>] (bus_add_driver+0x148/0x1f0)

[<80334a84>] (bus_add_driver) from [<80335ad4>] (driver_register+0x78/0xf8)

[<80335ad4>] (driver_register) from [<8000889c>] (do_one_initcall+0xf8/0x154)

[<8000889c>] (do_one_initcall) from [<80d13c54>] (kernel_init_freeable+0x138/0x1d8)

[<80d13c54>] (kernel_init_freeable) from [<806d3524>] (kernel_init+0x8/0xe8)

[<806d3524>] (kernel_init) from [<8000e538>] (ret_from_fork+0x14/0x3c)

Labels (3)
1 Solution
1,128 Views
PaulDeMetrotion
Senior Contributor I

By disabling CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO, the boot was able to complete!

View solution in original post

5 Replies
1,128 Views
PaulDeMetrotion
Senior Contributor I

There was a time when you could get assistance on this website. Two posts in the last week and not a single response.

More data for above post:

The system appears to be stuck in a loop attempting to service the snvs_secvio_interrupt - the security violation handler. Is there some security key I am missing?

Once again, any assistance is appreciated.

0 Kudos
1,129 Views
PaulDeMetrotion
Senior Contributor I

By disabling CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO, the boot was able to complete!

1,128 Views
clementmartin
Contributor II

We get the same freeze trouble without any probe on IMX6Q automotive (Linux 3.14.28 with Yocto Fido)
It has been solved by removing the crypto fsl caam feature marked as experimental aka
#CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO is not set
#CONFIG_CRYPTO_DEV_FSL_CAAM_SM is not set
#CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST is not set
Thank you for sharing this workaround

0 Kudos
1,128 Views
niranjanbc
Contributor IV

How to disable that

0 Kudos
1,128 Views
niranjanbc
Contributor IV

i have seen this problem when i have  Jlink debugger connected to IMx6solo Sabre Board

any idea what is wrong with conecting Jlink

0 Kudos