查看: 3444|回复: 1

【电鱼派试用】+ 启动电鱼派的 Linux 系统

[复制链接]
  • TA的每日心情

    2020-5-31 22:16
  • 签到天数: 290 天

    连续签到: 1 天

    [LV.8]以坛为家I

    发表于 2016-12-11 13:22:58 | 显示全部楼层 |阅读模式
    分享到:
    本帖最后由 gurouhu1 于 2016-12-11 13:59 编辑

    紧接上文,本节跟大家介绍如何启动电鱼派的 Linux 系统
    1、安装超级终端
    超级终端为SecureCRT,安装比较简单,不再赘述了。
    2、安装串口驱动

    一、如图所示,将串口线连接好,插上USB
    03.JPG

    二、打开设备管理器,因为我的电脑已经转过驱动了,可以看到驱动已经安装,如图:
    04.JPG


    三、打开串口终端,设置相关参数如图:
    05.JPG



    3、给开发板上电
    打印log如图:
    1. U-Boot 2013.01.01 (Oct 17 2016 - 03:18:54)

    2. I2C:   ready
    3. DRAM:  128 MiB
    4. WARNING: Caches not enabled
    5. NAND:  No NAND device found!!!
    6. 0 MiB
    7. MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    8. *** Warning - readenv() failed, using default environment

    9. musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    10. musb-hdrc: MHDRC RTL version 2.0
    11. musb-hdrc: setup fifo_mode 4
    12. musb-hdrc: 28/31 max ep, 16384/16384 memory
    13. USB Peripheral mode controller at 47401000 using PIO, IRQ 0
    14. musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    15. musb-hdrc: MHDRC RTL version 2.0
    16. musb-hdrc: setup fifo_mode 4
    17. musb-hdrc: 28/31 max ep, 16384/16384 memory
    18. USB Host mode controller at 47401800 using PIO, IRQ 0
    19. Net:   <ethaddr> not set. Validating first E-fuse MAC
    20. cpsw, usb_ether
    21. Hit any key to stop autoboot:  0
    22. mmc0 is current device
    23. SD/MMC found on device 0
    24. reading uEnv.txt
    25. ** Unable to read file uEnv.txt **
    26. reading uImage
    27. 3627136 bytes read in 393 ms (8.8 MiB/s)
    28. Booting from mmc ...
    29. ## Booting kernel from Legacy Image at 80007fc0 ...
    30.    Image Name:   Linux-3.2.0
    31.    Image Type:   ARM Linux Kernel Image (uncompressed)
    32.    Data Size:    3627072 Bytes = 3.5 MiB
    33.    Load Address: 80008000
    34.    Entry Point:  80008000
    35.    Verifying Checksum ... OK
    36.    XIP Kernel Image ... OK
    37. OK

    38. Starting kernel ...

    39. Uncompressing Linux... done, booting the kernel.
    40. [    0.000000] Linux version 3.2.0 (root@wang) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #59 Mon Nov 7 22:29:44 EST 2016
    41. [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    42. [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    43. [    0.000000] Machine: am335xevm
    44. [    0.000000] Memory policy: ECC disabled, Data cache writeback
    45. [    0.000000] AM335X ES1.0 (neon )
    46. [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    47. [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait ip=none
    48. [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    49. [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    50. [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    51. [    0.000000] Memory: 128MB = 128MB total
    52. [    0.000000] Memory: 122640k/122640k available, 8432k reserved, 0K highmem
    53. [    0.000000] Virtual kernel memory layout:
    54. [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    55. [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    56. [    0.000000]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
    57. [    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    58. [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    59. [    0.000000]       .text : 0xc0008000 - 0xc0645000   (6388 kB)
    60. [    0.000000]       .init : 0xc0645000 - 0xc0681000   ( 240 kB)
    61. [    0.000000]       .data : 0xc0682000 - 0xc06e9488   ( 414 kB)
    62. [    0.000000]        .bss : 0xc06e94ac - 0xc07182c0   ( 188 kB)
    63. [    0.000000] NR_IRQS:396
    64. [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    65. [    0.000000] Total of 128 interrupts on 1 active controller
    66. [    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
    67. [    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
    68. [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    69. [    0.000000] Console: colour dummy device 80x30
    70. [    0.000122] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
    71. [    0.058959] pid_max: default: 32768 minimum: 301
    72. [    0.059082] Security Framework initialized
    73. [    0.059173] Mount-cache hash table entries: 512
    74. [    0.059509] CPU: Testing write buffer coherency: ok
    75. [    0.079864] omap_hwmod: gfx: failed to hardreset
    76. [    0.096130] omap_hwmod: pruss: failed to hardreset
    77. [    0.097198] print_constraints: dummy:
    78. [    0.097564] NET: Registered protocol family 16
    79. [    0.099731] OMAP GPIO hardware version 0.1
    80. [    0.102264] omap_mux_init: Add partition: #1: core, flags: 0
    81. [    0.104064]  omap_i2c.1: alias fck already exists
    82. [    0.105468]  da8xx_lcdc.0: alias fck already exists
    83. [    0.106750]  omap_i2c.2: alias fck already exists
    84. [    0.107086]  omap_hsmmc.0: alias fck already exists
    85. [    0.107360]  d_can.1: alias fck already exists
    86. [    0.107849]  omap_i2c.2: alias fck already exists
    87. [    0.107879] ------------[ cut here ]------------
    88. [    0.107910] WARNING: at fs/sysfs/dir.c:481 sysfs_add_one+0xa0/0xb0()
    89. [    0.107940] sysfs: cannot create duplicate filename '/devices/platform/omap/omap_i2c.2'
    90. [    0.107940] Modules linked in:
    91. [    0.107940] Backtrace:
    92. [    0.107971] [<c0018d28>] (dump_backtrace+0x0/0x110) from [<c04b7d00>] (dump_stack+0x18/0x1c)
    93. [    0.108001]  r6:000001e1 r5:c0110ce0 r4:c701dcc8 r3:c06a5308
    94. [    0.108032] [<c04b7ce8>] (dump_stack+0x0/0x1c) from [<c0043478>] (warn_slowpath_common+0x5c/0x6c)
    95. [    0.108062] [<c004341c>] (warn_slowpath_common+0x0/0x6c) from [<c004352c>] (warn_slowpath_fmt+0x38/0x40)
    96. [    0.108062]  r8:c7070770 r7:c702e000 r6:c7070770 r5:c702e000 r4:ffffffef
    97. [    0.108093] r3:00000009
    98. [    0.108093] [<c00434f4>] (warn_slowpath_fmt+0x0/0x40) from [<c0110ce0>] (sysfs_add_one+0xa0/0xb0)
    99. [    0.108093]  r3:c702e000 r2:c05bb8d0
    100. [    0.108123] [<c0110c40>] (sysfs_add_one+0x0/0xb0) from [<c0110d58>] (create_dir+0x68/0xbc)
    101. [    0.108123]  r7:00000000 r6:c7013a40 r5:00000001 r4:c7071e10
    102. [    0.108154] [<c0110cf0>] (create_dir+0x0/0xbc) from [<c0110e70>] (sysfs_create_dir+0x90/0xe0)
    103. [    0.108184]  r8:00000000 r7:c06a4b00 r6:c7013a40 r5:00000000 r4:c7071e10
    104. [    0.108215] [<c0110de0>] (sysfs_create_dir+0x0/0xe0) from [<c01ed654>] (kobject_add_internal+0xa4/0x23c)
    105. [    0.108215]  r6:c06a4b08 r5:00000000 r4:c7071e10
    106. [    0.108245] [<c01ed5b0>] (kobject_add_internal+0x0/0x23c) from [<c01edb24>] (kobject_add+0x54/0x94)
    107. [    0.108245]  r8:00000000 r7:c06a4b00 r6:00000000 r5:c06a4b08 r4:c7071e10
    108. [    0.108306] [<c01edad0>] (kobject_add+0x0/0x94) from [<c0256238>] (device_add+0xa8/0x664)
    109. [    0.108306]  r3:00000000 r2:00000000
    110. [    0.108306]  r6:c7071e10 r5:c7071f28 r4:c7071e08
    111. [    0.108337] [<c0256190>] (device_add+0x0/0x664) from [<c025adac>] (platform_device_add+0x120/0x280)
    112. [    0.108367] [<c025ac8c>] (platform_device_add+0x0/0x280) from [<c003aae0>] (omap_device_register+0x3c/0x5c)
    113. [    0.108367]  r8:c06ec020 r7:c04c1ea8 r6:00000000 r5:c706d2c0 r4:c7071e00
    114. [    0.108398] r3:c06a4b00
    115. [    0.108398] [<c003aaa4>] (omap_device_register+0x0/0x5c) from [<c003ac08>] (omap_device_build_ss+0x108/0x14c)
    116. [    0.108428]  r4:c7071e00 r3:00000000
    117. [    0.108428] [<c003ab00>] (omap_device_build_ss+0x0/0x14c) from [<c003aca0>] (omap_device_build+0x54/0x5c)
    118. [    0.108459] [<c003ac4c>] (omap_device_build+0x0/0x5c) from [<c06553f4>] (omap_i2c_add_bus+0x100/0x13c)
    119. [    0.108489] [<c06552f4>] (omap_i2c_add_bus+0x0/0x13c) from [<c0655574>] (omap_register_i2c_bus+0x7c/0x80)
    120. [    0.108489]  r7:c06792f4 r6:00000000 r5:00000064 r4:00000002
    121. [    0.108520] [<c06554f8>] (omap_register_i2c_bus+0x0/0x80) from [<c00372a0>] (i2c2_init+0x2c/0x34)
    122. [    0.108520]  r5:c06a3ab0 r4:000000b4
    123. [    0.108551] [<c0037274>] (i2c2_init+0x0/0x34) from [<c04b8028>] (_configure_device.constprop.8+0x40/0x58)
    124. [    0.108581] [<c04b7fe8>] (_configure_device.constprop.8+0x0/0x58) from [<c06539d0>] (dianyu335x_init+0x110/0x308)
    125. [    0.108581]  r6:c06a2f10 r5:c0679224 r4:00000000 r3:c00b1410
    126. [    0.108612] [<c06538c0>] (dianyu335x_init+0x0/0x308) from [<c06484bc>] (customize_machine+0x28/0x30)
    127. [    0.108612]  r7:00000000 r6:c0046a14 r5:c701c000 r4:c06e94c0
    128. [    0.108642] [<c0648494>] (customize_machine+0x0/0x30) from [<c00086d0>] (do_one_initcall+0x3c/0x178)
    129. [    0.108673] [<c0008694>] (do_one_initcall+0x0/0x178) from [<c0645880>] (kernel_init+0x9c/0x124)
    130. [    0.108703] [<c06457e4>] (kernel_init+0x0/0x124) from [<c0046a14>] (do_exit+0x0/0x690)
    131. [    0.108703]  r5:c06457e4 r4:00000000
    132. [    0.108764] ---[ end trace 1b75b31a2719ed1c ]---
    133. [    0.108764] kobject_add_internal failed for omap_i2c.2 with -EEXIST, don't try to register things with the same name in the same directory.
    134. [    0.108795] Backtrace:
    135. [    0.108795] [<c0018d28>] (dump_backtrace+0x0/0x110) from [<c04b7d00>] (dump_stack+0x18/0x1c)
    136. [    0.108825]  r6:c06a4b08 r5:ffffffef r4:c7071e10 r3:c06a5308
    137. [    0.108856] [<c04b7ce8>] (dump_stack+0x0/0x1c) from [<c01ed7e0>] (kobject_add_internal+0x230/0x23c)
    138. [    0.108856] [<c01ed5b0>] (kobject_add_internal+0x0/0x23c) from [<c01edb24>] (kobject_add+0x54/0x94)
    139. [    0.108886]  r8:00000000 r7:c06a4b00 r6:00000000 r5:c06a4b08 r4:c7071e10
    140. [    0.108917] [<c01edad0>] (kobject_add+0x0/0x94) from [<c0256238>] (device_add+0xa8/0x664)
    141. [    0.108917]  r3:00000000 r2:00000000
    142. [    0.108917]  r6:c7071e10 r5:c7071f28 r4:c7071e08
    143. [    0.108947] [<c0256190>] (device_add+0x0/0x664) from [<c025adac>] (platform_device_add+0x120/0x280)
    144. [    0.108978] [<c025ac8c>] (platform_device_add+0x0/0x280) from [<c003aae0>] (omap_device_register+0x3c/0x5c)
    145. [    0.109008]  r8:c06ec020 r7:c04c1ea8 r6:00000000 r5:c706d2c0 r4:c7071e00
    146. [    0.109039] r3:c06a4b00
    147. [    0.109069] [<c003aaa4>] (omap_device_register+0x0/0x5c) from [<c003ac08>] (omap_device_build_ss+0x108/0x14c)
    148. [    0.109069]  r4:c7071e00 r3:00000000
    149. [    0.109100] [<c003ab00>] (omap_device_build_ss+0x0/0x14c) from [<c003aca0>] (omap_device_build+0x54/0x5c)
    150. [    0.109100] [<c003ac4c>] (omap_device_build+0x0/0x5c) from [<c06553f4>] (omap_i2c_add_bus+0x100/0x13c)
    151. [    0.109130] [<c06552f4>] (omap_i2c_add_bus+0x0/0x13c) from [<c0655574>] (omap_register_i2c_bus+0x7c/0x80)
    152. [    0.109130]  r7:c06792f4 r6:00000000 r5:00000064 r4:00000002
    153. [    0.109161] [<c06554f8>] (omap_register_i2c_bus+0x0/0x80) from [<c00372a0>] (i2c2_init+0x2c/0x34)
    154. [    0.109161]  r5:c06a3ab0 r4:000000b4
    155. [    0.109191] [<c0037274>] (i2c2_init+0x0/0x34) from [<c04b8028>] (_configure_device.constprop.8+0x40/0x58)
    156. [    0.109222] [<c04b7fe8>] (_configure_device.constprop.8+0x0/0x58) from [<c06539d0>] (dianyu335x_init+0x110/0x308)
    157. [    0.109222]  r6:c06a2f10 r5:c0679224 r4:00000000 r3:c00b1410
    158. [    0.109252] [<c06538c0>] (dianyu335x_init+0x0/0x308) from [<c06484bc>] (customize_machine+0x28/0x30)
    159. [    0.109252]  r7:00000000 r6:c0046a14 r5:c701c000 r4:c06e94c0
    160. [    0.109283] [<c0648494>] (customize_machine+0x0/0x30) from [<c00086d0>] (do_one_initcall+0x3c/0x178)
    161. [    0.109313] [<c0008694>] (do_one_initcall+0x0/0x178) from [<c0645880>] (kernel_init+0x9c/0x124)
    162. [    0.109313] [<c06457e4>] (kernel_init+0x0/0x124) from [<c0046a14>] (do_exit+0x0/0x690)
    163. [    0.109344]  r5:c06457e4 r4:00000000
    164. [    0.109344] omap_device: omap_i2c: build failed (-17)
    165. [    0.109344] ------------[ cut here ]------------
    166. [    0.109375] WARNING: at arch/arm/plat-omap/i2c.c:188 omap_i2c_add_bus+0x130/0x13c()
    167. [    0.109375] Could not build omap_device for omap_i2c
    168. [    0.109375] Modules linked in:
    169. [    0.109405] Backtrace:
    170. [    0.109405] [<c0018d28>] (dump_backtrace+0x0/0x110) from [<c04b7d00>] (dump_stack+0x18/0x1c)
    171. [    0.109436]  r6:000000bc r5:c0655424 r4:c701deb0 r3:c06a5308
    172. [    0.109436] [<c04b7ce8>] (dump_stack+0x0/0x1c) from [<c0043478>] (warn_slowpath_common+0x5c/0x6c)
    173. [    0.109466] [<c004341c>] (warn_slowpath_common+0x0/0x6c) from [<c004352c>] (warn_slowpath_fmt+0x38/0x40)
    174. [    0.109466]  r8:00000000 r7:00000014 r6:c003bf70 r5:ffffffef r4:00000000
    175. [    0.109497] r3:00000009
    176. [    0.109527] [<c00434f4>] (warn_slowpath_fmt+0x0/0x40) from [<c0655424>] (omap_i2c_add_bus+0x130/0x13c)
    177. [    0.109527]  r3:c04c1ea8 r2:c05a6584
    178. [    0.109527] [<c06552f4>] (omap_i2c_add_bus+0x0/0x13c) from [<c0655574>] (omap_register_i2c_bus+0x7c/0x80)
    179. [    0.109558]  r7:c06792f4 r6:00000000 r5:00000064 r4:00000002
    180. [    0.109588] [<c06554f8>] (omap_register_i2c_bus+0x0/0x80) from [<c00372a0>] (i2c2_init+0x2c/0x34)
    181. [    0.109588]  r5:c06a3ab0 r4:000000b4
    182. [    0.109619] [<c0037274>] (i2c2_init+0x0/0x34) from [<c04b8028>] (_configure_device.constprop.8+0x40/0x58)
    183. [    0.109619] [<c04b7fe8>] (_configure_device.constprop.8+0x0/0x58) from [<c06539d0>] (dianyu335x_init+0x110/0x308)
    184. [    0.109649]  r6:c06a2f10 r5:c0679224 r4:00000000 r3:c00b1410
    185. [    0.109649] [<c06538c0>] (dianyu335x_init+0x0/0x308) from [<c06484bc>] (customize_machine+0x28/0x30)
    186. [    0.109680]  r7:00000000 r6:c0046a14 r5:c701c000 r4:c06e94c0
    187. [    0.109710] [<c0648494>] (customize_machine+0x0/0x30) from [<c00086d0>] (do_one_initcall+0x3c/0x178)
    188. [    0.109710] [<c0008694>] (do_one_initcall+0x0/0x178) from [<c0645880>] (kernel_init+0x9c/0x124)
    189. [    0.109741] [<c06457e4>] (kernel_init+0x0/0x124) from [<c0046a14>] (do_exit+0x0/0x690)
    190. [    0.109741]  r5:c06457e4 r4:00000000
    191. [    0.109771] ---[ end trace 1b75b31a2719ed1d ]---
    192. [    0.109771] failed to get adapter i2c1
    193. [    0.109771] The board is Sail335.
    194. [    0.110412] _regulator_get: l3_main.0 supply vdd_core not found, using dummy regulator
    195. [    0.110504] am335x_opp_update: physical regulator not present for core(-22)
    196. [    0.110900]  omap2_mcspi.1: alias fck already exists
    197. [    0.111114]  omap2_mcspi.2: alias fck already exists
    198. [    0.112091]  edma.0: alias fck already exists
    199. [    0.112091]  edma.0: alias fck already exists
    200. [    0.112121]  edma.0: alias fck already exists
    201. [    0.138092] bio: create slab <bio-0> at 0
    202. [    0.140197] SCSI subsystem initialized
    203. [    0.142120] usbcore: registered new interface driver usbfs
    204. [    0.142425] usbcore: registered new interface driver hub
    205. [    0.142608] usbcore: registered new device driver usb
    206. [    0.142883] registerd cppi-dma Intr @ IRQ 17
    207. [    0.142913] Cppi41 Init Done Qmgr-base(c887a000) dma-base(c8878000)
    208. [    0.142913] Cppi41 Init Done
    209. [    0.142944] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
    210. [    0.143218] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
    211. [    0.159027] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    212. [    0.179016] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
    213. [    0.179748] pps_core: LinuxPPS API ver. 1 registered
    214. [    0.179748] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    215. [    0.179870] PTP clock support registered
    216. [    0.180786] Advanced Linux Sound Architecture Driver Version 1.0.24.
    217. [    0.182037] cfg80211: Calling CRDA to update world regulatory domain
    218. [    0.183135] Switching to clocksource gp timer
    219. [    0.198455] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    220. [    0.198638] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    221. [    0.198974] MUSB0 controller's USBSS revision = 4ea20800
    222. [    0.199920] musb-hdrc musb-hdrc.0: USB OTG mode controller at c883c000 using DMA, IRQ 18
    223. [    0.200073] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    224. [    0.200378] MUSB1 controller's USBSS revision = 4ea20800
    225. [    0.200775] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    226. [    0.200866] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    227. [    0.200988] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    228. [    0.201019] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    229. [    0.201019] usb usb1: Product: MUSB HDRC host driver
    230. [    0.201019] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
    231. [    0.201049] usb usb1: SerialNumber: musb-hdrc.1
    232. [    0.201812] hub 1-0:1.0: USB hub found
    233. [    0.201843] hub 1-0:1.0: 1 port detected
    234. [    0.202331] musb-hdrc musb-hdrc.1: USB Host mode controller at c883e800 using DMA, IRQ 19
    235. [    0.202728] NET: Registered protocol family 2
    236. [    0.202911] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    237. [    0.203277] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    238. [    0.203369] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    239. [    0.203399] TCP: Hash tables configured (established 4096 bind 4096)
    240. [    0.203430] TCP reno registered
    241. [    0.203430] UDP hash table entries: 256 (order: 0, 4096 bytes)
    242. [    0.203460] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    243. [    0.203643] NET: Registered protocol family 1
    244. [    0.203887] RPC: Registered named UNIX socket transport module.
    245. [    0.203918] RPC: Registered udp transport module.
    246. [    0.203918] RPC: Registered tcp transport module.
    247. [    0.203918] RPC: Registered tcp NFSv4.1 backchannel transport module.
    248. [    0.204162] NetWinder Floating Point Emulator V0.97 (double precision)
    249. [    0.204376] omap-gpmc omap-gpmc: GPMC revision 6.0
    250. [    0.204376] Registering NAND on CS0
    251. [    0.211090] VFS: Disk quotas dquot_6.5.2
    252. [    0.211151] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    253. [    0.211639] msgmni has been set to 239
    254. [    0.214935] alg: No test for stdrng (krng)
    255. [    0.215576] io scheduler noop registered
    256. [    0.215576] io scheduler deadline registered
    257. [    0.215637] io scheduler cfq registered (default)
    258. [    0.216979] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
    259. [    0.227539] Console: switching to colour frame buffer device 100x30
    260. [    0.234161] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    261. [    1.650604] console [ttyO0] enabled
    262. [    1.655029] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    263. [    1.662811] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    264. [    1.670623] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    265. [    1.678405] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    266. [    1.686157] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    267. [    1.694427] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
    268. [    1.710662] brd: module loaded
    269. [    1.718719] loop: module loaded
    270. [    1.722167] i2c-core: driver [tsl2550] using legacy suspend method
    271. [    1.728637] i2c-core: driver [tsl2550] using legacy resume method
    272. [    1.737487] mtdoops: mtd device (mtddev=name/number) must be supplied
    273. [    1.744781] omap2-nand driver initializing
    274. [    1.749450] No NAND device found
    275. [    1.753051] No NAND device found
    276. [    1.756744] OneNAND driver initializing
    277. [    1.763092] CAN device driver interface
    278. [    1.767150] CAN bus driver for Bosch D_CAN controller 1.0
    279. [    1.773529] d_can d_can.1: device registered (irq=55, irq_obj=56)
    280. [    1.824340] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    281. [    1.830810] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
    282. [    1.838012] davinci_mdio.0: probed
    283. [    1.841552] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    284. [    1.849365] usbcore: registered new interface driver cdc_ether
    285. [    1.855621] usbcore: registered new interface driver cdc_eem
    286. [    1.861663] usbcore: registered new interface driver dm9601
    287. [    1.867523] cdc_ncm: 04-Aug-2011
    288. [    1.871032] usbcore: registered new interface driver cdc_ncm
    289. [    1.876953] Initializing USB Mass Storage driver...
    290. [    1.882202] usb 1-1: new high-speed USB device number 2 using musb-hdrc
    291. [    1.889343] usbcore: registered new interface driver usb-storage
    292. [    1.895629] USB Mass Storage support registered.
    293. [    1.900970] mousedev: PS/2 mouse device common for all mice
    294. [    1.907745] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input0
    295. [    1.916320] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
    296. [    1.923492] i2c /dev entries driver
    297. [    1.927825] Linux video capture interface: v2.00
    298. [    1.932952] usbcore: registered new interface driver uvcvideo
    299. [    1.938964] USB Video Class driver (1.1.1)
    300. [    1.995361] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    301. [    2.001892] _regulator_get: deviceless supply vdd_mpu not found, using dummy regulator
    302. [    2.010589] cpuidle: using governor ladder
    303. [    2.015502] cpuidle: using governor menu
    304. [    2.022766] omap4_aes_mod_init: loading AM33X AES driver
    305. [    2.028472] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
    306. [    2.035003] usb 1-1: New USB device found, idVendor=0424, idProduct=2412
    307. [    2.041992] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    308. [    2.050323] omap4_aes_probe: probe() done
    309. [    2.054809] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
    310. [    2.060974] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
    311. [    2.068145] hub 1-1:1.0: USB hub found
    312. [    2.073547] hub 1-1:1.0: 2 ports detected
    313. [    2.088317] omap4_sham_probe: probe() done
    314. [    2.095001] usbcore: registered new interface driver usbhid
    315. [    2.100799] usbhid: USB HID core driver
    316. [    2.105468] tiadc tiadc: attached adc driver
    317. [    2.111968] ALSA device list:
    318. [    2.115081]   No soundcards found.
    319. [    2.118652] oprofile: hardware counters not available
    320. [    2.123901] oprofile: using timer interrupt.
    321. [    2.128387] nf_conntrack version 0.5.0 (1916 buckets, 7664 max)
    322. [    2.135009] ip_tables: (C) 2000-2006 Netfilter Core Team
    323. [    2.140686] TCP cubic registered
    324. [    2.144042] NET: Registered protocol family 17
    325. [    2.148712] can: controller area network core (rev 20090105 abi 8)
    326. [    2.155242] NET: Registered protocol family 29
    327. [    2.159881] can: raw protocol (rev 20090105)
    328. [    2.164337] can: broadcast manager protocol (rev 20090105 t)
    329. [    2.170288] lib80211: common routines for IEEE802.11 drivers
    330. [    2.176208] Registering the dns_resolver key type
    331. [    2.181213] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    332. [    2.189208] ThumbEE CPU extension supported.
    333. [    2.193725] mux: Failed to setup hwmod io irq -22
    334. [    2.199249] Power Management for AM33XX family
    335. [    2.204101] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    336. [    2.210784] Copied the M3 firmware to UMEM
    337. [    2.215148] Cortex M3 Firmware Version = 0x181
    338. [    2.220672] sr_init: platform driver register failed
    339. [    2.230499] clock: disabling unused clocks to save power
    340. [    2.248901] Detected MACID=bc:6a:29:db:8c:fa
    341. [    2.254608] cpsw: Detected MACID = bc:6a:29:db:8c:fb
    342. [    2.261566] input: gpio-keys as /devices/platform/gpio-keys/input/input1
    343. [    2.269317] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
    344. [    2.278656] Waiting for root device /dev/mmcblk0p2...
    345. [    2.284088] mmc0: new high speed SDHC card at address aaaa
    346. [    2.290405] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
    347. [    2.296813]  mmcblk0: p1 p2
    348. [    2.386413] EXT3-fs (mmcblk0p2): recovery required on readonly filesystem
    349. [    2.393493] EXT3-fs (mmcblk0p2): write access will be enabled during recovery
    350. [    2.478424] kjournald starting.  Commit interval 5 seconds
    351. [    2.484252] EXT3-fs (mmcblk0p2): recovery complete
    352. [    2.496429] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
    353. [    2.503662] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.
    354. [    2.511047] Freeing init memory: 240K
    355. INIT: version 2.88 booting
    356. Starting udev
    357. Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
    358. bootlogd.
    359. [    5.021911] EXT3-fs (mmcblk0p2): using internal journal
    360. ALSA: Restoring mixer settings...
    361. /usr/sbin/alsactl: load_state:1686: No soundcards found...
    362. Configuring network interfaces... [    5.432830] net eth0: CPSW phy found : id is : 0x221622
    363. udhcpc (v1.20.2) started
    364. Sending discover...
    365. Sending discover...
    366. Sending discover...
    367. No lease, failing
    368. done.
    369. Fri Apr  5 12:16:00 UTC 2013
    370. INIT: Entering runlevel: 5
    371. Starting system message bus: dbus.
    372. Starting telnet daemon.
    373. Starting syslogd/klogd: done
    374. Starting thttpd.
    375. Stopping Bootlog daemon: bootlogd.
    376. umount: can't umount /mnt/.psplash: Device or resource busy

    377. _____                    _____           _         _   
    378. |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    379. |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    380. |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
    381.               |___|                    |___|            

    382. Arago Project http://arago-project.org am335x-evm ttyO0

    383. Arago 2013.02 am335x-evm ttyO0

    384. am335x-evm login:
    复制代码
    从打印log可以看出系统的一些基本配置情况,如网口设置为动态获取IP等。

    4、登录系统
    登录名为:root,无密码
    06.JPG


    5、查看系统信息
    一、查看系统内核版本
    1. root@am335x-evm:~# uname -a
    2. Linux am335x-evm 3.2.0 #59 Mon Nov 7 22:29:44 EST 2016 armv7l GNU/Linux
    复制代码
    二、查看系统内存使用情况
    查看系统内存使用情况,使用#free 命令:
    DRAM 为 128M,内存使用情况如下所示:
    1. root@am335x-evm:~# free
    2.              total         used         free       shared      buffers
    3. Mem:        122880        17428       105452            0         1000
    4. -/+ buffers:              16428       106452
    5. Swap:            0            0            0
    复制代码
    三、查看系统磁盘使用情况
    1. root@am335x-evm:~# df
    2. Filesystem           1K-blocks      Used Available Use% Mounted on
    3. /dev/root              7558400    191992   6982456   3% /
    4. tmpfs                       40         0        40   0% /mnt/.psplash
    5. none                     61440       148     61292   0% /dev
    6. tmpfs                    16384        60     16324   0% /var/volatile
    7. tmpfs                    61440         0     61440   0% /dev/shm
    8. tmpfs                    16384         0     16384   0% /media/ram
    复制代码
    四、查看 CPU 信息
    1. root@am335x-evm:~# cat /proc/cpuinfo
    2. Processor       : ARMv7 Processor rev 2 (v7l)
    3. BogoMIPS        : 718.02
    4. Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
    5. CPU implementer : 0x41
    6. CPU architecture: 7
    7. CPU variant     : 0x3
    8. CPU part        : 0xc08
    9. CPU revision    : 2

    10. Hardware        : am335xevm
    11. Revision        : 0000
    12. Serial          : 0000000000000000
    复制代码
    可以看到,A8处理器是ARMv7 内核

    五、查看网卡信息
    1. root@am335x-evm:~# ifconfig
    2. eth0      Link encap:Ethernet  HWaddr BC:6A:29:DB:8C:FA  
    3.           UP BROADCAST ALLMULTI MULTICAST  MTU:1500  Metric:1
    4.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    5.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    6.           collisions:0 txqueuelen:1000
    7.           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

    8. lo        Link encap:Local Loopback  
    9.           inet addr:127.0.0.1  Mask:255.0.0.0
    10.           UP LOOPBACK RUNNING  MTU:16436  Metric:1
    11.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    12.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    13.           collisions:0 txqueuelen:0
    14.           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    复制代码
    要是想查看所有网卡信息,输入命令:
    1. <blockquote>root@am335x-evm:~# ifconfig -a
    复制代码
    可以看出,开发板网口不只一个,但是can0还是有点不明白,据网友解疑应该是can总线



    回复

    使用道具 举报

  • TA的每日心情
    擦汗
    2017-10-15 13:21
  • 签到天数: 183 天

    连续签到: 1 天

    [LV.7]常住居民III

    发表于 2016-12-11 20:00:05 | 显示全部楼层
    谢谢分享                                             
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

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

    手机版|小黑屋|与非网

    GMT+8, 2024-11-20 15:21 , Processed in 0.136265 second(s), 18 queries , MemCache On.

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

    苏公网安备 32059002001037号

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.