IMX6ULL-boot-stops at this point random: crng init done

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

IMX6ULL-boot-stops at this point random: crng init done

1,324 Views
duyhai
Contributor I

U-Boot SPL 2018.03-34753-g32670c4e21 (Oct 12 2021 - 23:15:51 -0700)
DDR LEGACY configuration
Trying to boot from MMC1
MMC Boot Device: mmc0 (SD)


U-Boot 2018.03-34753-g32670c4e21 (Oct 12 2021 - 23:15:51 -0700)

CPU: Freescale i.MX6ULL rev1.1 900 MHz (running at 396 MHz)
CPU: Commercial temperature grade (0C to 95C) at 38C
Reset cause: POR
Board: Variscite DART-6UL
I2C: ready
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

Display: VAR-WVGA-LCD (800x480)
Video: 800x480x24
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc0 is current device
Warning: Can't read SOM configuration from EEPROM
Net: Board Net Initialization Failed
usb_ether
Error: usb_ether address not set.

Normal Boot
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
switch to partitions #0, OK
mmc0 is current device
** Unable to read file /uEnv.txt **
** Unable to read file /boot.scr **
8174736 bytes read in 375 ms (20.8 MiB/s)
Booting from mmc ...
fdt_file=imx6ull-var-dart-6ulcustomboard-emmc-sd-card.dtb
34588 bytes read in 20 ms (1.6 MiB/s)
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300b71b

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.142-g5227ff0e2a5c (root@buildmachine) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #1 SMP PREEMPT Tue Oct 12 23:16:30 PDT 2021
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Variscite DART-6UL with i.MX6ULL, eMMC & SD card support on VAR-6ULCustomBoard
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 64 MiB at 0x9c000000
[ 0.000000] percpu: Embedded 15 pages/cpu s32332 r8192 d20916 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
[ 0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p2 rootwait rw cma=64MB
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 436740K/524288K available (10240K kernel code, 874K rwdata, 3800K rodata, 1024K init, 435K bss, 22012K reserved, 65536K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x2d8/0x48c with crng_init=0
[ 0.000000] Switching to timer-based delay loop, resolution 41ns
[ 0.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000054] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.002691] Console: colour dummy device 80x30
[ 0.002761] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.002796] pid_max: default: 32768 minimum: 301
[ 0.003176] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.003210] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.005184] CPU: Testing write buffer coherency: ok
[ 0.005938] CPU0: update cpu_capacity 1024
[ 0.005969] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.007447] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.007800] rcu: Hierarchical SRCU implementation.
[ 0.008591] smp: Bringing up secondary CPUs ...
[ 0.008622] smp: Brought up 1 node, 1 CPU
[ 0.008645] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.008660] CPU: All CPU(s) started in SVC mode.
[ 0.009604] devtmpfs: initialized
[ 0.021607] Duplicate name in lcdif@21c8000, renamed to "display#1"
[ 0.026016] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.026934] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.026987] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.032567] pinctrl core: initialized pinctrl subsystem
[ 0.034981] NET: Registered protocol family 16
[ 0.052790] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.055383] cpuidle: using governor menu
[ 0.072602] vdd3p0: supplied by regulator-dummy
[ 0.073482] cpu: supplied by regulator-dummy
[ 0.074817] vddsoc: supplied by regulator-dummy
[ 0.098988] No ATAGs?
[ 0.099142] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.099177] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.101836] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.102556] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
[ 0.104749] imx mu driver is registered.
[ 0.105747] imx rpmsg driver is registered.
[ 0.177299] vgaarb: loaded
[ 0.179226] SCSI subsystem initialized
[ 0.180406] usbcore: registered new interface driver usbfs
[ 0.180537] usbcore: registered new interface driver hub
[ 0.180652] usbcore: registered new device driver usb
[ 0.183606] i2c i2c-0: IMX I2C adapter registered
[ 0.185874] i2c i2c-1: IMX I2C adapter registered
[ 0.186769] mc: Linux media interface: v0.10
[ 0.186883] videodev: Linux video capture interface: v2.00
[ 0.187014] pps_core: LinuxPPS API ver. 1 registered
[ 0.187034] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.187083] PTP clock support registered
[ 0.189851] MIPI CSI2 driver module loaded
[ 0.189974] Advanced Linux Sound Architecture Driver Initialized.
[ 0.191953] Bluetooth: Core ver 2.22
[ 0.192087] NET: Registered protocol family 31
[ 0.192108] Bluetooth: HCI device and connection manager initialized
[ 0.192144] Bluetooth: HCI socket layer initialized
[ 0.192171] Bluetooth: L2CAP socket layer initialized
[ 0.192226] Bluetooth: SCO socket layer initialized
[ 0.193441] clocksource: Switched to clocksource mxc_timer1
[ 0.193885] VFS: Disk quotas dquot_6.6.0
[ 0.194091] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.217594] thermal_sys: Registered thermal governor 'step_wise'
[ 0.218210] NET: Registered protocol family 2
[ 0.218552] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.220349] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.220434] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.220564] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.220722] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.220947] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.221015] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.221426] NET: Registered protocol family 1
[ 0.222774] RPC: Registered named UNIX socket transport module.
[ 0.222805] RPC: Registered udp transport module.
[ 0.222823] RPC: Registered tcp transport module.
[ 0.222841] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.222872] PCI: CLS 0 bytes, default 64
[ 0.224562] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.227433] Bus freq driver module loaded
[ 0.229831] Initialise system trusted keyrings
[ 0.230443] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.247329] NFS: Registering the id_resolver key type
[ 0.247407] Key type id_resolver registered
[ 0.247426] Key type id_legacy registered
[ 0.247524] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.248726] fuse: init (API version 7.31)
[ 0.324250] Key type asymmetric registered
[ 0.324285] Asymmetric key parser 'x509' registered
[ 0.324937] io scheduler mq-deadline registered
[ 0.324966] io scheduler kyber registered
[ 0.332122] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[ 0.339796] mxsfb 21c8000.lcdif: 21c8000.lcdif supply lcd not found, using dummy regulator
[ 0.356402] sii902x bound to mxs-lcdif from 21c8000.lcdif
[ 0.365966] Console: switching to colour frame buffer device 100x30
[ 0.390217] mxsfb 21c8000.lcdif: initialized
[ 0.395024] mxs-dma 1804000.dma-apbh: initialized
[ 0.401739] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 21, base_baud = 5000000) is a IMX
[ 1.096882] printk: console [ttymxc0] enabled
[ 1.103619] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 64, base_baud = 5000000) is a IMX
[ 1.114154] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 65, base_baud = 5000000) is a IMX
[ 1.158295] imx_rngc 2284000.rng: Freescale RNGC registered.
[ 1.164758] imx sema4 driver is registered.
[ 1.203895] brd: module loaded
[ 1.228163] loop: module loaded
[ 1.239296] libphy: Fixed MDIO Bus: probed
[ 1.244696] CAN device driver interface
[ 1.249271] flexcan 2090000.flexcan: 2090000.flexcan supply xceiver not found, using dummy regulator
[ 1.374462] pps pps0: new PPS source ptp0
[ 1.379924] fec 20b4000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 1.386795] fec 20b4000.ethernet: Using random MAC address: 2a:6b:58:cd:69:05
[ 1.394826] libphy: fec_enet_mii_bus: probed
[ 1.399378] mdio_bus 20b4000.ethernet-1: MDIO device at address 1 is missing.
[ 1.406936] mdio_bus 20b4000.ethernet-1: MDIO device at address 3 is missing.
[ 1.415563] fec 20b4000.ethernet eth0: registered PHC device 0
[ 1.544344] pps pps1: new PPS source ptp1
[ 1.549704] fec 2188000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 1.556577] fec 2188000.ethernet: Using random MAC address: 7e:75:e0:03:1a:d7
[ 1.565691] fec 2188000.ethernet eth1: registered PHC device 1
[ 1.572304] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.578960] ehci-pci: EHCI PCI platform driver
[ 1.583604] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 1.589741] usbcore: registered new interface driver usb-storage
[ 1.599742] imx_usb 2184000.usb: No over current polarity defined
[ 1.606105] imx_usb 2184000.usb: 2184000.usb supply vbus not found, using dummy regulator
[ 1.618497] ci_hdrc ci_hdrc.0: EHCI Host Controller
[ 1.623564] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[ 1.653571] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 1.659532] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 1.667907] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.675191] usb usb1: Product: EHCI Host Controller
[ 1.680090] usb usb1: Manufacturer: Linux 5.4.142-g5227ff0e2a5c ehci_hcd
[ 1.686844] usb usb1: SerialNumber: ci_hdrc.0
[ 1.692625] hub 1-0:1.0: USB hub found
[ 1.696776] hub 1-0:1.0: 1 port detected
[ 1.702966] imx_usb 2184200.usb: No over current polarity defined
[ 1.709498] imx_usb 2184200.usb: 2184200.usb supply vbus not found, using dummy regulator
[ 1.722342] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 1.728603] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[ 1.763570] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 1.769512] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 1.777890] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.785173] usb usb2: Product: EHCI Host Controller
[ 1.790070] usb usb2: Manufacturer: Linux 5.4.142-g5227ff0e2a5c ehci_hcd
[ 1.796822] usb usb2: SerialNumber: ci_hdrc.1
[ 1.802590] hub 2-0:1.0: USB hub found
[ 1.806674] hub 2-0:1.0: 1 port detected
[ 1.815848] input: 20cc000.snvs:snvs-powerkey as /devices/soc0/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
[ 1.830668] edt_ft5x06 1-0038: touchscreen probe failed
[ 1.839104] input: iMX6UL Touchscreen Controller as /devices/soc0/soc/2000000.aips-bus/2040000.tsc/input/input2
[ 1.855462] i2c /dev entries driver
[ 1.862320] pxp-v4l2 pxp_v4l2: initialized
[ 1.871943] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[ 1.879168] Bluetooth: HCI UART driver ver 2.3
[ 1.883741] Bluetooth: HCI UART protocol H4 registered
[ 1.888897] Bluetooth: HCI UART protocol BCSP registered
[ 1.894351] Bluetooth: HCI UART protocol LL registered
[ 1.899555] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 1.905970] Bluetooth: HCI UART protocol Marvell registered
[ 1.911691] usbcore: registered new interface driver btusb
[ 1.919057] sdhci: Secure Digital Host Controller Interface driver
[ 1.925352] sdhci: Copyright(c) Pierre Ossman
[ 1.929722] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.938544] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[ 1.977451] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[ 2.020612] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[ 2.032877] caam-snvs 20cc000.caam-snvs: can't get snvs clock
[ 2.039516] caam-snvs 20cc000.caam-snvs: violation handlers armed - init state
[ 2.053684] usbcore: registered new interface driver usbhid
[ 2.059282] usbhid: USB HID core driver
[ 2.077910] wm8731 1-001a: 1-001a supply AVDD not found, using dummy regulator
[ 2.085681] wm8731 1-001a: 1-001a supply HPVDD not found, using dummy regulator
[ 2.093325] wm8731 1-001a: 1-001a supply DCVDD not found, using dummy regulator
[ 2.101385] wm8731 1-001a: 1-001a supply DBVDD not found, using dummy regulator
[ 2.110296] wm8731 1-001a: Failed to issue reset: -6
[ 2.122556] fsl-sai 202c000.sai: failed to get mclk0 clock: -2
[ 2.130910] random: fast init done
[ 2.144727] NET: Registered protocol family 26
[ 2.154912] NET: Registered protocol family 10
[ 2.164867] Segment Routing with IPv6
[ 2.172711] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.178875] mmc1: new DDR MMC card at address 0001
[ 2.186097] NET: Registered protocol family 17
[ 2.190593] can: controller area network core (rev 20170425 abi 9)
[ 2.197800] mmcblk1: mmc1:0001 P1XXXX 7.20 GiB
[ 2.203094] mmcblk1boot0: mmc1:0001 P1XXXX partition 1 2.00 MiB
[ 2.210031] mmcblk1boot1: mmc1:0001 P1XXXX partition 2 2.00 MiB
[ 2.216342] NET: Registered protocol family 29
[ 2.220807] can: raw protocol (rev 20170425)
[ 2.225669] mmcblk1rpmb: mmc1:0001 P1XXXX partition 3 128 KiB, chardev (245:0)
[ 2.233083] can: broadcast manager protocol (rev 20170425 t)
[ 2.240387] can: netlink gateway (rev 20190810) max_hops=1
[ 2.247807] Bluetooth: RFCOMM TTY layer initialized
[ 2.253137] Bluetooth: RFCOMM socket layer initialized
[ 2.262691] Bluetooth: RFCOMM ver 1.11
[ 2.269390] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.274957] Bluetooth: BNEP filters: protocol multicast
[ 2.280233] Bluetooth: BNEP socket layer initialized
[ 2.285344] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.291296] Bluetooth: HIDP socket layer initialized
[ 2.296440] lib80211: common routines for IEEE802.11 drivers
[ 2.302215] Key type dns_resolver registered
[ 2.337652] Registering SWP/SWPB emulation handler
[ 2.342853] Loading compiled-in X.509 certificates
[ 2.376940] imx_thermal tempmon: Commercial CPU temperature grade - max:95C critical:90C passive:85C
[ 2.389883] input: keys as /devices/soc0/keys/input/input3
[ 2.397132] hctosys: unable to open rtc device (rtc0)
[ 2.402691] ALSA device list:
[ 2.405826] No soundcards found.
[ 2.409786] Waiting for root device /dev/mmcblk0p2...
[ 32.483582] VSD_3V3: disabling
[ 32.486693] gpio_dvfs: disabling
[ 210.703710] random: crng init done

0 Kudos
Reply
5 Replies

1,283 Views
duyhai
Contributor I

I used that suoftware on the IMX6ULL EVK kit and it built okay

0 Kudos
Reply

1,292 Views
JorgeCas
NXP TechSupport
NXP TechSupport

Hello, I hope you are doing well.

Could you please share me more about your hardware setup? Such as device used, software versions, modifications, etc.

Best regards.

0 Kudos
Reply

1,285 Views
duyhai
Contributor I
Can you tell me in more detail about the hardware you need to be able to detect the error? I designed iMX6ULL with PMIC 1550
0 Kudos
Reply

1,271 Views
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

Your logs indicate that you are using a Variscite DART-6UL board.

Did you try with Variscite BSP?

Best regards.

0 Kudos
Reply

1,228 Views
duyhai
Contributor I
not yet!
0 Kudos
Reply