Difference between revisions of "iMX6 Rex CFast Card"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:iMX6 Rex Development | + | [[Category:iMX6 Rex Development Kit]] |
[[Category:iMX6 Rex Peripherals]] | [[Category:iMX6 Rex Peripherals]] | ||
<!-- --> | <!-- --> | ||
<div style="float:right">__TOC__</div> | <div style="float:right">__TOC__</div> | ||
− | iMX6 Rex Development | + | iMX6 Rex Development Kit supports Compact Flash storage option. These types of devices uses SATA interface. |
== Info == | == Info == | ||
Line 11: | Line 11: | ||
* SLC NAND Flash technology | * SLC NAND Flash technology | ||
* storage capacity up to 64GB | * storage capacity up to 64GB | ||
− | * Built-in Error Correcting Code (ECC) to detect and correct transfer errors | + | * Built-in Error Correcting Code (ECC) to detect and correct transfer errors<br /><br /> |
'''''Commercial Grade CFast card:'''''<br /> | '''''Commercial Grade CFast card:'''''<br /> | ||
Line 20: | Line 20: | ||
<br />'''''Notes:'''''<br /> | <br />'''''Notes:'''''<br /> | ||
− | * iMX6 Rex Development | + | * iMX6 Rex Development Kit can use SATA disk to story and use filesystem. iMX6 Rex Modules in Pro, Ultra and UltraPlus configurations support SATA interface |
* iMX6 Rex Base Board is assembled with SATA signals routed to CFast interface by default | * iMX6 Rex Base Board is assembled with SATA signals routed to CFast interface by default | ||
− | * Direct boot (e.g. bootloader store) from iMX6 Rex Development | + | * Direct boot (e.g. bootloader store) from iMX6 Rex Development Kit using CFast interface might not be possible |
<br />'''''Device used for testing:'''''<br /> | <br />'''''Device used for testing:'''''<br /> | ||
Line 98: | Line 98: | ||
== Creating partitions == | == Creating partitions == | ||
− | This procedure assumes CFast card was detected in '''/dev/sda''' on iMX6 Rex Development | + | This procedure assumes CFast card was detected in '''/dev/sda''' on iMX6 Rex Development Kit. Sector size is 512 Bytes. |
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
root@imx6-rexultra:~# fdisk /dev/sda | root@imx6-rexultra:~# fdisk /dev/sda | ||
Line 206: | Line 206: | ||
export XREX_ROOTFS=fsl-image-gui-imx6-${XREX_CONFIGURATION}-2.3.ext4.gz | export XREX_ROOTFS=fsl-image-gui-imx6-${XREX_CONFIGURATION}-2.3.ext4.gz | ||
− | wget http://downloads.voipac.com/index.php?p= | + | wget http://downloads.voipac.com/index.php?p=iMX6_Rex_Development_Kit/module/software/uboot/binaries/${XREX_BOOTLOADER} |
− | wget http://downloads.voipac.com/index.php?p= | + | wget http://downloads.voipac.com/index.php?p=iMX6_Rex_Development_Kit/module/software/linux/binaries/${XREX_KERNEL_ZIMAGE} |
− | wget http://downloads.voipac.com/index.php?p= | + | wget http://downloads.voipac.com/index.php?p=iMX6_Rex_Development_Kit/module/software/linux/binaries/${XREX_KERNEL_DTB} |
− | wget http://downloads.voipac.com/index.php?p= | + | wget http://downloads.voipac.com/index.php?p=iMX6_Rex_Development_Kit/module/software/yocto/binaries/${XREX_ROOTFS} |
sudo dd if=${XREX_BOOTLOADER} of=/dev/sda bs=512 seek=2 conv=fsync | sudo dd if=${XREX_BOOTLOADER} of=/dev/sda bs=512 seek=2 conv=fsync | ||
sudo umount /dev/sda1 | sudo umount /dev/sda1 |
Latest revision as of 12:21, 24 April 2022
iMX6 Rex Development Kit supports Compact Flash storage option. These types of devices uses SATA interface.
Info
Industrial Grade CFast card:
- Temperature range -40°C to +90°C
- SLC NAND Flash technology
- storage capacity up to 64GB
- Built-in Error Correcting Code (ECC) to detect and correct transfer errors
Commercial Grade CFast card:
- Temperature range -5°C to +70°C
- MLC NAND Flash technology
- storage capacity up to 256GB
- Built-in Error Correcting Code (ECC) to detect and correct transfer errors
Notes:
- iMX6 Rex Development Kit can use SATA disk to story and use filesystem. iMX6 Rex Modules in Pro, Ultra and UltraPlus configurations support SATA interface
- iMX6 Rex Base Board is assembled with SATA signals routed to CFast interface by default
- Direct boot (e.g. bootloader store) from iMX6 Rex Development Kit using CFast interface might not be possible
Device used for testing:
Manufacturer | Model | Capacity | Flash type |
---|---|---|---|
Transcend | TS16GCFX600 | 16GB | MLC |
CFast card detection
U-boot
U-Boot 2015.04 (Dec 03 2017 - 21:30:49) CPU: Freescale i.MX6QP rev1.0 at 792 MHz CPU: Temperature 54 C Reset cause: WDOG Board: MX6 Rex - ultra I2C: ready DRAM: 3.8 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 SF: Detected SST25VF032B with page size 256 Bytes, erase size 4 KiB, total 4 MiB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: FEC [PRIME] Normal Boot Hit any key to stop autoboot: 0 Rex U-Boot > sata init AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part SATA Device Info: S/N: 0102523AD50619670304 Product model number: TS16GCFX600 Firmware version: 20151027 Capacity: 31277232 sectors
Linux
root@imx6-rexultra:~# dmesg | grep -i 'sata\|ata1\|sda' [ 1.244552] ahci-imx 2200000.sata: fsl,transmit-level-mV not specified, using 00000024 [ 1.251221] ahci-imx 2200000.sata: fsl,transmit-boost-mdB not specified, using 00000480 [ 1.257958] ahci-imx 2200000.sata: fsl,transmit-atten-16ths not specified, using 00002000 [ 1.264844] ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 05000000 [ 1.274311] ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled [ 1.280039] ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode [ 1.287559] ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst [ 1.299152] ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port 0x100 irq 311 [ 1.855035] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 1.860918] ata1.00: ATA-9: TS16GCFX600, 20151027, max UDMA/133 [ 1.865594] ata1.00: 31277232 sectors, multi 1: LBA48 NCQ (depth 31/32) [ 1.877744] ata1.00: configured for UDMA/133 [ 1.901563] sd 0:0:0:0: [sda] 31277232 512-byte logical blocks: (16.0 GB/14.9 GiB) [ 1.908189] sd 0:0:0:0: [sda] Write Protect is off [ 1.911695] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 1.911803] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesnt support DPO or FUA [ 1.921159] sda: sda1 sda2 [ 1.925975] sd 0:0:0:0: [sda] Attached SCSI disk
Partition layout
This partition is designed for CFast cards acting as a booting device:
Partition type/index | Name | Start offset (Sector) | Size | File system | Content |
---|---|---|---|---|---|
N/A | BOOT Loader | 1 KB (2) | 1 MB | N/A | u-boot-imx6-*rex*sata-2.3.imx |
Primary 1 | Kernel | 8 MB (16384) | 32 MB | VFAT | zImage-imx6-*rex*-2.3.bin,zImage-imx6-*rex*-2.3.dtb |
Primary 2 | Rootfs | Follow Kernel | - | EXT4 | fsl-image-gui-imx6-*rex*-2.3.ext4.gz |
Creating partitions
This procedure assumes CFast card was detected in /dev/sda on iMX6 Rex Development Kit. Sector size is 512 Bytes.
root@imx6-rexultra:~# fdisk /dev/sda Welcome to fdisk (util-linux 2.27.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): d Selected partition 1 Partition 1 has been deleted. Command (m for help): n Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) Select (default p): p Partition number (1-4, default 1): First sector (2048-31277231, default 2048): 16384 Last sector, +sectors or +size{K,M,G,T,P} (16384-31277231, default 31277231): +32M Created a new partition 1 of type 'Linux' and of size 32 MiB. Command (m for help): t Selected partition 1 Partition type (type L to list all types): c Changed type of partition 'Linux' to 'W95 FAT32 (LBA)'. Command (m for help): p Disk /dev/sda: 14.9 GiB, 16013942784 bytes, 31277232 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x000b7a8f Device Boot Start End Sectors Size Id Type /dev/sda1 16384 81919 65536 32M c W95 FAT32 (LBA) Command (m for help): n Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) Select (default p): p Partition number (2-4, default 2): First sector (2048-31277231, default 2048): 81920 Last sector, +sectors or +size{K,M,G,T,P} (81920-31277231, default 31277231): Created a new partition 2 of type 'Linux' and of size 14.9 GiB. Command (m for help): p Disk /dev/sda: 14.9 GiB, 16013942784 bytes, 31277232 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x000b7a8f Device Boot Start End Sectors Size Id Type /dev/sda1 16384 81919 65536 32M c W95 FAT32 (LBA) /dev/sda2 81920 31277231 31195312 14.9G 83 Linux Command (m for help): w The partition table has been altered. Calling ioctl() to re-read partition table. Re-reading the partition table failed.: Device or resource busy The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).
Copying files
Bootloader
sudo dd if=u-boot-imx6-*rex*sata*.imx of=/dev/sda bs=512 seek=2 conv=fsync
Kernel
sudo umount /dev/sda1 sudo mkfs.vfat -n KERNEL /dev/sda1 mkdir tmpmount sudo mount /dev/sda1 tmpmount sudo cp -v zImage-imx6-*rex*.bin tmpmount/zImage sudo cp -v zImage-imx6-*rex*.dtb tmpmount/imx6-*rex*.dtb sudo umount tmpmount rmdir tmpmount
Filesystem
sudo umount /dev/sda2 sudo dd if=fsl-image-gui-imx6-*rex*.ext4 of=/dev/sda2 && sync
or
sudo umount /dev/sda2 gunzip -c fsl-image-gui-imx6-*rex*.ext4.gz | sudo dd of=/dev/sda2 && sync
Downloading and copying files over internet
export XREX_CONFIGURATION=rexultra export XREX_BOOTLOADER=u-boot-imx6-${XREX_CONFIGURATION}sata-2.3.imx export XREX_KERNEL_ZIMAGE=zImage-imx6-${XREX_CONFIGURATION}-2.3.bin export XREX_KERNEL_DTB=zImage-imx6-${XREX_CONFIGURATION}-2.3.dtb export XREX_ROOTFS=fsl-image-gui-imx6-${XREX_CONFIGURATION}-2.3.ext4.gz wget http://downloads.voipac.com/index.php?p=iMX6_Rex_Development_Kit/module/software/uboot/binaries/${XREX_BOOTLOADER} wget http://downloads.voipac.com/index.php?p=iMX6_Rex_Development_Kit/module/software/linux/binaries/${XREX_KERNEL_ZIMAGE} wget http://downloads.voipac.com/index.php?p=iMX6_Rex_Development_Kit/module/software/linux/binaries/${XREX_KERNEL_DTB} wget http://downloads.voipac.com/index.php?p=iMX6_Rex_Development_Kit/module/software/yocto/binaries/${XREX_ROOTFS} sudo dd if=${XREX_BOOTLOADER} of=/dev/sda bs=512 seek=2 conv=fsync sudo umount /dev/sda1 sudo mkfs.vfat -n KERNEL /dev/sda1 mkdir tmpmount sudo mount /dev/sda1 tmpmount sudo cp ${XREX_KERNEL_ZIMAGE} tmpmount/zImage sudo cp ${XREX_KERNEL_DTB} tmpmount/imx6-${XREX_CONFIGURATION}.dtb sudo umount tmpmount rmdir tmpmount sudo umount /dev/sda2 gunzip -c ${XREX_ROOTFS} | sudo dd of=/dev/sda2 && sync
Bootloader settings
The board uses SPI Flash memory to store the loading files. The default bootloader will chainload SATA bootloader. SATA bootloader is configured to load kernel and device tree from first partition and rootfs from second partition. Changes are applied in U-Boot environment:
setenv sataroot '/dev/sda2 rootwait rw' setenv sataargs 'setenv bootargs console=${console},${baudrate} ${extra} ${video} root=${sataroot}' setenv sataboot 'echo Booting from sata ...; run sataargs; if sata init; then fatload sata 0:1 ${loadaddr} ${image}; fatload sata 0:1 ${fdt_addr} ${fdt_file}; bootz ${loadaddr} - ${fdt_addr}; fi' setenv bootcmd 'run sataboot' saveenv boot
Booting log
U-Boot 2015.04 (Dec 03 2017 - 21:30:49) CPU: Freescale i.MX6QP rev1.0 at 792 MHz CPU: Temperature 55 C Reset cause: POR Board: MX6 Rex - ultra I2C: ready DRAM: 3.8 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 SF: Detected SST25VF032B with page size 256 Bytes, erase size 4 KiB, total 4 MiB In: serial Out: serial Err: serial Net: FEC [PRIME] Normal Boot Hit any key to stop autoboot: 0 Booting from sata ... AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part SATA Device Info: S/N: 0102523AD50619670304 Product model number: TS16GCFX600 Firmware version: 20151027 Capacity: 31277232 sectors reading zImage 6406568 bytes read in 79 ms (77.3 MiB/s) reading imx6-rexultra.dtb 40417 bytes read in 8 ms (4.8 MiB/s) Kernel image @ 0x10800000 [ 0x000000 - 0x61c1a8 ] ## Flattened Device Tree blob at 18000000 Booting using the fdt blob at 0x18000000 Using Device Tree in place at 18000000, end 1800cde0 Starting kernel ... Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x0 Linux version 4.1.36-yocto+g7f55696 (marek@marek-ThinkPad-T530) (gcc version 5.3.0 (GCC) ) #1 SMP PREEMPT Sun Dec 3 21:38:44 CET 2017 CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine model: Fedevel i.MX6 QuadPlus REX Board Reserved memory: created CMA memory pool at 0x2a000000, size 320 MiB Reserved memory: initialized node linux,cma, compatible id shared-dma-pool Memory policy: Data cache writealloc PERCPU: Embedded 12 pages/cpu @ef6fc000 s16908 r8192 d24052 u49152 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 981519 Kernel command line: console=ttymxc0,115200 root=/dev/sda2 rootwait rw 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: 3559680K/3932156K available (7991K kernel code, 427K rwdata, 2892K rodata, 436K init, 445K bss, 44796K reserved, 327680K cma-reserved, 3153916K highmem) Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) lowmem : 0xc0000000 - 0xef800000 ( 760 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .text : 0xc0008000 - 0xc0aa8eec (10884 kB) .init : 0xc0aa9000 - 0xc0b16000 ( 436 kB) .data : 0xc0b16000 - 0xc0b80d20 ( 428 kB) .bss : 0xc0b83000 - 0xc0bf256c ( 446 kB) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 Preemptible hierarchical RCU implementation. Additional per-CPU info printed with stalls. NR_IRQS:16 nr_irqs:16 16 L2C-310 erratum 769419 enabled L2C-310 enabling early BRESP for Cortex-A9 L2C-310 full line of zeros enabled for Cortex-A9 L2C-310 ID prefetch enabled, offset 16 lines L2C-310 dynamic clock gating enabled, standby mode enabled L2C-310 cache controller enabled, 16 ways, 1024 kB L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76070001 failed to set parent of clk ldb_di0_sel to pll2_pfd0_352m: -38 VPU 352M is enabled! mxc_clocksource_init 3000000 Switching to timer-based delay loop, resolution 333ns sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns 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 0x100082c0 - 0x10008318 CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 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 clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns pinctrl core: initialized pinctrl subsystem 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.MX6QP, silicon rev 1.0 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 mxs-dma 110000.dma-apbh: initialized vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb 2000000.aips-bus:usbphy_nop1 supply vcc not found, using dummy regulator 2000000.aips-bus:usbphy_nop2 supply vcc not found, using dummy regulator i2c i2c-0: IMX I2C adapter registered i2c i2c-0: cant use DMA i2c i2c-1: IMX I2C adapter registered i2c i2c-1: cant use DMA i2c i2c-2: IMX I2C adapter registered i2c i2c-2: cant use DMA 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) imx-ipuv3 2800000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7) imx-prg 21cc000.prg: driver probed imx-prg 21cd000.prg: driver probed imx-pre 21c8000.pre: driver probed imx-pre 21c9000.pre: driver probed imx-pre 21ca000.pre: driver probed imx-pre 21cb000.pre: driver probed MIPI CSI2 driver module loaded Advanced Linux Sound Architecture Driver Initialized. Bluetooth: Core ver 2.20 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 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) 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. CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available imx rpmsg driver is registered. futex hash table entries: 1024 (order: 4, 65536 bytes) VFS: Disk quotas dquot_6.6.0 VFS: 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.23) bounce: pool size: 64 pages 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 20e0000.hdmi_video supply HDMI not found, using dummy regulator mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0xa:0xa0:0xc1 fbcvt: 1920x1080@60: CVT Name - 2.073M9 mxc_sdc_fb fb@0: 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 240x67 mxc_sdc_fb fb@1: registered mxc display driver ldb mxc_sdc_fb fb@1: ipu0-di0 already in use mxc_sdc_fb: probe of fb@1 failed with error -16 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.3 imx-sdma 20ec000.sdma: initialized 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 26, base_baud = 5000000) is a IMX console [ttymxc0] enabled 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 297, base_baud = 5000000) is a IMX 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 scsi host0: ahci-imx ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port 0x100 irq 311 spi_imx 200c000.ecspi: probed m25p80 spi2.0: found sst25vf032b, expected m25p32 m25p80 spi2.0: sst25vf032b (4096 Kbytes) spi_imx 2010000.ecspi: probed CAN device driver interface 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-pci: EHCI PCI platform 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 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected ci_hdrc ci_hdrc.1: EHCI Host Controller ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2 ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected mousedev: PS/2 mouse device common for all mice input: TSC2007 Touchscreen as /devices/soc0/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-0048/input/input0 snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0 i2c /dev entries driver IR NEC protocol handler initialized IR RC5(x/sz) protocol handler initialized IR RC6 protocol handler initialized IR JVC protocol handler initialized IR Sony protocol handler initialized IR SANYO protocol handler initialized IR Sharp protocol handler initialized IR MCE Keyboard/mouse protocol handler initialized IR XMP protocol handler initialized mxc_v4l2_output v4l2_out: V4L2 device registered as video16 mxc_v4l2_output v4l2_out: V4L2 device registered as video17 imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0) Bluetooth: HCI UART driver ver 2.3 Bluetooth: HCI UART protocol H4 registered Bluetooth: HCI UART protocol BCSP registered Bluetooth: HCI UART protocol ATH3K registered 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 /soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified sdhci-esdhc-imx 2194000.usdhc: Got CD GPIO sdhci-esdhc-imx 2194000.usdhc: Got WP GPIO sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA /soc/aips-bus@02100000/usdhc@02198000: voltage-ranges unspecified sdhci-esdhc-imx 2198000.usdhc: No vmmc regulator found sdhci-esdhc-imx 2198000.usdhc: No vqmmc regulator found mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA mxc_vpu 2040000.vpu_fsl: VPU initialized mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed mxc_hdmi_cec soc:hdmi_cec@00120000: HDMI CEC initialized caam 2100000.caam: Entropy delay = 3200 caam 2100000.caam: Instantiated RNG4 SH0 caam 2100000.caam: Instantiated RNG4 SH1 caam 2100000.caam: device ID = 0x0a16010000000000 (Era -524) caam 2100000.caam: job rings = 2, qi = 0 usb 1-1: new high-speed USB device number 2 using ci_hdrc 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] 61 cb 2a df 5c f3 e8 d3 platform caam_sm: [0008] 6f 72 1c c8 be a7 e1 11 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] d6 2a 10 98 76 62 66 43 platform caam_sm: [0008] 19 5b 15 7d 84 8a 6c 8d 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] 33 b2 58 fd 1b 5c ea 0d platform caam_sm: [0008] c4 21 ff 1b ba bd cf 2c platform caam_sm: [0016] 17 42 36 7e b9 df 4b 1b platform caam_sm: [0024] 57 40 d1 86 23 b7 fc 64 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] 2e af 6d 2a 74 a5 48 50 platform caam_sm: [0008] 11 c5 db 6e 6c f8 f2 3c platform caam_sm: [0016] 97 1a a7 81 65 6e 3a 4c platform caam_sm: [0024] de fb f2 90 38 7a a6 fa 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 ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) ata1.00: ATA-9: TS16GCFX600, 20151027, max UDMA/133 ata1.00: 31277232 sectors, multi 1: LBA48 NCQ (depth 31/32) platform caam_sm: 64-bit black key in blob: platform caam_sm: [0000] c6 f8 19 43 d6 3f ea 2e platform caam_sm: [0008] 60 12 f1 f7 ef 55 21 11 platform caam_sm: [0016] 04 3a 2e d9 e6 a0 d8 3a platform caam_sm: [0024] 35 1d 42 db 60 ea 19 30 platform caam_sm: [0032] 9a 11 cc 4c a4 c8 ab 27 platform caam_sm: [0040] f3 f9 ee 3e fb 5a 42 35 platform caam_sm: [0048] 76 62 7c 62 6a 76 28 8f 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] 36 19 b2 f4 f4 03 56 42 platform caam_sm: [0008] e7 80 59 9c ce 71 6d 42 platform caam_sm: [0016] 5f 1e f1 b6 8d 0a d7 b1 platform caam_sm: [0024] ef 08 26 20 ae 3d 7d 59 platform caam_sm: [0032] 98 e2 93 07 03 91 97 47 platform caam_sm: [0040] 6d 14 a8 11 58 a4 b3 93 platform caam_sm: [0048] c3 c8 cf 8b 15 a9 24 30 platform caam_sm: [0056] ec c5 a8 32 3a 3e 83 4c 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] 2d 4f 09 8c 36 fa 2a 57 platform caam_sm: [0008] 0b 37 27 2a 9f 70 4b b4 platform caam_sm: [0016] 00 fb 17 86 b5 37 67 f5 platform caam_sm: [0024] 5d 93 0b a7 38 c8 ad 32 platform caam_sm: [0032] 8b 1f 11 f8 f5 cf bd d9 platform caam_sm: [0040] a3 f2 42 0f 47 ec 00 42 platform caam_sm: [0048] ef a4 e7 d6 03 23 eb c6 platform caam_sm: [0056] 4f b1 81 87 1f 2c 1f 9f platform caam_sm: [0064] 87 51 08 02 55 74 7c 98 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] 4f 49 f3 c6 3b 85 ce eb platform caam_sm: [0008] 17 5c a9 7d 6c ba 22 7a platform caam_sm: [0016] b5 6f 1a 73 69 59 2d d2 platform caam_sm: [0024] 99 0c 96 8f fb 70 71 42 platform caam_sm: [0032] 0b 31 ff 57 83 08 61 0d platform caam_sm: [0040] d3 46 3c 27 4d bc 6f b5 platform caam_sm: [0048] c4 7f c8 94 fd 80 19 9f platform caam_sm: [0056] 39 11 59 b9 44 73 b3 f2 platform caam_sm: [0064] 9c 83 84 cc e5 df ad 59 platform caam_sm: [0072] 5f 8b fc 95 62 15 8e cf platform caam_sm: [0080] 00 00 00 00 00 00 00 00 platform caam_sm: [0088] 00 00 00 00 00 00 00 00 ata1.00: configured for UDMA/133 scsi 0:0:0:0: Direct-Access ATA TS16GCFX600 1027 PQ: 0 ANSI: 5 sd 0:0:0:0: [sda] 31277232 512-byte logical blocks: (16.0 GB/14.9 GiB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesnt support DPO or FUA sda: sda1 sda2 sd 0:0:0:0: [sda] Attached SCSI disk platform caam_sm: restored 64-bit black key: platform caam_sm: [0000] 3d 4d 92 49 b9 aa 4b 98 platform caam_sm: [0008] dc 01 ed fe 28 4c 16 53 platform caam_sm: restored 128-bit black key: platform caam_sm: [0000] d6 2a 10 98 76 62 66 43 platform caam_sm: [0008] 19 5b 15 7d 84 8a 6c 8d platform caam_sm: restored 192-bit black key: platform caam_sm: [0000] 33 b2 58 fd 1b 5c ea 0d platform caam_sm: [0008] c4 21 ff 1b ba bd cf 2c platform caam_sm: [0016] ae e3 85 c6 2c 50 56 2f platform caam_sm: [0024] c1 ba 4a 13 6c 53 4b 0b platform caam_sm: restored 256-bit black key: platform caam_sm: [0000] 2e af 6d 2a 74 a5 48 50 platform caam_sm: [0008] 11 c5 db 6e 6c f8 f2 3c platform caam_sm: [0016] 97 1a a7 81 65 6e 3a 4c platform caam_sm: [0024] de fb f2 90 38 7a a6 fa snvs-secvio 20cc000.caam-snvs: cant get snvs clock snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state usbcore: registered new interface driver usbhid usbhid: USB HID core driver sgtl5000 0-000a: sgtl5000 revision 0x11 hub 1-1:1.0: USB hub found hub 1-1:1.0: 4 ports detected fsl-asrc 2034000.asrc: driver registered sgtl5000 0-000a: Using internal LDO instead of VDDD imx-sgtl5000 sound-sgtl5000: sgtl5000 <-> 2028000.ssi mapping ok imx-audio-hdmi sound-hdmi: hdmi-hifi <-> soc:hdmi_audio@00120000 mapping ok NET: Registered protocol family 26 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 remove 396MHz OPP for VPU running at 352MHz! increase SOC/PU voltage for VPU352MHz 1ffc000.pcie supply pcie-bus not found, using dummy regulator imx6q-pcie 1ffc000.pcie: phy link never came up imx6q-pcie 1ffc000.pcie: failed to initialize host imx6q-pcie: probe of 1ffc000.pcie failed with error -22 snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 2017-12-03 20:49:55 UTC (1512334195) ALSA device list: #0: sgtl5000-audio #1: imx-hdmi-soc EXT3-fs (sda2): error: couldnt mount because of unsupported optional features (240) EXT2-fs (sda2): error: couldnt mount because of unsupported optional features (240) EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 8:2. devtmpfs: mounted Freeing unused kernel memory: 436K (c0aa9000 - c0b16000) INIT: version 2.88 booting Starting udev udev: Not using udev cache because of changes detected in the following files: udev: /proc/version /proc/cmdline /proc/devices udev: lib/udev/rules.d/* etc/udev/rules.d/* udev: The udev cache will be regenerated. To identify the detected changes, udev: compare the cached sysconf at /etc/udev/cache.data udev: against the current sysconf at /dev/shm/udev.cache udevd[204]: starting version 3.1.5 random: udevd urandom read with 40 bits of entropy available Galcore version 5.0.11.41671 rtc-pcf8563 1-0051: chip found, driver version 0.4.3 rtc-pcf8563 1-0051: low voltage detected, date/time is not reliable. rtc-pcf8563 1-0051: low voltage detected, date/time is not reliable. rtc-pcf8563 1-0051: low voltage detected, date/time is not reliable. rtc-pcf8563 1-0051: rtc core: registered rtc-pcf8563 as rtc1 at24 1-0057: 256 byte 24c02 EEPROM, writable, 1 bytes/write pca953x 1-0027: interrupt support not compiled in EXT4-fs (sda2): re-mounted. Opts: (null) bootlogd: cannot allocate pseudo tty: No such file or directory Populating dev cache ALSA: Restoring mixer settings... INIT: Entering runlevel: 5 Configuring network interfaces... fec 2188000.ethernet eth0: Freescale FEC PHY driver [Micrel KSZ9021 Gigabit PHY] (mii_bus:phy_addr=2188000.ethernet:03, irq=-1) IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready done. Starting Xserver Starting system message bus: dbus. Starting Connection Manager Starting Dropbear SSH server: dropbear. Starting rpcbind daemon...done. starting statd: done Starting advanced power management daemon: No APM support in kernel (failed.) Starting atd: OK exportfs: cant open /etc/exports for reading NFS daemon support not enabled in kernel Starting system log daemon...0 Starting kernel log daemon...random: nonblocking pool is initialized 0 [ ok ]rting Avahi mDNS/DNS-SD Daemon: avahi-daemon Starting Telephony daemon Starting Linux NFC daemon Starting crond: OK Starting autohdmi: Running local boot scripts (/etc/rc.local). Freescale i.MX Release Distro 4.1.15-2.1.0 imx6-rexultra /dev/ttymxc0 imx6-rexultra login: