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

Freesacle Yocto的环境配置与编译

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


然后按照里面的步骤操作即可编译出一个完整的distribution,当然很可能会因为网络或者一些Package早已不存在,或者因为大家都知道的原因而无法下载一些source code,而编译失败。

注意编译的目标选择imx6qsabresd,因为这个和我们的TQIMX6Q接近。


个人使用的步骤如下:

按照文档说明repo init会出错:

  1. $ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.28-1.0.0_ga  
  2. fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle  
  3. fatal: error [Errno 101] Network is unreachable  

这是因为googlecode无法访问,所以特别指定其他的:
  1. 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

  1. repo sync  
接着就是source env了:
  1. MACHINE=imx6qsabresd source fsl-setup-release.sh -b imx6qsabresd_build -e wayland  

Yocto中内核的移植

产生的文件位置

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


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


生成uImage+dtb文件

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

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



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

Linux 3.14.28适配TQIMX6Q板子

因为我们使用的是sabresd板子来编译的,但是我们的实际板子是TQIMX6Q,因此需要变更dts,需要变更的文件如下:

首先看到的是内核放在了哪里? 这个是放在了如下位置,我们可以用下面命令来确定:
  1. bitbake -e linux-imx  | grep ^S=  


图示:


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

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


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

kernel command line传入的调查

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

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

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


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


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

NFS文件系统创建

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

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

启动板子


使用如下命令来启动板子:
  1. set serverip 192.168.2.100;set ipaddr 192.168.2.111  
  2. 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'  
  3. tftp 0x10800000 192.168.2.100:imx6/uImage+dtb;bootm 0x10800000  

启动后的log如下:
  1. MX6Q SABRESD U-Boot > set serverip 192.168.2.100;set ipaddr 192.168.2.111  
  2. 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'  
  3. MX6Q SABRESD U-Boot > tftp 0x10800000 192.168.2.100:imx6/uImage+dtb;bootm 0x10800000  
  4. PHY indentify @ 0x0 = 0x004dd072  
  5. FEC: Link is Up 796d  
  6. Using FEC0 device  
  7. TFTP from server 192.168.2.100; our IP address is 192.168.2.111  
  8. Filename 'imx6/uImage+dtb'.  
  9. Load address: 0x10800000  
  10. Loading: #################################################################  
  11.          #################################################################  
  12.          #################################################################  
  13.          #################################################################  
  14.          #################################################################  
  15.          #################################################################  
  16.          #################  
  17. done  
  18. Bytes transferred = 5974017 (5b2801 hex)  
  19. ## Booting kernel from Legacy Image at 10800000 ...  
  20.    Image Name:   imx6  
  21.    Image Type:   ARM Linux Kernel Image (uncompressed)  
  22.    Data Size:    5973953 Bytes =  5.7 MB  
  23.    Load Address: 10008000  
  24.    Entry Point:  10008000  
  25.    Verifying Checksum ... OK  
  26.    Loading Kernel Image ... OK  
  27. OK  
  28.   
  29. Starting kernel ...  
  30.   
  31. Booting Linux on physical CPU 0x0  
  32. 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  
  33. CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d  
  34. CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache  
  35. Machine model: Freescale i.MX6 Quad SABRE Smart Device Board  
  36. debug: ignoring loglevel setting.  
  37. cma: CMA: reserved 320 MiB at 3c000000  
  38. Memory policy: Data cache writealloc  
  39. On node 0 totalpages: 262144  
  40. free_area_init_node: node 0, pgdat 80dc7680, node_mem_map ab757000  
  41.   DMA zone: 2048 pages used for memmap  
  42.   DMA zone: 0 pages reserved  
  43.   DMA zone: 262144 pages, LIFO batch:31  
  44. PERCPU: Embedded 8 pages/cpu @ab726000 s8896 r8192 d15680 u32768  
  45. pcpu-alloc: s8896 r8192 d15680 u32768 alloc=8*4096  
  46. pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3   
  47. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096  
  48. 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  
  49. PID hash table entries: 4096 (order: 2, 16384 bytes)  
  50. Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)  
  51. Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)  
  52. Memory: 696492K/1048576K available (7209K kernel code, 394K rwdata, 6144K rodata, 328K init, 428K bss, 352084K reserved, 0K highmem)  
  53. Virtual kernel memory layout:  
  54.     vector  : 0xffff0000 - 0xffff1000   (   4 kB)  
  55.     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)  
  56.     vmalloc : 0xc0800000 - 0xff000000   (1000 MB)  
  57.     lowmem  : 0x80000000 - 0xc0000000   (1024 MB)  
  58.     pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)  
  59.     modules : 0x7f000000 - 0x7fe00000   (  14 MB)  
  60.       .text : 0x80008000 - 0x80d12628   (13354 kB)  
  61.       .init : 0x80d13000 - 0x80d652c0   ( 329 kB)  
  62.       .data : 0x80d66000 - 0x80dc8a80   ( 395 kB)  
  63.        .bss : 0x80dc8a8c - 0x80e33d5c   ( 429 kB)  
  64. SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1  
  65. Preemptible hierarchical RCU implementation.  
  66. NR_IRQS:16 nr_irqs:16 16  
  67. L310 cache controller enabled  
  68. l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x32070000, Cache size: 1024 kB  
  69. Switching to timer-based delay loop  
  70. sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655765682ns  
  71. Console: colour dummy device 80x30  
  72. Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)  
  73. pid_max: default: 32768 minimum: 301  
  74. Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)  
  75. Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)  
  76. CPU: Testing write buffer coherency: ok  
  77. CPU0: thread -1, cpu 0, socket 0, mpidr 80000000  
  78. Setting up static identity map for 0x106dceb8 - 0x106dcf10  
  79. CPU1: Booted secondary processor  
  80. CPU1: thread -1, cpu 1, socket 0, mpidr 80000001  
  81. CPU2: Booted secondary processor  
  82. CPU2: thread -1, cpu 2, socket 0, mpidr 80000002  
  83. CPU3: Booted secondary processor  
  84. CPU3: thread -1, cpu 3, socket 0, mpidr 80000003  
  85. Brought up 4 CPUs  
  86. SMP: Total of 4 processors activated.  
  87. CPU: All CPU(s) started in SVC mode.  
  88. devtmpfs: initialized  
  89. VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4  
  90. pinctrl core: initialized pinctrl subsystem  
  91. regulator-dummy: no parameters  
  92. NET: Registered protocol family 16  
  93. DMA: preallocated 256 KiB pool for atomic coherent allocations  
  94. cpuidle: using governor ladder  
  95. cpuidle: using governor menu  
  96. CPU identified as i.MX6Q, silicon rev 1.2  
  97. Use WDOG1 as reset source  
  98. syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered  
  99. vdd1p1: 800 <--> 1375 mV at 1100 mV   
  100. vdd3p0: 2800 <--> 3150 mV at 3000 mV   
  101. vdd2p5: 2000 <--> 2750 mV at 2400 mV   
  102. vddarm: 725 <--> 1450 mV at 1150 mV   
  103. vddpu: 725 <--> 1450 mV   
  104. vddsoc: 725 <--> 1450 mV at 1200 mV   
  105. syscon 20e0000.iomuxc-gpr: regmap [mem 0x020e0000-0x020e0037] registered  
  106. syscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] registered  
  107. hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.  
  108. hw-breakpoint: maximum watchpoint size is 4 bytes.  
  109. imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver  
  110. bio: create slab <bio-0> at 0  
  111. mxs-dma 110000.dma-apbh: initialized  
  112. usb_otg_vbus: 5000 mV   
  113. usb_h1_vbus: 5000 mV   
  114. 2P5V: 2500 mV   
  115. 3P3V: 3300 mV   
  116. i2c-core: driver [max17135] using legacy suspend method  
  117. i2c-core: driver [max17135] using legacy resume method  
  118. SCSI subsystem initialized  
  119. libata version 3.00 loaded.  
  120. usbcore: registered new interface driver usbfs  
  121. usbcore: registered new interface driver hub  
  122. usbcore: registered new device driver usb  
  123. usbphy_nop1.10 supply vcc not found, using dummy regulator  
  124. usbphy_nop2.11 supply vcc not found, using dummy regulator  
  125. i2c i2c-0: IMX I2C adapter registered  
  126. i2c i2c-1: IMX I2C adapter registered  
  127. Linux video capture interface: v2.00  
  128. pps_core: LinuxPPS API ver. 1 registered  
  129. pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>  
  130. PTP clock support registered  
  131. imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)  
  132. imx-ipuv3 2800000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)  
  133. MIPI CSI2 driver module loaded  
  134. Advanced Linux Sound Architecture Driver Initialized.  
  135. Bluetooth: Core ver 2.18  
  136. NET: Registered protocol family 31  
  137. Bluetooth: HCI device and connection manager initialized  
  138. Bluetooth: HCI socket layer initialized  
  139. Bluetooth: L2CAP socket layer initialized  
  140. Bluetooth: SCO socket layer initialized  
  141. cfg80211: Calling CRDA to update world regulatory domain  
  142. Switched to clocksource mxc_timer1  
  143. NET: Registered protocol family 2  
  144. TCP established hash table entries: 8192 (order: 3, 32768 bytes)  
  145. TCP bind hash table entries: 8192 (order: 4, 65536 bytes)  
  146. TCP: Hash tables configured (established 8192 bind 8192)  
  147. TCP: reno registered  
  148. UDP hash table entries: 512 (order: 2, 16384 bytes)  
  149. UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)  
  150. NET: Registered protocol family 1  
  151. RPC: Registered named UNIX socket transport module.  
  152. RPC: Registered udp transport module.  
  153. RPC: Registered tcp transport module.  
  154. RPC: Registered tcp NFSv4.1 backchannel transport module.  
  155. hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available  
  156. imx6_busfreq busfreq.13: DDR medium rate not supported.  
  157. Bus freq driver module loaded  
  158. futex hash table entries: 1024 (order: 4, 65536 bytes)  
  159. VFS: Disk quotas dquot_6.5.2  
  160. Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)  
  161. NFS: Registering the id_resolver key type  
  162. Key type id_resolver registered  
  163. Key type id_legacy registered  
  164. jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.  
  165. fuse init (API version 7.22)  
  166. msgmni has been set to 2000  
  167. io scheduler noop registered  
  168. io scheduler deadline registered  
  169. io scheduler cfq registered (default)  
  170. imx-weim 21b8000.weim: Driver registered.  
  171. backlight.24 supply power not found, using dummy regulator  
  172. MIPI DSI driver module loaded  
  173. mxc_sdc_fb fb.19: NO mxc display driver found!  
  174. mxc_sdc_fb fb.20: Can't get fb option for mxcfb1!  
  175. mxc_sdc_fb fb.21: Can't get fb option for mxcfb2!  
  176. mxc_sdc_fb fb.22: NO mxc display driver found!  
  177. imx-sdma 20ec000.sdma: no iram assigned, using external mem  
  178. imx-sdma 20ec000.sdma: no event needs to be remapped  
  179. imx-sdma 20ec000.sdma: loaded firmware 3.1  
  180. imx-sdma 20ec000.sdma: initialized  
  181. Serial: IMX driver  
  182. imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_SD3_DAT7 already requested by 20e0000.iomuxc; cannot claim for 2020000.serial  
  183. imx6q-pinctrl 20e0000.iomuxc: pin-170 (2020000.serial) status -22  
  184. imx6q-pinctrl 20e0000.iomuxc: could not request pin 170 (MX6Q_PAD_SD3_DAT7) from group uart1grp-2  on device 20e0000.iomuxc  
  185. imx-uart 2020000.serial: Error applying setting, reverse things back  
  186. 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a IMX  
  187. console [ttymxc0] enabled  
  188. serial: Freescale lpuart driver  
  189. imx sema4 driver is registered.  
  190. [drm] Initialized drm 1.1.0 20060810  
  191. [drm] Initialized vivante 1.0.0 20120216 on minor 0  
  192. brd: module loaded  
  193. loop: module loaded  
  194. ahci-imx 2200000.sata: fsl,transmit-level-mV not specified, using 00000024  
  195. ahci-imx 2200000.sata: fsl,transmit-boost-mdB not specified, using 00000480  
  196. ahci-imx 2200000.sata: fsl,transmit-atten-16ths not specified, using 00002000  
  197. ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 05000000  
  198. ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled  
  199. ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode  
  200. ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst   
  201. scsi0 : ahci_platform  
  202. ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port 0x100 irq 71  
  203. CAN device driver interface  
  204. 2090000.can supply xceiver not found, using dummy regulator  
  205. flexcan 2090000.can: device registered (reg_base=c0a38000, irq=142)  
  206. imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_DI0_PIN2 already requested by lcd.23; cannot claim for 2188000.ethernet  
  207. imx6q-pinctrl 20e0000.iomuxc: pin-89 (2188000.ethernet) status -22  
  208. imx6q-pinctrl 20e0000.iomuxc: could not request pin 89 (MX6Q_PAD_DI0_PIN2) from group microsom-enet-ar8035  on device 20e0000.iomuxc  
  209. fec 2188000.ethernet: Error applying setting, reverse things back  
  210. 2188000.ethernet supply phy not found, using dummy regulator  
  211. pps pps0: new PPS source ptp0  
  212. fec 2188000.ethernet (unregistered net_device): Invalid MAC address: 00:00:00:00:00:00  
  213. fec 2188000.ethernet (unregistered net_device): Using random MAC address: 2a:75:6d:e0:3c:68  
  214. libphy: fec_enet_mii_bus: probed  
  215. fec 2188000.ethernet eth0: registered PHC device 0  
  216. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver  
  217. ehci-mxc: Freescale On-Chip EHCI Host driver  
  218. usbcore: registered new interface driver usb-storage  
  219. 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator  
  220. ci_hdrc ci_hdrc.1: doesn't support gadget  
  221. ci_hdrc ci_hdrc.1: EHCI Host Controller  
  222. ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1  
  223. ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00  
  224. hub 1-0:1.0: USB hub found  
  225. hub 1-0:1.0: 1 port detected  
  226. mousedev: PS/2 mouse device common for all mice  
  227. i2c-core: driver [isl29023] using legacy suspend method  
  228. i2c-core: driver [isl29023] using legacy resume method  
  229. snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0  
  230. i2c /dev entries driver  
  231. IR NEC protocol handler initialized  
  232. IR RC5(x) protocol handler initialized  
  233. IR RC6 protocol handler initialized  
  234. IR JVC protocol handler initialized  
  235. IR Sony protocol handler initialized  
  236. IR RC5 (streamzap) protocol handler initialized  
  237. IR SANYO protocol handler initialized  
  238. IR MCE Keyboard/mouse protocol handler initialized  
  239. i2c-core: driver [mag3110] using legacy suspend method  
  240. i2c-core: driver [mag3110] using legacy resume method  
  241. imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)  
  242. Bluetooth: HCI UART driver ver 2.2  
  243. Bluetooth: HCI H4 protocol initialized  
  244. Bluetooth: HCI BCSP protocol initialized  
  245. Bluetooth: HCIATH3K protocol initialized  
  246. usbcore: registered new interface driver bcm203x  
  247. usbcore: registered new interface driver btusb  
  248. Bluetooth: Generic Bluetooth SDIO driver ver 0.1  
  249. usbcore: registered new interface driver ath3k  
  250. sdhci: Secure Digital Host Controller Interface driver  
  251. sdhci: Copyright(c) Pierre Ossman  
  252. sdhci-pltfm: SDHCI platform and OF driver helper  
  253. mmc1: no vqmmc regulator found  
  254. mmc1: no vmmc regulator found  
  255. mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA  
  256. ata1: SATA link down (SStatus 0 SControl 300)  
  257. ahci-imx 2200000.sata: no device found, disabling link.  
  258. ahci-imx 2200000.sata: pass ahci_imx..hotplug=1 to enable hotplug  
  259. sdhci-esdhc-imx 219c000.usdhc: could not get ultra high speed state, work on normal mode  
  260. mmc3: no vqmmc regulator found  
  261. mmc3: no vmmc regulator found  
  262. mmc3: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA  
  263. Galcore version 5.0.11.25762  
  264. mmc1: host does not support reading read-only switch. assuming write-enable.  
  265. mmc1: new high speed SDHC card at address 2ba0  
  266. mmcblk1: mmc1:2ba0 SD04G 3.69 GiB   
  267.  mmcblk1: p1 p2 p3 p4 < p5 p6 >  
  268. mmc3: BKOPS_EN bit is not set  
  269. mmc3: new high speed DDR MMC card at address 0001  
  270. mmcblk3: mmc3:0001 008G92 7.28 GiB   
  271. mmcblk3boot0: mmc3:0001 008G92 partition 1 4.00 MiB  
  272. mmcblk3boot1: mmc3:0001 008G92 partition 2 4.00 MiB  
  273. mmcblk3rpmb: mmc3:0001 008G92 partition 3 512 KiB  
  274.  mmcblk3: p1  
  275.  mmcblk3boot1: unknown partition table  
  276.  mmcblk3boot0: unknown partition table  
  277. mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed  
  278. mxc_vpu 2040000.vpu: VPU initialized  
  279. caam 2100000.caam: Instantiated RNG4 SH0  
  280. caam 2100000.caam: Instantiated RNG4 SH1  
  281. caam 2100000.caam: device ID = 0x0a160100 (Era 4)  
  282. caam 2100000.caam: job rings = 2, qi = 0  
  283. caam algorithms registered in /proc/crypto  
  284. caam_jr 2101000.jr0: registering rng-caam  
  285. platform caam_sm: blkkey_ex: 4 keystore units available  
  286. platform caam_sm: 64-bit clear key:  
  287. platform caam_sm: [0000] 00 01 02 03 04 0f 06 07  
  288. platform caam_sm: 64-bit black key:  
  289. platform caam_sm: [0000] 4d ed cd b8 7b 4e eb 1c  
  290. platform caam_sm: [0008] 28 aa 96 49 5a 0b 5b c0  
  291. platform caam_sm: 128-bit clear key:  
  292. platform caam_sm: [0000] 00 01 02 03 04 0f 06 07  
  293. platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f  
  294. platform caam_sm: 128-bit black key:  
  295. platform caam_sm: [0000] b1 45 b0 d1 e6 b7 87 69  
  296. platform caam_sm: [0008] 61 b5 70 68 d9 02 8f 8c  
  297. platform caam_sm: 192-bit clear key:  
  298. platform caam_sm: [0000] 00 01 02 03 04 0f 06 07  
  299. platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f  
  300. platform caam_sm: [0016] 10 11 12 13 14 15 16 17  
  301. platform caam_sm: 192-bit black key:  
  302. platform caam_sm: [0000] 8d 5d 2d 07 3e d5 b5 a9  
  303. platform caam_sm: [0008] 74 cd b1 34 e1 08 5e fa  
  304. platform caam_sm: [0016] ce a8 a9 88 c4 11 b4 f1  
  305. platform caam_sm: [0024] 21 ec ed 50 f4 13 03 21  
  306. platform caam_sm: 256-bit clear key:  
  307. platform caam_sm: [0000] 00 01 02 03 04 0f 06 07  
  308. platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f  
  309. platform caam_sm: [0016] 10 11 12 13 14 15 16 17  
  310. platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1f  
  311. platform caam_sm: 256-bit black key:  
  312. platform caam_sm: [0000] 18 e5 26 a1 9e 48 a1 3d  
  313. platform caam_sm: [0008] e2 6b d8 0b a4 6c cd fe  
  314. platform caam_sm: [0016] 65 a6 a1 12 3b 2a c7 fb  
  315. platform caam_sm: [0024] f0 5a d6 56 b5 9e 1a d4  
  316. platform caam_sm: 64-bit unwritten blob:  
  317. platform caam_sm: [0000] 00 00 00 00 00 00 00 00  
  318. platform caam_sm: [0008] 00 00 00 00 00 00 00 00  
  319. platform caam_sm: [0016] 00 00 00 00 00 00 00 00  
  320. platform caam_sm: [0024] 00 00 00 00 00 00 00 00  
  321. platform caam_sm: [0032] 00 00 00 00 00 00 00 00  
  322. platform caam_sm: [0040] 00 00 00 00 00 00 00 00  
  323. platform caam_sm: [0048] 00 00 00 00 00 00 00 00  
  324. platform caam_sm: [0056] 00 00 00 00 00 00 00 00  
  325. platform caam_sm: [0064] 00 00 00 00 00 00 00 00  
  326. platform caam_sm: [0072] 00 00 00 00 00 00 00 00  
  327. platform caam_sm: [0080] 00 00 00 00 00 00 00 00  
  328. platform caam_sm: [0088] 00 00 00 00 00 00 00 00  
  329. platform caam_sm: 128-bit unwritten blob:  
  330. platform caam_sm: [0000] 00 00 00 00 00 00 00 00  
  331. platform caam_sm: [0008] 00 00 00 00 00 00 00 00  
  332. platform caam_sm: [0016] 00 00 00 00 00 00 00 00  
  333. platform caam_sm: [0024] 00 00 00 00 00 00 00 00  
  334. platform caam_sm: [0032] 00 00 00 00 00 00 00 00  
  335. platform caam_sm: [0040] 00 00 00 00 00 00 00 00  
  336. platform caam_sm: [0048] 00 00 00 00 00 00 00 00  
  337. platform caam_sm: [0056] 00 00 00 00 00 00 00 00  
  338. platform caam_sm: [0064] 00 00 00 00 00 00 00 00  
  339. platform caam_sm: [0072] 00 00 00 00 00 00 00 00  
  340. platform caam_sm: [0080] 00 00 00 00 00 00 00 00  
  341. platform caam_sm: [0088] 00 00 00 00 00 00 00 00  
  342. platform caam_sm: 196-bit unwritten blob:  
  343. platform caam_sm: [0000] 00 00 00 00 00 00 00 00  
  344. platform caam_sm: [0008] 00 00 00 00 00 00 00 00  
  345. platform caam_sm: [0016] 00 00 00 00 00 00 00 00  
  346. platform caam_sm: [0024] 00 00 00 00 00 00 00 00  
  347. platform caam_sm: [0032] 00 00 00 00 00 00 00 00  
  348. platform caam_sm: [0040] 00 00 00 00 00 00 00 00  
  349. platform caam_sm: [0048] 00 00 00 00 00 00 00 00  
  350. platform caam_sm: [0056] 00 00 00 00 00 00 00 00  
  351. platform caam_sm: [0064] 00 00 00 00 00 00 00 00  
  352. platform caam_sm: [0072] 00 00 00 00 00 00 00 00  
  353. platform caam_sm: [0080] 00 00 00 00 00 00 00 00  
  354. platform caam_sm: [0088] 00 00 00 00 00 00 00 00  
  355. platform caam_sm: 256-bit unwritten blob:  
  356. platform caam_sm: [0000] 00 00 00 00 00 00 00 00  
  357. platform caam_sm: [0008] 00 00 00 00 00 00 00 00  
  358. platform caam_sm: [0016] 00 00 00 00 00 00 00 00  
  359. platform caam_sm: [0024] 00 00 00 00 00 00 00 00  
  360. platform caam_sm: [0032] 00 00 00 00 00 00 00 00  
  361. platform caam_sm: [0040] 00 00 00 00 00 00 00 00  
  362. platform caam_sm: [0048] 00 00 00 00 00 00 00 00  
  363. platform caam_sm: [0056] 00 00 00 00 00 00 00 00  
  364. platform caam_sm: [0064] 00 00 00 00 00 00 00 00  
  365. platform caam_sm: [0072] 00 00 00 00 00 00 00 00  
  366. platform caam_sm: [0080] 00 00 00 00 00 00 00 00  
  367. platform caam_sm: [0088] 00 00 00 00 00 00 00 00  
  368. platform caam_sm: 64-bit black key in blob:  
  369. platform caam_sm: [0000] 7b 60 fd 01 04 c0 f4 44  
  370. platform caam_sm: [0008] a3 a8 09 a9 9c b9 38 5b  
  371. platform caam_sm: [0016] a3 c3 87 0c ed db 49 e6  
  372. platform caam_sm: [0024] f9 8e 52 6e 65 24 01 f6  
  373. platform caam_sm: [0032] e7 e5 6d a5 3a c4 54 ec  
  374. platform caam_sm: [0040] d5 30 14 c7 84 ee c4 e4  
  375. platform caam_sm: [0048] 9f 13 ff 48 a9 10 da d8  
  376. platform caam_sm: [0056] 00 00 00 00 00 00 00 00  
  377. platform caam_sm: [0064] 00 00 00 00 00 00 00 00  
  378. platform caam_sm: [0072] 00 00 00 00 00 00 00 00  
  379. platform caam_sm: [0080] 00 00 00 00 00 00 00 00  
  380. platform caam_sm: [0088] 00 00 00 00 00 00 00 00  
  381. platform caam_sm: 128-bit black key in blob:  
  382. platform caam_sm: [0000] 07 a0 71 f7 77 28 41 0d  
  383. platform caam_sm: [0008] d6 24 bd ec 1e 9d e1 92  
  384. platform caam_sm: [0016] fb 2a 3b 14 77 a5 2e f5  
  385. platform caam_sm: [0024] 4f 34 d2 44 ef 4e 4c 21  
  386. platform caam_sm: [0032] 9d 83 0c 0a 2e b8 f4 37  
  387. platform caam_sm: [0040] 37 35 b5 26 d7 d3 57 a5  
  388. platform caam_sm: [0048] 6c 87 0e 01 4f 24 ba 68  
  389. platform caam_sm: [0056] fe 84 7e cc 04 b1 d3 8c  
  390. platform caam_sm: [0064] 00 00 00 00 00 00 00 00  
  391. platform caam_sm: [0072] 00 00 00 00 00 00 00 00  
  392. platform caam_sm: [0080] 00 00 00 00 00 00 00 00  
  393. platform caam_sm: [0088] 00 00 00 00 00 00 00 00  
  394. platform caam_sm: 192-bit black key in blob:  
  395. platform caam_sm: [0000] 82 0a 42 0c c6 8e 6d 1e  
  396. platform caam_sm: [0008] be 86 aa 35 79 f0 eb 22  
  397. platform caam_sm: [0016] ae 0f df 84 89 87 f6 c1  
  398. platform caam_sm: [0024] 3d 0b e4 c6 4e b7 78 40  
  399. platform caam_sm: [0032] 43 45 37 13 74 c8 9f b3  
  400. platform caam_sm: [0040] e0 60 20 e8 0e 93 ee 96  
  401. platform caam_sm: [0048] 9a d9 29 ff bf a0 54 ac  
  402. platform caam_sm: [0056] 6c ac c1 34 d8 cf d4 c6  
  403. platform caam_sm: [0064] d3 29 21 18 9b d6 c4 cb  
  404. platform caam_sm: [0072] 00 00 00 00 00 00 00 00  
  405. platform caam_sm: [0080] 00 00 00 00 00 00 00 00  
  406. platform caam_sm: [0088] 00 00 00 00 00 00 00 00  
  407. platform caam_sm: 256-bit black key in blob:  
  408. platform caam_sm: [0000] 9a 02 33 35 33 6d 68 d2  
  409. platform caam_sm: [0008] 0c 58 5d 09 0f ca 3e 2d  
  410. platform caam_sm: [0016] 14 bf 2a 02 89 9a 25 11  
  411. platform caam_sm: [0024] a4 5e a9 63 7c 85 94 15  
  412. platform caam_sm: [0032] 1e b6 6c fa c7 ac 4c 74  
  413. platform caam_sm: [0040] 2e 17 ca d3 ec 93 fa 26  
  414. platform caam_sm: [0048] 0f ab 88 1b 3c 87 d9 e6  
  415. platform caam_sm: [0056] 2c c1 9e 08 f0 40 0d 78  
  416. platform caam_sm: [0064] b3 e0 da dc 86 b0 21 17  
  417. platform caam_sm: [0072] fb 84 3d 71 fc 44 4c 71  
  418. platform caam_sm: [0080] 00 00 00 00 00 00 00 00  
  419. platform caam_sm: [0088] 00 00 00 00 00 00 00 00  
  420. platform caam_sm: restored 64-bit black key:  
  421. platform caam_sm: [0000] 9b cb 9e 2d 02 46 14 4c  
  422. platform caam_sm: [0008] a7 8f 94 c8 1d 29 93 e0  
  423. platform caam_sm: restored 128-bit black key:  
  424. platform caam_sm: [0000] b1 45 b0 d1 e6 b7 87 69  
  425. platform caam_sm: [0008] 61 b5 70 68 d9 02 8f 8c  
  426. platform caam_sm: restored 192-bit black key:  
  427. platform caam_sm: [0000] 8d 5d 2d 07 3e d5 b5 a9  
  428. platform caam_sm: [0008] 74 cd b1 34 e1 08 5e fa  
  429. platform caam_sm: [0016] 02 bf 48 88 75 a5 28 69  
  430. platform caam_sm: [0024] 7b 36 be 91 a8 b0 bb a6  
  431. platform caam_sm: restored 256-bit black key:  
  432. platform caam_sm: [0000] 18 e5 26 a1 9e 48 a1 3d  
  433. platform caam_sm: [0008] e2 6b d8 0b a4 6c cd fe  
  434. platform caam_sm: [0016] 65 a6 a1 12 3b 2a c7 fb  
  435. platform caam_sm: [0024] f0 5a d6 56 b5 9e 1a d4  
  436. snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state  
  437. usbcore: registered new interface driver usbhid  
  438. usbhid: USB HID core driver  
  439. sgtl5000 1-000a: sgtl5000 revision 0x11  
  440. fsl-asrc 2034000.asrc: driver registered  
  441. imx-sgtl5000 sound.14: phandle missing or invalid  
  442. imx-sgtl5000: probe of sound.14 failed with error -22  
  443. imx-spdif sound-spdif.15: snd-soc-dummy-dai <-> 2004000.spdif mapping ok  
  444. NET: Registered protocol family 26  
  445. TCP: cubic registered  
  446. NET: Registered protocol family 10  
  447. sit: IPv6 over IPv4 tunneling driver  
  448. NET: Registered protocol family 17  
  449. can: controller area network core (rev 20120528 abi 9)  
  450. NET: Registered protocol family 29  
  451. can: raw protocol (rev 20120528)  
  452. can: broadcast manager protocol (rev 20120528 t)  
  453. can: netlink gateway (rev 20130117) max_hops=1  
  454. Bluetooth: RFCOMM TTY layer initialized  
  455. Bluetooth: RFCOMM socket layer initialized  
  456. Bluetooth: RFCOMM ver 1.11  
  457. Bluetooth: BNEP (Ethernet Emulation) ver 1.3  
  458. Bluetooth: BNEP filters: protocol multicast  
  459. Bluetooth: BNEP socket layer initialized  
  460. Bluetooth: HIDP (Human Interface Emulation) ver 1.2  
  461. Bluetooth: HIDP socket layer initialized  
  462. 8021q: 802.1Q VLAN Support v1.8  
  463. Key type dns_resolver registered  
  464. usb_otg_vbus: disabling  
  465. regulator-dummy: disabling  
  466. imx mcc test is registered.  
  467. input: gpio-keys.18 as /devices/soc0/gpio-keys.18/input/input0  
  468. snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 2015-12-18 14:03:53 UTC (1450447433)  
  469. fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1)  
  470. IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready  
  471. libphy: 2188000.ethernet:00 - Link is Up - 100/Full  
  472. IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready  
  473. IP-Config: Guessing netmask 255.255.255.0  
  474. IP-Config: Complete:  
  475.      device=eth0, hwaddr=2a:75:6d:e0:3c:68, ipaddr=192.168.2.120, mask=255.255.255.0, gw=255.255.255.255  
  476.      host=192.168.2.120, domain=, nis-domain=(none)  
  477.      bootserver=255.255.255.255, rootserver=192.168.2.100, rootpath=  
  478. ALSA device list:  
  479.   #0: imx-spdif  
  480. VFS: Mounted root (nfs filesystem) readonly on device 0:12.  
  481. devtmpfs: mounted  
  482. Freeing unused kernel memory: 328K (80d13000 - 80d65000)  
  483. Failed to execute /init (error -2).  Attempting defaults...  
  484. INIT: version 2.88 booting  
  485. Starting udev  
  486. udevd[172]: starting version 182  
  487. random: nonblocking pool is initialized  
  488. bootlogd: cannot allocate pseudo tty: No such file or directory  
  489. Populating dev cache  
  490. INIT: Entering runlevel: 5  
  491. Configuring network interfaces... ifup skipped for nfsroot interface eth0  
  492. run-parts: /etc/network/if-pre-up.d/nfsroot exited with code 1  
  493. Starting system message bus: dbus.  
  494. Starting syslogd/klogd: done  
  495.   
  496. Poky (Yocto Project Reference Distro) 1.7 imx6qsabresd /dev/ttymxc0  
  497.   
  498. imx6qsabresd login: root  
  499. root@imx6qsabresd:~# ls  
  500. root@imx6qsabresd:~# pwd  
  501. /home/root  
  502. root@imx6qsabresd:~#   
  503. root@imx6qsabresd:~#  
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值