` 本帖最后由 xble 于 2017-7-13 09:22 编辑
开发环境说明:
ubuntu14.04.5 64位
安装下面的包
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm sed cvs subversion coreutils texi2html python-pysqlite2 help2man make gcc g++ desktop-file-utils libgl1-mesa-dev libglu1-mesa-dev mercurial autoconf automake groff curl lzop u-boot-tools
下载repo
mkdir ~/bin
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo 如果这个地址无法下载,可以在下面的地址中下载。https://pan.baidu.com/s/1qYNmHhq
chmod a+x ~/bin/repo
export PATH=~/bin:$PATH
下载集成了WaRP7的Ycoto工程代码,根据不同的网速,大小大约是2G左右。
mkdir warp7_yocto
cd warp7_yocto
repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b krogoth
repo sync
编译,要根据自己的下载目录调整下面的命令
echo; ls sources/*/conf/machine/*.conf | sed s/.conf//g | sed -r 's/^.+///' | xargs -I% echo -e " %" | grep imx
MACHINE=imx7s-warp source setup-environment build
mkdir ~/warp7_yocto/sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-warp7-4.1
touch ~/warp7_yocto/sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-warp7_4.1.bb
bitbake core-image-minimal -c fetchall
bitbake core-image-minimal
下载imx_u***源代码,编译。可以熊github下载,也可以使用我附件里面的源代码。imx_u***_loader-master.zip
过程很简单,解压缩,make即可。
设置 开发板download模式,图片中红框开关,向上是download模式,向下是正常启动模式。
开发板上电,在ubuntu下输入命令启动uboot下载。
组装好WaRP7开发板,接好串口和 电源USB,运行刚才编译好的imx_u***程序。
串口助手中出现下面的信息
- U-Boot 2016.07+fslc+ge6b4241 (Jul 11 2017 - 07:12:24 +0800)
- CPU: Freescale i.MX7S rev1.2 at 792MHz
- CPU: Extended Commercial temperature grade (-20C to 105C) at 43C
- Reset cause: POR
- Board: WARP7
- DRAM: 512 MiB
- MMC: FSL_SDHC: 0
- *** Warning - bad CRC, using default environment
- In: serial
- Out: serial
- Err: serial
- Net: CPU Net Initialization Failed
- No ethernet found.
- Hit any key to stop autoboot: 0
- =>
复制代码
继续输入命令 env default -f -a
- => env default -f -a
- ## Resetting to default environment
- => saveenv
- Saving Environment to MMC...
- Writing to MMC(0)... done
复制代码
安装dfu-util工具
串口助手中使用下面命令使开发板进行下载uboot的模式。
ubuntu中输入下面的命令下载uboot,在串口助手中根据提示Ctrl+C to exit ...,结束此次下载
- sudo dfu-util -D u-boot.imx -a boot
复制代码
串口助手中使用下面命令使开发板进行下载系统镜像的模式。
ubuntu中输入下面的命令制作和下载系统镜像
- $ sudo cp /home/gaozg/warp7_yocto/build/tmp/deploy/images/imx7s-warp/*sdcard.gz .
- $ gunzip core-image-minimal-imx7s-warp-2016070710213634.rootfs.sdcard.gz
- $ sudo dd if=core-image-minimal-imx7s-warp-2016070710213634.rootfs.sdcard of=/dev/sdb
复制代码
设置开发板download正常启动模式
- U-Boot 2016.07+fslc+ge6b4241 (Jul 11 2017 - 07:12:24 +0800)
- CPU: Freescale i.MX7S rev1.2 at 792MHz
- CPU: Extended Commercial temperature grade (-20C to 105C) at 38C
- Reset cause: POR
- Board: WARP7
- DRAM: 512 MiB
- MMC: FSL_SDHC: 0
- *** Warning - bad CRC, using default environment
- In: serial
- Out: serial
- Err: serial
- Net: CPU Net Initialization Failed
- No ethernet found.
- Hit any key to stop autoboot: 0
- switch to partitions #0, OK
- mmc0(part 0) is current device
- switch to partitions #0, OK
- mmc0(part 0) is current device
- reading boot.scr
- ** Unable to read file boot.scr **
- reading zImage
- 6270032 bytes read in 95 ms (62.9 MiB/s)
- Booting from mmc ...
- reading imx7s-warp.dtb
- 37585 bytes read in 12 ms (3 MiB/s)
- Kernel image @ 0x80800000 [ 0x000000 - 0x5fac50 ]
- ## Flattened Device Tree blob at 83000000
- Booting using the fdt blob at 0x83000000
- Using Device Tree in place at 83000000, end 8300c2d0
- Starting kernel ...
- Booting Linux on physical CPU 0x0
- Linux version 4.1.32-4.1-1.0.x-imx-warp7+g511f37a (gaozh@T430) (gcc version 5.3.0 (GCC) ) #1 SMP PREEMPT Tue Jul 11 06:47:20 CST 2017
- CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
- CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
- Machine model: Warp i.MX7S Board
- Reserved memory: created CMA memory pool at 0x8c000000, size 320 MiB
- Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
- Memory policy: Data cache writealloc
- PERCPU: Embedded 12 pages/cpu @8bb23000 s16908 r8192 d24052 u49152
- Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
- Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk2p2 rootwait rw
- 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: 179216K/524288K available (7816K kernel code, 455K rwdata, 2784K rodata, 428K init, 473K bss, 17392K reserved, 327680K cma-reserved, 0K highmem)
- Virtual kernel memory layout:
- vector : 0xffff0000 - 0xffff1000 ( 4 kB)
- fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
- vmalloc : 0xa0800000 - 0xff000000 (1512 MB)
- lowmem : 0x80000000 - 0xa0000000 ( 512 MB)
- pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
- modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
- .text : 0x80008000 - 0x80a624a4 (10602 kB)
- .init : 0x80a63000 - 0x80ace000 ( 428 kB)
- .data : 0x80ace000 - 0x80b3ffe0 ( 456 kB)
- .bss : 0x80b42000 - 0x80bb8640 ( 474 kB)
- SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
- Preemptible hierarchical RCU implementation.
- Additional per-CPU info printed with stalls.
- RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
- RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
- NR_IRQS:16 nr_irqs:16 16
- Architected cp15 timer(s) running at 8.00MHz (phys).
- clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
- sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
- Switching to timer-based delay loop, resolution 125ns
- mxc_clocksource_init 3000000
- Ignoring duplicate/late registration of read_current_timer delay
- clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
- Console: colour dummy device 80x30
- Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=80000)
- 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
- /cpus/cpu@1 missing clock-frequency property
- CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
- Setting up static identity map for 0x80008280 - 0x800082d8
- CPU1: failed to come online
- Brought up 1 CPUs
- SMP: Total of 1 processors activated (16.00 BogoMIPS).
- CPU: All CPU(s) started in SVC mode.
- devtmpfs: initialized
- device-tree: Duplicate name in lcdif@30730000, renamed to "display#1"
- VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
- clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
- pinctrl core: initialized pinctrl subsystem
- NET: Registered protocol family 16
- DMA: preallocated 256 KiB pool for atomic coherent allocations
- cpuidle: using governor ladder
- cpuidle: using governor menu
- DDR type is LPDDR3!
- hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
- hw-breakpoint: maximum watchpoint size is 8 bytes.
- imx7d-pinctrl 302c0000.iomuxc-lpsr: initialized IMX pinctrl driver
- imx7d-pinctrl 30330000.iomuxc: initialized IMX pinctrl driver
- gpio-reset mipi-dsi-reset: reset-gpios property missing, or not a single gpio
- gpio-reset: probe of mipi-dsi-reset failed with error -22
- MU is ready for cross core communication!
- mxs-dma 33000000.dma-apbh: initialized
- SCSI subsystem initialized
- u***core: registered new interface driver u***fs
- u***core: registered new interface driver hub
- u***core: registered new device driver u***
- 30800000.aips-bus:u***phy_nop1 supply vcc not found, using dummy regulator
- 30800000.aips-bus:u***phy_nop2 supply vcc not found, using dummy regulator
- i2c i2c-0: IMX I2C adapter registered
- i2c i2c-0: can't use DMA
- i2c i2c-1: IMX I2C adapter registered
- i2c i2c-1: can't use DMA
- i2c i2c-2: IMX I2C adapter registered
- i2c i2c-2: can't use DMA
- i2c i2c-3: IMX I2C adapter registered
- i2c i2c-3: can't use DMA
- 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
- PTP clock support registered
- MIPI CSI2 driver module loaded
- Advanced Linux Sound Architecture Driver Initialized.
- Bluetooth: Core ver 2.20
- 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
- Switched to clocksource arch_sys_counter
- 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)
- 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: 512 (order: 3, 32768 bytes)
- VFS: Disk quotas dquot_6.6.0
- VFS: 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.23)
- io scheduler noop registered
- io scheduler deadline registered
- io scheduler cfq registered (default)
- backlight supply power not found, using dummy regulator
- MIPI DSI driver module loaded
- 30760000.mipi-dsi supply disp-power-on not found, using dummy regulator
- mxc_mipi_dsi_samsung 30760000.mipi-dsi: i.MX MIPI DSI driver probed
- MIPI DSI driver module loaded
- 30730000.lcdif supply lcd not found, using dummy regulator
- mxc_mipi_dsi_samsung 30760000.mipi-dsi: MIPI DSI dispdrv inited!
- mxsfb 30730000.lcdif: registered mxc display driver mipi_dsi_samsung
- Console: switching to colour frame buffer device 40x40
- mxsfb 30730000.lcdif: initialized
- imx-sdma 30bd0000.sdma: no event needs to be remapped
- imx-sdma 30bd0000.sdma: loaded firmware 4.2
- imx-sdma 30bd0000.sdma: initialized
- pfuze100-regulator 0-0008: Full layer: 1, Metal layer: 1
- pfuze100-regulator 0-0008: FAB: 0, FIN: 0
- pfuze100-regulator 0-0008: pfuze3000 found.
- 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 272, base_baud = 1500000) is a IMX
- console [ttymxc0] enabled
- 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 273, base_baud = 5000000) is a IMX
- 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
- input: fxos8700 as /devices/platform/soc/30800000.aips-bus/30a50000.i2c/i2c-3/3-001e/input/input0
- fxos8700 device driver probe successfully
- input: fxas2100x as /devices/platform/soc/30800000.aips-bus/30a50000.i2c/i2c-3/3-0020/input/input1
- fxas2100x 3-0020: fxas2100x device driver probe successfully
- CAN device driver interface
- ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
- ehci-mxc: Freescale On-Chip EHCI Host driver
- u***core: registered new interface driver u***-storage
- u***core: registered new interface driver u***_ehset_test
- 30b10200.u***misc supply vbus-wakeup not found, using dummy regulator
- 30b20200.u***misc supply vbus-wakeup not found, using dummy regulator
- 30b30200.u***misc supply vbus-wakeup not found, using dummy regulator
- mousedev: PS/2 mouse device common for all mice
- input: 30370000.snvs:snvs-powerkey as /devices/platform/soc/30000000.aips-bus/30370000.snvs/30370000.snvs:snvs-powerkey/input/input2
- [HXTP] Himax 852xES touch panel driver init
- [HXTP] himax852xes_init_async:Enter
- [HXTP] DT-himax_parse_dt:panel-coords = 0, 320, 0, 320
- [HXTP] DT-himax_parse_dt:display-coords = (320, 320)
- read mpl3115 chip id 0xc4
- input: mpl3115 as /devices/virtual/input/input3
- [HXTP] DT:gpio_rst value is not valid
- [HXTP] DT:gpio_3v3_en value is not valid
- [HXTP] DT:gpio_irq=1, gpio_rst=-2, gpio_3v3_en=-2[HXTP] DT:protocol_type=1[HXTP] DT-No vk info in DT
- mpl3115 device driver probe successfullysnvs_rtc 30370000.snvs:snvs-rtc-lp: rtc core: registered 30370000.snvs:snvs- as rtc0
- i2c /dev entries driver
- IR NEC protocol handler initialized
- IR RC5(x/sz) protocol handler initialized
- IR RC6 protocol handler initialized
- IR JVC protocol handler initialized
- IR Sony protocol handler initialized
- IR SANYO protocol handler initialized
- [HXTP][ERROR] i2c_himax_read:write reg error:reg=1
- IR Sharp protocol handler initialized
- IR MCE Keyboard/mouse protocol handler initialized
- IR XMP protocol handler initialized
- [HXTP][ERROR] Himax chip doesn NOT EXIST
- imx2-wdt 30280000.wdog: timeout 60 sec (nowayout=0)
- Bluetooth: HCI UART driver ver 2.3
- Bluetooth: HCI UART protocol H4 registered
- u***core: registered new interface driver bcm203x
- sdhci: Secure Digital Host Controller Interface driver
- sdhci: Copyright(c) Pierre Ossman
- sdhci-pltfm: SDHCI platform and OF driver helper
- /soc/aips-bus@30800000/usdhc@30b40000: voltage-ranges unspecified
- sdhci-esdhc-imx 30b40000.usdhc: assigned as wifi host
- sdhci-esdhc-imx 30b40000.usdhc: No vmmc regulator found
- sdhci-esdhc-imx 30b40000.usdhc: No vqmmc regulator found
- mmc0: SDHCI controller on 30b40000.usdhc [30b40000.usdhc] using ADMA
- /soc/aips-bus@30800000/usdhc@30b60000: voltage-ranges unspecified
- sdhci-esdhc-imx 30b60000.usdhc: No vmmc regulator found
- sdhci-esdhc-imx 30b60000.usdhc: No vqmmc regulator found
- mmc2: SDHCI controller on 30b60000.usdhc [30b60000.usdhc] using ADMA
- caam 30900000.caam: Entropy delay = 3200
- caam 30900000.caam: Instantiated RNG4 SH0
- caam 30900000.caam: Instantiated RNG4 SH1
- caam 30900000.caam: device ID = 0x0a16030000000000 (Era -524)
- caam 30900000.caam: job rings = 3, qi = 0
- caam algorithms registered in /proc/crypto
- caam_jr 30901000.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] c3 9b 79 d6 92 ad d5 99
- platform caam_sm: [0008] fa 3c 24 d7 3f c5 a1 a5
- 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:
- mmc2: MAN_BKOPS_EN bit is not set
- platform caam_sm: [0000] f8 dc 99 c7 bc 31 d5 63
- platform caam_sm: [0008] 31 8e 79 5b 28 16 de e7
- 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:
- mmc2: mmc_select_hs200 failed, error -74
- : switch to mmc2 failed
- platform caam_sm: [0000] ea fd 34 6e 2f 0e e6 46
- platform caam_sm: [0008] 73 c4 ca d1 c5 6f f4 b7
- mmc2: new MMC card at address 0001
- platform caam_sm: [0016] 18 1c 9d 27 06 38 db 3d
- mmcblk2: mmc2:0001 V10008 7.05 GiB
- platform caam_sm: [0024] 94 8d 81 93 fa 16 f0 d9
- platform caam_sm: 256-bit clear key:
- mmcblk2boot0: mmc2:0001 V10008 partition 1 4.00 MiB
- mmcblk2boot1: mmc2:0001 V10008 partition 2 4.00 MiB
- platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
- platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
- mmcblk2rpmb: mmc2:0001 V10008 partition 3 4.00 MiB
- platform caam_sm: [0016] 10 11 12 13 14 15 16 17
- mmcblk2: p1 p2
- platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1f
- platform caam_sm: 256-bit black key:
- platform caam_sm: [0000] fa e1 56 dc d4 25 39 e6
- platform caam_sm: [0008] ea 80 74 80 13 7c c3 2a
- platform caam_sm: [0016] 9e cd f4 18 fc d4 95 55
- platform caam_sm: [0024] 5e 30 3f 78 28 3b 83 f0
- 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] 37 09 9d c7 d5 14 5e 95
- platform caam_sm: [0008] 88 c9 3e 61 c1 49 8b b9
- platform caam_sm: [0016] 62 3b 75 48 2c 8b 8d 4b
- platform caam_sm: [0024] c9 e0 32 60 21 2d eb 3f
- platform caam_sm: [0032] 43 46 19 4a cb cc 48 2d
- platform caam_sm: [0040] d2 3d 3c b6 26 53 1d 92
- platform caam_sm: [0048] 27 eb ea 1d 25 e6 98 89
- 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] 1c f7 a3 80 ff a0 ae f1
- platform caam_sm: [0008] 3d 5a 7d f5 8e f0 ba a9
- platform caam_sm: [0016] f5 e3 e0 5a 58 fd 58 b1
- platform caam_sm: [0024] 8f db 20 49 b2 68 76 71
- platform caam_sm: [0032] f2 dd ab 69 87 32 02 1f
- platform caam_sm: [0040] a2 37 46 53 a4 f9 49 01
- platform caam_sm: [0048] 17 00 92 70 77 9b f6 5e
- platform caam_sm: [0056] cd f3 be 84 ff e9 5f cb
- 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] 3e 6f 1c 01 bd f6 8d 7a
- platform caam_sm: [0008] 60 9a 2d 4a 3f 0c 56 18
- platform caam_sm: [0016] 7e 01 f8 35 ad 94 3d 42
- platform caam_sm: [0024] 75 89 f2 2c 00 96 69 b0
- platform caam_sm: [0032] 2e 67 b5 82 2a 20 2e 15
- platform caam_sm: [0040] b4 52 3c 95 6b af 64 66
- platform caam_sm: [0048] 31 ad 23 35 6f 00 81 58
- platform caam_sm: [0056] 3b db 04 98 83 19 8d e5
- platform caam_sm: [0064] 4a b4 fe fe d4 a2 f9 25
- 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] c7 65 30 a5 ca 88 90 19
- platform caam_sm: [0008] 89 1b c8 4a 89 d8 7d 8c
- platform caam_sm: [0016] e7 8b 04 95 dc 78 90 37
- platform caam_sm: [0024] 67 93 c4 b5 05 4a bd 60
- platform caam_sm: [0032] 28 e8 57 9f 50 eb d9 80
- platform caam_sm: [0040] 03 60 31 79 8b 39 63 9a
- platform caam_sm: [0048] fe 3d 06 63 0d c5 a0 71
- platform caam_sm: [0056] 0f 45 87 e4 a0 36 78 87
- platform caam_sm: [0064] 57 54 a4 01 91 0d 1b 98
- platform caam_sm: [0072] 4d 6a 07 b1 75 90 3f 18
- 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] ac 75 81 48 4b 94 96 d5
- platform caam_sm: [0008] b7 24 26 21 ff 0b 2e e9
- platform caam_sm: restored 128-bit black key:
- platform caam_sm: [0000] f8 dc 99 c7 bc 31 d5 63
- platform caam_sm: [0008] 31 8e 79 5b 28 16 de e7
- platform caam_sm: restored 192-bit black key:
- platform caam_sm: [0000] ea fd 34 6e 2f 0e e6 46
- platform caam_sm: [0008] 73 c4 ca d1 c5 6f f4 b7
- platform caam_sm: [0016] 0e 2e 07 1b 70 6f a3 fa
- platform caam_sm: [0024] 99 ed 9e d3 ca 5b 7f de
- platform caam_sm: restored 256-bit black key:
- platform caam_sm: [0000] fa e1 56 dc d4 25 39 e6
- platform caam_sm: [0008] ea 80 74 80 13 7c c3 2a
- platform caam_sm: [0016] 9e cd f4 18 fc d4 95 55
- platform caam_sm: [0024] 5e 30 3f 78 28 3b 83 f0
- snvs-secvio 30370000.caam-snvs: can't get snvs clock
- snvs-secvio 30370000.caam-snvs: violation handlers armed - non-secure state
- u***core: registered new interface driver u***hid
- u***hid: USB HID core driver
- NET: Registered protocol family 26
- 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)
- backlight supply power not found, using dummy regulator
- sgtl5000 3-000a: sgtl5000 revision 0x11
- sgtl5000 3-000a: Using internal LDO instead of VDDD
- asoc-simple-card sound: sgtl5000 <-> 308a0000.sai mapping ok
- backlight supply power not found, using dummy regulator
- input: gpio-keys as /devices/platform/gpio-keys/input/input4
- backlight supply power not found, using dummy regulator
- snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:01 UTC (1)
- wlreg_on: disabling
- ALSA device list:
- #0: imx7s-sgtl5000
- EXT3-fs (mmcblk2p2): error: couldn't mount because of unsupported optional features (240)
- EXT2-fs (mmcblk2p2): error: couldn't mount because of unsupported optional features (240)
- EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Opts: (null)
- VFS: Mounted root (ext4 filesystem) on device 179:2.
- devtmpfs: mounted
- Freeing unused kernel memory: 428K (80a63000 - 80ace000)
- INIT: version 2.88 booting
- Starting udev
- udevd[167]: starting version 3.1.5
- random: udevd urandom read with 11 bits of entropy available
- EXT4-fs (mmcblk2p2): re-mounted. Opts: data=ordered
- bootlogd: cannot allocate pseudo tty: No such file or directory
- Populating dev cache
- Mon Jul 10 23:16:03 UTC 2017
- INIT: Entering runlevel: 5
- Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device
- Starting syslogd/klogd: done
- Poky (Yocto Project Reference Distro) 2.1.3 imx7s-warp /dev/ttymxc0
- imx7s-warp login: root
- root@imx7s-warp:~# cat /proc/version
- Linux version 4.1.32-4.1-1.0.x-imx-warp7+g511f37a (gaozh@T430) (gcc version 5.3.0 (GCC) ) #1 SMP PREEMPT Tue Jul 11 06:47:20 CST 2017
- root@imx7s-warp:~# cat /proc/cpuinfo
- processor : 0
- model name : ARMv7 Processor rev 5 (v7l)
- BogoMIPS : 16.00
- Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
- CPU implementer : 0x41
- CPU architecture: 7
- CPU variant : 0x0
- CPU part : 0xc07
- CPU revision : 5
- Hardware : Freescale i.MX7 Dual (Device Tree)
- Revision : 0000
- Serial : 0000000000000000
- root@imx7s-warp:~# cat /proc/meminfo
- MemTotal: 507324 kB
- MemFree: 458620 kB
- MemAvailable: 460252 kB
- Buffers: 1312 kB
- Cached: 3752 kB
- SwapCached: 0 kB
- Active: 4324 kB
- Inactive: 1692 kB
- Active(anon): 1020 kB
- Inactive(anon): 132 kB
- Active(file): 3304 kB
- Inactive(file): 1560 kB
- Unevictable: 0 kB
- Mlocked: 0 kB
- HighTotal: 0 kB
- HighFree: 0 kB
- LowTotal: 507324 kB
- LowFree: 458620 kB
- SwapTotal: 0 kB
- SwapFree: 0 kB
- Dirty: 16 kB
- Writeback: 0 kB
- AnonPages: 976 kB
- Mapped: 2240 kB
- Shmem: 192 kB
- Slab: 6900 kB
- SReclaimable: 3008 kB
- SUnreclaim: 3892 kB
- KernelStack: 432 kB
- PageTables: 172 kB
- NFS_Unstable: 0 kB
- Bounce: 0 kB
- WritebackTmp: 0 kB
- CommitLimit: 253660 kB
- Committed_AS: 3036 kB
- VmallocTotal: 1548288 kB
- VmallocUsed: 17544 kB
- VmallocChunk: 1366008 kB
- CmaTotal: 327680 kB
- CmaFree: 294556 kB
- root@imx7s-warp:~# df -h
- Filesystem Size Used Available Use% Mounted on
- /dev/root 6.7M 5.1M 1.1M 82% /
- devtmpfs 87.5M 0 87.5M 0% /dev
- tmpfs 247.7M 124.0K 247.6M 0% /run
- tmpfs 247.7M 68.0K 247.6M 0% /var/volatile
- root@imx7s-warp:~#
复制代码
看启动log,可以证明uboot和kernel都已经更新了。
吐槽一下,下载真心不方面。
`
|