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

时间:2022-12-05 17:28:16

选择

OpenWRT在最近的时期分裂出了LEDE出来,因此这就涉及到了这两个的选择。

前段时间,编译过LEDE用于树莓派3,于是想着直接使用以前的LEDE,这样子省去了下载,毕竟在国内下载很多source code可能需要很长的时间,如果没有proxy的话。于是想着省些事情就用起来了以前的LEDE来编译,但是编译过程中出现了很多错误, 因此最终我决定切回到OpenWRT,并且使用master上面新的代码来移植编译。


代码仓库: https://github.com/tonyho/OpenWRT_iMX6UL


OpenWRT配置

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

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


Compile Tuning

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

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

选择好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,我们不需要这些东西,所以不需要。

内核位置的指定

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


然后直接编译make即可。


编译的错误

1. DEPEND的问题

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

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

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

2. 内核编译错误

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

init/do_mounts_rd.o: In function `nop_flush_icache_all':
do_mounts_rd.c:(.text+0x0): multiple definition of `nop_flush_icache_all'
init/do_mounts.o:/ExtDisk/Projects/iMX6UL_OpenWRT/BSP_EVB/linux_3.14/init/do_mounts.c:610: first defined here
init/do_mounts_rd.o: In function `nop_flush_kern_cache_all':
do_mounts_rd.c:(.text+0x4): multiple definition of `nop_flush_kern_cache_all'
init/do_mounts.o:/ExtDisk/Projects/iMX6UL_OpenWRT/BSP_EVB/linux_3.14/init/do_mounts.c:610: first defined here
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

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,但是因为我们暂时不需要,所以直接将其干掉即可:


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

4. 并发编译出错

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

5. 环境编译问题

编译的时候出现:

Usage: 
cp [options] FILE DEST
cp [options] FILE1 [FILE2 ...] DEST-DIR
cp --help for options list

cp: error: no such option: -p
make[3]: *** [/ExtDisk/Projects/WRTNode/staticSDK/build_dir/host/patch-2.7.1/.configured] Error 2
make[3]: Leaving directory `/ExtDisk/Projects/WRTNode/staticSDK/tools/patch'
make[2]: *** [tools/patch/compile] Error 2
make[2]: Leaving directory `/ExtDisk/Projects/WRTNode/staticSDK'
make[1]: *** [/ExtDisk/Projects/WRTNode/staticSDK/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.tools_install_yynyynynynyyyyyyyyyynyyyyyyyynyyyynnyyynnyynnnyyyy] Error 2
make[1]: Leaving directory `/ExtDisk/Projects/WRTNode/staticSDK'
make: *** [world] Error 2

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

编译的结果产物

位于bin下面:

$ ls bin/imx6/ -l
total 130528
-rw-r--r-- 1 hexiongjun hexiongjun 617 1月 23 22:48 md5sums
-rw-r--r-- 1 hexiongjun hexiongjun 23667550 1月 23 22:48 openwrt-imx6-generic-rootfs.tar.gz
-rw-r--r-- 1 hexiongjun hexiongjun 10158080 1月 23 22:48 openwrt-imx6-ventana-bootfs_large.ubifs
-rw-r--r-- 1 hexiongjun hexiongjun 8888320 1月 23 22:48 openwrt-imx6-ventana-bootfs_normal.ubifs
-rw-r--r-- 1 hexiongjun hexiongjun 6855569 1月 23 22:48 openwrt-imx6-ventana-bootfs.tar.gz
-rw-r--r-- 1 hexiongjun hexiongjun 35389440 1月 23 22:48 openwrt-imx6-ventana-squashfs-nand_large.ubi
-rw-r--r-- 1 hexiongjun hexiongjun 33816576 1月 23 22:48 openwrt-imx6-ventana-squashfs-nand_normal.ubi
-rw-r--r-- 1 hexiongjun hexiongjun 7431416 1月 23 22:48 openwrt-imx6-ventana-uImage
-rw-r--r-- 1 hexiongjun hexiongjun 7431416 1月 23 22:48 openwrt-imx6-wandboard-uImage
drwxr-xr-x 10 hexiongjun hexiongjun 4096 1月 22 11:31 packages
-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。然后就可以使用下面这些命令来启动了。

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

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

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

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

U-Boot 2015.04-14366-g8248e7c-dirty (Mar 09 2016 - 09:57:22)

CPU: Freescale i.MX6UL rev1.0 at 396 MHz
CPU: Temperature 34 C
Reset cause: POR
Board: MX6UL 14x14 EVK
I2C: ready
DRAM: 512 MiB
NAND: 256 MiB
MMC: FSL_SDHC: 0
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: eth_init: fec_probe(bd, 0, 0) @ 02188000
fec_phy_write
FEC0eth_write_hwaddr###### ret = 0

Warning: FEC0 using MAC address from net device

Boot from NAND
Hit any key to stop autoboot: 0
=>
=>
=> set serverip 192.168.1.100
=> set bootargs 'console=ttymxc0,115200 ip=192.168.1.120 root=/dev/mmcblk0p2 rootwait'
=> run bootcmd

NAND read: device 0 offset 0x400000, size 0x1000000
16777216 bytes read: OK

NAND read: device 0 offset 0x1400000, size 0x80000
524288 bytes read: OK
Kernel image @ 0x83800000 [ 0x000000 - 0x5e4030 ]
## Flattened Device Tree blob at 85800000
Booting using the fdt blob at 0x85800000
Loading Device Tree to 9ef29000, end 9ef3494c ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
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) )
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Freescale i.MX6 UltraLite 14x14 EVK Board
cma: CMA: reserved 320 MiB at 8a000000
Memory policy: Data cache writealloc
PERCPU: Embedded 8 pages/cpu @9fb3f000 s8320 r8192 d16256 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
Kernel command line: console=ttymxc0,115200 ip=192.168.1.120 root=/dev/mmcblk0p2 rootwait
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 179696K/524288K available (7573K kernel code, 476K rwdata, 2732K rodata, 384K init, 433K bss, 344592K reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xa0800000 - 0xff000000 (1512 MB)
lowmem : 0x80000000 - 0xa0000000 ( 512 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.text : 0x80008000 - 0x80a187ac (10306 kB)
.init : 0x80a19000 - 0x80a79080 ( 385 kB)
.data : 0x80a7a000 - 0x80af1000 ( 476 kB)
.bss : 0x80af100c - 0x80b5d49c ( 434 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
NR_IRQS:16 nr_irqs:16 16
Switching to timer-based delay loop
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655765682ns
clocksource_of_init: no matching clocksources found
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: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
/cpus/cpu@0 missing clock-frequency property
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x80735800 - 0x80735858
Brought up 1 CPUs
SMP: Total of 1 processors activated (6.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
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
Use WDOG1 as reset source
syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered
vdd3p0: 2625 <--> 3400 mV at 3000 mV
cpu: 725 <--> 1450 mV at 1150 mV
vddsoc: 725 <--> 1450 mV at 1175 mV
syscon 20e4000.iomuxc-gpr: regmap [mem 0x020e4000-0x020e7fff] registered
syscon 21ac000.romcp: regmap [mem 0x021ac000-0x021affff] registered
syscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] registered
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
20dc000.gpc supply pu not found, using dummy regulator
bio: create slab <bio-0> at 0
mxs-dma 1804000.dma-apbh: initialized
can-3v3: 3300 mV
VSD_3V3: 3300 mV
gpio_dvfs: 3300 mV
i2c-core: driver [max17135] using legacy suspend method
i2c-core: driver [max17135] using legacy resume method
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-gpio i2c.15: using pins 134 (SDA) and 133 (SCL)
imx-i2c 21a0000.i2c: registration failed
imx-i2c: probe of 21a0000.i2c failed with error -16
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
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: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 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.
imx rpmsg driver is registered.
Bus freq driver module loaded
futex hash table entries: 256 (order: 2, 16384 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 990
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-weim 21b8000.weim: Driver registered.
backlight.8 supply power not found, using dummy regulator
MIPI DSI driver module loaded
mxsfb_probe############
21c8000.lcdif supply lcd not found, using dummy regulator
mxsfb 21c8000.lcdif: failed to find mxc display driver
Console: switching to colour frame buffer device 100x30
mxsfb 21c8000.lcdif: initialized
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
2018000.serial: ttymxc6 at MMIO 0x2018000 (irq = 71, base_baud = 5000000) is a IMX
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a IMX
console [ttymxc0] enabled
2024000.serial: ttymxc7 at MMIO 0x2024000 (irq = 72, base_baud = 5000000) is a IMX
21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 59, base_baud = 5000000) is a IMX
21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 60, base_baud = 5000000) is a IMX
21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 61, base_baud = 5000000) is a IMX
21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 62, base_baud = 5000000) is a IMX
21fc000.serial: ttymxc5 at MMIO 0x21fc000 (irq = 49, base_baud = 5000000) is a IMX
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
at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
nand: Micron MT29F2G08ABAEAWP
nand: 256MiB, SLC, page size: 2048, OOB size: 64
gpmi-nand 1806000.gpmi-nand: enable the asynchronous EDO mode 5
Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01
4 ofpart partitions found on MTD device gpmi-nand
Creating 4 MTD partitions on "gpmi-nand":
0x000000000000-0x000000400000 : "UBoot"
0x000000400000-0x000001400000 : "kernel"
0x000001400000-0x000001480000 : "dtb"
0x000001480000-0x000010000000 : "rootfs"
gpmi-nand 1806000.gpmi-nand: driver registered.
spi_gpio spi4.14: gpio-miso property not found, switching to no-rx mode
spi_imx 2008000.ecspi: probed
CAN device driver interface
flexcan 2090000.can: device registered (reg_base=a09c0000, irq=142)
flexcan 2094000.can: device registered (reg_base=a09c8000, irq=143)
2188000.ethernet supply phy not found, using dummy regulator
pps pps0: new PPS source ptp0
libphy: fec_enet_mii_bus: probed
fec 2188000.ethernet eth0: registered PHC device 0
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-mxc: Freescale On-Chip EHCI Host driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usb_ehset_test
2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
2184000.usb supply vbus not found, using dummy regulator
2184200.usb supply vbus not found, using dummy regulator
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
input: 20cc000.snvs-pwrkey as /devices/soc0/soc.0/2000000.aips-bus/20cc000.snvs-pwrkey/input/input0
snvs_pwrkey 20cc000.snvs-pwrkey: i.MX snvs powerkey probed
spi0.0 supply vcc not found, using dummy regulator
ads7846 spi0.0: touchscreen, irq 247
input: ADS7846 Touchscreen as /devices/soc0/soc.0/2000000.aips-bus/2000000.spba-bus/2008000.ecspi/spi_master/spi0/spi0.0/input/input1
pwm_test_probe#################
i2c-core: driver [isl29023] using legacy suspend method
i2c-core: driver [isl29023] using legacy resume method
rtc-rx8010 0-0032: Update timer was detected
rtc-rx8010 0-0032: rtc core: registered rx8010 as rtc0
rtc-rx8010 0-0032: rx8010-irq_1 missing or invalid
rtc-rx8010 0-0032: rx8010-irq_2 missing or invalid
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
pxp-v4l2 pxp_v4l2.10: 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
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
mmc0: no vqmmc regulator found
mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
caam 2140000.caam: Instantiated RNG4 SH0
usb 1-1: new high-speed USB device number 2 using ci_hdrc
caam 2140000.caam: Instantiated RNG4 SH1
caam 2140000.caam: device ID = 0x0a160300 (Era 8)
caam 2140000.caam: job rings = 3, qi = 0
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new high speed SDHC card at address aaaa
mmcblk0: mmc0:aaaa SU08G 7.40 GiB
mmcblk0: p1 p2
caam algorithms registered in /proc/crypto
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
caam_jr 2141000.jr0: registering rng-caam
platform caam_sm: blkkey_ex: 8 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] 8f 47 2b 1a 30 aa b1 16
platform caam_sm: [0008] 34 60 a7 58 22 3d 43 73
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] c8 ff b6 f8 86 c0 56 45
platform caam_sm: [0008] 34 29 77 85 a6 9a 95 c1
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] 6e a6 30 da 4c ce 6b 1b
platform caam_sm: [0008] ca 24 b6 a6 7e bb ac 2f
platform caam_sm: [0016] 13 9d d7 9a 30 05 74 50
platform caam_sm: [0024] ce 3e 6e 97 b5 0c e0 d8
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] 22 8e 30 93 45 fa 7d 18
platform caam_sm: [0008] 1e 81 c4 a2 4a 22 61 61
platform caam_sm: [0016] 1f 8e a0 f2 ec 3b 04 81
platform caam_sm: [0024] 1a 5a ba e0 c4 9e 21 e2
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] 47 4c 9f 05 19 00 bf 89
platform caam_sm: [0008] 22 7e e9 f6 6e 58 6a 8c
platform caam_sm: [0016] 7e 41 54 a1 d0 85 fd 37
platform caam_sm: [0024] 32 6d 90 cb 45 3a f8 40
platform caam_sm: [0032] d8 2a 88 6d 71 5d 0f 88
platform caam_sm: [0040] fb 57 7f 60 72 bf c7 95
platform caam_sm: [0048] a4 af 5e 7a a0 16 e2 3f
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] 79 cf f2 02 b6 fc cc d5
platform caam_sm: [0008] f0 f0 36 7b 7a 75 5a cf
platform caam_sm: [0016] 8e f5 24 fa 01 22 2c 91
platform caam_sm: [0024] e6 bf 92 3c 9c c9 22 91
platform caam_sm: [0032] 80 78 39 0e c1 39 f6 32
platform caam_sm: [0040] 94 9e 2a 35 0f 2c 43 01
platform caam_sm: [0048] bc 51 eb 1b db 96 e7 3b
platform caam_sm: [0056] 6f e4 b4 e3 34 7a c2 85
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] 61 62 cc c3 ac e7 e7 07
platform caam_sm: [0008] 3c 44 0c c3 5a 46 5d 78
platform caam_sm: [0016] 36 15 6e 7a 87 fe 37 a9
platform caam_sm: [0024] 52 47 29 81 0b 44 8f 61
platform caam_sm: [0032] db 2b 9a 10 89 e1 a0 a3
platform caam_sm: [0040] 5a 34 71 d8 4f a9 3a cf
platform caam_sm: [0048] d3 37 be b9 b8 4b 0c 4d
platform caam_sm: [0056] 2f 2f 00 e1 0f 7b 72 06
platform caam_sm: [0064] 55 75 26 b6 d4 e8 0c 2e
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] 50 38 e5 63 34 57 02 f2
platform caam_sm: [0008] 03 ad dc 1e e1 f6 c4 14
platform caam_sm: [0016] 40 47 ab 99 12 ff 3b 5f
platform caam_sm: [0024] c0 16 7a 2a 40 dc 9e 70
platform caam_sm: [0032] 13 f1 8c 7e 0f b9 b3 27
platform caam_sm: [0040] e9 89 cd 24 40 f5 4c 52
platform caam_sm: [0048] 7c b2 c3 98 e9 7d 91 a5
platform caam_sm: [0056] 13 1a 56 21 32 c6 51 c5
platform caam_sm: [0064] 5e c6 00 47 89 da 1a 40
platform caam_sm: [0072] 9f 71 75 3a 78 e1 e4 f8
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] a0 e7 0c 01 19 44 ff 89
platform caam_sm: [0008] 91 b2 43 78 09 38 eb ce
platform caam_sm: restored 128-bit black key:
platform caam_sm: [0000] c8 ff b6 f8 86 c0 56 45
platform caam_sm: [0008] 34 29 77 85 a6 9a 95 c1
platform caam_sm: restored 192-bit black key:
platform caam_sm: [0000] 6e a6 30 da 4c ce 6b 1b
platform caam_sm: [0008] ca 24 b6 a6 7e bb ac 2f
platform caam_sm: [0016] 5a 2c 97 fe 12 7a 0c 5f
platform caam_sm: [0024] 05 68 b4 53 6e e6 ee 40
platform caam_sm: restored 256-bit black key:
platform caam_sm: [0000] 22 8e 30 93 45 fa 7d 18
platform caam_sm: [0008] 1e 81 c4 a2 4a 22 61 61
platform caam_sm: [0016] 1f 8e a0 f2 ec 3b 04 81
platform caam_sm: [0024] 1a 5a ba e0 c4 9e 21 e2
snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
fsl-asrc 2034000.asrc: driver registered
snd-soc-dummy snd-soc-dummy: ASoC: Failed to create platform debugfs directory
imx-wm8960 sound.13: wm8960-hifi <-> 202c000.sai mapping ok
imx-wm8960 sound.13: snd-soc-dummy-dai <-> 2034000.asrc mapping ok
imx-wm8960 sound.13: wm8960-hifi <-> 202c000.sai 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
cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)
gpio_dvfs: disabling
can-3v3: disabling
regulator-dummy: disabling
imx mcc test is registered.
rtc-rx8010 0-0032: setting system clock to 1970-01-01 01:01:29 UTC (3689)
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=30:30:3a:30:34:3a, ipaddr=192.168.1.120, mask=255.255.255.0, gw=255.255.255.255
host=192.168.1.120, domain=, nis-domain=(none)
bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
ALSA device list:
#0: wm8960-audio
EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (244)
EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
EXT4-fs (mmcblk0p2): write access will be enabled during recovery
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 384K (80a19000 - 80a79000)
init: Console is alive
init: - watchdog -
init: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
mount_root: mounting /dev/root
EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
procd: - early -
procd: - watchdog -
random: jshn urandom read with 63 bits of entropy available
Failed to connect to ubus
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
random: nonblocking pool is initialized



BusyBox v1.24.2 () built-in shell (ash)

_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
DESIGNATED DRIVER (Bleeding Edge, 50082)
-----------------------------------------------------
* 2 oz. Orange Juice Combine all juices in a
* 2 oz. Pineapple Juice tall glass filled with
* 2 oz. Grapefruit Juice ice, stir well.
* 2 oz. Cranberry Juice
-----------------------------------------------------
root@192:/# EXT4-fs (mmcblk0p1): recovery complete
EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)