爱板网论坛

查看: 886|回复: 0

[原创] 【MYD-Y6ULX】上电开机,预装系统试用

[复制链接]

主题

好友

2742

积分

版主

  • TA的每日心情
    开心
    昨天 01:34
  • 签到天数: 172 天

    连续签到: 13 天

    [LV.7]常住居民III

    发表于 2018-2-26 19:02:08 |显示全部楼层
    本帖最后由 robe.zhang 于 2018-2-28 23:14 编辑

    【MYD-Y6ULX】上电开机,预装系统试用


    上电开机:
    没有lcd屏,只能用debug接口,通过usb ttl串口模块连接到电脑上:
    301.png

    电脑打开putty,我的是com3端口,115200,8n1,打开:
    302.png

    开发板通电,debug旁边的5v红色指示灯常亮,蓝色led心跳灯闪烁,串口有输出信息:
    1. U-Boot 2016.03-mys-6ulx+g9008006 (Jan 16 2018 - 16:55:05 +0800)

    2. CPU:   Freescale i.MX6UL rev1.2 528 MHz (running at 396 MHz)
    3. CPU:   Industrial temperature grade (-40C to 105C) at 24C
    4. Reset cause: POR
    5. Board: MYD-Y6UL 14x14
    6. I2C:   ready
    7. DRAM:  256 MiB
    8. NAND:  256 MiB
    9. MMC:   MMC/SD: Reset never completed.
    10. voltage not supported by controller
    11. Warning: failed to initialize mmc dev 1
    12. FSL_SDHC: 0
    13. *** Warning - bad CRC, using default environment

    14. Display: TFT43AB (480x272)
    15. Video: 480x272x24
    16. In:    serial
    17. Out:   serial
    18. Err:   serial
    19. Net:   Board Net Initialization Failed
    20. No ethernet found.
    21. Normal Boot
    22. Hit any key to stop autoboot:  0

    23. NAND read: device 0 offset 0x500000, size 0xa00000
    24. 10485760 bytes read: OK

    25. NAND read: device 0 offset 0xf00000, size 0x100000
    26. 1048576 bytes read: OK
    27. Kernel image @ 0x80800000 [ 0x000000 - 0x602380 ]
    28. ## Flattened Device Tree blob at 83000000
    29.    Booting using the fdt blob at 0x83000000
    30.    Using Device Tree in place at 83000000, end 8300c1d3
    31. Modify /soc/aips-bus@02000000/bee@02044000:status disabled
    32. ft_system_setup for mx6

    33. Starting kernel ...

    34. Booting Linux on physical CPU 0x0
    35. 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
    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. Reserved memory: failed to allocate memory for node 'linux,cma'
    40. Memory policy: Data cache writealloc
    41. PERCPU: Embedded 12 pages/cpu @8fdd3000 s16908 r8192 d24052 u49152
    42. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
    43. Kernel command line: console=ttymxc0,115200 ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs mtdparts=gpmi-nand:5m(boot),10m(kernel),1m(dtb),-(rootfs)
    44. PID hash table entries: 1024 (order: 0, 4096 bytes)
    45. Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    46. Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    47. Memory: 247644K/262144K available (7847K kernel code, 429K rwdata, 2860K rodata, 424K init, 441K bss, 14500K reserved, 0K cma-reserved, 0K highmem)
    48. Virtual kernel memory layout:
    49.     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    50.     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    51.     vmalloc : 0x90800000 - 0xff000000   (1768 MB)
    52.     lowmem  : 0x80000000 - 0x90000000   ( 256 MB)
    53.     pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    54.     modules : 0x7f000000 - 0x7fe00000   (  14 MB)
    55.       .text : 0x80008000 - 0x80a7d0f0   (10709 kB)
    56.       .init : 0x80a7e000 - 0x80ae8000   ( 424 kB)
    57.       .data : 0x80ae8000 - 0x80b53720   ( 430 kB)
    58.        .bss : 0x80b56000 - 0x80bc45b8   ( 442 kB)
    59. SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    60. Preemptible hierarchical RCU implementation.
    61.         Additional per-CPU info printed with stalls.
    62.         RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
    63. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    64. NR_IRQS:16 nr_irqs:16 16
    65. mxc_clocksource_init 24000000
    66. Switching to timer-based delay loop, resolution 41ns
    67. sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    68. clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    69. Console: colour dummy device 80x30
    70. Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
    71. pid_max: default: 32768 minimum: 301
    72. Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    73. Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    74. CPU: Testing write buffer coherency: ok
    75. /cpus/cpu@0 missing clock-frequency property
    76. CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    77. Setting up static identity map for 0x80008280 - 0x800082d8
    78. Brought up 1 CPUs
    79. SMP: Total of 1 processors activated (48.00 BogoMIPS).
    80. CPU: All CPU(s) started in SVC mode.
    81. devtmpfs: initialized
    82. device-tree: Duplicate name in lcdif@021c8000, renamed to "display#1"
    83. VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
    84. clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    85. pinctrl core: initialized pinctrl subsystem
    86. NET: Registered protocol family 16
    87. DMA: preallocated 256 KiB pool for atomic coherent allocations
    88. cpuidle: using governor ladder
    89. cpuidle: using governor menu
    90. hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    91. hw-breakpoint: maximum watchpoint size is 8 bytes.
    92. imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
    93. mxs-dma 1804000.dma-apbh: initialized
    94. SCSI subsystem initialized
    95. usbcore: registered new interface driver usbfs
    96. usbcore: registered new interface driver hub
    97. usbcore: registered new device driver usb
    98. i2c i2c-1: IMX I2C adapter registered
    99. i2c i2c-1: can't use DMA
    100. media: Linux media interface: v0.10
    101. Linux video capture interface: v2.00
    102. pps_core: LinuxPPS API ver. 1 registered
    103. pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    104. PTP clock support registered
    105. MIPI CSI2 driver module loaded
    106. Advanced Linux Sound Architecture Driver Initialized.
    107. Switched to clocksource mxc_timer1
    108. NET: Registered protocol family 2
    109. TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    110. TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
    111. TCP: Hash tables configured (established 2048 bind 2048)
    112. UDP hash table entries: 256 (order: 1, 8192 bytes)
    113. UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    114. NET: Registered protocol family 1
    115. RPC: Registered named UNIX socket transport module.
    116. RPC: Registered udp transport module.
    117. RPC: Registered tcp transport module.
    118. RPC: Registered tcp NFSv4.1 backchannel transport module.
    119. imx rpmsg driver is registered.
    120. Bus freq driver module loaded
    121. futex hash table entries: 256 (order: 2, 16384 bytes)
    122. VFS: Disk quotas dquot_6.6.0
    123. VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    124. NFS: Registering the id_resolver key type
    125. Key type id_resolver registered
    126. Key type id_legacy registered
    127. jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    128. fuse init (API version 7.23)
    129. io scheduler noop registered
    130. io scheduler deadline registered
    131. io scheduler cfq registered (default)
    132. imx-weim 21b8000.weim: Driver registered.
    133. backlight supply power not found, using dummy regulator
    134. MIPI DSI driver module loaded
    135. MIPI DSI driver module loaded
    136. 21c8000.lcdif supply lcd not found, using dummy regulator
    137. mxsfb 21c8000.lcdif: failed to find mxc display driver
    138. Console: switching to colour frame buffer device 60x34
    139. mxsfb 21c8000.lcdif: initialized
    140. imx-sdma 20ec000.sdma: no event needs to be remapped
    141. imx-sdma 20ec000.sdma: loaded firmware 3.3
    142. imx-sdma 20ec000.sdma: initialized
    143. 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 20, base_baud = 5000000) is a IMX
    144. console [ttymxc0] enabled
    145. 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 232, base_baud = 5000000) is a IMX
    146. 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 233, base_baud = 5000000) is a IMX
    147. imx sema4 driver is registered.
    148. [drm] Initialized drm 1.1.0 20060810
    149. [drm] Initialized vivante 1.0.0 20120216 on minor 0
    150. brd: module loaded
    151. loop: module loaded
    152. nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    153. nand: Micron MT29F2G08ABAEAWP
    154. nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    155. gpmi-nand 1806000.gpmi-nand: enable the asynchronous EDO mode 5
    156. Bad block table found at page 131008, version 0x01
    157. Bad block table found at page 130944, version 0x01
    158. 4 cmdlinepart partitions found on MTD device gpmi-nand
    159. Creating 4 MTD partitions on "gpmi-nand":
    160. 0x000000000000-0x000000500000 : "boot"
    161. 0x000000500000-0x000000f00000 : "kernel"
    162. 0x000000f00000-0x000001000000 : "dtb"
    163. 0x000001000000-0x000010000000 : "rootfs"
    164. gpmi-nand 1806000.gpmi-nand: driver registered.
    165. CAN device driver interface
    166. flexcan 2094000.can: device registered (reg_base=92a48000, irq=29)
    167. 20b4000.ethernet supply phy not found, using dummy regulator
    168. pps pps0: new PPS source ptp0
    169. fec 20b4000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
    170. fec 20b4000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 0a:fa:af:b3:1d:66
    171. libphy: fec_enet_mii_bus: probed
    172. fec 20b4000.ethernet eth0: registered PHC device 0
    173. 2188000.ethernet supply phy not found, using dummy regulator
    174. pps pps1: new PPS source ptp1
    175. fec 2188000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
    176. fec 2188000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 8a:cf:81:73:12:d3
    177. fec 2188000.ethernet eth1: registered PHC device 1
    178. PPP generic driver version 2.4.2
    179. PPP BSD Compression module registered
    180. PPP Deflate Compression module registered
    181. PPP MPPE Compression module registered
    182. NET: Registered protocol family 24
    183. SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
    184. CSLIP: code copyright 1989 Regents of the University of California.
    185. SLIP linefill/keepalive option.
    186. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    187. ehci-mxc: Freescale On-Chip EHCI Host driver
    188. usbcore: registered new interface driver usb-storage
    189. usbcore: registered new interface driver usbserial
    190. usbcore: registered new interface driver usbserial_generic
    191. usbserial: USB Serial support registered for generic
    192. usbcore: registered new interface driver option
    193. usbserial: USB Serial support registered for GSM modem (1-port)
    194. usbcore: registered new interface driver usb_ehset_test
    195. 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
    196. 2184000.usb supply vbus not found, using dummy regulator
    197. 2184200.usb supply vbus not found, using dummy regulator
    198. ci_hdrc ci_hdrc.1: EHCI Host Controller
    199. ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
    200. ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
    201. hub 1-0:1.0: USB hub found
    202. hub 1-0:1.0: 1 port detected
    203. mousedev: PS/2 mouse device common for all mice
    204. input: 20cc000.snvs:snvs-powerkey as /devices/platform/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
    205. tp reset gpio=130
    206. msg ft5x0x_i2c_rxdata i2c read error: -5
    207. ft5x0x read ID error!
    208. ft5x06_ts: probe of 1-0038 failed with error 161
    209. ft5x0x_ts_init successful
    210. input: iMX6UL TouchScreen Controller as /devices/platform/soc/2000000.aips-bus/2040000.tsc/input/input1
    211. snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
    212. i2c /dev entries driver
    213. IR NEC protocol handler initialized
    214. IR RC5(x/sz) protocol handler initialized
    215. IR RC6 protocol handler initialized
    216. IR JVC protocol handler initialized
    217. IR Sony protocol handler initialized
    218. IR SANYO protocol handler initialized
    219. IR Sharp protocol handler initialized
    220. IR MCE Keyboard/mouse protocol handler initialized
    221. IR XMP protocol handler initialized
    222. pxp-v4l2 pxp_v4l2: initialized
    223. usbcore: registered new interface driver uvcvideo
    224. USB Video Class driver (1.1.1)
    225. sdhci: Secure Digital Host Controller Interface driver
    226. sdhci: Copyright(c) Pierre Ossman
    227. sdhci-pltfm: SDHCI platform and OF driver helper
    228. /soc/aips-bus@02100000/usdhc@02190000: voltage-ranges unspecified
    229. sdhci-esdhc-imx 2190000.usdhc: could not get ultra high speed state, work on normal mode
    230. sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
    231. sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found
    232. mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
    233. /soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
    234. sdhci-esdhc-imx 2194000.usdhc: could not get ultra high speed state, work on normal mode
    235. sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
    236. sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
    237. mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
    238. caam 2140000.caam: Entropy delay = 3200
    239. caam 2140000.caam: Instantiated RNG4 SH0
    240. usb 1-1: new high-speed USB device number 2 using ci_hdrc
    241. mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
    242. mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    243. mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    244. mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
    245. mmc1: queuing unknown CIS tuple 0x80 (10 bytes)
    246. caam 2140000.caam: Instantiated RNG4 SH1
    247. caam 2140000.caam: device ID = 0x0a16030000000000 (Era -524)
    248. caam 2140000.caam: job rings = 3, qi = 0
    249. mmc1: new high speed SDIO card at address 0001
    250. hub 1-1:1.0: USB hub found
    251. hub 1-1:1.0: 4 ports detected
    252. caam algorithms registered in /proc/crypto
    253. caam_jr 2141000.jr0: registering rng-caam
    254. platform caam_sm: blkkey_ex: 8 keystore units available
    255. platform caam_sm: 64-bit clear key:
    256. platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
    257. platform caam_sm: 64-bit black key:
    258. platform caam_sm: [0000] 3a 83 0c 9e bf e9 5f c9
    259. platform caam_sm: [0008] 5b 52 2c be 2f ac 09 5c
    260. platform caam_sm: 128-bit clear key:
    261. platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
    262. platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
    263. platform caam_sm: 128-bit black key:
    264. platform caam_sm: [0000] 0a f7 c1 1a 4f 42 36 39
    265. platform caam_sm: [0008] 64 9f 9d 4f 4e ef c6 31
    266. platform caam_sm: 192-bit clear key:
    267. platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
    268. platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
    269. platform caam_sm: [0016] 10 11 12 13 14 15 16 17
    270. platform caam_sm: 192-bit black key:
    271. platform caam_sm: [0000] f2 91 ef 9d 75 4d 0f 72
    272. platform caam_sm: [0008] 63 0e f8 e3 e4 f8 1e 9b
    273. platform caam_sm: [0016] 84 a3 08 bd 74 d5 97 55
    274. platform caam_sm: [0024] 88 96 e6 b2 ed 59 01 52
    275. platform caam_sm: 256-bit clear key:
    276. platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
    277. platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
    278. platform caam_sm: [0016] 10 11 12 13 14 15 16 17
    279. platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1f
    280. platform caam_sm: 256-bit black key:
    281. platform caam_sm: [0000] 2b 14 d6 d7 22 c6 f7 cb
    282. platform caam_sm: [0008] f6 8d a1 55 b7 2b c3 5a
    283. platform caam_sm: [0016] 03 e9 2b 50 ec 82 ad 42
    284. platform caam_sm: [0024] 48 09 8c eb 7e 8a 3c 3b
    285. platform caam_sm: 64-bit unwritten blob:
    286. platform caam_sm: [0000] 00 00 00 00 00 00 00 00
    287. platform caam_sm: [0008] 00 00 00 00 00 00 00 00
    288. platform caam_sm: [0016] 00 00 00 00 00 00 00 00
    289. platform caam_sm: [0024] 00 00 00 00 00 00 00 00
    290. platform caam_sm: [0032] 00 00 00 00 00 00 00 00
    291. platform caam_sm: [0040] 00 00 00 00 00 00 00 00
    292. platform caam_sm: [0048] 00 00 00 00 00 00 00 00
    293. platform caam_sm: [0056] 00 00 00 00 00 00 00 00
    294. platform caam_sm: [0064] 00 00 00 00 00 00 00 00
    295. platform caam_sm: [0072] 00 00 00 00 00 00 00 00
    296. platform caam_sm: [0080] 00 00 00 00 00 00 00 00
    297. platform caam_sm: [0088] 00 00 00 00 00 00 00 00
    298. platform caam_sm: 128-bit unwritten blob:
    299. platform caam_sm: [0000] 00 00 00 00 00 00 00 00
    300. platform caam_sm: [0008] 00 00 00 00 00 00 00 00
    301. platform caam_sm: [0016] 00 00 00 00 00 00 00 00
    302. platform caam_sm: [0024] 00 00 00 00 00 00 00 00
    303. platform caam_sm: [0032] 00 00 00 00 00 00 00 00
    304. platform caam_sm: [0040] 00 00 00 00 00 00 00 00
    305. platform caam_sm: [0048] 00 00 00 00 00 00 00 00
    306. platform caam_sm: [0056] 00 00 00 00 00 00 00 00
    307. platform caam_sm: [0064] 00 00 00 00 00 00 00 00
    308. platform caam_sm: [0072] 00 00 00 00 00 00 00 00
    309. platform caam_sm: [0080] 00 00 00 00 00 00 00 00
    310. platform caam_sm: [0088] 00 00 00 00 00 00 00 00
    311. platform caam_sm: 196-bit unwritten blob:
    312. platform caam_sm: [0000] 00 00 00 00 00 00 00 00
    313. platform caam_sm: [0008] 00 00 00 00 00 00 00 00
    314. platform caam_sm: [0016] 00 00 00 00 00 00 00 00
    315. platform caam_sm: [0024] 00 00 00 00 00 00 00 00
    316. platform caam_sm: [0032] 00 00 00 00 00 00 00 00
    317. platform caam_sm: [0040] 00 00 00 00 00 00 00 00
    318. platform caam_sm: [0048] 00 00 00 00 00 00 00 00
    319. platform caam_sm: [0056] 00 00 00 00 00 00 00 00
    320. platform caam_sm: [0064] 00 00 00 00 00 00 00 00
    321. platform caam_sm: [0072] 00 00 00 00 00 00 00 00
    322. platform caam_sm: [0080] 00 00 00 00 00 00 00 00
    323. platform caam_sm: [0088] 00 00 00 00 00 00 00 00
    324. platform caam_sm: 256-bit unwritten blob:
    325. platform caam_sm: [0000] 00 00 00 00 00 00 00 00
    326. platform caam_sm: [0008] 00 00 00 00 00 00 00 00
    327. platform caam_sm: [0016] 00 00 00 00 00 00 00 00
    328. platform caam_sm: [0024] 00 00 00 00 00 00 00 00
    329. platform caam_sm: [0032] 00 00 00 00 00 00 00 00
    330. platform caam_sm: [0040] 00 00 00 00 00 00 00 00
    331. platform caam_sm: [0048] 00 00 00 00 00 00 00 00
    332. platform caam_sm: [0056] 00 00 00 00 00 00 00 00
    333. platform caam_sm: [0064] 00 00 00 00 00 00 00 00
    334. platform caam_sm: [0072] 00 00 00 00 00 00 00 00
    335. platform caam_sm: [0080] 00 00 00 00 00 00 00 00
    336. platform caam_sm: [0088] 00 00 00 00 00 00 00 00
    337. platform caam_sm: 64-bit black key in blob:
    338. platform caam_sm: [0000] 22 22 5f 35 a5 12 9d 7d
    339. platform caam_sm: [0008] eb 2e 69 f9 e0 37 f6 40
    340. platform caam_sm: [0016] ea a9 3e be cc de 41 dd
    341. platform caam_sm: [0024] fc 62 31 ee 92 cd cb 46
    342. platform caam_sm: [0032] ee 02 ec f2 4b a4 1e ce
    343. platform caam_sm: [0040] f1 a9 70 81 f1 f5 cf 8e
    344. platform caam_sm: [0048] 7b 73 16 9a 76 cd aa 0f
    345. platform caam_sm: [0056] 00 00 00 00 00 00 00 00
    346. platform caam_sm: [0064] 00 00 00 00 00 00 00 00
    347. platform caam_sm: [0072] 00 00 00 00 00 00 00 00
    348. platform caam_sm: [0080] 00 00 00 00 00 00 00 00
    349. platform caam_sm: [0088] 00 00 00 00 00 00 00 00
    350. platform caam_sm: 128-bit black key in blob:
    351. platform caam_sm: [0000] 16 15 90 13 bd b6 5c e3
    352. platform caam_sm: [0008] f2 2f ba 35 99 3a 1e 2e
    353. platform caam_sm: [0016] b9 a1 ea 41 3f cb 43 28
    354. platform caam_sm: [0024] 38 e8 9f 29 e6 85 80 0f
    355. platform caam_sm: [0032] d5 17 89 00 d5 e7 ef c0
    356. platform caam_sm: [0040] 19 ab 9e 3c 20 7a 4c 1e
    357. platform caam_sm: [0048] 32 84 0f 20 98 ab 38 58
    358. platform caam_sm: [0056] 90 8c 3f 14 3c fc e0 c1
    359. platform caam_sm: [0064] 00 00 00 00 00 00 00 00
    360. platform caam_sm: [0072] 00 00 00 00 00 00 00 00
    361. platform caam_sm: [0080] 00 00 00 00 00 00 00 00
    362. platform caam_sm: [0088] 00 00 00 00 00 00 00 00
    363. platform caam_sm: 192-bit black key in blob:
    364. platform caam_sm: [0000] 08 25 9f 71 6c c6 b1 97
    365. platform caam_sm: [0008] 92 23 87 cb b9 cb 32 5d
    366. platform caam_sm: [0016] f7 e0 6a 9a 8c f7 27 b1
    367. platform caam_sm: [0024] 4c 66 89 af 6a e0 4e 2b
    368. platform caam_sm: [0032] 77 4e 79 55 57 5d ad 1c
    369. platform caam_sm: [0040] 1b 76 b4 aa c1 ef cd 2b
    370. platform caam_sm: [0048] 3f 92 6f c4 31 28 13 22
    371. platform caam_sm: [0056] fa 60 c1 0f a5 93 a3 c2
    372. platform caam_sm: [0064] c6 3c ba 94 60 bb da 92
    373. platform caam_sm: [0072] 00 00 00 00 00 00 00 00
    374. platform caam_sm: [0080] 00 00 00 00 00 00 00 00
    375. platform caam_sm: [0088] 00 00 00 00 00 00 00 00
    376. platform caam_sm: 256-bit black key in blob:
    377. platform caam_sm: [0000] fa 32 bd 4c ef b8 89 0b
    378. platform caam_sm: [0008] 13 1d 36 15 cf 4b f0 85
    379. platform caam_sm: [0016] 77 44 23 8a 73 10 6b 1e
    380. platform caam_sm: [0024] 6d e3 21 8d 4f 9d 32 99
    381. platform caam_sm: [0032] 6f 2b f2 99 b5 f7 92 f6
    382. platform caam_sm: [0040] a0 e1 a5 90 7f 10 3a 56
    383. platform caam_sm: [0048] bd d1 7f d2 08 22 eb 1c
    384. platform caam_sm: [0056] aa 7e 34 d7 23 e3 35 78
    385. platform caam_sm: [0064] 4a c0 86 48 29 b7 0f e9
    386. platform caam_sm: [0072] 2b f1 47 89 7e b7 d3 3e
    387. platform caam_sm: [0080] 00 00 00 00 00 00 00 00
    388. platform caam_sm: [0088] 00 00 00 00 00 00 00 00
    389. platform caam_sm: restored 64-bit black key:
    390. platform caam_sm: [0000] 63 9e 7a fb 05 88 ce 33
    391. platform caam_sm: [0008] 7f 86 8f 81 90 2a bb 9e
    392. platform caam_sm: restored 128-bit black key:
    393. platform caam_sm: [0000] 0a f7 c1 1a 4f 42 36 39
    394. platform caam_sm: [0008] 64 9f 9d 4f 4e ef c6 31
    395. platform caam_sm: restored 192-bit black key:
    396. platform caam_sm: [0000] f2 91 ef 9d 75 4d 0f 72
    397. platform caam_sm: [0008] 63 0e f8 e3 e4 f8 1e 9b
    398. platform caam_sm: [0016] 2a ce 5c f4 d8 f4 5a 9e
    399. platform caam_sm: [0024] f7 3c a1 2d 62 c7 21 ab
    400. platform caam_sm: restored 256-bit black key:
    401. platform caam_sm: [0000] 2b 14 d6 d7 22 c6 f7 cb
    402. platform caam_sm: [0008] f6 8d a1 55 b7 2b c3 5a
    403. platform caam_sm: [0016] 03 e9 2b 50 ec 82 ad 42
    404. platform caam_sm: [0024] 48 09 8c eb 7e 8a 3c 3b
    405. snvs-secvio 20cc000.caam-snvs: can't get snvs clock
    406. snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state
    407. usbcore: registered new interface driver usbhid
    408. usbhid: USB HID core driver
    409. usbcore: registered new interface driver snd-usb-audio
    410. 1-001a supply DCVDD not found, using dummy regulator
    411. 1-001a supply DBVDD not found, using dummy regulator
    412. 1-001a supply AVDD not found, using dummy regulator
    413. 1-001a supply CPVDD not found, using dummy regulator
    414. 1-001a supply MICVDD not found, using dummy regulator
    415. wm8904 1-001a: Failed to read ID register: -5
    416. wm8904: probe of 1-001a failed with error -5
    417. fsl-asrc 2034000.asrc: driver registered
    418. imx-wm8904 sound: failed to find codec platform device
    419. imx-wm8904: probe of sound failed with error -22
    420. NET: Registered protocol family 26
    421. NET: Registered protocol family 10
    422. sit: IPv6 over IPv4 tunneling driver
    423. NET: Registered protocol family 17
    424. can: controller area network core (rev 20120528 abi 9)
    425. NET: Registered protocol family 29
    426. can: raw protocol (rev 20120528)
    427. can: broadcast manager protocol (rev 20120528 t)
    428. can: netlink gateway (rev 20130117) max_hops=1
    429. 8021q: 802.1Q VLAN Support v1.8
    430. Key type dns_resolver registered
    431. ubi0: attaching mtd3
    432. random: nonblocking pool is initialized
    433. ubi0: scanning is finished
    434. ubi0: attached mtd3 (name "rootfs", size 240 MiB)
    435. ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    436. ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    437. ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    438. ubi0: good PEBs: 1916, bad PEBs: 4, corrupted PEBs: 0
    439. ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    440. ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 841800621
    441. ubi0: available PEBs: 0, total reserved PEBs: 1916, PEBs reserved for bad PEB handling: 36
    442. ubi0: background thread "ubi_bgt0d" started, PID 139
    443. input: gpio-keys as /devices/platform/gpio-keys/input/input2
    444. snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:02 UTC (2)
    445. VSD_3V3: disabling
    446. can-3v3: disabling
    447. ALSA device list:
    448.   No soundcards found.
    449. UBIFS (ubi0:0): recovery needed
    450. UBIFS (ubi0:0): recovery deferred
    451. UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode
    452. UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    453. UBIFS (ubi0:0): FS size: 236683264 bytes (225 MiB, 1864 LEBs), journal size 11808768 bytes (11 MiB, 93 LEBs)
    454. UBIFS (ubi0:0): reserved for root: 4952683 bytes (4836 KiB)
    455. UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID ACA63601-7726-4139-B9C2-FF8D33EF605B, small LPT model
    456. VFS: Mounted root (ubifs filesystem) readonly on device 0:14.
    457. devtmpfs: mounted
    458. Freeing unused kernel memory: 424K (80a7e000 - 80ae8000)
    459. INIT: version 2.88 booting
    460. Starting udev
    461. udevd[175]: starting version 3.1.5
    462. UBIFS (ubi0:0): completing deferred recovery
    463. UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 209
    464. UBIFS (ubi0:0): deferred recovery completed
    465. ov2659 1-0030: Sensor soft reset failed
    466. bootlogd: cannot allocate pseudo tty: No such file or directory
    467. brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d
    468. brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
    469. ALSA: Restoring mixer settings...
    470. Wed Jan 24 03:05:50 UTC 2018
    471. /usr/sbin/alsactl: load_state:1735: No soundcards found...
    472. INIT: Entering runlevel: 5
    473. Configuring network interfaces... fec 20b4000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=20b4000.ethernet:01, irq=-1)
    474. IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    475. udhcpc (v1.24.1) started
    476. Sending discover...
    477. Sending discover...
    478. Sending discover...
    479. No lease, forking to background
    480. done.
    481. Starting system message bus: dbus.
    482. Starting OpenBSD Secure Shell server: sshd
    483.   generating ssh RSA key...
    484.   generating ssh ECDSA key...
    485.   generating ssh DSA key...
    486.   generating ssh ED25519 key...
    487. done.
    488. Starting rpcbind daemon...done.
    489. Starting advanced power management daemon: No APM support in kernel
    490. (failed.)
    491. Starting syslogd/klogd: done
    492. * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
    493.    ...done.
    494. Starting Telephony daemon
    495. Starting Linux NFC daemon
    496. Running local boot scripts (/etc/rc.local).
    497. xres = 480, yres = 272

    498. Freescale i.MX Release Distro 4.1.15-2.0.1 myd-y6ul14x14 /dev/ttymxc0

    499. myd-y6ul14x14 login: root
    500. root@myd-y6ul14x14:~# ls /
    501. bin    dev    home   media  proc   sbin   tmp    var
    502. boot   etc    lib    mnt    run    sys    usr
    复制代码
    官方的预装的是Freescale i.MX Release Distro4.1.15-2.0.1系统,busybox轻量级的,相对小简单,系统占用cpumemory也没多少:
    303.png

    ----------------
    304.png

    Nand flash占用的比较多,预装的系统50多兆占用了25%,工控就是工控,没办法自己折腾:(15GB和479GB两个是我自己的盘,不是板子自带的)
    305.png

    这个是nand flash 的分区信息:
    0是uboot分区,5兆大小
    1是kernel分区,2是dtb,3是rootfs,单位都是KB
    306.png

    Cpu信息:
    307.png

    内存:
    308.png

    Modules:
    309.png

    手动加载了个modules:看样子应该是示例代码会用到这个modules
    310.png

    系统是这个版本;工具链比常用的版本高,奇怪的是:工具链也不是系统光盘上那个版本,这就有点意思了:(感觉有点乱,这样也好,两个我都可以不用,用我自己的,反正已经很乱也不差我多这一个)
    311.png

    接下来看看示例代码,首先搭建开发环境:
    我的开发环境是这样的:我不用虚拟机,个人感觉虚拟机性能不好,用的linux服务器搭建的开发环境,此处省略1万字。自己随便搭,搭建起来能用就行
    312.png

    开发板:
    313.png

    Windows电脑上:
    314.png


    稍后看看示例代码:
    <未完待续>





    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    关闭

    站长推荐上一条 /4 下一条

    手机版|爱板网

    GMT+8, 2018-6-18 17:35 , Processed in 0.086057 second(s), 13 queries , MemCache On.

    ICP经营许可证 苏B2-20140176  苏ICP备14012660号-5   苏州灵动帧格网络科技有限公司 版权所有.

    苏公网安备 32059002001056号

    Powered by Discuz!

    返回顶部