选择

OpenWRT在最近的时期分裂出了LEDE出来,但还是决定使用OpenWRT,并且使用master上面新的代码来移植编译。

OpenWRT配置

本身LEDE与OpenWRT里面已经有一个imx6 Cortex-A9的arch支持,因此直接选择这个为base来做Porting与Compile较为合适。配置如下:

Compile Tuning

因为imx6ul是Cortex-A7,所以我们需要更改一下

选择好Target之后,我们需要做移植工作。

Target移植

内核移植

移植需要将内核更改一把,这个位于:

$ ls target/Linux/imx6/
base-files  config-3.14  config-4.4  files-4.4  image  Makefile  patches-4.4  profiles

其中config-XX是内核的.config文件,注意不要有modules,全部用builtin,否则将会出错。

然后patches-XX是对应内核的patches,我们不需要这些东西,所以不需要。

内核位置的指定

然后直接编译make即可。

编译的错误

1. DEPEND的问题

如果使用Prebuilt的toolchain可能会出现下面这个问题:

Package libnl-tiny is missing dependencies for the following libraries:
libc.so.6

那么就需要将libc.so添加到DEPENDS变量中。

2. 内核编译错误

内核比较老,但是GCC版本较高,会出现下面这个错误:

[html] view plain copy

  1. init/do_mounts_rd.o: In function `nop_flush_icache_all':
  2. do_mounts_rd.c:(.text+0x0): multiple definition of `nop_flush_icache_all'
  3. init/do_mounts.o:/ExtDisk/Projects/iMX6UL_OpenWRT/BSP_EVB/linux_3.14/init/do_mounts.c:610: first defined here
  4. init/do_mounts_rd.o: In function `nop_flush_kern_cache_all':
  5. do_mounts_rd.c:(.text+0x4): multiple definition of `nop_flush_kern_cache_all'
  6. init/do_mounts.o:/ExtDisk/Projects/iMX6UL_OpenWRT/BSP_EVB/linux_3.14/init/do_mounts.c:610: first defined here
  7. init/do_mounts_rd.o: In function `nop_flush_kern_cache_louis':

要解决这个问题,需要在内核的CFLAG中添加-fgnu89-inline

这个问题可以参考:

http://unix.stackexchange.com/questions/250804/error-while-building-linux-kernel-for-versatile-board

3.内核编译的错误2

[cpp] view plain copy

  1. ERROR: module '/openwrt/build_dir/target-arm_cortex-a9+neon_musl-1.1.16_eabi/linux-imx6/linux-3.14/drivers/usb/gadget/udc/udc-core.ko' is missing.

出现问题是因为我们没有正确的配置kernel module对应的item,但是因为我们暂时不需要,所以直接将其干掉即可:

4. 并发编译出错

一般都是因为make的时候指定-jN的N过大导致。

5. 环境编译问题

编译的时候出现:

[plain] view plain copy

  1. Usage:
  2. cp [options] FILE DEST
  3. cp [options] FILE1 [FILE2 ...] DEST-DIR
  4. cp --help for options list
  5. cp: error: no such option: -p
  6. make[3]: *** [/ExtDisk/Projects/WRTNode/staticSDK/build_dir/host/patch-2.7.1/.configured] Error 2
  7. make[3]: Leaving directory `/ExtDisk/Projects/WRTNode/staticSDK/tools/patch'
  8. make[2]: *** [tools/patch/compile] Error 2
  9. make[2]: Leaving directory `/ExtDisk/Projects/WRTNode/staticSDK'
  10. make[1]: *** [/ExtDisk/Projects/WRTNode/staticSDK/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.tools_install_yynyynynynyyyyyyyyyynyyyyyyyynyyyynnyyynnyynnnyyyy] Error 2
  11. make[1]: Leaving directory `/ExtDisk/Projects/WRTNode/staticSDK'
  12. make: *** [world] Error 2

一般是因为安装了gcp导致的,所以remove掉gcp即可。

编译的结果产物

位于bin下面:

[plain] view plain copy

  1. $ ls bin/imx6/ -l
  2. total 130528
  3. -rw-r--r--  1 hexiongjun hexiongjun      617 1月  23 22:48 md5sums
  4. -rw-r--r--  1 hexiongjun hexiongjun 23667550 1月  23 22:48 openwrt-imx6-generic-rootfs.tar.gz
  5. -rw-r--r--  1 hexiongjun hexiongjun 10158080 1月  23 22:48 openwrt-imx6-ventana-bootfs_large.ubifs
  6. -rw-r--r--  1 hexiongjun hexiongjun  8888320 1月  23 22:48 openwrt-imx6-ventana-bootfs_normal.ubifs
  7. -rw-r--r--  1 hexiongjun hexiongjun  6855569 1月  23 22:48 openwrt-imx6-ventana-bootfs.tar.gz
  8. -rw-r--r--  1 hexiongjun hexiongjun 35389440 1月  23 22:48 openwrt-imx6-ventana-squashfs-nand_large.ubi
  9. -rw-r--r--  1 hexiongjun hexiongjun 33816576 1月  23 22:48 openwrt-imx6-ventana-squashfs-nand_normal.ubi
  10. -rw-r--r--  1 hexiongjun hexiongjun  7431416 1月  23 22:48 openwrt-imx6-ventana-uImage
  11. -rw-r--r--  1 hexiongjun hexiongjun  7431416 1月  23 22:48 openwrt-imx6-wandboard-uImage
  12. drwxr-xr-x 10 hexiongjun hexiongjun     4096 1月  22 11:31 packages
  13. -rw-r--r--  1 hexiongjun hexiongjun      977 1月  23 22:48 sha256sums

这里面我们使用generic的rootfs即可。

然后我们使用zImage而不是uImage,这个位于:

build_dir/target-arm_cortex-a9+neon_musl-1.1.16_eabi/linux-imx6/zImage

dtb位于:

build_dir/target-arm_cortex-a9+neon_musl-1.1.16_eabi/linux-imx6/linux-3.14/arch/arm/boot/dts/imx6ul-14x14-evk.dtb

启动

将zImage与dtb拷贝到tftp directory,然后将rootfs解压到SD卡,使用SD卡作为rootfs。然后就可以使用下面这些命令来启动了。

[plain] view plain copy

  1. set serverip 192.168.1.100
  2. set bootargs 'console=ttymxc0,115200 ip=192.168.1.120 root=/dev/mmcblk0p2 rootwait'
  3. tftp 85800000 imx6ul_openwrt/imx6ul-14x14-evk.dtb; tftp 83800000 imx6ul_openwrt/zImage;bootz 83800000 - 85800000

启动后发现buzzer不停的叫着,显然这个是因为内核dts配置有问题, 因此我们先使用默认的kernel + dtb先启动,以后再继续更改内核。启动参数为:

[plain] view plain copy

  1. set serverip 192.168.1.100
  2. set bootargs 'console=ttymxc0,115200 ip=192.168.1.120 root=/dev/mmcblk0p2 rootwait'
  3. run bootcmd

启动后的log如下,放在下面为以后可能有需要的做对比和参照

[plain] view plain copy

  1. U-Boot 2015.04-14366-g8248e7c-dirty (Mar 09 2016 - 09:57:22)
  2. CPU:   Freescale i.MX6UL rev1.0 at 396 MHz
  3. CPU:   Temperature 34 C
  4. Reset cause: POR
  5. Board: MX6UL 14x14 EVK
  6. I2C:   ready
  7. DRAM:  512 MiB
  8. NAND:  256 MiB
  9. MMC:   FSL_SDHC: 0
  10. *** Warning - bad CRC, using default environment
  11. In:    serial
  12. Out:   serial
  13. Err:   serial
  14. Net:   eth_init: fec_probe(bd, 0, 0) @ 02188000
  15. fec_phy_write
  16. FEC0eth_write_hwaddr######  ret = 0
  17. Warning: FEC0 using MAC address from net device
  18. Boot from NAND
  19. Hit any key to stop autoboot:  0
  20. =>
  21. =>
  22. => set serverip 192.168.1.100
  23. => set bootargs 'console=ttymxc0,115200 ip=192.168.1.120 root=/dev/mmcblk0p2 rootwait'
  24. => run bootcmd
  25. NAND read: device 0 offset 0x400000, size 0x1000000
  26. 16777216 bytes read: OK
  27. NAND read: device 0 offset 0x1400000, size 0x80000
  28. 524288 bytes read: OK
  29. Kernel image @ 0x83800000 [ 0x000000 - 0x5e4030 ]
  30. ## Flattened Device Tree blob at 85800000
  31. Booting using the fdt blob at 0x85800000
  32. Loading Device Tree to 9ef29000, end 9ef3494c ... OK
  33. Starting kernel ...
  34. Booting Linux on physical CPU 0x0
  35. Linux version 3.14.38-svn32 (Vic@EAC)#8 SMP PREEMPT Sun Nov 6 15:56:19 CST 2016 (gcc version 4.9.1 20140710 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.07 - Linaro GCC 4.9-2014.07) )
  36. CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
  37. CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
  38. Machine model: Freescale i.MX6 UltraLite 14x14 EVK Board
  39. cma: CMA: reserved 320 MiB at 8a000000
  40. Memory policy: Data cache writealloc
  41. PERCPU: Embedded 8 pages/cpu @9fb3f000 s8320 r8192 d16256 u32768
  42. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
  43. Kernel command line: console=ttymxc0,115200 ip=192.168.1.120 root=/dev/mmcblk0p2 rootwait
  44. PID hash table entries: 2048 (order: 1, 8192 bytes)
  45. Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
  46. Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
  47. Memory: 179696K/524288K available (7573K kernel code, 476K rwdata, 2732K rodata, 384K init, 433K bss, 344592K reserved, 0K highmem)
  48. Virtual kernel memory layout:
  49. vector  : 0xffff0000 - 0xffff1000   (   4 kB)
  50. fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
  51. vmalloc : 0xa0800000 - 0xff000000   (1512 MB)
  52. lowmem  : 0x80000000 - 0xa0000000   ( 512 MB)
  53. pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
  54. modules : 0x7f000000 - 0x7fe00000   (  14 MB)
  55. .text : 0x80008000 - 0x80a187ac   (10306 kB)
  56. .init : 0x80a19000 - 0x80a79080   ( 385 kB)
  57. .data : 0x80a7a000 - 0x80af1000   ( 476 kB)
  58. .bss : 0x80af100c - 0x80b5d49c   ( 434 kB)
  59. SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  60. Preemptible hierarchical RCU implementation.
  61. RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
  62. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
  63. NR_IRQS:16 nr_irqs:16 16
  64. Switching to timer-based delay loop
  65. sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655765682ns
  66. clocksource_of_init: no matching clocksources found
  67. Console: colour dummy device 80x30
  68. Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
  69. pid_max: default: 32768 minimum: 301
  70. Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  71. Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  72. CPU: Testing write buffer coherency: ok
  73. /cpus/cpu@0 missing clock-frequency property
  74. CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
  75. Setting up static identity map for 0x80735800 - 0x80735858
  76. Brought up 1 CPUs
  77. SMP: Total of 1 processors activated (6.00 BogoMIPS).
  78. CPU: All CPU(s) started in SVC mode.
  79. devtmpfs: initialized
  80. VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
  81. pinctrl core: initialized pinctrl subsystem
  82. regulator-dummy: no parameters
  83. NET: Registered protocol family 16
  84. DMA: preallocated 256 KiB pool for atomic coherent allocations
  85. cpuidle: using governor ladder
  86. cpuidle: using governor menu
  87. Use WDOG1 as reset source
  88. syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered
  89. vdd3p0: 2625 <--> 3400 mV at 3000 mV
  90. cpu: 725 <--> 1450 mV at 1150 mV
  91. vddsoc: 725 <--> 1450 mV at 1175 mV
  92. syscon 20e4000.iomuxc-gpr: regmap [mem 0x020e4000-0x020e7fff] registered
  93. syscon 21ac000.romcp: regmap [mem 0x021ac000-0x021affff] registered
  94. syscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] registered
  95. hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
  96. hw-breakpoint: maximum watchpoint size is 8 bytes.
  97. imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
  98. 20dc000.gpc supply pu not found, using dummy regulator
  99. bio: create slab <bio-0> at 0
  100. mxs-dma 1804000.dma-apbh: initialized
  101. can-3v3: 3300 mV
  102. VSD_3V3: 3300 mV
  103. gpio_dvfs: 3300 mV
  104. i2c-core: driver [max17135] using legacy suspend method
  105. i2c-core: driver [max17135] using legacy resume method
  106. SCSI subsystem initialized
  107. usbcore: registered new interface driver usbfs
  108. usbcore: registered new interface driver hub
  109. usbcore: registered new device driver usb
  110. i2c-gpio i2c.15: using pins 134 (SDA) and 133 (SCL)
  111. imx-i2c 21a0000.i2c: registration failed
  112. imx-i2c: probe of 21a0000.i2c failed with error -16
  113. i2c i2c-1: IMX I2C adapter registered
  114. Linux video capture interface: v2.00
  115. pps_core: LinuxPPS API ver. 1 registered
  116. pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  117. PTP clock support registered
  118. MIPI CSI2 driver module loaded
  119. Advanced Linux Sound Architecture Driver Initialized.
  120. Bluetooth: Core ver 2.18
  121. NET: Registered protocol family 31
  122. Bluetooth: HCI device and connection manager initialized
  123. Bluetooth: HCI socket layer initialized
  124. Bluetooth: L2CAP socket layer initialized
  125. Bluetooth: SCO socket layer initialized
  126. cfg80211: Calling CRDA to update world regulatory domain
  127. Switched to clocksource mxc_timer1
  128. NET: Registered protocol family 2
  129. TCP established hash table entries: 4096 (order: 2, 16384 bytes)
  130. TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
  131. TCP: Hash tables configured (established 4096 bind 4096)
  132. TCP: reno registered
  133. UDP hash table entries: 256 (order: 1, 8192 bytes)
  134. UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
  135. NET: Registered protocol family 1
  136. RPC: Registered named UNIX socket transport module.
  137. RPC: Registered udp transport module.
  138. RPC: Registered tcp transport module.
  139. RPC: Registered tcp NFSv4.1 backchannel transport module.
  140. imx rpmsg driver is registered.
  141. Bus freq driver module loaded
  142. futex hash table entries: 256 (order: 2, 16384 bytes)
  143. VFS: Disk quotas dquot_6.5.2
  144. Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
  145. NFS: Registering the id_resolver key type
  146. Key type id_resolver registered
  147. Key type id_legacy registered
  148. jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
  149. fuse init (API version 7.22)
  150. msgmni has been set to 990
  151. io scheduler noop registered
  152. io scheduler deadline registered
  153. io scheduler cfq registered (default)
  154. imx-weim 21b8000.weim: Driver registered.
  155. backlight.8 supply power not found, using dummy regulator
  156. MIPI DSI driver module loaded
  157. mxsfb_probe############
  158. 21c8000.lcdif supply lcd not found, using dummy regulator
  159. mxsfb 21c8000.lcdif: failed to find mxc display driver
  160. Console: switching to colour frame buffer device 100x30
  161. mxsfb 21c8000.lcdif: initialized
  162. imx-sdma 20ec000.sdma: no event needs to be remapped
  163. imx-sdma 20ec000.sdma: loaded firmware 3.1
  164. imx-sdma 20ec000.sdma: initialized
  165. Serial: IMX driver
  166. 2018000.serial: ttymxc6 at MMIO 0x2018000 (irq = 71, base_baud = 5000000) is a IMX
  167. 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a IMX
  168. console [ttymxc0] enabled
  169. 2024000.serial: ttymxc7 at MMIO 0x2024000 (irq = 72, base_baud = 5000000) is a IMX
  170. 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 59, base_baud = 5000000) is a IMX
  171. 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 60, base_baud = 5000000) is a IMX
  172. 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 61, base_baud = 5000000) is a IMX
  173. 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 62, base_baud = 5000000) is a IMX
  174. 21fc000.serial: ttymxc5 at MMIO 0x21fc000 (irq = 49, base_baud = 5000000) is a IMX
  175. serial: Freescale lpuart driver
  176. imx sema4 driver is registered.
  177. [drm] Initialized drm 1.1.0 20060810
  178. [drm] Initialized vivante 1.0.0 20120216 on minor 0
  179. brd: module loaded
  180. loop: module loaded
  181. at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
  182. nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
  183. nand: Micron MT29F2G08ABAEAWP
  184. nand: 256MiB, SLC, page size: 2048, OOB size: 64
  185. gpmi-nand 1806000.gpmi-nand: enable the asynchronous EDO mode 5
  186. Bad block table found at page 131008, version 0x01
  187. Bad block table found at page 130944, version 0x01
  188. 4 ofpart partitions found on MTD device gpmi-nand
  189. Creating 4 MTD partitions on "gpmi-nand":
  190. 0x000000000000-0x000000400000 : "UBoot"
  191. 0x000000400000-0x000001400000 : "kernel"
  192. 0x000001400000-0x000001480000 : "dtb"
  193. 0x000001480000-0x000010000000 : "rootfs"
  194. gpmi-nand 1806000.gpmi-nand: driver registered.
  195. spi_gpio spi4.14: gpio-miso property not found, switching to no-rx mode
  196. spi_imx 2008000.ecspi: probed
  197. CAN device driver interface
  198. flexcan 2090000.can: device registered (reg_base=a09c0000, irq=142)
  199. flexcan 2094000.can: device registered (reg_base=a09c8000, irq=143)
  200. 2188000.ethernet supply phy not found, using dummy regulator
  201. pps pps0: new PPS source ptp0
  202. libphy: fec_enet_mii_bus: probed
  203. fec 2188000.ethernet eth0: registered PHC device 0
  204. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  205. ehci-mxc: Freescale On-Chip EHCI Host driver
  206. ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  207. usbcore: registered new interface driver usb-storage
  208. usbcore: registered new interface driver usb_ehset_test
  209. 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
  210. 2184000.usb supply vbus not found, using dummy regulator
  211. 2184200.usb supply vbus not found, using dummy regulator
  212. ci_hdrc ci_hdrc.1: EHCI Host Controller
  213. ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
  214. ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
  215. hub 1-0:1.0: USB hub found
  216. hub 1-0:1.0: 1 port detected
  217. mousedev: PS/2 mouse device common for all mice
  218. input: 20cc000.snvs-pwrkey as /devices/soc0/soc.0/2000000.aips-bus/20cc000.snvs-pwrkey/input/input0
  219. snvs_pwrkey 20cc000.snvs-pwrkey: i.MX snvs powerkey probed
  220. spi0.0 supply vcc not found, using dummy regulator
  221. ads7846 spi0.0: touchscreen, irq 247
  222. input: ADS7846 Touchscreen as /devices/soc0/soc.0/2000000.aips-bus/2000000.spba-bus/2008000.ecspi/spi_master/spi0/spi0.0/input/input1
  223. pwm_test_probe#################
  224. i2c-core: driver [isl29023] using legacy suspend method
  225. i2c-core: driver [isl29023] using legacy resume method
  226. rtc-rx8010 0-0032: Update timer was detected
  227. rtc-rx8010 0-0032: rtc core: registered rx8010 as rtc0
  228. rtc-rx8010 0-0032: rx8010-irq_1 missing or invalid
  229. rtc-rx8010 0-0032: rx8010-irq_2 missing or invalid
  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. pxp-v4l2 pxp_v4l2.10: initialized
  240. i2c-core: driver [mag3110] using legacy suspend method
  241. i2c-core: driver [mag3110] using legacy resume method
  242. imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
  243. Bluetooth: HCI UART driver ver 2.2
  244. Bluetooth: HCI H4 protocol initialized
  245. Bluetooth: HCI BCSP protocol initialized
  246. Bluetooth: HCIATH3K protocol initialized
  247. usbcore: registered new interface driver bcm203x
  248. usbcore: registered new interface driver btusb
  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. mmc0: no vqmmc regulator found
  254. mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
  255. caam 2140000.caam: Instantiated RNG4 SH0
  256. usb 1-1: new high-speed USB device number 2 using ci_hdrc
  257. caam 2140000.caam: Instantiated RNG4 SH1
  258. caam 2140000.caam: device ID = 0x0a160300 (Era 8)
  259. caam 2140000.caam: job rings = 3, qi = 0
  260. mmc0: host does not support reading read-only switch. assuming write-enable.
  261. mmc0: new high speed SDHC card at address aaaa
  262. mmcblk0: mmc0:aaaa SU08G 7.40 GiB
  263. mmcblk0: p1 p2
  264. caam algorithms registered in /proc/crypto
  265. hub 1-1:1.0: USB hub found
  266. hub 1-1:1.0: 4 ports detected
  267. caam_jr 2141000.jr0: registering rng-caam
  268. platform caam_sm: blkkey_ex: 8 keystore units available
  269. platform caam_sm: 64-bit clear key:
  270. platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
  271. platform caam_sm: 64-bit black key:
  272. platform caam_sm: [0000] 8f 47 2b 1a 30 aa b1 16
  273. platform caam_sm: [0008] 34 60 a7 58 22 3d 43 73
  274. platform caam_sm: 128-bit clear key:
  275. platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
  276. platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
  277. platform caam_sm: 128-bit black key:
  278. platform caam_sm: [0000] c8 ff b6 f8 86 c0 56 45
  279. platform caam_sm: [0008] 34 29 77 85 a6 9a 95 c1
  280. platform caam_sm: 192-bit clear key:
  281. platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
  282. platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
  283. platform caam_sm: [0016] 10 11 12 13 14 15 16 17
  284. platform caam_sm: 192-bit black key:
  285. platform caam_sm: [0000] 6e a6 30 da 4c ce 6b 1b
  286. platform caam_sm: [0008] ca 24 b6 a6 7e bb ac 2f
  287. platform caam_sm: [0016] 13 9d d7 9a 30 05 74 50
  288. platform caam_sm: [0024] ce 3e 6e 97 b5 0c e0 d8
  289. platform caam_sm: 256-bit clear key:
  290. platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
  291. platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
  292. platform caam_sm: [0016] 10 11 12 13 14 15 16 17
  293. platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1f
  294. platform caam_sm: 256-bit black key:
  295. platform caam_sm: [0000] 22 8e 30 93 45 fa 7d 18
  296. platform caam_sm: [0008] 1e 81 c4 a2 4a 22 61 61
  297. platform caam_sm: [0016] 1f 8e a0 f2 ec 3b 04 81
  298. platform caam_sm: [0024] 1a 5a ba e0 c4 9e 21 e2
  299. platform caam_sm: 64-bit unwritten blob:
  300. platform caam_sm: [0000] 00 00 00 00 00 00 00 00
  301. platform caam_sm: [0008] 00 00 00 00 00 00 00 00
  302. platform caam_sm: [0016] 00 00 00 00 00 00 00 00
  303. platform caam_sm: [0024] 00 00 00 00 00 00 00 00
  304. platform caam_sm: [0032] 00 00 00 00 00 00 00 00
  305. platform caam_sm: [0040] 00 00 00 00 00 00 00 00
  306. platform caam_sm: [0048] 00 00 00 00 00 00 00 00
  307. platform caam_sm: [0056] 00 00 00 00 00 00 00 00
  308. platform caam_sm: [0064] 00 00 00 00 00 00 00 00
  309. platform caam_sm: [0072] 00 00 00 00 00 00 00 00
  310. platform caam_sm: [0080] 00 00 00 00 00 00 00 00
  311. platform caam_sm: [0088] 00 00 00 00 00 00 00 00
  312. platform caam_sm: 128-bit unwritten blob:
  313. platform caam_sm: [0000] 00 00 00 00 00 00 00 00
  314. platform caam_sm: [0008] 00 00 00 00 00 00 00 00
  315. platform caam_sm: [0016] 00 00 00 00 00 00 00 00
  316. platform caam_sm: [0024] 00 00 00 00 00 00 00 00
  317. platform caam_sm: [0032] 00 00 00 00 00 00 00 00
  318. platform caam_sm: [0040] 00 00 00 00 00 00 00 00
  319. platform caam_sm: [0048] 00 00 00 00 00 00 00 00
  320. platform caam_sm: [0056] 00 00 00 00 00 00 00 00
  321. platform caam_sm: [0064] 00 00 00 00 00 00 00 00
  322. platform caam_sm: [0072] 00 00 00 00 00 00 00 00
  323. platform caam_sm: [0080] 00 00 00 00 00 00 00 00
  324. platform caam_sm: [0088] 00 00 00 00 00 00 00 00
  325. platform caam_sm: 196-bit unwritten blob:
  326. platform caam_sm: [0000] 00 00 00 00 00 00 00 00
  327. platform caam_sm: [0008] 00 00 00 00 00 00 00 00
  328. platform caam_sm: [0016] 00 00 00 00 00 00 00 00
  329. platform caam_sm: [0024] 00 00 00 00 00 00 00 00
  330. platform caam_sm: [0032] 00 00 00 00 00 00 00 00
  331. platform caam_sm: [0040] 00 00 00 00 00 00 00 00
  332. platform caam_sm: [0048] 00 00 00 00 00 00 00 00
  333. platform caam_sm: [0056] 00 00 00 00 00 00 00 00
  334. platform caam_sm: [0064] 00 00 00 00 00 00 00 00
  335. platform caam_sm: [0072] 00 00 00 00 00 00 00 00
  336. platform caam_sm: [0080] 00 00 00 00 00 00 00 00
  337. platform caam_sm: [0088] 00 00 00 00 00 00 00 00
  338. platform caam_sm: 256-bit unwritten blob:
  339. platform caam_sm: [0000] 00 00 00 00 00 00 00 00
  340. platform caam_sm: [0008] 00 00 00 00 00 00 00 00
  341. platform caam_sm: [0016] 00 00 00 00 00 00 00 00
  342. platform caam_sm: [0024] 00 00 00 00 00 00 00 00
  343. platform caam_sm: [0032] 00 00 00 00 00 00 00 00
  344. platform caam_sm: [0040] 00 00 00 00 00 00 00 00
  345. platform caam_sm: [0048] 00 00 00 00 00 00 00 00
  346. platform caam_sm: [0056] 00 00 00 00 00 00 00 00
  347. platform caam_sm: [0064] 00 00 00 00 00 00 00 00
  348. platform caam_sm: [0072] 00 00 00 00 00 00 00 00
  349. platform caam_sm: [0080] 00 00 00 00 00 00 00 00
  350. platform caam_sm: [0088] 00 00 00 00 00 00 00 00
  351. platform caam_sm: 64-bit black key in blob:
  352. platform caam_sm: [0000] 47 4c 9f 05 19 00 bf 89
  353. platform caam_sm: [0008] 22 7e e9 f6 6e 58 6a 8c
  354. platform caam_sm: [0016] 7e 41 54 a1 d0 85 fd 37
  355. platform caam_sm: [0024] 32 6d 90 cb 45 3a f8 40
  356. platform caam_sm: [0032] d8 2a 88 6d 71 5d 0f 88
  357. platform caam_sm: [0040] fb 57 7f 60 72 bf c7 95
  358. platform caam_sm: [0048] a4 af 5e 7a a0 16 e2 3f
  359. platform caam_sm: [0056] 00 00 00 00 00 00 00 00
  360. platform caam_sm: [0064] 00 00 00 00 00 00 00 00
  361. platform caam_sm: [0072] 00 00 00 00 00 00 00 00
  362. platform caam_sm: [0080] 00 00 00 00 00 00 00 00
  363. platform caam_sm: [0088] 00 00 00 00 00 00 00 00
  364. platform caam_sm: 128-bit black key in blob:
  365. platform caam_sm: [0000] 79 cf f2 02 b6 fc cc d5
  366. platform caam_sm: [0008] f0 f0 36 7b 7a 75 5a cf
  367. platform caam_sm: [0016] 8e f5 24 fa 01 22 2c 91
  368. platform caam_sm: [0024] e6 bf 92 3c 9c c9 22 91
  369. platform caam_sm: [0032] 80 78 39 0e c1 39 f6 32
  370. platform caam_sm: [0040] 94 9e 2a 35 0f 2c 43 01
  371. platform caam_sm: [0048] bc 51 eb 1b db 96 e7 3b
  372. platform caam_sm: [0056] 6f e4 b4 e3 34 7a c2 85
  373. platform caam_sm: [0064] 00 00 00 00 00 00 00 00
  374. platform caam_sm: [0072] 00 00 00 00 00 00 00 00
  375. platform caam_sm: [0080] 00 00 00 00 00 00 00 00
  376. platform caam_sm: [0088] 00 00 00 00 00 00 00 00
  377. platform caam_sm: 192-bit black key in blob:
  378. platform caam_sm: [0000] 61 62 cc c3 ac e7 e7 07
  379. platform caam_sm: [0008] 3c 44 0c c3 5a 46 5d 78
  380. platform caam_sm: [0016] 36 15 6e 7a 87 fe 37 a9
  381. platform caam_sm: [0024] 52 47 29 81 0b 44 8f 61
  382. platform caam_sm: [0032] db 2b 9a 10 89 e1 a0 a3
  383. platform caam_sm: [0040] 5a 34 71 d8 4f a9 3a cf
  384. platform caam_sm: [0048] d3 37 be b9 b8 4b 0c 4d
  385. platform caam_sm: [0056] 2f 2f 00 e1 0f 7b 72 06
  386. platform caam_sm: [0064] 55 75 26 b6 d4 e8 0c 2e
  387. platform caam_sm: [0072] 00 00 00 00 00 00 00 00
  388. platform caam_sm: [0080] 00 00 00 00 00 00 00 00
  389. platform caam_sm: [0088] 00 00 00 00 00 00 00 00
  390. platform caam_sm: 256-bit black key in blob:
  391. platform caam_sm: [0000] 50 38 e5 63 34 57 02 f2
  392. platform caam_sm: [0008] 03 ad dc 1e e1 f6 c4 14
  393. platform caam_sm: [0016] 40 47 ab 99 12 ff 3b 5f
  394. platform caam_sm: [0024] c0 16 7a 2a 40 dc 9e 70
  395. platform caam_sm: [0032] 13 f1 8c 7e 0f b9 b3 27
  396. platform caam_sm: [0040] e9 89 cd 24 40 f5 4c 52
  397. platform caam_sm: [0048] 7c b2 c3 98 e9 7d 91 a5
  398. platform caam_sm: [0056] 13 1a 56 21 32 c6 51 c5
  399. platform caam_sm: [0064] 5e c6 00 47 89 da 1a 40
  400. platform caam_sm: [0072] 9f 71 75 3a 78 e1 e4 f8
  401. platform caam_sm: [0080] 00 00 00 00 00 00 00 00
  402. platform caam_sm: [0088] 00 00 00 00 00 00 00 00
  403. platform caam_sm: restored 64-bit black key:
  404. platform caam_sm: [0000] a0 e7 0c 01 19 44 ff 89
  405. platform caam_sm: [0008] 91 b2 43 78 09 38 eb ce
  406. platform caam_sm: restored 128-bit black key:
  407. platform caam_sm: [0000] c8 ff b6 f8 86 c0 56 45
  408. platform caam_sm: [0008] 34 29 77 85 a6 9a 95 c1
  409. platform caam_sm: restored 192-bit black key:
  410. platform caam_sm: [0000] 6e a6 30 da 4c ce 6b 1b
  411. platform caam_sm: [0008] ca 24 b6 a6 7e bb ac 2f
  412. platform caam_sm: [0016] 5a 2c 97 fe 12 7a 0c 5f
  413. platform caam_sm: [0024] 05 68 b4 53 6e e6 ee 40
  414. platform caam_sm: restored 256-bit black key:
  415. platform caam_sm: [0000] 22 8e 30 93 45 fa 7d 18
  416. platform caam_sm: [0008] 1e 81 c4 a2 4a 22 61 61
  417. platform caam_sm: [0016] 1f 8e a0 f2 ec 3b 04 81
  418. platform caam_sm: [0024] 1a 5a ba e0 c4 9e 21 e2
  419. snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state
  420. usbcore: registered new interface driver usbhid
  421. usbhid: USB HID core driver
  422. fsl-asrc 2034000.asrc: driver registered
  423. snd-soc-dummy snd-soc-dummy: ASoC: Failed to create platform debugfs directory
  424. imx-wm8960 sound.13: wm8960-hifi <-> 202c000.sai mapping ok
  425. imx-wm8960 sound.13: snd-soc-dummy-dai <-> 2034000.asrc mapping ok
  426. imx-wm8960 sound.13: wm8960-hifi <-> 202c000.sai mapping ok
  427. NET: Registered protocol family 26
  428. TCP: cubic registered
  429. NET: Registered protocol family 10
  430. sit: IPv6 over IPv4 tunneling driver
  431. NET: Registered protocol family 17
  432. can: controller area network core (rev 20120528 abi 9)
  433. NET: Registered protocol family 29
  434. can: raw protocol (rev 20120528)
  435. can: broadcast manager protocol (rev 20120528 t)
  436. can: netlink gateway (rev 20130117) max_hops=1
  437. Bluetooth: RFCOMM TTY layer initialized
  438. Bluetooth: RFCOMM socket layer initialized
  439. Bluetooth: RFCOMM ver 1.11
  440. Bluetooth: BNEP (Ethernet Emulation) ver 1.3
  441. Bluetooth: BNEP filters: protocol multicast
  442. Bluetooth: BNEP socket layer initialized
  443. Bluetooth: HIDP (Human Interface Emulation) ver 1.2
  444. Bluetooth: HIDP socket layer initialized
  445. 8021q: 802.1Q VLAN Support v1.8
  446. Key type dns_resolver registered
  447. cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)
  448. gpio_dvfs: disabling
  449. can-3v3: disabling
  450. regulator-dummy: disabling
  451. imx mcc test is registered.
  452. rtc-rx8010 0-0032: setting system clock to 1970-01-01 01:01:29 UTC (3689)
  453. fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1)
  454. IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  455. libphy: 2188000.ethernet:00 - Link is Up - 100/Full
  456. IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
  457. IP-Config: Guessing netmask 255.255.255.0
  458. IP-Config: Complete:
  459. device=eth0, hwaddr=30:30:3a:30:34:3a, ipaddr=192.168.1.120, mask=255.255.255.0, gw=255.255.255.255
  460. host=192.168.1.120, domain=, nis-domain=(none)
  461. bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
  462. ALSA device list:
  463. #0: wm8960-audio
  464. EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
  465. EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (244)
  466. EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
  467. EXT4-fs (mmcblk0p2): write access will be enabled during recovery
  468. EXT4-fs (mmcblk0p2): recovery complete
  469. EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
  470. VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
  471. devtmpfs: mounted
  472. Freeing unused kernel memory: 384K (80a19000 - 80a79000)
  473. init: Console is alive
  474. init: - watchdog -
  475. init: - preinit -
  476. Press the [f] key and hit [enter] to enter failsafe mode
  477. Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
  478. mount_root: mounting /dev/root
  479. EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
  480. procd: - early -
  481. procd: - watchdog -
  482. random: jshn urandom read with 63 bits of entropy available
  483. Failed to connect to ubus
  484. procd: - ubus -
  485. procd: - init -
  486. Please press Enter to activate this console.
  487. random: nonblocking pool is initialized
  488. BusyBox v1.24.2 () built-in shell (ash)
  489. _______                     ________        __
  490. |       |.-----.-----.-----.|  |  |  |.----.|  |_
  491. |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
  492. |_______||   __|_____|__|__||________||__|  |____|
  493. |__| W I R E L E S S   F R E E D O M
  494. -----------------------------------------------------
  495. DESIGNATED DRIVER (Bleeding Edge, 50082)
  496. -----------------------------------------------------
  497. * 2 oz. Orange Juice         Combine all juices in a
  498. * 2 oz. Pineapple Juice      tall glass filled with
  499. * 2 oz. Grapefruit Juice     ice, stir well.
  500. * 2 oz. Cranberry Juice
  501. -----------------------------------------------------
  502. root@192:/# EXT4-fs (mmcblk0p1): recovery complete
  503. EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)

iMX6UL之 OpenWRT移植与编译相关推荐

  1. 【IMX6UL开发板试用体验】OpenWRT在iMX6UL上面的移植与编译

    选择 OpenWRT在最近的时期分裂出了LEDE出来,因此这就涉及到了这两个的选择. 前段时间,编译过LEDE用于树莓派3,于是想着直接使用以前的LEDE,这样子省去了下载,毕竟在国内下载很多sour ...

  2. openwrt移植LTE模块

    Openwrt移植LTE模块 1.  增加具体设备驱动 文档位置:/drivers/usb/serial/option.c 注意:是target开头目录下的文件 在文件中添加如下内容: static ...

  3. OpenWRT下载与编译

    一.概述 OpenWRT是一个高度模块化.自动化的嵌入式Linux系统,拥有强大的网络组建和扩展性,常常被用于工控设备.电话.小型机器人.智能家居.路由器以及VOIP设备中,其中在智能路由器上有广泛使 ...

  4. 嵌入式linux alsa,嵌入式Linux下ALSA音频架构ALSA-lib移植与编译心得

    **************************************************************************************************** ...

  5. 安装包没意思?带你手动下载OpenWrt源码编译安装!

    一.OpenWrt的代码管理工具 OpenWrt社区同时使用Subversion和Git两种工具来管理代码. 备注:OpenWrt的外围代码已经逐渐转到github提供的Git托管空间上,直到2016 ...

  6. 安卓高通机型的基带移植 修改 编译的相关 增加信号 支持5G等【二】

    安卓高通机型的基带移植 修改 编译的相关 增加信号 支持5G等[一] 前面分享了这篇帖子,很多友友希望更新下新机型的基带替换方法.今天对其中做一些补充说明.由于安卓机型跨版本幅度较大.有的机型从出厂安 ...

  7. openwrt移植到pb44---第一章(使用chaos_calmer)

    很久以前就打算移植openwrt到pb44上,现在手上有pb44的板子而且有空,所以果断开始移植.首先下载代码,make menuconfig选择pb44,编译下载. 下载命令这里记录下 load - ...

  8. OpenWRT移植EC200A驱动,并实现wifi和lan的上网,及wan和4g的负载均衡(五)

    网卡驱动方式 转载:[拨号PPP NDIS RNDIS CDC ECM NCM QMI_WWAN GOBINET RMNET MBIM概念介绍](https://blog.csdn.net/qlexc ...

  9. 关于移植jSON编译时报错sbrkr.c:(.text+0xc): undefined reference to `_sbrk'处理

    最近有个项目需要用到jSON函数,在移植了jSON后编译报错如下:sbrkr.c:(.text+0xc): undefined reference to `_sbrk'. 通过百度查询知道原来是GCC ...

最新文章

  1. 5 分钟一次理解 Spring IOC !
  2. Google是否会成为下一个微软?
  3. vc开发soap客户端(方式一)
  4. Spring的REST服务发现性,第5部分
  5. 不要以为学java,.net或VB的就很牛
  6. 《Sklearn 与 TensorFlow 机器学习实用指南》 第6章 决策树
  7. 用jQuery的ajax的功能实现输入自动提示的功能
  8. 两计算机之间怎样快速传输数据,两个局域网之间怎么互相传输文件有什么快速方法...
  9. linux安装so共享动态库文件下载,linux下的共享库(动态库)和静态库
  10. 剑侠 java_独孤求败-剑侠情缘
  11. 小米 10s fastboot下 刷入 rec
  12. Mac查看电池健康情况、电池损耗的方法
  13. H3C 无线WLAN侧AC+FIA配置
  14. Openwrt如何添加SD_Card?看这里
  15. hbase数据库_hbase 什么类型的数据库
  16. 关于redis多个哨兵sentinel在阿里云的坑 sdown sentinel或者failover-abort-not-elected
  17. springboot项目:老年教育学习系统fte91(java+VUE+Mybatis+Maven+Mysql)
  18. 2022 极术通讯-搭载“星辰”处理器的聆思科技CSK6视觉AI开发套件开发概览
  19. 蓝桥杯算法(python)
  20. 硬盘被格式化后数据如何恢复(在mac电脑上抹掉了)

热门文章

  1. 政务网站适老化,看顶象无感验证
  2. Apollo-3.0本地编译
  3. 【网络编程】基于flask框架的古诗词搜索系统
  4. TIN创建到DEM构建
  5. 难以置信!一篇文章就梳理清楚了 OpenCV 的知识体系
  6. 集成学习(上)机器学习基础
  7. 2020A参数折磨人系列
  8. smart gesture安装失败_PyroSim2019英文版软件下载和安装教程|兼容WIN10
  9. MariaDB双机热备份实现
  10. 2023网络安全HW蓝队面试题汇总