AnsweredAssumed Answered

ubi attach error in kernel

Question asked by shreyans badjatya on Feb 18, 2018
Latest reply on Feb 24, 2018 by shreyans badjatya

Hello All,

I am working on a custom board, which is based on the 14x14 evk,

I am facing issue with root file system in kernel.

 

I have updated the QSPI NOR flash with U-Boot, Kernel (4.1.15_2.0.0) device tree and root.ubi as file system.

I am able to bring the U-boot up and can mount the root.ubi, Following is the output for command-

---------------------------------------------------

=> printenv

addcma=setenv bootargs ${bootargs} cma=${cma_size}
addfb=setenv bootargs ${bootargs} consoleblank=0
addip=if test "${ipmode}" != static; then run addip_dynamic; else run addip_static; fi
addip_dynamic=setenv bootargs ${bootargs} ip=dhcp
addip_static=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off
addmmc=setenv bootargs ${bootargs} root=/dev/mmcblk${mmcblkdev}p${mmcpart} ${rootfsmode} rootwait
addnfs=setenv bootargs ${bootargs} root=/dev/nfs rw nfsroot=${serverip}:${rootpath},v3,tcp;
addqspi=setenv bootargs ${bootargs} root=ubi0:root ${rootfsmode} rootfstype=ubifs ubi.mtd=${rootfs_mtddev}
addtty=setenv bootargs ${bootargs} console=${console},${baudrate}
baudrate=115200
board=tqma6ul
board_name=TQMa6UL
boot_dev=qspi
boot_type=bootz
bootargs=console=ttymxc0,115200 rdinit=/linuxrc
bootcmd=sf probe; run qspiboot; run netboot; run panicboot
bootcmd_mfg=run mfgtool_args; bootz ${loadaddr} ${initrd_addr} ${fdt_addr};
bootdelay=3
cma_size=32M
console=ttymxc0
ethprime=FEC
fdt_addr=0x88000000
fdt_file=imx6ul-mba6ul.dtb
fdt_high=0xffffffff
fdt_mtdpart=DTB
initrd_addr=0x89000000
initrd_high=0xffffffff
ipmode=static
kernel_mtdpart=Linux
kernel_name=if test "${boot_type}" != bootz; then setenv kernel ${uimage}; else setenv kernel ${zimage}; fi
loadaddr=0x82000000
loadfdt=sf probe 0; sf read ${fdt_addr} ${fdt_mtdpart}
loadimage=sf probe 0; sf read ${loadaddr} ${kernel_mtdpart}
mfgtool_args=setenv bootargs console=ttymxc0,115200 rdinit=/linuxrc g_mass_storage.stall=0 g_mass_storage.removable=1 g_mass_storage.file=/fat g_mass_storage.ro=1 g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF g_mass_storage.iSerialNumber="" enable_wait_mode=off
mmcargs=run addmmc addtty addcma
mmcblkdev=0
mmcboot=echo Booting from mmc ...; setenv bootargs; run mmcargs; run loadrd;if run loadimage; then if run loadfdt; then echo boot device tree kernel ...; ${boot_type} ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else ${boot_type}; fi;
mmcdev=0
mmcpart=2
mtddevname=U-Boot
mtddevnum=0
mtdids=nor0=nor0
mtdparts=mtdparts=nor0:832k@0k(U-Boot),64k@832k(ENV1),64k@896k(ENV2),64k@960k(DTB),7M@1M(Linux),56M@8M(RootFS)
netargs=run addnfs addip addtty addfb addcma
netboot=echo Booting from net ...; run kernel_name; run set_getcmd; setenv bootargs; run netargs; if ${getcmd} ${fdt_addr} ${fdt_file}; then if ${getcmd} ${loadaddr} ${kernel}; then ${boot_type} ${loadaddr} - ${fdt_addr}; fi; fi; echo ... failed
netdev=eth1
panicboot=echo No boot device !!! reset
partition=nor0,0
qspiargs=run addqspi addtty addfb addcma
qspiboot=echo Booting from qspi ...; setenv bootargs; run qspiargs; if run loadimage; then if run loadfdt; then echo boot device tree kernel ...; ${boot_type} ${loadaddr} - ${fdt_addr}; fi; else ${boot_type}; fi;
rootfs_mtddev=5
rootfs_mtdpart=RootFS
rootfsmode=ro
rootpath=/srv/nfs/tqma6
serial#=???
set_getcmd=if test "${ipmode}" != static; then setenv getcmd dhcp; setenv autoload yes; else setenv getcmd tftp; setenv autoload no; fi
uboot=u-boot.imx
uboot_mtdpart=U-Boot
uimage=uImage
update_fdt=run set_getcmd; if ${getcmd} ${fdt_file}; then if itest ${filesize} > 0; then sf probe 0; sf update ${loadaddr} ${fdt_mtdpart} ${filesize}; fi; fi; setenv filesize; setenv getcmd
update_kernel=run kernel_name; run set_getcmd; if ${getcmd} ${kernel}; then if itest ${filesize} > 0; then sf probe 0; sf update ${loadaddr} ${kernel_mtdpart} ${filesize};fi; fi; setenv filesize; setenv getcmd
update_uboot=run set_getcmd; if ${getcmd} ${uboot}; then if itest ${filesize} > 0; then sf probe 0; sf update ${loadaddr} ${uboot_mtdpart} ${filesize}; fi; fi; setenv filesize; setenv getcmd
zimage=linuximage

 

=> sf probe
SF: Detected N25Q512 with page size 256 Bytes, erase size 64 KiB, total 64 MiB


=> mtdparts

device nor0 <nor0>, # parts = 6
#: name size offset mask_flags
0: U-Boot 0x000d0000 0x00000000 0
1: ENV1 0x00010000 0x000d0000 0
2: ENV2 0x00010000 0x000e0000 0
3: DTB 0x00010000 0x000f0000 0
4: Linux 0x00700000 0x00100000 0
5: RootFS 0x03800000 0x00800000 0

active partition: nor0,0 - (U-Boot) 0x000d0000 @ 0x00000000

defaults:
mtdids : nor0=nor0
mtdparts: mtdparts=nor0:832k@0k(U-Boot),64k@832k(ENV1),64k@896k(ENV2),64k@960k(DTB),7M@1M(Linux),56M@8M(RootFS)


=> ubi part RootFS
ubi0: attaching mtd1
The controller is busy, 0x2003c05
The controller is busy, 0x2003c05
The controller is busy, 0x2003c05
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=5", size 56 MiB)
ubi0: PEB size: 65536 bytes (64 KiB), LEB size: 65408 bytes
ubi0: min./max. I/O unit sizes: 1/256, sub-page size 1
ubi0: VID header offset: 64 (aligned 64), data offset: 128
ubi0: good PEBs: 896, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1478932210
ubi0: available PEBs: 0, total reserved PEBs: 896, PEBs reserved for bad PEB handling: 0


=> ubifsmount ubi0:root
The controller is busy, 0x2003c05


=> ubifsls
<DIR> The controller is busy, 0x2003c05
6152 Thu Mar 31 22:00:00 2016 bin
<DIR> 352 Thu Mar 31 22:00:00 2016 dev
<DIR> The controller is busy, 0x2003c05
3592 Thu Mar 31 22:00:00 2016 etc
<DIR> 6016 Thu Mar 31 22:00:00 2016 lib
<DIR> 160 Thu Mar 31 22:00:00 2016 mnt
<DIR> 160 Thu Mar 31 22:00:00 2016 run
<DIR> 160 Thu Mar 31 22:00:00 2016 tmp
<DIR> 160 Thu Mar 31 22:00:00 2016 sys
<DIR> The controller is busy, 0x2003c05
736 Thu Mar 31 22:00:00 2016 var
<DIR> 480 Thu Mar 31 22:00:00 2016 usr
<DIR> 160 Thu Mar 31 22:00:00 2016 boot
<DIR> 160 Thu Mar 31 22:00:00 2016 home
<DIR> 160 Thu Mar 31 22:00:00 2016 proc
<DIR> 7640 Thu Mar 31 22:00:00 2016 sbin
<DIR> 160 Thu Mar 31 22:00:00 2016 root
<LNK> 11 Thu Mar 31 22:00:00 2016 linuxrc
<DIR> 160 Thu Mar 31 22:00:00 2016 media


=> ubi info l
Volume information dump:
vol_id 0
reserved_pebs 892
alignment 1
data_pad 0
vol_type 3
name_len 4
usable_leb_size 65408
used_ebs 892
used_bytes 58343936
last_eb_bytes 65408
corrupted 0
upd_marker 0
name root
Volume information dump:
vol_id 2147479551
reserved_pebs 2
alignment 1
data_pad 0
vol_type 3
name_len 13
usable_leb_size 65408
used_ebs 2
used_bytes 130816
last_eb_bytes 2
corrupted 0
upd_marker 0
name layout volume

---------------------------------------------------------------------------------------------

 

When i start the kernel, then as per the device tree information partitions are created but while root fs gives error in attaching the UBI.

 

[ 2.953633] ubi0: attaching mtd5
[ 2.977351] ubi0: scanning is finished
[ 2.981274] ubi0 error: ubi_read_volume_table: the layout volume was not found
[ 2.989200] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd5, error -22
[ 2.996295] UBI error: cannot attach mtd5
and then
[ 3.042394] UBIFS error (pid: 1): cannot open "ubi0:root", error -19VFS: Cannot open root device "ubi0:root" or unknown-block(0,0): error -19
[ 3.055257] Please append a correct "root=" boot option; here are the available partitions:

 

 

 

Following are the complete logs of u-boot and kernel booting-

 

U-Boot 2016.03.rel_imx_4.1.15_2.0.0_ga-20171102 (Feb 18 2018 - 14:14:39 +0100)

CPU: Freescale i.MX6UL rev1.2 528 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 49C
Reset cause: POR
Board: TQMa6UL on a MBa6UL
DRAM: 256 MiB
PMIC: PFUZE3000 ID=0x30 REV=0x11
MMC:
SF: Detected N25Q512 with page size 256 Bytes, erase size 64 KiB, total 64 MiB
No panel detected: default to GPM1123A0
Display: GPM1123A0 (480x144)
Video: 480x144x24
In: serial
Out: serial
Err: serial
TQMa6UL EEPROM:
unknown hardware variant
unknown serial number
MAC: ff:ff:ff:ff:ff:ff
Boot: QSPI1
LCD: OK
Net: CPU Net Initialization Failed
No ethernet found.
Normal Boot
Hit any key to stop autoboot: 3     2     1     0
SF: Detected N25Q512 with page size 256 Bytes, erase size 64 KiB, total 64 MiB
Booting from qspi ...
SF: Detected N25Q512 with page size 256 Bytes, erase size 64 KiB, total 64 MiB
device 0 offset 0x100000, size 0x700000
SF: 7340032 bytes @ 0x100000 Read: OK
SF: Detected N25Q512 with page size 256 Bytes, erase size 64 KiB, total 64 MiB
device 0 offset 0xf0000, size 0x10000
SF: 65536 bytes @ 0xf0000 Read: OK
boot device tree kernel ...
Kernel image @ 0x82000000 [ 0x000000 - 0x337790 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Using Device Tree in place at 88000000, end 8800c961
MMC Device 0 not found
e-MMC: not present?
Modify /soc/aips-bus@02000000/bee@02044000:status disabled
ft_system_setup for mx6

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.1.15-rel_imx_4.1.15_2.0.0_ga-20170801 (ptxdist@ptxdist) (gcc version 4.9.2 (OSELAS.Toolchain-2014.12.2) ) #1 PREEMPT 2016-04-01
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: TQ TQMa6UL on MBa6UL
[ 0.000000] Reserved memory: created CMA memory pool at 0x8a000000, size 96 MiB
[ 0.000000] Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: root=ubi0:root ro rootfstype=ubifs ubi.mtd=5 console=ttymxc0,115200 consoleblank=0 cma=32M
[ 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: 151360K/262144K available (6746K kernel code, 252K rwdata, 2164K rodata, 248K init, 397K bss, 12480K reserved, 98304K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 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 - 0x808bbc54 (8912 kB)
[ 0.000000] .init : 0x808bc000 - 0x808fa000 ( 248 kB)
[ 0.000000] .data : 0x808fa000 - 0x80939180 ( 253 kB)
[ 0.000000] .bss : 0x80939180 - 0x8099c5b0 ( 398 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Additional per-CPU info printed with stalls.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] mxc_clocksource_init 24000000
[ 0.000000] Switching to timer-based delay loop, resolution 41ns
[ 0.000014] 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.002389] Console: colour dummy device 80x30
[ 0.002425] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.002453] pid_max: default: 32768 minimum: 301
[ 0.002627] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002655] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.003807] CPU: Testing write buffer coherency: ok
[ 0.004289] Setting up static identity map for 0x80008200 - 0x80008258
[ 0.007062] devtmpfs: initialized
[ 0.020758] device-tree: Duplicate name in lcdif@021c8000, renamed to "display#1"
[ 0.028668] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.029410] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.036905] pinctrl core: initialized pinctrl subsystem
[ 0.039138] NET: Registered protocol family 16
[ 0.053065] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.080691] cpuidle: using governor ladder
[ 0.110740] cpuidle: using governor menu
[ 0.153421] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.153453] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.154081] imx6ul-pinctrl 20e0000.iomuxc: no fsl,pins property in node /soc/aips-bus@02000000/iomuxc@020e0000/imx6ul-mba6ul/adc1grp
[ 0.154494] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.197207] mxs-dma 1804000.dma-apbh: initialized
[ 0.203878] vgaarb: loaded
[ 0.205432] SCSI subsystem initialized
[ 0.206147] usbcore: registered new interface driver usbfs
[ 0.206306] usbcore: registered new interface driver hub
[ 0.206489] usbcore: registered new device driver usb
[ 0.211019] pca953x 3-0020: failed reading register
[ 0.211078] pca953x: probe of 3-0020 failed with error -5
[ 0.212022] pca953x 3-0021: failed reading register
[ 0.212089] pca953x: probe of 3-0021 failed with error -5
[ 0.212757] pca953x 3-0022: failed reading register
[ 0.212802] pca953x: probe of 3-0022 failed with error -5
[ 0.213209] i2c i2c-3: IMX I2C adapter registered
[ 0.213246] i2c i2c-3: can't use DMA
[ 0.213472] media: Linux media interface: v0.10
[ 0.213656] Linux video capture interface: v2.00
[ 0.213796] pps_core: LinuxPPS API ver. 1 registered
[ 0.213818] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.213897] PTP clock support registered
[ 0.216154] Advanced Linux Sound Architecture Driver Initialized.
[ 0.218421] Switched to clocksource mxc_timer1
[ 0.240975] NET: Registered protocol family 2
[ 0.242534] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.242619] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.242682] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.242810] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.242857] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.243198] NET: Registered protocol family 1
[ 0.243831] RPC: Registered named UNIX socket transport module.
[ 0.243860] RPC: Registered udp transport module.
[ 0.243877] RPC: Registered tcp transport module.
[ 0.243892] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.249734] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.249796] Initialise system trusted keyring
[ 0.249983] audit: initializing netlink subsys (disabled)
[ 0.250091] audit: type=2000 audit(0.240:1): initialized
[ 0.269054] NFS: Registering the id_resolver key type
[ 0.269152] Key type id_resolver registered
[ 0.269173] Key type id_legacy registered
[ 0.269369] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.271043] fuse init (API version 7.23)
[ 0.273084] NILFS version 2 loaded
[ 0.282086] io scheduler noop registered
[ 0.282137] io scheduler deadline registered
[ 0.282260] io scheduler cfq registered (default)
[ 0.283358] imx-weim 21b8000.weim: Driver registered.
[ 0.289380] pwm_backlight supply power not found, using dummy regulator
[ 0.291660] MIPI DSI driver module loaded
[ 0.294319] 21c8000.lcdif supply lcd not found, using dummy regulator
[ 0.400332] mxsfb 21c8000.lcdif: failed to find mxc display driver
[ 0.404136] Console: switching to colour frame buffer device 60x18
[ 0.415830] mxsfb 21c8000.lcdif: initialized
[ 0.417786] imx-sdma 20ec000.sdma: no event needs to be remapped
[ 0.417975] imx-sdma 20ec000.sdma: loaded firmware 3.3
[ 0.424534] imx-sdma 20ec000.sdma: initialized
[ 0.426994] pfuze100-regulator 3-0008: Full layer: 1, Metal layer: 1
[ 0.427632] pfuze100-regulator 3-0008: FAB: 0, FIN: 0
[ 0.427664] pfuze100-regulator 3-0008: pfuze3000 found.
[ 0.447587] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 19, base_baud = 5000000) is a IMX
[ 1.111562] console [ttymxc0] enabled
[ 1.116928] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 229, base_baud = 5000000) is a IMX
[ 1.127086] 21fc000.serial: ttymxc5 at MMIO 0x21fc000 (irq = 231, base_baud = 5000000) is a IMX
[ 1.163090] brd: module loaded
[ 1.177776] loop: module loaded
[ 1.181382] at24 3-0050: 8192 byte 24c64 EEPROM, writable, 32 bytes/write
[ 1.188318] at24 3-0052: 256 byte 24c02 EEPROM, writable, 16 bytes/write
[ 1.195286] at24 3-0051: 256 byte spd EEPROM, read-only, 0 bytes/write
[ 1.204470] fsl-quadspi 21e0000.qspi: n25q512ax3 use 4B command set
[ 1.210870] fsl-quadspi 21e0000.qspi: n25q512ax3 (65536 Kbytes)
[ 1.216871] 6 ofpart partitions found on MTD device 21e0000.qspi
[ 1.223026] Creating 6 MTD partitions on "21e0000.qspi":
[ 1.228379] 0x000000000000-0x0000000d0000 : "U-Boot"
[ 1.235693] 0x0000000d0000-0x0000000e0000 : "ENV1"
[ 1.242619] 0x0000000e0000-0x0000000f0000 : "ENV2"
[ 1.249550] 0x0000000f0000-0x000000100000 : "DTB"
[ 1.256341] 0x000000100000-0x000000800000 : "Linux"
[ 1.263419] 0x000000800000-0x000004000000 : "RootFS"
[ 1.273379] tun: Universal TUN/TAP device driver, 1.6
[ 1.278572] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 1.285285] CAN device driver interface
[ 1.291652] flexcan 2090000.can: device registered (reg_base=909c8000, irq=26)
[ 1.301200] flexcan 2094000.can: device registered (reg_base=909d0000, irq=27)
[ 1.313765] usbcore: registered new interface driver smsc95xx
[ 1.319797] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.326375] ehci-pci: EHCI PCI platform driver
[ 1.331116] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 1.336839] usbcore: registered new interface driver usb_ehset_test
[ 1.343449] udc-core: couldn't find an available UDC - added [g_mass_storage] to list of pending drivers
[ 1.353585] mousedev: PS/2 mouse device common for all mice
[ 1.361366] input: 20cc000.snvs:snvs-powerkey as /devices/platform/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
[ 1.378743] rtc-ds1307: probe of 3-0068 failed with error -5
[ 1.385141] i2c /dev entries driver
[ 1.390578] jc42: probe of 3-001a failed with error -5
[ 1.396114] jc42: probe of 3-0019 failed with error -5
[ 1.403512] imx2-wdt 20bc000.wdog: use WDOG_B to reboot.
[ 1.409734] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[ 1.416897] sdhci: Secure Digital Host Controller Interface driver
[ 1.423289] sdhci: Copyright(c) Pierre Ossman
[ 1.427709] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.435330] /soc/aips-bus@02100000/usdhc@02190000: voltage-ranges unspecified
[ 1.442640] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[ 1.447835] sdhci-esdhc-imx 2190000.usdhc: Got WP GPIO
[ 1.498863] mmc1: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[ 1.510339] /soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
[ 1.517745] sdhci-esdhc-imx 2194000.usdhc: allocated mmc-pwrseq
[ 1.527860] VLDO4: operation not allowed
[ 1.531932] mmc0: Switching to 3.3V signalling voltage failed
[ 1.569551] mmc0: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[ 1.586934] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.623718] VLDO4: operation not allowed
[ 1.627693] mmc0: Switching to 3.3V signalling voltage failed
[ 1.634132] caam 2140000.caam: Entropy delay = 3200
[ 1.639153] caam 2140000.caam: Instantiated RNG4 SH0
[ 1.699919] caam 2140000.caam: Instantiated RNG4 SH1
[ 1.704934] caam 2140000.caam: device ID = 0x0a16030000000000 (Era -524)
[ 1.714778] caam 2140000.caam: job rings = 3, qi = 0
[ 1.748540] VLDO4: operation not allowed
[ 1.752517] mmc0: Switching to 3.3V signalling voltage failed
[ 1.834843] VLDO4: operation not allowed
[ 1.839873] mmc0: Switching to 3.3V signalling voltage failed
[ 1.851417] caam algorithms registered in /proc/crypto
[ 1.864312] caam_jr 2141000.jr0: registering rng-caam
[ 1.871180] platform caam_sm: blkkey_ex: 8 keystore units available
[ 1.877743] platform caam_sm: 64-bit clear key:
[ 1.883504] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[ 1.891413] platform caam_sm: 64-bit black key:
[ 1.901294] platform caam_sm: [0000] 70 aa 6a a6 b2 7b c8 92
[ 1.910176] platform caam_sm: [0008] 9c 6a ac 38 30 82 d3 4c
[ 1.917933] platform caam_sm: 128-bit clear key:
[ 1.924702] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[ 1.932503] platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
[ 1.940285] platform caam_sm: 128-bit black key:
[ 1.947005] platform caam_sm: [0000] 5a 71 1e 69 d4 60 70 b6
[ 1.954800] platform caam_sm: [0008] 30 2f ca 91 a0 b6 93 bb
[ 1.962580] platform caam_sm: 192-bit clear key:
[ 1.969335] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[ 1.978130] platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
[ 1.987974] platform caam_sm: [0016] 10 11 12 13 14 15 16 17
[ 1.993703] platform caam_sm: 192-bit black key:
[ 1.998360] platform caam_sm: [0000] b9 89 6a ac 0d 8b 7e f5
[ 2.004091] platform caam_sm: [0008] f9 40 15 4e 8f 35 e4 ed
[ 2.009834] platform caam_sm: [0016] 00 91 dd ef ce fa 01 e8
[ 2.015531] platform caam_sm: [0024] eb d8 43 5a dd 59 db 21
[ 2.021308] platform caam_sm: 256-bit clear key:
[ 2.025973] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[ 2.031755] platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
[ 2.037454] platform caam_sm: [0016] 10 11 12 13 14 15 16 17
[ 2.043184] platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1f
[ 2.048900] platform caam_sm: 256-bit black key:
[ 2.053552] platform caam_sm: [0000] 4f 24 93 2a bd 75 d4 f4
[ 2.059277] platform caam_sm: [0008] fa ea fe cf b5 b1 06 06
[ 2.064973] platform caam_sm: [0016] 3c 42 3a 7a c4 e2 63 fb
[ 2.070697] platform caam_sm: [0024] 63 d0 89 34 b1 69 f0 61
[ 2.076383] platform caam_sm: 64-bit unwritten blob:
[ 2.081410] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[ 2.087102] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[ 2.092822] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[ 2.098547] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[ 2.104240] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[ 2.109964] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[ 2.115660] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[ 2.121384] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[ 2.127078] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[ 2.132803] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[ 2.138527] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[ 2.144220] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[ 2.149933] platform caam_sm: 128-bit unwritten blob:
[ 2.155019] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[ 2.160739] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[ 2.166433] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[ 2.172154] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[ 2.177846] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[ 2.183566] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[ 2.189287] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[ 2.194980] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[ 2.200699] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[ 2.206394] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[ 2.212114] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[ 2.217806] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[ 2.223556] platform caam_sm: 196-bit unwritten blob:
[ 2.228684] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[ 2.234378] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[ 2.240099] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[ 2.245793] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[ 2.251516] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[ 2.257210] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[ 2.262929] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[ 2.268652] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[ 2.274346] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[ 2.280068] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[ 2.285761] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[ 2.291479] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[ 2.297164] platform caam_sm: 256-bit unwritten blob:
[ 2.302276] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[ 2.307970] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[ 2.313692] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[ 2.319414] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[ 2.325108] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[ 2.330829] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[ 2.336523] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[ 2.342244] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[ 2.347938] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[ 2.353658] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[ 2.359385] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[ 2.365077] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[ 2.371085] platform caam_sm: 64-bit black key in blob:
[ 2.376355] platform caam_sm: [0000] 32 f9 35 cf 90 60 b7 f7
[ 2.382090] platform caam_sm: [0008] bb a2 fd 98 11 ef bb 86
[ 2.387787] platform caam_sm: [0016] 15 06 9c 34 48 4f 63 84
[ 2.393517] platform caam_sm: [0024] a6 b1 02 10 cb b4 0f a0
[ 2.399245] platform caam_sm: [0032] a3 77 d3 a2 ff 17 fb df
[ 2.404941] platform caam_sm: [0040] 2b 21 df 28 57 a0 32 d6
[ 2.410662] platform caam_sm: [0048] 9e c6 27 15 31 3f 2e 57
[ 2.416355] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[ 2.422124] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[ 2.427822] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[ 2.433553] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[ 2.439281] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[ 2.444966] platform caam_sm: 128-bit black key in blob:
[ 2.450344] platform caam_sm: [0000] d7 51 8e 10 d7 9c 53 da
[ 2.456037] platform caam_sm: [0008] bd b8 9c 72 ea fa 37 6c
[ 2.461760] platform caam_sm: [0016] 8b 4f af 65 cc 16 7d 7c
[ 2.467454] platform caam_sm: [0024] bf d5 9a f3 7f 2a f1 18
[ 2.473175] platform caam_sm: [0032] c8 f4 a4 19 bc 73 d7 fc
[ 2.478900] platform caam_sm: [0040] 09 d8 28 c2 10 c2 01 f9
[ 2.484593] platform caam_sm: [0048] f4 2b a1 ad 9b c5 7d f2
[ 2.490318] platform caam_sm: [0056] 50 af c2 af fd b0 df d3
[ 2.496012] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[ 2.501733] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[ 2.507427] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[ 2.513148] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[ 2.518864] platform caam_sm: 192-bit black key in blob:
[ 2.524212] platform caam_sm: [0000] a7 df bb 31 3d 15 2a aa
[ 2.529934] platform caam_sm: [0008] 74 4d 33 7b 11 11 53 59
[ 2.535629] platform caam_sm: [0016] 58 67 8a 36 66 e9 76 95
[ 2.541354] platform caam_sm: [0024] fe 86 04 7f 0c ac 94 33
[ 2.547047] platform caam_sm: [0032] 4d 3b a8 13 08 de be d1
[ 2.552769] platform caam_sm: [0040] 48 a3 a0 1f 52 4f b0 14
[ 2.558491] platform caam_sm: [0048] 65 63 e7 18 70 f1 95 f0
[ 2.564184] platform caam_sm: [0056] b4 b5 19 0f a2 a1 04 47
[ 2.569904] platform caam_sm: [0064] c9 a0 b3 53 5c 19 e8 ed
[ 2.575596] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[ 2.581314] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[ 2.587007] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[ 2.592716] platform caam_sm: 256-bit black key in blob:
[ 2.598064] platform caam_sm: [0000] eb a3 ce a1 57 8b 34 4a
[ 2.603784] platform caam_sm: [0008] be be de 83 6b 14 41 24
[ 2.609505] platform caam_sm: [0016] f2 27 48 30 56 eb 8c 02
[ 2.615199] platform caam_sm: [0024] 04 43 6f dc de e9 61 23
[ 2.620959] platform caam_sm: [0032] 10 4f 24 5e b9 b1 33 15
[ 2.626655] platform caam_sm: [0040] 13 56 8d d9 14 4a 5d 32
[ 2.632386] platform caam_sm: [0048] 83 fa a5 06 2d 2a 67 c7
[ 2.638081] platform caam_sm: [0056] 1c c5 33 80 42 bf cb cb
[ 2.643806] platform caam_sm: [0064] aa 57 93 97 0f 50 03 1d
[ 2.649531] platform caam_sm: [0072] 16 25 5a bf b9 da 53 c0
[ 2.655224] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[ 2.660946] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[ 2.666896] platform caam_sm: restored 64-bit black key:
[ 2.672288] platform caam_sm: [0000] 00 7b e4 bd 6a 63 9f f9
[ 2.677983] platform caam_sm: [0008] 2e 50 21 9f bc 01 0d c2
[ 2.683698] platform caam_sm: restored 128-bit black key:
[ 2.689166] platform caam_sm: [0000] 5a 71 1e 69 d4 60 70 b6
[ 2.694863] platform caam_sm: [0008] 30 2f ca 91 a0 b6 93 bb
[ 2.700574] platform caam_sm: restored 192-bit black key:
[ 2.706009] platform caam_sm: [0000] b9 89 6a ac 0d 8b 7e f5
[ 2.711730] platform caam_sm: [0008] f9 40 15 4e 8f 35 e4 ed
[ 2.717424] platform caam_sm: [0016] 21 4b 75 52 a0 d3 0b e4
[ 2.723145] platform caam_sm: [0024] 5e 75 2f e6 bc 72 f1 d9
[ 2.728859] platform caam_sm: restored 256-bit black key:
[ 2.734293] platform caam_sm: [0000] 4f 24 93 2a bd 75 d4 f4
[ 2.740012] platform caam_sm: [0008] fa ea fe cf b5 b1 06 06
[ 2.745705] platform caam_sm: [0016] 3c 42 3a 7a c4 e2 63 fb
[ 2.751427] platform caam_sm: [0024] 63 d0 89 34 b1 69 f0 61
[ 2.757681] snvs-secvio 20cc000.caam-snvs: can't get snvs clock
[ 2.763787] snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state
[ 2.772287] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.778207] usbcore: registered new interface driver usbhid
[ 2.783886] usbhid: USB HID core driver
[ 2.788953] 2198000.adc supply vref not found, using dummy regulator
[ 2.802141] fsl-asrc 2034000.asrc: driver registered
[ 2.821450] imx-tlv320aic32x4 sound: tlv320aic32x4-hifi <-> 2028000.sai mapping ok
[ 2.835257] NET: Registered protocol family 26
[ 2.841616] NET: Registered protocol family 10
[ 2.847681] sit: IPv6 over IPv4 tunneling driver
[ 2.854026] NET: Registered protocol family 17
[ 2.858632] can: controller area network core (rev 20120528 abi 9)
[ 2.864989] NET: Registered protocol family 29
[ 2.869584] can: raw protocol (rev 20120528)
[ 2.873898] can: broadcast manager protocol (rev 20120528 t)
[ 2.879653] can: netlink gateway (rev 20130117) max_hops=1
[ 2.885704] 8021q: 802.1Q VLAN Support v1.8
[ 2.890120] Key type dns_resolver registered
[ 2.910019] Loading compiled-in X.509 certificates
[ 2.918639] fec 20b4000.ethernet: Unbalanced pm_runtime_enable!
[ 2.926421] fec 2188000.ethernet: Unbalanced pm_runtime_enable!
[ 2.937767] fec 20b4000.ethernet: Unbalanced pm_runtime_enable!
[ 2.945629] fec 2188000.ethernet: Unbalanced pm_runtime_enable!
[ 2.953633] ubi0: attaching mtd5
[ 2.977351] ubi0: scanning is finished
[ 2.981274] ubi0 error: ubi_read_volume_table: the layout volume was not found
[ 2.989200] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd5, error -22
[ 2.996295] UBI error: cannot attach mtd5
[ 3.000971] hctosys: unable to open rtc device (rtc0)
[ 3.020109] VLDO2: disabling
[ 3.023541] VLDO1: disabling
[ 3.026897] SW1A: disabling
[ 3.030224] otg1-vbus-supply-5v0: disabling
[ 3.034700] ALSA device list:
[ 3.037690] #0: imx6ul-mba6ul-tlv320aic32
[ 3.042394] UBIFS error (pid: 1): cannot open "ubi0:root", error -19VFS: Cannot open root device "ubi0:root" or unknown-block(0,0): error -19
[ 3.055257] Please append a correct "root=" boot option; here are the available partitions:
[ 3.063696] 0100 65536 ram0 (driver?)
[ 3.068350] 0101 65536 ram1 (driver?)
[ 3.073059] 0102 65536 ram2 (driver?)
[ 3.077707] 0103 65536 ram3 (driver?)
[ 3.082386] 0104 65536 ram4 (driver?)
[ 3.087033] 0105 65536 ram5 (driver?)
[ 3.091709] 0106 65536 ram6 (driver?)
[ 3.096357] 0107 65536 ram7 (driver?)
[ 3.101032] 0108 65536 ram8 (driver?)
[ 3.105676] 0109 65536 ram9 (driver?)
[ 3.110346] 010a 65536 ram10 (driver?)
[ 3.115081] 010b 65536 ram11 (driver?)
[ 3.119841] 010c 65536 ram12 (driver?)
[ 3.124575] 010d 65536 ram13 (driver?)
[ 3.129335] 010e 65536 ram14 (driver?)
[ 3.134073] 010f 65536 ram15 (driver?)
[ 3.138837] 1f00 832 mtdblock0 (driver?)
[ 3.143920] 1f01 64 mtdblock1 (driver?)
[ 3.149031] 1f02 64 mtdblock2 (driver?)
[ 3.154114] 1f03 64 mtdblock3 (driver?)
[ 3.159225] 1f04 7168 mtdblock4 (driver?)
[ 3.164310] 1f05 57344 mtdblock5 (driver?)
[ 3.169412] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 3.177695] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Outcomes