TA的每日心情 | 开心 2019-12-26 22:21 |
---|
签到天数: 310 天 连续签到: 1 天 [LV.8]以坛为家I
|
本帖最后由 风之山谷 于 2018-3-27 06:37 编辑
之前由于某些事情比较忙,有一段比较长的时间没有更新了,被可依数次提醒了 这次就来更新了~
由于板子上面没有带有串口转USB芯片,因此需要外接一个Uart转USB的模块,我使用的是FT232的芯片,总共三根线:Tx、Rx、GND,模块上Rx接板子上Tx;模块上Tx接板子上Rx;
在软件上我使用SecureCRT软件,这个软件支持多个功能,我用它来与开发板沟通。
插上外置电源,上电,设置好串口波特率和端口后串口打印出以下内容:
- U-Boot 2016.03-mys-6ulx+g9008006 (Jan 16 2018 - 16:55:05 +0800)
- CPU: Freescale i.MX6UL rev1.2 528 MHz (running at 396 MHz)
- CPU: Industrial temperature grade (-40C to 105C) at 40C
- Reset cause: POR
- Board: MYD-Y6UL 14x14
- I2C: ready
- DRAM: 256 MiB
- NAND: 256 MiB
- MMC: MMC/SD: Reset never completed.
- voltage not supported by controller
- Warning: failed to initialize mmc dev 1
- FSL_SDHC: 0
- *** Warning - bad CRC, using default environment
- Display: TFT43AB (480x272)
- Video: 480x272x24
- In: serial
- Out: serial
- Err: serial
- Net: Board Net Initialization Failed
- No ethernet found.
- Normal Boot
- Hit any key to stop autoboot: 0
- NAND read: device 0 offset 0x500000, size 0xa00000
- 10485760 bytes read: OK
- NAND read: device 0 offset 0xf00000, size 0x100000
- 1048576 bytes read: OK
- Kernel image @ 0x80800000 [ 0x000000 - 0x602380 ]
- ## Flattened Device Tree blob at 83000000
- Booting using the fdt blob at 0x83000000
- Using Device Tree in place at 83000000, end 8300c1d3
- Modify /soc/aips-bus@02000000/bee@02044000:status disabled
- ft_system_setup for mx6
- Starting kernel ...
- Booting Linux on physical CPU 0x0
- Linux version 4.1.15-1.2.0+g6ae884d (blackrose@brix4770-debian) (gcc version 5.3.0 (GCC) ) #1 SMP PREEMPT Wed Jan 24 11:04:25 CST 2018
- 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
- Reserved memory: failed to allocate memory for node 'linux,cma'
- Memory policy: Data cache writealloc
- PERCPU: Embedded 12 pages/cpu @8fdd3000 s16908 r8192 d24052 u49152
- Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
- Kernel command line: console=ttymxc0,115200 ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs mtdparts=gpmi-nand:5m(boot),10m(kernel),1m(dtb),-(rootfs)
- PID hash table entries: 1024 (order: 0, 4096 bytes)
- Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
- Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
- Memory: 247644K/262144K available (7847K kernel code, 429K rwdata, 2860K rodata, 424K init, 441K bss, 14500K reserved, 0K cma-reserved, 0K highmem)
- Virtual kernel memory layout:
- vector : 0xffff0000 - 0xffff1000 ( 4 kB)
- fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
- vmalloc : 0x90800000 - 0xff000000 (1768 MB)
- lowmem : 0x80000000 - 0x90000000 ( 256 MB)
- pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
- modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
- .text : 0x80008000 - 0x80a7d0f0 (10709 kB)
- .init : 0x80a7e000 - 0x80ae8000 ( 424 kB)
- .data : 0x80ae8000 - 0x80b53720 ( 430 kB)
- .bss : 0x80b56000 - 0x80bc45b8 ( 442 kB)
- SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
- Preemptible hierarchical RCU implementation.
- Additional per-CPU info printed with stalls.
- 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
- mxc_clocksource_init 24000000
- Switching to timer-based delay loop, resolution 41ns
- sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
- clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
- Console: colour dummy device 80x30
- Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
- 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 0x80008280 - 0x800082d8
- Brought up 1 CPUs
- SMP: Total of 1 processors activated (48.00 BogoMIPS).
- CPU: All CPU(s) started in SVC mode.
- devtmpfs: initialized
- device-tree: Duplicate name in lcdif@021c8000, 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
- 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
- mxs-dma 1804000.dma-apbh: initialized
- SCSI subsystem initialized
- usbcore: registered new interface driver usbfs
- usbcore: registered new interface driver hub
- usbcore: registered new device driver usb
- i2c i2c-1: IMX I2C adapter registered
- i2c i2c-1: can't use DMA
- media: Linux media interface: v0.10
- 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.
- Switched to clocksource mxc_timer1
- NET: Registered protocol family 2
- TCP established hash table entries: 2048 (order: 1, 8192 bytes)
- TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
- TCP: Hash tables configured (established 2048 bind 2048)
- 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.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)
- imx-weim 21b8000.weim: Driver registered.
- backlight supply power not found, using dummy regulator
- MIPI DSI driver module loaded
- MIPI DSI driver module loaded
- 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 60x34
- mxsfb 21c8000.lcdif: initialized
- imx-sdma 20ec000.sdma: no event needs to be remapped
- imx-sdma 20ec000.sdma: loaded firmware 3.3
- imx-sdma 20ec000.sdma: initialized
- 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 20, base_baud = 5000000) is a IMX
- console [ttymxc0] enabled
- 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 232, base_baud = 5000000) is a IMX
- 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 233, 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
- nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
- nand: Micron MT29F2G08ABAEAWP
- nand: 256 MiB, SLC, erase size: 128 KiB, 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 cmdlinepart partitions found on MTD device gpmi-nand
- Creating 4 MTD partitions on "gpmi-nand":
- 0x000000000000-0x000000500000 : "boot"
- 0x000000500000-0x000000f00000 : "kernel"
- 0x000000f00000-0x000001000000 : "dtb"
- 0x000001000000-0x000010000000 : "rootfs"
- gpmi-nand 1806000.gpmi-nand: driver registered.
- CAN device driver interface
- flexcan 2094000.can: device registered (reg_base=92a48000, irq=29)
- 20b4000.ethernet supply phy not found, using dummy regulator
- pps pps0: new PPS source ptp0
- fec 20b4000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
- fec 20b4000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: fe:28:c5:ea:99:96
- libphy: fec_enet_mii_bus: probed
- fec 20b4000.ethernet eth0: registered PHC device 0
- 2188000.ethernet supply phy not found, using dummy regulator
- pps pps1: new PPS source ptp1
- fec 2188000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
- fec 2188000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: da:10:0f:22:44:0d
- fec 2188000.ethernet eth1: registered PHC device 1
- PPP generic driver version 2.4.2
- PPP BSD Compression module registered
- PPP Deflate Compression module registered
- PPP MPPE Compression module registered
- NET: Registered protocol family 24
- SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
- CSLIP: code copyright 1989 Regents of the University of California.
- SLIP linefill/keepalive option.
- ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
- ehci-mxc: Freescale On-Chip EHCI Host driver
- usbcore: registered new interface driver usb-storage
- usbcore: registered new interface driver usbserial
- usbcore: registered new interface driver usbserial_generic
- usbserial: USB Serial support registered for generic
- usbcore: registered new interface driver option
- usbserial: USB Serial support registered for GSM modem (1-port)
- 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:snvs-powerkey as /devices/platform/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
- tp reset gpio=130
- msg ft5x0x_i2c_rxdata i2c read error: -5
- ft5x0x read ID error!
- ft5x06_ts: probe of 1-0038 failed with error 161
- ft5x0x_ts_init successful
- input: iMX6UL TouchScreen Controller as /devices/platform/soc/2000000.aips-bus/2040000.tsc/input/input1
- snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r 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
- IR Sharp protocol handler initialized
- IR MCE Keyboard/mouse protocol handler initialized
- IR XMP protocol handler initialized
- pxp-v4l2 pxp_v4l2: initialized
- usbcore: registered new interface driver uvcvideo
- USB Video Class driver (1.1.1)
- sdhci: Secure Digital Host Controller Interface driver
- sdhci: Copyright(c) Pierre Ossman
- sdhci-pltfm: SDHCI platform and OF driver helper
- /soc/aips-bus@02100000/usdhc@02190000: voltage-ranges unspecified
- sdhci-esdhc-imx 2190000.usdhc: could not get ultra high speed state, work on normal mode
- sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
- sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found
- mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
- /soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
- sdhci-esdhc-imx 2194000.usdhc: could not get ultra high speed state, work on normal mode
- sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
- sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
- mmc0: host does not support reading read-only switch, assuming write-enable
- mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
- caam 2140000.caam: Entropy delay = 3200
- usb 1-1: new high-speed USB device number 2 using ci_hdrc
- mmc0: new high speed SDHC card at address 0001
- mmcblk0: mmc0:0001 SD16G 14.5 GiB
- caam 2140000.caam: Instantiated RNG4 SH0
- mmcblk0: p1
- mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
- caam 2140000.caam: Instantiated RNG4 SH1
- caam 2140000.caam: device ID = 0x0a16030000000000 (Era -524)
- caam 2140000.caam: job rings = 3, qi = 0
- mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
- mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
- mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
- mmc1: queuing unknown CIS tuple 0x80 (10 bytes)
- mmc1: new high speed SDIO card at address 0001
- hub 1-1:1.0: USB hub found
- hub 1-1:1.0: 4 ports detected
- caam algorithms registered in /proc/crypto
- 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] b9 ff 93 bd b0 2f ee a1
- platform caam_sm: [0008] 6d 28 1b 8f 43 e8 3b 3b
- 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] 5b 0a 1a a0 15 2d b1 ec
- platform caam_sm: [0008] 79 ce b9 6f e9 c5 b1 b7
- 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] 81 c1 be a5 82 ae 8f bf
- platform caam_sm: [0008] db 12 cb 37 27 91 61 9e
- platform caam_sm: [0016] 76 27 87 c9 99 e1 80 50
- platform caam_sm: [0024] d4 37 01 d8 b8 d3 6d de
- 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] 49 5b a6 ae 18 92 4d 4d
- platform caam_sm: [0008] a3 88 ac 79 9e fe f0 00
- platform caam_sm: [0016] 45 55 f5 d9 6e 68 a5 de
- platform caam_sm: [0024] d7 1d e6 94 49 e8 d6 30
- 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] 31 72 7f d8 e6 f1 68 76
- platform caam_sm: [0008] e7 fb 06 d5 05 92 24 0d
- platform caam_sm: [0016] 2e 88 b6 75 6a f9 aa 75
- platform caam_sm: [0024] 79 c7 d4 88 09 34 6c d8
- platform caam_sm: [0032] c4 45 26 da ba f3 1b f6
- platform caam_sm: [0040] 1f 04 3e e2 df 89 22 58
- platform caam_sm: [0048] 13 39 fb a2 06 ce 95 7a
- 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] cc d1 85 82 25 3a 53 c7
- platform caam_sm: [0008] 07 01 77 06 ec 9d c3 aa
- platform caam_sm: [0016] 58 f3 aa 59 f9 fd bb 2e
- platform caam_sm: [0024] 36 be c1 43 35 1b 88 10
- platform caam_sm: [0032] a7 09 35 88 13 0e ab 8b
- platform caam_sm: [0040] 73 ea 96 7b 33 05 d1 cc
- platform caam_sm: [0048] 5b 63 2c 68 33 52 6a f4
- platform caam_sm: [0056] 8f 81 05 ef f4 df 44 be
- 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] 55 87 f6 e2 86 ac 00 7c
- platform caam_sm: [0008] 3e 26 a7 3f af e7 0e 52
- platform caam_sm: [0016] c4 d8 2f ef c0 4e 0d 2c
- platform caam_sm: [0024] 6a 5d 75 e0 4d 50 b1 45
- platform caam_sm: [0032] 0a 94 f0 c5 b5 f9 87 77
- platform caam_sm: [0040] 9b b7 ed 47 97 96 91 c3
- platform caam_sm: [0048] 4e 45 b5 8a 28 0b 80 c9
- platform caam_sm: [0056] 1c f7 ef 77 48 2e 3e 05
- platform caam_sm: [0064] c7 13 3d 4c ca 2d 40 22
- 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] b8 d2 d6 d2 2e b7 e3 e0
- platform caam_sm: [0008] 1e 63 0f 07 56 24 43 43
- platform caam_sm: [0016] f6 49 02 f2 6e 99 59 1f
- platform caam_sm: [0024] 55 26 15 f7 23 06 ad b7
- platform caam_sm: [0032] db b8 01 e1 56 39 66 ea
- platform caam_sm: [0040] 85 e1 ff 38 94 6a fe 77
- platform caam_sm: [0048] 7d e8 d7 7b 19 e2 43 e4
- platform caam_sm: [0056] 1d 2f 01 02 2a 0f 1b 71
- platform caam_sm: [0064] 2c dd f6 11 85 5d 53 26
- platform caam_sm: [0072] b0 74 1d 54 2b 33 c8 9d
- 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] 51 e4 9e ad 62 fa d6 88
- platform caam_sm: [0008] 18 40 2a c9 21 41 8e 42
- platform caam_sm: restored 128-bit black key:
- platform caam_sm: [0000] 5b 0a 1a a0 15 2d b1 ec
- platform caam_sm: [0008] 79 ce b9 6f e9 c5 b1 b7
- platform caam_sm: restored 192-bit black key:
- platform caam_sm: [0000] 81 c1 be a5 82 ae 8f bf
- platform caam_sm: [0008] db 12 cb 37 27 91 61 9e
- platform caam_sm: [0016] 5d 62 5f b7 3e df 66 78
- platform caam_sm: [0024] 79 25 fb ee 75 c0 c8 4d
- platform caam_sm: restored 256-bit black key:
- platform caam_sm: [0000] 49 5b a6 ae 18 92 4d 4d
- platform caam_sm: [0008] a3 88 ac 79 9e fe f0 00
- platform caam_sm: [0016] 45 55 f5 d9 6e 68 a5 de
- platform caam_sm: [0024] d7 1d e6 94 49 e8 d6 30
- snvs-secvio 20cc000.caam-snvs: can't get snvs clock
- snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state
- usbcore: registered new interface driver usbhid
- usbhid: USB HID core driver
- usbcore: registered new interface driver snd-usb-audio
- 1-001a supply DCVDD not found, using dummy regulator
- 1-001a supply DBVDD not found, using dummy regulator
- 1-001a supply AVDD not found, using dummy regulator
- 1-001a supply CPVDD not found, using dummy regulator
- 1-001a supply MICVDD not found, using dummy regulator
- wm8904 1-001a: revision A
- fsl-asrc 2034000.asrc: driver registered
- imx-wm8904 sound: wm8904-hifi <-> 202c000.sai mapping ok
- imx-wm8904 sound: snd-soc-dummy-dai <-> 2034000.asrc mapping ok
- imx-wm8904 sound: wm8904-hifi <-> 202c000.sai mapping ok
- 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
- 8021q: 802.1Q VLAN Support v1.8
- Key type dns_resolver registered
- ubi0: attaching mtd3
- random: nonblocking pool is initialized
- ubi0: scanning is finished
- ubi0: attached mtd3 (name "rootfs", size 240 MiB)
- ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
- ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
- ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
- ubi0: good PEBs: 1916, bad PEBs: 4, corrupted PEBs: 0
- ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
- ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1928584424
- ubi0: available PEBs: 0, total reserved PEBs: 1916, PEBs reserved for bad PEB handling: 36
- ubi0: background thread "ubi_bgt0d" started, PID 140
- input: gpio-keys as /devices/platform/gpio-keys/input/input2
- snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:02 UTC (2)
- can-3v3: disabling
- ALSA device list:
- #0: wm8904-audio
- UBIFS (ubi0:0): recovery needed
- UBIFS (ubi0:0): recovery deferred
- UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode
- UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
- UBIFS (ubi0:0): FS size: 236683264 bytes (225 MiB, 1864 LEBs), journal size 11808768 bytes (11 MiB, 93 LEBs)
- UBIFS (ubi0:0): reserved for root: 4952683 bytes (4836 KiB)
- UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 45A5F12D-44F2-46A4-B1FA-098586D6E5BF, small LPT model
- VFS: Mounted root (ubifs filesystem) readonly on device 0:14.
- devtmpfs: mounted
- Freeing unused kernel memory: 424K (80a7e000 - 80ae8000)
- INIT: version 2.88 booting
- Starting udev
- udevd[176]: starting version 3.1.5
- UBIFS (ubi0:0): completing deferred recovery
- UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 211
- UBIFS (ubi0:0): deferred recovery completed
- ov2659 1-0030: Sensor soft reset failed
- bootlogd: cannot allocate pseudo tty: No such file or directory
- brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d
- brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
- FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
- ALSA: Restoring mixer settings...
- Wed Jan 24 04:45:21 UTC 2018
- INIT: Entering runlevel: 5
- Configuring network interfaces... fec 20b4000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=20b4000.ethernet:01, irq=-1)
- IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
- udhcpc (v1.24.1) started
- Sending discover...
- Sending discover...
- Sending discover...
- No lease, forking to background
- done.
- Starting system message bus: dbus.
- Starting OpenBSD Secure Shell server: sshd
- done.
- Starting rpcbind daemon...done.
- Starting advanced power management daemon: No APM support in kernel
- (failed.)
- Starting syslogd/klogd: done
- * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
- ...done.
- Starting Telephony daemon
- Starting Linux NFC daemon
- Running local boot scripts (/etc/rc.local).
- xres = 480, yres = 272
- Freescale i.MX Release Distro 4.1.15-2.0.1 myd-y6ul14x14 /dev/ttymxc0
复制代码 看起来启动成功,采用的是uboot+Freescale定制系统,基于Debian修改的,内存为256Mb,Nand Flash也为256Mb。登录名为root,没有设置密码~
既然上手自然要看一下原装系统的参数:
输入以下参数查看Linux内核版本
输入以下参数查看CPU参数
ARMv7处理器,A7架构有点老,但是架构成熟,性价比高。
输入以下参数查看分区情况
就只有一个256Mb分区,用了近30%,最下面那个mmcblk0p1是我插进去的16G MicroSD卡。
输入以下参数查看内存情况
作为一个有WIFI的板子,查看完参数之后就一定要连接WIFI,在配置WIFI过程中,需要使用Uart接口进行配置。别忘了在配置WIFI前装好随板子附带的WIFI天线。
在命令行中输入以下生成对应的PSK
其中myWIFI替换成你要连接WIFI网络的名字,myPassWord替换成WIFI网络密码。
然后输入以下命令查看有没有生成对应的PSK:
此时屏幕会打印出wifi.conf文件内容,看一下WIFI名字和密码对不对,PSK有没有生成就好了。此时这个wifi.conf配置文件已经保存在~中,即是用户文件夹中,下一次连接wifi就不需要再次生成了,直接导入进去。
然后接着输入以下命令导入进去,连接WIFI网络
- wpa_supplicant -D wext -B -i wlan0 -c wifi.conf
复制代码 在连接了WIFI还不能上网,还需要向路由器DHCP取分配的IP地址和其他网络参数。
输入以下命令进行获取DHCP信息
到此步应该就成功了
输入以下命令查看是否获取成功:
既然连上网了,先来测试一下是否能够ping通外网地址:
输入以下命令来测试一下是否能正确获取和链接爱板网的ip地址吧~
- ping -c 5 www.eeboard.com
复制代码
如果没问题的话应该如图所示,爱板网网速还是挺快的~
既然能ping通,接下来就试试telnet功能吧,由于telnet没有加密,因此安全性并不是很好,现在基本淘汰了,但是telnet还有一个很好玩的地方,可以用来看“电影”,整个“电影”由字符串组成,主题是星战,不得不佩服国外作者的耐心~
输入以下命令即可观看:
- telnet towel.blinkenlights.nl
复制代码 这个一直看就行,不用操作,退出按Ctrl+C即可
联网已经搞定了,能够联网对于我们来说就很方便了,可以通过WIFI来操作,我们可以通过一个加密的telnet来连接开发板来操作,这样就不需要Uart转USB的模块了,开发也方便多了。我所采用的是SSH2协议,SSH2是经过SSL加密处理的,更加安全,SecureCRT软件也支持该种方式进行登录。
在开始配置之前,需要查看路由器分配给开发板的IP地址,输入:
查看ip地址一栏,并且记下来。然后设置SecureCRT来连接,hostname为之前查看的开发板ip地址,端口为22。
对于Linux用户来说,Linux也支持SSH登录方式,没有安装的可以去下载安装OpenSSH。
这里以Ubuntu为例,Ubuntu本身预装了,只需输入以下命令:
注意,192.168.1.2替换为你之前查到的开发板ip地址。
对于想通过WIFI来传输文件的用户,SecureCRT支持SFTP功能,来进行文件安全加密的互传。但是启动失败了,经查是米尔的板子安装了OPENSSH,但是并没有安装SFTP功能,缺少文件,所以没有进行。
不过,对于一般用户来说,特别是在内网中使用的话,使用简易没加密版的TFTP也可以的。米尔预装的系统中有TFTP功能,可以提供简单的文件互传功能。
对于Linux用户,需要安装tftp-server功能,这里就不说了~
对于Windows用户,系统已经自带了TFTP功能,但是很可能没有安装,需要到控制面板中安装一下。如果不想安装,可以推荐使用一个绿色版小型TFTP软件——tftpd64(32位为tftpd32),自带Client和Server模式,最重要的是占空间小。绿色包我放在论坛上,直接运行不用安装!
tftpd64.460.zip
(517.06 KB, 下载次数: 1, 售价: 1 与非币)
|
|