Yocto i.MX6 (TQIMX6) (01) : 3.14.28内核的适配

时间:2022-02-21 09:26:25

Freesacle Yocto的环境配置与编译

到Freescale下载imx6 Linux Source Code,解压里面的fsl-yocto命名的压缩包得到Yocto setup手册:Freescale_Yocto_Project_User's_Guide.pdf

Yocto i.MX6 (TQIMX6) (01) : 3.14.28内核的适配

然后按照里面的步骤操作即可编译出一个完整的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_ga
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: 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

Yocto中内核的移植

产生的文件位置

编译完成后内核以及rootfs以及dtb会放在相对于build目录的tmp/deploy/images/imx6qsabresd/下面

Yocto i.MX6 (TQIMX6) (01) : 3.14.28内核的适配

各个文件都有一个软连接来指向最新编译产生的文件。


生成uImage+dtb文件

因为使用的TQIMX6Q自带的uboot,其版本较老,其bootm命令不支持dtb加载方式启动,因此退而求其次,我们使用内核兼容的将dtb叠加到zImage后面的模式启动,对此,我们可以使用下面命令来完成:

rm uImage+dtb zImage+dtb
cat tmp/deploy/images/imx6qsabresd/zImage tmp/deploy/images/imx6qsabresd/zImage-imx6q-sabresd.dtb > zImage+dtb
mkimage -n imx6 -A arm -O linux -T kernel -C none -a 0x10008000 -e 0x10008000 -d zImage+dtb uImage+dtb
cp uImage+dtb ~/tftpboot/imx6/



并将文件uImage+dtb放到了tftp目录下,我们将使用这个文件来启动内核。 我们将上面的脚本命名为mkuImage+dtb.sh。。

Linux 3.14.28适配TQIMX6Q板子

因为我们使用的是sabresd板子来编译的,但是我们的实际板子是TQIMX6Q,因此需要变更dts,需要变更的文件如下:
Yocto i.MX6 (TQIMX6) (01) : 3.14.28内核的适配
首先看到的是内核放在了哪里? 这个是放在了如下位置,我们可以用下面命令来确定:
bitbake -e linux-imx  | grep ^S=


图示:
Yocto i.MX6 (TQIMX6) (01) : 3.14.28内核的适配

然后我们需要将imx6q-sabresd-xxx.dts变更,这里我提供一个patch,补丁下载地址:imx6 kenel补丁,这个补丁中的dts来源于:http://axlrose.blog.51cto.com/434566/1642068

大家直接打上就可以了,打补丁的命令如下:
cd  KERNEL_BUILD_SRC_DIR
patch -p1 < kernel.patch


其中KERNEL_BUILD_SRC_DIR为前面说道的内核的目录。

kernel command line传入的调查

新的内核支持四种方式来组成commandline:

  1. 使用uboot中的
  2. 使用内核配置中的
  3. 使用uboot+内核配置中的
  4. 使用dtb中的chosen中的bootargs

这些都在menuconfig中可以看到,因此如果你在内核中看到的commandline与自己从uboot中传入的不一样,那么检查下面选项:

Yocto i.MX6 (TQIMX6) (01) : 3.14.28内核的适配


但是因为我们使用从uboot中传入,因此像上图一样配置即可。


打上补丁之后,配置好bootargs传入方式之后,我们可以再一次编译内核,并生成uImage+dtb,编译的命令如下:
bitbake linux-imx -C compile
注意这里的-C的C是大写,和小写的c是有区别的。
然后使用前面提到的命令生成uImage+dtb。

NFS文件系统创建

因为我使用的是bitbake core-image-minimal来构建系统,所有我可以按照下面命令来解压rootfs到NFS中:
tar xf tmp/deploy/images/imx6qsabresd/core-image-minimal-imx6qsabresd.tar.bz2 -C ~/nfs-imx6/yocto/

对于NFS的搭建请看我的其他博客。

启动板子


使用如下命令来启动板子:
set serverip 192.168.2.100;set ipaddr 192.168.2.111
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'
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.111
MX6Q 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 0x10800000
PHY indentify @ 0x0 = 0x004dd072
FEC: Link is Up 796d
Using FEC0 device
TFTP from server 192.168.2.100; our IP address is 192.168.2.111
Filename 'imx6/uImage+dtb'.
Load address: 0x10800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################
done
Bytes 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 ... OK
OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux 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 2015
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Freescale i.MX6 Quad SABRE Smart Device Board
debug: ignoring loglevel setting.
cma: CMA: reserved 320 MiB at 3c000000
Memory policy: Data cache writealloc
On node 0 totalpages: 262144
free_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:31
PERCPU: Embedded 8 pages/cpu @ab726000 s8896 r8192 d15680 u32768
pcpu-alloc: s8896 r8192 d15680 u32768 alloc=8*4096
pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096
Kernel 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=48M
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: 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=1
Preemptible hierarchical RCU implementation.
NR_IRQS:16 nr_irqs:16 16
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x32070000, Cache size: 1024 kB
Switching to timer-based delay loop
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655765682ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 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 0x106dceb8 - 0x106dcf10
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU2: Booted secondary processor
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
CPU3: Booted secondary processor
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
Brought up 4 CPUs
SMP: Total of 4 processors activated.
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
pinctrl core: initialized pinctrl subsystem
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
CPU identified as i.MX6Q, silicon rev 1.2
Use WDOG1 as reset source
syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered
vdd1p1: 800 <--> 1375 mV at 1100 mV
vdd3p0: 2800 <--> 3150 mV at 3000 mV
vdd2p5: 2000 <--> 2750 mV at 2400 mV
vddarm: 725 <--> 1450 mV at 1150 mV
vddpu: 725 <--> 1450 mV
vddsoc: 725 <--> 1450 mV at 1200 mV
syscon 20e0000.iomuxc-gpr: regmap [mem 0x020e0000-0x020e0037] registered
syscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] registered
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
bio: create slab <bio-0> at 0
mxs-dma 110000.dma-apbh: initialized
usb_otg_vbus: 5000 mV
usb_h1_vbus: 5000 mV
2P5V: 2500 mV
3P3V: 3300 mV
i2c-core: driver [max17135] using legacy suspend method
i2c-core: driver [max17135] using legacy resume method
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usbphy_nop1.10 supply vcc not found, using dummy regulator
usbphy_nop2.11 supply vcc not found, using dummy regulator
i2c i2c-0: IMX I2C adapter registered
i2c i2c-1: IMX I2C adapter registered
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
imx-ipuv3 2800000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.18
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
cfg80211: Calling CRDA to update world regulatory domain
Switched to clocksource mxc_timer1
NET: Registered protocol family 2
TCP established hash table entries: 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 registered
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.
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
imx6_busfreq busfreq.13: DDR medium rate not supported.
Bus freq driver module loaded
futex hash table entries: 1024 (order: 4, 65536 bytes)
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.22)
msgmni has been set to 2000
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-weim 21b8000.weim: Driver registered.
backlight.24 supply power not found, using dummy regulator
MIPI DSI driver module loaded
mxc_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 mem
imx-sdma 20ec000.sdma: no event needs to be remapped
imx-sdma 20ec000.sdma: loaded firmware 3.1
imx-sdma 20ec000.sdma: initialized
Serial: IMX driver
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_SD3_DAT7 already requested by 20e0000.iomuxc; cannot claim for 2020000.serial
imx6q-pinctrl 20e0000.iomuxc: pin-170 (2020000.serial) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 170 (MX6Q_PAD_SD3_DAT7) from group uart1grp-2 on device 20e0000.iomuxc
imx-uart 2020000.serial: Error applying setting, reverse things back
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a IMX
console [ttymxc0] enabled
serial: Freescale lpuart driver
imx sema4 driver is registered.
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
ahci-imx 2200000.sata: fsl,transmit-level-mV not specified, using 00000024
ahci-imx 2200000.sata: fsl,transmit-boost-mdB not specified, using 00000480
ahci-imx 2200000.sata: fsl,transmit-atten-16ths not specified, using 00002000
ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 05000000
ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled
ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst
scsi0 : ahci_platform
ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port 0x100 irq 71
CAN device driver interface
2090000.can supply xceiver not found, using dummy regulator
flexcan 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.ethernet
imx6q-pinctrl 20e0000.iomuxc: pin-89 (2188000.ethernet) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 89 (MX6Q_PAD_DI0_PIN2) from group microsom-enet-ar8035 on device 20e0000.iomuxc
fec 2188000.ethernet: Error applying setting, reverse things back
2188000.ethernet supply phy not found, using dummy regulator
pps pps0: new PPS source ptp0
fec 2188000.ethernet (unregistered net_device): Invalid MAC address: 00:00:00:00:00:00
fec 2188000.ethernet (unregistered net_device): Using random MAC address: 2a:75:6d:e0:3c:68
libphy: fec_enet_mii_bus: probed
fec 2188000.ethernet eth0: registered PHC device 0
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-mxc: Freescale On-Chip EHCI Host driver
usbcore: registered new interface driver usb-storage
2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
ci_hdrc ci_hdrc.1: doesn't support gadget
ci_hdrc ci_hdrc.1: EHCI Host Controller
ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
i2c-core: driver [isl29023] using legacy suspend method
i2c-core: driver [isl29023] using legacy resume method
snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR RC5 (streamzap) protocol handler initialized
IR SANYO protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
i2c-core: driver [mag3110] using legacy suspend method
i2c-core: driver [mag3110] using legacy resume method
imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCIATH3K protocol initialized
usbcore: registered new interface driver bcm203x
usbcore: registered new interface driver btusb
Bluetooth: Generic Bluetooth SDIO driver ver 0.1
usbcore: registered new interface driver ath3k
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc1: no vqmmc regulator found
mmc1: no vmmc regulator found
mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
ata1: SATA link down (SStatus 0 SControl 300)
ahci-imx 2200000.sata: no device found, disabling link.
ahci-imx 2200000.sata: pass ahci_imx..hotplug=1 to enable hotplug
sdhci-esdhc-imx 219c000.usdhc: could not get ultra high speed state, work on normal mode
mmc3: no vqmmc regulator found
mmc3: no vmmc regulator found
mmc3: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA
Galcore version 5.0.11.25762
mmc1: host does not support reading read-only switch. assuming write-enable.
mmc1: new high speed SDHC card at address 2ba0
mmcblk1: mmc1:2ba0 SD04G 3.69 GiB
mmcblk1: p1 p2 p3 p4 < p5 p6 >
mmc3: BKOPS_EN bit is not set
mmc3: new high speed DDR MMC card at address 0001
mmcblk3: mmc3:0001 008G92 7.28 GiB
mmcblk3boot0: mmc3:0001 008G92 partition 1 4.00 MiB
mmcblk3boot1: mmc3:0001 008G92 partition 2 4.00 MiB
mmcblk3rpmb: mmc3:0001 008G92 partition 3 512 KiB
mmcblk3: p1
mmcblk3boot1: unknown partition table
mmcblk3boot0: unknown partition table
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
mxc_vpu 2040000.vpu: VPU initialized
caam 2100000.caam: Instantiated RNG4 SH0
caam 2100000.caam: Instantiated RNG4 SH1
caam 2100000.caam: device ID = 0x0a160100 (Era 4)
caam 2100000.caam: job rings = 2, qi = 0
caam algorithms registered in /proc/crypto
caam_jr 2101000.jr0: registering rng-caam
platform caam_sm: blkkey_ex: 4 keystore units available
platform caam_sm: 64-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: 64-bit black key:
platform caam_sm: [0000] 4d ed cd b8 7b 4e eb 1c
platform caam_sm: [0008] 28 aa 96 49 5a 0b 5b c0
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] b1 45 b0 d1 e6 b7 87 69
platform caam_sm: [0008] 61 b5 70 68 d9 02 8f 8c
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] 8d 5d 2d 07 3e d5 b5 a9
platform caam_sm: [0008] 74 cd b1 34 e1 08 5e fa
platform caam_sm: [0016] ce a8 a9 88 c4 11 b4 f1
platform caam_sm: [0024] 21 ec ed 50 f4 13 03 21
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] 18 e5 26 a1 9e 48 a1 3d
platform caam_sm: [0008] e2 6b d8 0b a4 6c cd fe
platform caam_sm: [0016] 65 a6 a1 12 3b 2a c7 fb
platform caam_sm: [0024] f0 5a d6 56 b5 9e 1a d4
platform caam_sm: 64-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 128-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 196-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 256-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 64-bit black key in blob:
platform caam_sm: [0000] 7b 60 fd 01 04 c0 f4 44
platform caam_sm: [0008] a3 a8 09 a9 9c b9 38 5b
platform caam_sm: [0016] a3 c3 87 0c ed db 49 e6
platform caam_sm: [0024] f9 8e 52 6e 65 24 01 f6
platform caam_sm: [0032] e7 e5 6d a5 3a c4 54 ec
platform caam_sm: [0040] d5 30 14 c7 84 ee c4 e4
platform caam_sm: [0048] 9f 13 ff 48 a9 10 da d8
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] 07 a0 71 f7 77 28 41 0d
platform caam_sm: [0008] d6 24 bd ec 1e 9d e1 92
platform caam_sm: [0016] fb 2a 3b 14 77 a5 2e f5
platform caam_sm: [0024] 4f 34 d2 44 ef 4e 4c 21
platform caam_sm: [0032] 9d 83 0c 0a 2e b8 f4 37
platform caam_sm: [0040] 37 35 b5 26 d7 d3 57 a5
platform caam_sm: [0048] 6c 87 0e 01 4f 24 ba 68
platform caam_sm: [0056] fe 84 7e cc 04 b1 d3 8c
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] 82 0a 42 0c c6 8e 6d 1e
platform caam_sm: [0008] be 86 aa 35 79 f0 eb 22
platform caam_sm: [0016] ae 0f df 84 89 87 f6 c1
platform caam_sm: [0024] 3d 0b e4 c6 4e b7 78 40
platform caam_sm: [0032] 43 45 37 13 74 c8 9f b3
platform caam_sm: [0040] e0 60 20 e8 0e 93 ee 96
platform caam_sm: [0048] 9a d9 29 ff bf a0 54 ac
platform caam_sm: [0056] 6c ac c1 34 d8 cf d4 c6
platform caam_sm: [0064] d3 29 21 18 9b d6 c4 cb
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] 9a 02 33 35 33 6d 68 d2
platform caam_sm: [0008] 0c 58 5d 09 0f ca 3e 2d
platform caam_sm: [0016] 14 bf 2a 02 89 9a 25 11
platform caam_sm: [0024] a4 5e a9 63 7c 85 94 15
platform caam_sm: [0032] 1e b6 6c fa c7 ac 4c 74
platform caam_sm: [0040] 2e 17 ca d3 ec 93 fa 26
platform caam_sm: [0048] 0f ab 88 1b 3c 87 d9 e6
platform caam_sm: [0056] 2c c1 9e 08 f0 40 0d 78
platform caam_sm: [0064] b3 e0 da dc 86 b0 21 17
platform caam_sm: [0072] fb 84 3d 71 fc 44 4c 71
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: restored 64-bit black key:
platform caam_sm: [0000] 9b cb 9e 2d 02 46 14 4c
platform caam_sm: [0008] a7 8f 94 c8 1d 29 93 e0
platform caam_sm: restored 128-bit black key:
platform caam_sm: [0000] b1 45 b0 d1 e6 b7 87 69
platform caam_sm: [0008] 61 b5 70 68 d9 02 8f 8c
platform caam_sm: restored 192-bit black key:
platform caam_sm: [0000] 8d 5d 2d 07 3e d5 b5 a9
platform caam_sm: [0008] 74 cd b1 34 e1 08 5e fa
platform caam_sm: [0016] 02 bf 48 88 75 a5 28 69
platform caam_sm: [0024] 7b 36 be 91 a8 b0 bb a6
platform caam_sm: restored 256-bit black key:
platform caam_sm: [0000] 18 e5 26 a1 9e 48 a1 3d
platform caam_sm: [0008] e2 6b d8 0b a4 6c cd fe
platform caam_sm: [0016] 65 a6 a1 12 3b 2a c7 fb
platform caam_sm: [0024] f0 5a d6 56 b5 9e 1a d4
snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
sgtl5000 1-000a: sgtl5000 revision 0x11
fsl-asrc 2034000.asrc: driver registered
imx-sgtl5000 sound.14: phandle missing or invalid
imx-sgtl5000: probe of sound.14 failed with error -22
imx-spdif sound-spdif.15: snd-soc-dummy-dai <-> 2004000.spdif mapping ok
NET: Registered protocol family 26
TCP: cubic registered
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
usb_otg_vbus: disabling
regulator-dummy: disabling
imx mcc test is registered.
input: gpio-keys.18 as /devices/soc0/gpio-keys.18/input/input0
snvs_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 ready
libphy: 2188000.ethernet:00 - Link is Up - 100/Full
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
IP-Config: Guessing netmask 255.255.255.0
IP-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-spdif
VFS: Mounted root (nfs filesystem) readonly on device 0:12.
devtmpfs: mounted
Freeing unused kernel memory: 328K (80d13000 - 80d65000)
Failed to execute /init (error -2). Attempting defaults...
INIT: version 2.88 booting
Starting udev
udevd[172]: starting version 182
random: nonblocking pool is initialized
bootlogd: cannot allocate pseudo tty: No such file or directory
Populating dev cache
INIT: Entering runlevel: 5
Configuring network interfaces... ifup skipped for nfsroot interface eth0
run-parts: /etc/network/if-pre-up.d/nfsroot exited with code 1
Starting system message bus: dbus.
Starting syslogd/klogd: done

Poky (Yocto Project Reference Distro) 1.7 imx6qsabresd /dev/ttymxc0

imx6qsabresd login: root
root@imx6qsabresd:~# ls
root@imx6qsabresd:~# pwd
/home/root
root@imx6qsabresd:~#
root@imx6qsabresd:~#