本文共 26438 字,大约阅读时间需要 88 分钟。
到Freescale下载imx6 Linux Source Code,解压里面的fsl-yocto命名的压缩包得到Yocto setup手册:Freescale_Yocto_Project_User's_Guide.pdf
然后按照里面的步骤操作即可编译出一个完整的distribution,当然很可能会因为网络或者一些Package早已不存在,或者因为大家都知道的原因而无法下载一些source code,而编译失败。
注意编译的目标选择imx6qsabresd,因为这个和我们的TQIMX6Q接近。
个人使用的步骤如下:
按照文档说明repo init会出错:
$ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.28-1.0.0_gafatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundlefatal: error [Errno 101] Network is unreachable这是因为googlecode无法访问,所以特别指定其他的:
repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.28-1.0.0_ga --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=caf-stable然后是repo sync
repo sync接着就是source env了:
MACHINE=imx6qsabresd source fsl-setup-release.sh -b imx6qsabresd_build -e wayland
编译完成后内核以及rootfs以及dtb会放在相对于build目录的tmp/deploy/images/imx6qsabresd/下面
各个文件都有一个软连接来指向最新编译产生的文件。
因为使用的TQIMX6Q自带的uboot,其版本较老,其bootm命令不支持dtb加载方式启动,因此退而求其次,我们使用内核兼容的将dtb叠加到zImage后面的模式启动,对此,我们可以使用下面命令来完成:
rm uImage+dtb zImage+dtbcat tmp/deploy/images/imx6qsabresd/zImage tmp/deploy/images/imx6qsabresd/zImage-imx6q-sabresd.dtb > zImage+dtbmkimage -n imx6 -A arm -O linux -T kernel -C none -a 0x10008000 -e 0x10008000 -d zImage+dtb uImage+dtbcp uImage+dtb ~/tftpboot/imx6/
bitbake -e linux-imx | grep ^S=
cd KERNEL_BUILD_SRC_DIRpatch -p1 < kernel.patch
新的内核支持四种方式来组成commandline:
这些都在menuconfig中可以看到,因此如果你在内核中看到的commandline与自己从uboot中传入的不一样,那么检查下面选项:
tar xf tmp/deploy/images/imx6qsabresd/core-image-minimal-imx6qsabresd.tar.bz2 -C ~/nfs-imx6/yocto/
set serverip 192.168.2.100;set ipaddr 192.168.2.111set bootargs 'rootwait console=ttymxc0,115200n8 root=/dev/nfs nfsroot=192.168.2.100:/home/hexiongjun/nfs-imx6/yocto ip=192.168.2.120 debug ignore_loglevel init=/init vmalloc=400M video=mxcfb0:dev=hdmi,1280x720MM@60,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=48M'tftp 0x10800000 192.168.2.100:imx6/uImage+dtb;bootm 0x10800000启动后的log如下:
MX6Q SABRESD U-Boot > set serverip 192.168.2.100;set ipaddr 192.168.2.111MX6Q SABRESD U-Boot > set bootargs 'rootwait console=ttymxc0,115200n8 root=/dev/nfs nfsroot=192.168.2.100:/home/hexiongjun/nfs-imx6/yocto ip=192.168.2.120 debug ignore_loglevel init=/init vmalloc=400M video=mxcfb0:dev=hdmi,1280x720MM@60,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=48M'MX6Q SABRESD U-Boot > tftp 0x10800000 192.168.2.100:imx6/uImage+dtb;bootm 0x10800000PHY indentify @ 0x0 = 0x004dd072FEC: Link is Up 796dUsing FEC0 deviceTFTP from server 192.168.2.100; our IP address is 192.168.2.111Filename 'imx6/uImage+dtb'.Load address: 0x10800000Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# #################doneBytes transferred = 5974017 (5b2801 hex)## Booting kernel from Legacy Image at 10800000 ... Image Name: imx6 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5973953 Bytes = 5.7 MB Load Address: 10008000 Entry Point: 10008000 Verifying Checksum ... OK Loading Kernel Image ... OKOKStarting kernel ...Booting Linux on physical CPU 0x0Linux version 3.14.28-1.0.0_ga+g91cf351 (hexiongjun@hexiongjun-pc) (gcc version 4.9.1 (GCC) ) #2 SMP PREEMPT Sat Dec 19 21:50:08 CST 2015CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7dCPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cacheMachine model: Freescale i.MX6 Quad SABRE Smart Device Boarddebug: ignoring loglevel setting.cma: CMA: reserved 320 MiB at 3c000000Memory policy: Data cache writeallocOn node 0 totalpages: 262144free_area_init_node: node 0, pgdat 80dc7680, node_mem_map ab757000 DMA zone: 2048 pages used for memmap DMA zone: 0 pages reserved DMA zone: 262144 pages, LIFO batch:31PERCPU: Embedded 8 pages/cpu @ab726000 s8896 r8192 d15680 u32768pcpu-alloc: s8896 r8192 d15680 u32768 alloc=8*4096pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096Kernel command line: rootwait console=ttymxc0,115200n8 root=/dev/nfs nfsroot=192.168.2.100:/home/hexiongjun/nfs-imx6/yocto ip=192.168.2.120 debug ignore_loglevel init=/init vmalloc=400M video=mxcfb0:dev=hdmi,1280x720MM@60,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=48MPID 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: 696492K/1048576K available (7209K kernel code, 394K rwdata, 6144K rodata, 328K init, 428K bss, 352084K reserved, 0K highmem)Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xc0800000 - 0xff000000 (1000 MB) lowmem : 0x80000000 - 0xc0000000 (1024 MB) pkmap : 0x7fe00000 - 0x80000000 ( 2 MB) modules : 0x7f000000 - 0x7fe00000 ( 14 MB) .text : 0x80008000 - 0x80d12628 (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=1Preemptible hierarchical RCU implementation.NR_IRQS:16 nr_irqs:16 16L310 cache controller enabledl2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x32070000, Cache size: 1024 kBSwitching to timer-based delay loopsched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655765682nsConsole: colour dummy device 80x30Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)pid_max: default: 32768 minimum: 301Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)CPU: Testing write buffer coherency: okCPU0: thread -1, cpu 0, socket 0, mpidr 80000000Setting up static identity map for 0x106dceb8 - 0x106dcf10CPU1: Booted secondary processorCPU1: thread -1, cpu 1, socket 0, mpidr 80000001CPU2: Booted secondary processorCPU2: thread -1, cpu 2, socket 0, mpidr 80000002CPU3: Booted secondary processorCPU3: thread -1, cpu 3, socket 0, mpidr 80000003Brought up 4 CPUsSMP: Total of 4 processors activated.CPU: All CPU(s) started in SVC mode.devtmpfs: initializedVFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4pinctrl core: initialized pinctrl subsystemregulator-dummy: no parametersNET: Registered protocol family 16DMA: preallocated 256 KiB pool for atomic coherent allocationscpuidle: using governor laddercpuidle: using governor menuCPU identified as i.MX6Q, silicon rev 1.2Use WDOG1 as reset sourcesyscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registeredvdd1p1: 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 1200 mV syscon 20e0000.iomuxc-gpr: regmap [mem 0x020e0000-0x020e0037] registeredsyscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] registeredhw-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 driverbio: create slabat 0mxs-dma 110000.dma-apbh: initializedusb_otg_vbus: 5000 mV usb_h1_vbus: 5000 mV 2P5V: 2500 mV 3P3V: 3300 mV i2c-core: driver [max17135] using legacy suspend methodi2c-core: driver [max17135] using legacy resume methodSCSI subsystem initializedlibata version 3.00 loaded.usbcore: registered new interface driver usbfsusbcore: registered new interface driver hubusbcore: registered new device driver usbusbphy_nop1.10 supply vcc not found, using dummy regulatorusbphy_nop2.11 supply vcc not found, using dummy regulatori2c i2c-0: IMX I2C adapter registeredi2c i2c-1: IMX I2C adapter registeredLinux video capture interface: v2.00pps_core: LinuxPPS API ver. 1 registeredpps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti PTP clock support registeredimx-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)MIPI CSI2 driver module loadedAdvanced Linux Sound Architecture Driver Initialized.Bluetooth: Core ver 2.18NET: Registered protocol family 31Bluetooth: HCI device and connection manager initializedBluetooth: HCI socket layer initializedBluetooth: L2CAP socket layer initializedBluetooth: SCO socket layer initializedcfg80211: Calling CRDA to update world regulatory domainSwitched to clocksource mxc_timer1NET: Registered protocol family 2TCP established hash table entries: 8192 (order: 3, 32768 bytes)TCP bind hash table entries: 8192 (order: 4, 65536 bytes)TCP: Hash tables configured (established 8192 bind 8192)TCP: reno registeredUDP hash table entries: 512 (order: 2, 16384 bytes)UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)NET: Registered protocol family 1RPC: 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 availableimx6_busfreq busfreq.13: DDR medium rate not supported.Bus freq driver module loadedfutex hash table entries: 1024 (order: 4, 65536 bytes)VFS: Disk quotas dquot_6.5.2Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)NFS: Registering the id_resolver key typeKey type id_resolver registeredKey type id_legacy registeredjffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.fuse init (API version 7.22)msgmni has been set to 2000io scheduler noop registeredio scheduler deadline registeredio scheduler cfq registered (default)imx-weim 21b8000.weim: Driver registered.backlight.24 supply power not found, using dummy regulatorMIPI DSI driver module loadedmxc_sdc_fb fb.19: NO mxc display driver found!mxc_sdc_fb fb.20: Can't get fb option for mxcfb1!mxc_sdc_fb fb.21: Can't get fb option for mxcfb2!mxc_sdc_fb fb.22: NO mxc display driver found!imx-sdma 20ec000.sdma: no iram assigned, using external memimx-sdma 20ec000.sdma: no event needs to be remappedimx-sdma 20ec000.sdma: loaded firmware 3.1imx-sdma 20ec000.sdma: initializedSerial: IMX driverimx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_SD3_DAT7 already requested by 20e0000.iomuxc; cannot claim for 2020000.serialimx6q-pinctrl 20e0000.iomuxc: pin-170 (2020000.serial) status -22imx6q-pinctrl 20e0000.iomuxc: could not request pin 170 (MX6Q_PAD_SD3_DAT7) from group uart1grp-2 on device 20e0000.iomuxcimx-uart 2020000.serial: Error applying setting, reverse things back2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a IMXconsole [ttymxc0] enabledserial: Freescale lpuart driverimx sema4 driver is registered.[drm] Initialized drm 1.1.0 20060810[drm] Initialized vivante 1.0.0 20120216 on minor 0brd: module loadedloop: module loadedahci-imx 2200000.sata: fsl,transmit-level-mV not specified, using 00000024ahci-imx 2200000.sata: fsl,transmit-boost-mdB not specified, using 00000480ahci-imx 2200000.sata: fsl,transmit-atten-16ths not specified, using 00002000ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 05000000ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabledahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform modeahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst scsi0 : ahci_platformata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port 0x100 irq 71CAN device driver interface2090000.can supply xceiver not found, using dummy regulatorflexcan 2090000.can: device registered (reg_base=c0a38000, irq=142)imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_DI0_PIN2 already requested by lcd.23; cannot claim for 2188000.ethernetimx6q-pinctrl 20e0000.iomuxc: pin-89 (2188000.ethernet) status -22imx6q-pinctrl 20e0000.iomuxc: could not request pin 89 (MX6Q_PAD_DI0_PIN2) from group microsom-enet-ar8035 on device 20e0000.iomuxcfec 2188000.ethernet: Error applying setting, reverse things back2188000.ethernet supply phy not found, using dummy regulatorpps pps0: new PPS source ptp0fec 2188000.ethernet (unregistered net_device): Invalid MAC address: 00:00:00:00:00:00fec 2188000.ethernet (unregistered net_device): Using random MAC address: 2a:75:6d:e0:3c:68libphy: fec_enet_mii_bus: probedfec 2188000.ethernet eth0: registered PHC device 0ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driverehci-mxc: Freescale On-Chip EHCI Host driverusbcore: registered new interface driver usb-storage2184800.usbmisc supply vbus-wakeup not found, using dummy regulatorci_hdrc ci_hdrc.1: doesn't support gadgetci_hdrc ci_hdrc.1: EHCI Host Controllerci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00hub 1-0:1.0: USB hub foundhub 1-0:1.0: 1 port detectedmousedev: PS/2 mouse device common for all micei2c-core: driver [isl29023] using legacy suspend methodi2c-core: driver [isl29023] using legacy resume methodsnvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0i2c /dev entries driverIR NEC protocol handler initializedIR RC5(x) protocol handler initializedIR RC6 protocol handler initializedIR JVC protocol handler initializedIR Sony protocol handler initializedIR RC5 (streamzap) protocol handler initializedIR SANYO protocol handler initializedIR MCE Keyboard/mouse protocol handler initializedi2c-core: driver [mag3110] using legacy suspend methodi2c-core: driver [mag3110] using legacy resume methodimx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)Bluetooth: HCI UART driver ver 2.2Bluetooth: HCI H4 protocol initializedBluetooth: HCI BCSP protocol initializedBluetooth: HCIATH3K protocol initializedusbcore: registered new interface driver bcm203xusbcore: registered new interface driver btusbBluetooth: Generic Bluetooth SDIO driver ver 0.1usbcore: registered new interface driver ath3ksdhci: Secure Digital Host Controller Interface driversdhci: Copyright(c) Pierre Ossmansdhci-pltfm: SDHCI platform and OF driver helpermmc1: no vqmmc regulator foundmmc1: no vmmc regulator foundmmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMAata1: 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 hotplugsdhci-esdhc-imx 219c000.usdhc: could not get ultra high speed state, work on normal modemmc3: no vqmmc regulator foundmmc3: no vmmc regulator foundmmc3: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMAGalcore version 5.0.11.25762mmc1: host does not support reading read-only switch. assuming write-enable.mmc1: new high speed SDHC card at address 2ba0mmcblk1: mmc1:2ba0 SD04G 3.69 GiB mmcblk1: p1 p2 p3 p4 < p5 p6 >mmc3: BKOPS_EN bit is not setmmc3: new high speed DDR MMC card at address 0001mmcblk3: mmc3:0001 008G92 7.28 GiB mmcblk3boot0: mmc3:0001 008G92 partition 1 4.00 MiBmmcblk3boot1: mmc3:0001 008G92 partition 2 4.00 MiBmmcblk3rpmb: mmc3:0001 008G92 partition 3 512 KiB mmcblk3: p1 mmcblk3boot1: unknown partition table mmcblk3boot0: unknown partition tablemxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probedmxc_vpu 2040000.vpu: VPU initializedcaam 2100000.caam: Instantiated RNG4 SH0caam 2100000.caam: Instantiated RNG4 SH1caam 2100000.caam: device ID = 0x0a160100 (Era 4)caam 2100000.caam: job rings = 2, qi = 0caam algorithms registered in /proc/cryptocaam_jr 2101000.jr0: registering rng-caamplatform caam_sm: blkkey_ex: 4 keystore units availableplatform caam_sm: 64-bit clear key:platform caam_sm: [0000] 00 01 02 03 04 0f 06 07platform caam_sm: 64-bit black key:platform caam_sm: [0000] 4d ed cd b8 7b 4e eb 1cplatform caam_sm: [0008] 28 aa 96 49 5a 0b 5b c0platform caam_sm: 128-bit clear key:platform caam_sm: [0000] 00 01 02 03 04 0f 06 07platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0fplatform caam_sm: 128-bit black key:platform caam_sm: [0000] b1 45 b0 d1 e6 b7 87 69platform caam_sm: [0008] 61 b5 70 68 d9 02 8f 8cplatform caam_sm: 192-bit clear key:platform caam_sm: [0000] 00 01 02 03 04 0f 06 07platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0fplatform caam_sm: [0016] 10 11 12 13 14 15 16 17platform caam_sm: 192-bit black key:platform caam_sm: [0000] 8d 5d 2d 07 3e d5 b5 a9platform caam_sm: [0008] 74 cd b1 34 e1 08 5e faplatform caam_sm: [0016] ce a8 a9 88 c4 11 b4 f1platform caam_sm: [0024] 21 ec ed 50 f4 13 03 21platform caam_sm: 256-bit clear key:platform caam_sm: [0000] 00 01 02 03 04 0f 06 07platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0fplatform caam_sm: [0016] 10 11 12 13 14 15 16 17platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1fplatform caam_sm: 256-bit black key:platform caam_sm: [0000] 18 e5 26 a1 9e 48 a1 3dplatform caam_sm: [0008] e2 6b d8 0b a4 6c cd feplatform caam_sm: [0016] 65 a6 a1 12 3b 2a c7 fbplatform caam_sm: [0024] f0 5a d6 56 b5 9e 1a d4platform caam_sm: 64-bit unwritten blob:platform caam_sm: [0000] 00 00 00 00 00 00 00 00platform caam_sm: [0008] 00 00 00 00 00 00 00 00platform caam_sm: [0016] 00 00 00 00 00 00 00 00platform caam_sm: [0024] 00 00 00 00 00 00 00 00platform caam_sm: [0032] 00 00 00 00 00 00 00 00platform caam_sm: [0040] 00 00 00 00 00 00 00 00platform caam_sm: [0048] 00 00 00 00 00 00 00 00platform caam_sm: [0056] 00 00 00 00 00 00 00 00platform caam_sm: [0064] 00 00 00 00 00 00 00 00platform caam_sm: [0072] 00 00 00 00 00 00 00 00platform caam_sm: [0080] 00 00 00 00 00 00 00 00platform caam_sm: [0088] 00 00 00 00 00 00 00 00platform caam_sm: 128-bit unwritten blob:platform caam_sm: [0000] 00 00 00 00 00 00 00 00platform caam_sm: [0008] 00 00 00 00 00 00 00 00platform caam_sm: [0016] 00 00 00 00 00 00 00 00platform caam_sm: [0024] 00 00 00 00 00 00 00 00platform caam_sm: [0032] 00 00 00 00 00 00 00 00platform caam_sm: [0040] 00 00 00 00 00 00 00 00platform caam_sm: [0048] 00 00 00 00 00 00 00 00platform caam_sm: [0056] 00 00 00 00 00 00 00 00platform caam_sm: [0064] 00 00 00 00 00 00 00 00platform caam_sm: [0072] 00 00 00 00 00 00 00 00platform caam_sm: [0080] 00 00 00 00 00 00 00 00platform caam_sm: [0088] 00 00 00 00 00 00 00 00platform caam_sm: 196-bit unwritten blob:platform caam_sm: [0000] 00 00 00 00 00 00 00 00platform caam_sm: [0008] 00 00 00 00 00 00 00 00platform caam_sm: [0016] 00 00 00 00 00 00 00 00platform caam_sm: [0024] 00 00 00 00 00 00 00 00platform caam_sm: [0032] 00 00 00 00 00 00 00 00platform caam_sm: [0040] 00 00 00 00 00 00 00 00platform caam_sm: [0048] 00 00 00 00 00 00 00 00platform caam_sm: [0056] 00 00 00 00 00 00 00 00platform caam_sm: [0064] 00 00 00 00 00 00 00 00platform caam_sm: [0072] 00 00 00 00 00 00 00 00platform caam_sm: [0080] 00 00 00 00 00 00 00 00platform caam_sm: [0088] 00 00 00 00 00 00 00 00platform caam_sm: 256-bit unwritten blob:platform caam_sm: [0000] 00 00 00 00 00 00 00 00platform caam_sm: [0008] 00 00 00 00 00 00 00 00platform caam_sm: [0016] 00 00 00 00 00 00 00 00platform caam_sm: [0024] 00 00 00 00 00 00 00 00platform caam_sm: [0032] 00 00 00 00 00 00 00 00platform caam_sm: [0040] 00 00 00 00 00 00 00 00platform caam_sm: [0048] 00 00 00 00 00 00 00 00platform caam_sm: [0056] 00 00 00 00 00 00 00 00platform caam_sm: [0064] 00 00 00 00 00 00 00 00platform caam_sm: [0072] 00 00 00 00 00 00 00 00platform caam_sm: [0080] 00 00 00 00 00 00 00 00platform caam_sm: [0088] 00 00 00 00 00 00 00 00platform caam_sm: 64-bit black key in blob:platform caam_sm: [0000] 7b 60 fd 01 04 c0 f4 44platform caam_sm: [0008] a3 a8 09 a9 9c b9 38 5bplatform caam_sm: [0016] a3 c3 87 0c ed db 49 e6platform caam_sm: [0024] f9 8e 52 6e 65 24 01 f6platform caam_sm: [0032] e7 e5 6d a5 3a c4 54 ecplatform caam_sm: [0040] d5 30 14 c7 84 ee c4 e4platform caam_sm: [0048] 9f 13 ff 48 a9 10 da d8platform caam_sm: [0056] 00 00 00 00 00 00 00 00platform caam_sm: [0064] 00 00 00 00 00 00 00 00platform caam_sm: [0072] 00 00 00 00 00 00 00 00platform caam_sm: [0080] 00 00 00 00 00 00 00 00platform caam_sm: [0088] 00 00 00 00 00 00 00 00platform caam_sm: 128-bit black key in blob:platform caam_sm: [0000] 07 a0 71 f7 77 28 41 0dplatform caam_sm: [0008] d6 24 bd ec 1e 9d e1 92platform caam_sm: [0016] fb 2a 3b 14 77 a5 2e f5platform caam_sm: [0024] 4f 34 d2 44 ef 4e 4c 21platform caam_sm: [0032] 9d 83 0c 0a 2e b8 f4 37platform caam_sm: [0040] 37 35 b5 26 d7 d3 57 a5platform caam_sm: [0048] 6c 87 0e 01 4f 24 ba 68platform caam_sm: [0056] fe 84 7e cc 04 b1 d3 8cplatform caam_sm: [0064] 00 00 00 00 00 00 00 00platform caam_sm: [0072] 00 00 00 00 00 00 00 00platform caam_sm: [0080] 00 00 00 00 00 00 00 00platform caam_sm: [0088] 00 00 00 00 00 00 00 00platform caam_sm: 192-bit black key in blob:platform caam_sm: [0000] 82 0a 42 0c c6 8e 6d 1eplatform caam_sm: [0008] be 86 aa 35 79 f0 eb 22platform caam_sm: [0016] ae 0f df 84 89 87 f6 c1platform caam_sm: [0024] 3d 0b e4 c6 4e b7 78 40platform caam_sm: [0032] 43 45 37 13 74 c8 9f b3platform caam_sm: [0040] e0 60 20 e8 0e 93 ee 96platform caam_sm: [0048] 9a d9 29 ff bf a0 54 acplatform caam_sm: [0056] 6c ac c1 34 d8 cf d4 c6platform caam_sm: [0064] d3 29 21 18 9b d6 c4 cbplatform caam_sm: [0072] 00 00 00 00 00 00 00 00platform caam_sm: [0080] 00 00 00 00 00 00 00 00platform caam_sm: [0088] 00 00 00 00 00 00 00 00platform caam_sm: 256-bit black key in blob:platform caam_sm: [0000] 9a 02 33 35 33 6d 68 d2platform caam_sm: [0008] 0c 58 5d 09 0f ca 3e 2dplatform caam_sm: [0016] 14 bf 2a 02 89 9a 25 11platform caam_sm: [0024] a4 5e a9 63 7c 85 94 15platform caam_sm: [0032] 1e b6 6c fa c7 ac 4c 74platform caam_sm: [0040] 2e 17 ca d3 ec 93 fa 26platform caam_sm: [0048] 0f ab 88 1b 3c 87 d9 e6platform caam_sm: [0056] 2c c1 9e 08 f0 40 0d 78platform caam_sm: [0064] b3 e0 da dc 86 b0 21 17platform caam_sm: [0072] fb 84 3d 71 fc 44 4c 71platform caam_sm: [0080] 00 00 00 00 00 00 00 00platform caam_sm: [0088] 00 00 00 00 00 00 00 00platform caam_sm: restored 64-bit black key:platform caam_sm: [0000] 9b cb 9e 2d 02 46 14 4cplatform caam_sm: [0008] a7 8f 94 c8 1d 29 93 e0platform caam_sm: restored 128-bit black key:platform caam_sm: [0000] b1 45 b0 d1 e6 b7 87 69platform caam_sm: [0008] 61 b5 70 68 d9 02 8f 8cplatform caam_sm: restored 192-bit black key:platform caam_sm: [0000] 8d 5d 2d 07 3e d5 b5 a9platform caam_sm: [0008] 74 cd b1 34 e1 08 5e faplatform caam_sm: [0016] 02 bf 48 88 75 a5 28 69platform caam_sm: [0024] 7b 36 be 91 a8 b0 bb a6platform caam_sm: restored 256-bit black key:platform caam_sm: [0000] 18 e5 26 a1 9e 48 a1 3dplatform caam_sm: [0008] e2 6b d8 0b a4 6c cd feplatform caam_sm: [0016] 65 a6 a1 12 3b 2a c7 fbplatform caam_sm: [0024] f0 5a d6 56 b5 9e 1a d4snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure stateusbcore: registered new interface driver usbhidusbhid: USB HID core driversgtl5000 1-000a: sgtl5000 revision 0x11fsl-asrc 2034000.asrc: driver registeredimx-sgtl5000 sound.14: phandle missing or invalidimx-sgtl5000: probe of sound.14 failed with error -22imx-spdif sound-spdif.15: snd-soc-dummy-dai <-> 2004000.spdif mapping okNET: Registered protocol family 26TCP: cubic registeredNET: Registered protocol family 10sit: IPv6 over IPv4 tunneling driverNET: Registered protocol family 17can: controller area network core (rev 20120528 abi 9)NET: Registered protocol family 29can: raw protocol (rev 20120528)can: broadcast manager protocol (rev 20120528 t)can: netlink gateway (rev 20130117) max_hops=1Bluetooth: RFCOMM TTY layer initializedBluetooth: RFCOMM socket layer initializedBluetooth: RFCOMM ver 1.11Bluetooth: BNEP (Ethernet Emulation) ver 1.3Bluetooth: BNEP filters: protocol multicastBluetooth: BNEP socket layer initializedBluetooth: HIDP (Human Interface Emulation) ver 1.2Bluetooth: HIDP socket layer initialized8021q: 802.1Q VLAN Support v1.8Key type dns_resolver registeredusb_otg_vbus: disablingregulator-dummy: disablingimx mcc test is registered.input: gpio-keys.18 as /devices/soc0/gpio-keys.18/input/input0snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 2015-12-18 14:03:53 UTC (1450447433)fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1)IPv6: ADDRCONF(NETDEV_UP): eth0: link is not readylibphy: 2188000.ethernet:00 - Link is Up - 100/FullIPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes readyIP-Config: Guessing netmask 255.255.255.0IP-Config: Complete: device=eth0, hwaddr=2a:75:6d:e0:3c:68, ipaddr=192.168.2.120, mask=255.255.255.0, gw=255.255.255.255 host=192.168.2.120, domain=, nis-domain=(none) bootserver=255.255.255.255, rootserver=192.168.2.100, rootpath=ALSA device list: #0: imx-spdifVFS: Mounted root (nfs filesystem) readonly on device 0:12.devtmpfs: mountedFreeing unused kernel memory: 328K (80d13000 - 80d65000)Failed to execute /init (error -2). Attempting defaults...INIT: version 2.88 bootingStarting udevudevd[172]: starting version 182random: nonblocking pool is initializedbootlogd: cannot allocate pseudo tty: No such file or directoryPopulating dev cacheINIT: Entering runlevel: 5Configuring network interfaces... ifup skipped for nfsroot interface eth0run-parts: /etc/network/if-pre-up.d/nfsroot exited with code 1Starting system message bus: dbus.Starting syslogd/klogd: donePoky (Yocto Project Reference Distro) 1.7 imx6qsabresd /dev/ttymxc0imx6qsabresd login: rootroot@imx6qsabresd:~# lsroot@imx6qsabresd:~# pwd/home/rootroot@imx6qsabresd:~# root@imx6qsabresd:~#