TA的每日心情 | 衰 2020-5-31 22:16 |
---|
签到天数: 290 天 连续签到: 1 天 [LV.8]以坛为家I
|
本帖最后由 gurouhu1 于 2016-12-11 13:59 编辑
紧接上文,本节跟大家介绍如何启动电鱼派的 Linux 系统
1、安装超级终端
超级终端为SecureCRT,安装比较简单,不再赘述了。
2、安装串口驱动
一、如图所示,将串口线连接好,插上USB
二、打开设备管理器,因为我的电脑已经转过驱动了,可以看到驱动已经安装,如图:
三、打开串口终端,设置相关参数如图:
3、给开发板上电
打印log如图:- U-Boot 2013.01.01 (Oct 17 2016 - 03:18:54)
- I2C: ready
- DRAM: 128 MiB
- WARNING: Caches not enabled
- NAND: No NAND device found!!!
- 0 MiB
- MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
- *** Warning - readenv() failed, using default environment
- musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
- musb-hdrc: MHDRC RTL version 2.0
- musb-hdrc: setup fifo_mode 4
- musb-hdrc: 28/31 max ep, 16384/16384 memory
- USB Peripheral mode controller at 47401000 using PIO, IRQ 0
- musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
- musb-hdrc: MHDRC RTL version 2.0
- musb-hdrc: setup fifo_mode 4
- musb-hdrc: 28/31 max ep, 16384/16384 memory
- USB Host mode controller at 47401800 using PIO, IRQ 0
- Net: <ethaddr> not set. Validating first E-fuse MAC
- cpsw, usb_ether
- Hit any key to stop autoboot: 0
- mmc0 is current device
- SD/MMC found on device 0
- reading uEnv.txt
- ** Unable to read file uEnv.txt **
- reading uImage
- 3627136 bytes read in 393 ms (8.8 MiB/s)
- Booting from mmc ...
- ## Booting kernel from Legacy Image at 80007fc0 ...
- Image Name: Linux-3.2.0
- Image Type: ARM Linux Kernel Image (uncompressed)
- Data Size: 3627072 Bytes = 3.5 MiB
- Load Address: 80008000
- Entry Point: 80008000
- Verifying Checksum ... OK
- XIP Kernel Image ... OK
- OK
- Starting kernel ...
- Uncompressing Linux... done, booting the kernel.
- [ 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
- [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
- [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
- [ 0.000000] Machine: am335xevm
- [ 0.000000] Memory policy: ECC disabled, Data cache writeback
- [ 0.000000] AM335X ES1.0 (neon )
- [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
- [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait ip=none
- [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
- [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
- [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
- [ 0.000000] Memory: 128MB = 128MB total
- [ 0.000000] Memory: 122640k/122640k available, 8432k reserved, 0K highmem
- [ 0.000000] Virtual kernel memory layout:
- [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
- [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
- [ 0.000000] vmalloc : 0xc8800000 - 0xff000000 ( 872 MB)
- [ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
- [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
- [ 0.000000] .text : 0xc0008000 - 0xc0645000 (6388 kB)
- [ 0.000000] .init : 0xc0645000 - 0xc0681000 ( 240 kB)
- [ 0.000000] .data : 0xc0682000 - 0xc06e9488 ( 414 kB)
- [ 0.000000] .bss : 0xc06e94ac - 0xc07182c0 ( 188 kB)
- [ 0.000000] NR_IRQS:396
- [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
- [ 0.000000] Total of 128 interrupts on 1 active controller
- [ 0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
- [ 0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
- [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
- [ 0.000000] Console: colour dummy device 80x30
- [ 0.000122] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
- [ 0.058959] pid_max: default: 32768 minimum: 301
- [ 0.059082] Security Framework initialized
- [ 0.059173] Mount-cache hash table entries: 512
- [ 0.059509] CPU: Testing write buffer coherency: ok
- [ 0.079864] omap_hwmod: gfx: failed to hardreset
- [ 0.096130] omap_hwmod: pruss: failed to hardreset
- [ 0.097198] print_constraints: dummy:
- [ 0.097564] NET: Registered protocol family 16
- [ 0.099731] OMAP GPIO hardware version 0.1
- [ 0.102264] omap_mux_init: Add partition: #1: core, flags: 0
- [ 0.104064] omap_i2c.1: alias fck already exists
- [ 0.105468] da8xx_lcdc.0: alias fck already exists
- [ 0.106750] omap_i2c.2: alias fck already exists
- [ 0.107086] omap_hsmmc.0: alias fck already exists
- [ 0.107360] d_can.1: alias fck already exists
- [ 0.107849] omap_i2c.2: alias fck already exists
- [ 0.107879] ------------[ cut here ]------------
- [ 0.107910] WARNING: at fs/sysfs/dir.c:481 sysfs_add_one+0xa0/0xb0()
- [ 0.107940] sysfs: cannot create duplicate filename '/devices/platform/omap/omap_i2c.2'
- [ 0.107940] Modules linked in:
- [ 0.107940] Backtrace:
- [ 0.107971] [<c0018d28>] (dump_backtrace+0x0/0x110) from [<c04b7d00>] (dump_stack+0x18/0x1c)
- [ 0.108001] r6:000001e1 r5:c0110ce0 r4:c701dcc8 r3:c06a5308
- [ 0.108032] [<c04b7ce8>] (dump_stack+0x0/0x1c) from [<c0043478>] (warn_slowpath_common+0x5c/0x6c)
- [ 0.108062] [<c004341c>] (warn_slowpath_common+0x0/0x6c) from [<c004352c>] (warn_slowpath_fmt+0x38/0x40)
- [ 0.108062] r8:c7070770 r7:c702e000 r6:c7070770 r5:c702e000 r4:ffffffef
- [ 0.108093] r3:00000009
- [ 0.108093] [<c00434f4>] (warn_slowpath_fmt+0x0/0x40) from [<c0110ce0>] (sysfs_add_one+0xa0/0xb0)
- [ 0.108093] r3:c702e000 r2:c05bb8d0
- [ 0.108123] [<c0110c40>] (sysfs_add_one+0x0/0xb0) from [<c0110d58>] (create_dir+0x68/0xbc)
- [ 0.108123] r7:00000000 r6:c7013a40 r5:00000001 r4:c7071e10
- [ 0.108154] [<c0110cf0>] (create_dir+0x0/0xbc) from [<c0110e70>] (sysfs_create_dir+0x90/0xe0)
- [ 0.108184] r8:00000000 r7:c06a4b00 r6:c7013a40 r5:00000000 r4:c7071e10
- [ 0.108215] [<c0110de0>] (sysfs_create_dir+0x0/0xe0) from [<c01ed654>] (kobject_add_internal+0xa4/0x23c)
- [ 0.108215] r6:c06a4b08 r5:00000000 r4:c7071e10
- [ 0.108245] [<c01ed5b0>] (kobject_add_internal+0x0/0x23c) from [<c01edb24>] (kobject_add+0x54/0x94)
- [ 0.108245] r8:00000000 r7:c06a4b00 r6:00000000 r5:c06a4b08 r4:c7071e10
- [ 0.108306] [<c01edad0>] (kobject_add+0x0/0x94) from [<c0256238>] (device_add+0xa8/0x664)
- [ 0.108306] r3:00000000 r2:00000000
- [ 0.108306] r6:c7071e10 r5:c7071f28 r4:c7071e08
- [ 0.108337] [<c0256190>] (device_add+0x0/0x664) from [<c025adac>] (platform_device_add+0x120/0x280)
- [ 0.108367] [<c025ac8c>] (platform_device_add+0x0/0x280) from [<c003aae0>] (omap_device_register+0x3c/0x5c)
- [ 0.108367] r8:c06ec020 r7:c04c1ea8 r6:00000000 r5:c706d2c0 r4:c7071e00
- [ 0.108398] r3:c06a4b00
- [ 0.108398] [<c003aaa4>] (omap_device_register+0x0/0x5c) from [<c003ac08>] (omap_device_build_ss+0x108/0x14c)
- [ 0.108428] r4:c7071e00 r3:00000000
- [ 0.108428] [<c003ab00>] (omap_device_build_ss+0x0/0x14c) from [<c003aca0>] (omap_device_build+0x54/0x5c)
- [ 0.108459] [<c003ac4c>] (omap_device_build+0x0/0x5c) from [<c06553f4>] (omap_i2c_add_bus+0x100/0x13c)
- [ 0.108489] [<c06552f4>] (omap_i2c_add_bus+0x0/0x13c) from [<c0655574>] (omap_register_i2c_bus+0x7c/0x80)
- [ 0.108489] r7:c06792f4 r6:00000000 r5:00000064 r4:00000002
- [ 0.108520] [<c06554f8>] (omap_register_i2c_bus+0x0/0x80) from [<c00372a0>] (i2c2_init+0x2c/0x34)
- [ 0.108520] r5:c06a3ab0 r4:000000b4
- [ 0.108551] [<c0037274>] (i2c2_init+0x0/0x34) from [<c04b8028>] (_configure_device.constprop.8+0x40/0x58)
- [ 0.108581] [<c04b7fe8>] (_configure_device.constprop.8+0x0/0x58) from [<c06539d0>] (dianyu335x_init+0x110/0x308)
- [ 0.108581] r6:c06a2f10 r5:c0679224 r4:00000000 r3:c00b1410
- [ 0.108612] [<c06538c0>] (dianyu335x_init+0x0/0x308) from [<c06484bc>] (customize_machine+0x28/0x30)
- [ 0.108612] r7:00000000 r6:c0046a14 r5:c701c000 r4:c06e94c0
- [ 0.108642] [<c0648494>] (customize_machine+0x0/0x30) from [<c00086d0>] (do_one_initcall+0x3c/0x178)
- [ 0.108673] [<c0008694>] (do_one_initcall+0x0/0x178) from [<c0645880>] (kernel_init+0x9c/0x124)
- [ 0.108703] [<c06457e4>] (kernel_init+0x0/0x124) from [<c0046a14>] (do_exit+0x0/0x690)
- [ 0.108703] r5:c06457e4 r4:00000000
- [ 0.108764] ---[ end trace 1b75b31a2719ed1c ]---
- [ 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.
- [ 0.108795] Backtrace:
- [ 0.108795] [<c0018d28>] (dump_backtrace+0x0/0x110) from [<c04b7d00>] (dump_stack+0x18/0x1c)
- [ 0.108825] r6:c06a4b08 r5:ffffffef r4:c7071e10 r3:c06a5308
- [ 0.108856] [<c04b7ce8>] (dump_stack+0x0/0x1c) from [<c01ed7e0>] (kobject_add_internal+0x230/0x23c)
- [ 0.108856] [<c01ed5b0>] (kobject_add_internal+0x0/0x23c) from [<c01edb24>] (kobject_add+0x54/0x94)
- [ 0.108886] r8:00000000 r7:c06a4b00 r6:00000000 r5:c06a4b08 r4:c7071e10
- [ 0.108917] [<c01edad0>] (kobject_add+0x0/0x94) from [<c0256238>] (device_add+0xa8/0x664)
- [ 0.108917] r3:00000000 r2:00000000
- [ 0.108917] r6:c7071e10 r5:c7071f28 r4:c7071e08
- [ 0.108947] [<c0256190>] (device_add+0x0/0x664) from [<c025adac>] (platform_device_add+0x120/0x280)
- [ 0.108978] [<c025ac8c>] (platform_device_add+0x0/0x280) from [<c003aae0>] (omap_device_register+0x3c/0x5c)
- [ 0.109008] r8:c06ec020 r7:c04c1ea8 r6:00000000 r5:c706d2c0 r4:c7071e00
- [ 0.109039] r3:c06a4b00
- [ 0.109069] [<c003aaa4>] (omap_device_register+0x0/0x5c) from [<c003ac08>] (omap_device_build_ss+0x108/0x14c)
- [ 0.109069] r4:c7071e00 r3:00000000
- [ 0.109100] [<c003ab00>] (omap_device_build_ss+0x0/0x14c) from [<c003aca0>] (omap_device_build+0x54/0x5c)
- [ 0.109100] [<c003ac4c>] (omap_device_build+0x0/0x5c) from [<c06553f4>] (omap_i2c_add_bus+0x100/0x13c)
- [ 0.109130] [<c06552f4>] (omap_i2c_add_bus+0x0/0x13c) from [<c0655574>] (omap_register_i2c_bus+0x7c/0x80)
- [ 0.109130] r7:c06792f4 r6:00000000 r5:00000064 r4:00000002
- [ 0.109161] [<c06554f8>] (omap_register_i2c_bus+0x0/0x80) from [<c00372a0>] (i2c2_init+0x2c/0x34)
- [ 0.109161] r5:c06a3ab0 r4:000000b4
- [ 0.109191] [<c0037274>] (i2c2_init+0x0/0x34) from [<c04b8028>] (_configure_device.constprop.8+0x40/0x58)
- [ 0.109222] [<c04b7fe8>] (_configure_device.constprop.8+0x0/0x58) from [<c06539d0>] (dianyu335x_init+0x110/0x308)
- [ 0.109222] r6:c06a2f10 r5:c0679224 r4:00000000 r3:c00b1410
- [ 0.109252] [<c06538c0>] (dianyu335x_init+0x0/0x308) from [<c06484bc>] (customize_machine+0x28/0x30)
- [ 0.109252] r7:00000000 r6:c0046a14 r5:c701c000 r4:c06e94c0
- [ 0.109283] [<c0648494>] (customize_machine+0x0/0x30) from [<c00086d0>] (do_one_initcall+0x3c/0x178)
- [ 0.109313] [<c0008694>] (do_one_initcall+0x0/0x178) from [<c0645880>] (kernel_init+0x9c/0x124)
- [ 0.109313] [<c06457e4>] (kernel_init+0x0/0x124) from [<c0046a14>] (do_exit+0x0/0x690)
- [ 0.109344] r5:c06457e4 r4:00000000
- [ 0.109344] omap_device: omap_i2c: build failed (-17)
- [ 0.109344] ------------[ cut here ]------------
- [ 0.109375] WARNING: at arch/arm/plat-omap/i2c.c:188 omap_i2c_add_bus+0x130/0x13c()
- [ 0.109375] Could not build omap_device for omap_i2c
- [ 0.109375] Modules linked in:
- [ 0.109405] Backtrace:
- [ 0.109405] [<c0018d28>] (dump_backtrace+0x0/0x110) from [<c04b7d00>] (dump_stack+0x18/0x1c)
- [ 0.109436] r6:000000bc r5:c0655424 r4:c701deb0 r3:c06a5308
- [ 0.109436] [<c04b7ce8>] (dump_stack+0x0/0x1c) from [<c0043478>] (warn_slowpath_common+0x5c/0x6c)
- [ 0.109466] [<c004341c>] (warn_slowpath_common+0x0/0x6c) from [<c004352c>] (warn_slowpath_fmt+0x38/0x40)
- [ 0.109466] r8:00000000 r7:00000014 r6:c003bf70 r5:ffffffef r4:00000000
- [ 0.109497] r3:00000009
- [ 0.109527] [<c00434f4>] (warn_slowpath_fmt+0x0/0x40) from [<c0655424>] (omap_i2c_add_bus+0x130/0x13c)
- [ 0.109527] r3:c04c1ea8 r2:c05a6584
- [ 0.109527] [<c06552f4>] (omap_i2c_add_bus+0x0/0x13c) from [<c0655574>] (omap_register_i2c_bus+0x7c/0x80)
- [ 0.109558] r7:c06792f4 r6:00000000 r5:00000064 r4:00000002
- [ 0.109588] [<c06554f8>] (omap_register_i2c_bus+0x0/0x80) from [<c00372a0>] (i2c2_init+0x2c/0x34)
- [ 0.109588] r5:c06a3ab0 r4:000000b4
- [ 0.109619] [<c0037274>] (i2c2_init+0x0/0x34) from [<c04b8028>] (_configure_device.constprop.8+0x40/0x58)
- [ 0.109619] [<c04b7fe8>] (_configure_device.constprop.8+0x0/0x58) from [<c06539d0>] (dianyu335x_init+0x110/0x308)
- [ 0.109649] r6:c06a2f10 r5:c0679224 r4:00000000 r3:c00b1410
- [ 0.109649] [<c06538c0>] (dianyu335x_init+0x0/0x308) from [<c06484bc>] (customize_machine+0x28/0x30)
- [ 0.109680] r7:00000000 r6:c0046a14 r5:c701c000 r4:c06e94c0
- [ 0.109710] [<c0648494>] (customize_machine+0x0/0x30) from [<c00086d0>] (do_one_initcall+0x3c/0x178)
- [ 0.109710] [<c0008694>] (do_one_initcall+0x0/0x178) from [<c0645880>] (kernel_init+0x9c/0x124)
- [ 0.109741] [<c06457e4>] (kernel_init+0x0/0x124) from [<c0046a14>] (do_exit+0x0/0x690)
- [ 0.109741] r5:c06457e4 r4:00000000
- [ 0.109771] ---[ end trace 1b75b31a2719ed1d ]---
- [ 0.109771] failed to get adapter i2c1
- [ 0.109771] The board is Sail335.
- [ 0.110412] _regulator_get: l3_main.0 supply vdd_core not found, using dummy regulator
- [ 0.110504] am335x_opp_update: physical regulator not present for core(-22)
- [ 0.110900] omap2_mcspi.1: alias fck already exists
- [ 0.111114] omap2_mcspi.2: alias fck already exists
- [ 0.112091] edma.0: alias fck already exists
- [ 0.112091] edma.0: alias fck already exists
- [ 0.112121] edma.0: alias fck already exists
- [ 0.138092] bio: create slab <bio-0> at 0
- [ 0.140197] SCSI subsystem initialized
- [ 0.142120] usbcore: registered new interface driver usbfs
- [ 0.142425] usbcore: registered new interface driver hub
- [ 0.142608] usbcore: registered new device driver usb
- [ 0.142883] registerd cppi-dma Intr @ IRQ 17
- [ 0.142913] Cppi41 Init Done Qmgr-base(c887a000) dma-base(c8878000)
- [ 0.142913] Cppi41 Init Done
- [ 0.142944] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
- [ 0.143218] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
- [ 0.159027] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
- [ 0.179016] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
- [ 0.179748] pps_core: LinuxPPS API ver. 1 registered
- [ 0.179748] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
- [ 0.179870] PTP clock support registered
- [ 0.180786] Advanced Linux Sound Architecture Driver Version 1.0.24.
- [ 0.182037] cfg80211: Calling CRDA to update world regulatory domain
- [ 0.183135] Switching to clocksource gp timer
- [ 0.198455] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
- [ 0.198638] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
- [ 0.198974] MUSB0 controller's USBSS revision = 4ea20800
- [ 0.199920] musb-hdrc musb-hdrc.0: USB OTG mode controller at c883c000 using DMA, IRQ 18
- [ 0.200073] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
- [ 0.200378] MUSB1 controller's USBSS revision = 4ea20800
- [ 0.200775] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
- [ 0.200866] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
- [ 0.200988] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
- [ 0.201019] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
- [ 0.201019] usb usb1: Product: MUSB HDRC host driver
- [ 0.201019] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
- [ 0.201049] usb usb1: SerialNumber: musb-hdrc.1
- [ 0.201812] hub 1-0:1.0: USB hub found
- [ 0.201843] hub 1-0:1.0: 1 port detected
- [ 0.202331] musb-hdrc musb-hdrc.1: USB Host mode controller at c883e800 using DMA, IRQ 19
- [ 0.202728] NET: Registered protocol family 2
- [ 0.202911] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.203277] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
- [ 0.203369] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
- [ 0.203399] TCP: Hash tables configured (established 4096 bind 4096)
- [ 0.203430] TCP reno registered
- [ 0.203430] UDP hash table entries: 256 (order: 0, 4096 bytes)
- [ 0.203460] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
- [ 0.203643] NET: Registered protocol family 1
- [ 0.203887] RPC: Registered named UNIX socket transport module.
- [ 0.203918] RPC: Registered udp transport module.
- [ 0.203918] RPC: Registered tcp transport module.
- [ 0.203918] RPC: Registered tcp NFSv4.1 backchannel transport module.
- [ 0.204162] NetWinder Floating Point Emulator V0.97 (double precision)
- [ 0.204376] omap-gpmc omap-gpmc: GPMC revision 6.0
- [ 0.204376] Registering NAND on CS0
- [ 0.211090] VFS: Disk quotas dquot_6.5.2
- [ 0.211151] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
- [ 0.211639] msgmni has been set to 239
- [ 0.214935] alg: No test for stdrng (krng)
- [ 0.215576] io scheduler noop registered
- [ 0.215576] io scheduler deadline registered
- [ 0.215637] io scheduler cfq registered (default)
- [ 0.216979] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
- [ 0.227539] Console: switching to colour frame buffer device 100x30
- [ 0.234161] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
- [ 1.650604] console [ttyO0] enabled
- [ 1.655029] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
- [ 1.662811] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
- [ 1.670623] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
- [ 1.678405] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
- [ 1.686157] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
- [ 1.694427] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
- [ 1.710662] brd: module loaded
- [ 1.718719] loop: module loaded
- [ 1.722167] i2c-core: driver [tsl2550] using legacy suspend method
- [ 1.728637] i2c-core: driver [tsl2550] using legacy resume method
- [ 1.737487] mtdoops: mtd device (mtddev=name/number) must be supplied
- [ 1.744781] omap2-nand driver initializing
- [ 1.749450] No NAND device found
- [ 1.753051] No NAND device found
- [ 1.756744] OneNAND driver initializing
- [ 1.763092] CAN device driver interface
- [ 1.767150] CAN bus driver for Bosch D_CAN controller 1.0
- [ 1.773529] d_can d_can.1: device registered (irq=55, irq_obj=56)
- [ 1.824340] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
- [ 1.830810] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
- [ 1.838012] davinci_mdio.0: probed
- [ 1.841552] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
- [ 1.849365] usbcore: registered new interface driver cdc_ether
- [ 1.855621] usbcore: registered new interface driver cdc_eem
- [ 1.861663] usbcore: registered new interface driver dm9601
- [ 1.867523] cdc_ncm: 04-Aug-2011
- [ 1.871032] usbcore: registered new interface driver cdc_ncm
- [ 1.876953] Initializing USB Mass Storage driver...
- [ 1.882202] usb 1-1: new high-speed USB device number 2 using musb-hdrc
- [ 1.889343] usbcore: registered new interface driver usb-storage
- [ 1.895629] USB Mass Storage support registered.
- [ 1.900970] mousedev: PS/2 mouse device common for all mice
- [ 1.907745] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input0
- [ 1.916320] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
- [ 1.923492] i2c /dev entries driver
- [ 1.927825] Linux video capture interface: v2.00
- [ 1.932952] usbcore: registered new interface driver uvcvideo
- [ 1.938964] USB Video Class driver (1.1.1)
- [ 1.995361] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
- [ 2.001892] _regulator_get: deviceless supply vdd_mpu not found, using dummy regulator
- [ 2.010589] cpuidle: using governor ladder
- [ 2.015502] cpuidle: using governor menu
- [ 2.022766] omap4_aes_mod_init: loading AM33X AES driver
- [ 2.028472] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
- [ 2.035003] usb 1-1: New USB device found, idVendor=0424, idProduct=2412
- [ 2.041992] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
- [ 2.050323] omap4_aes_probe: probe() done
- [ 2.054809] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
- [ 2.060974] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
- [ 2.068145] hub 1-1:1.0: USB hub found
- [ 2.073547] hub 1-1:1.0: 2 ports detected
- [ 2.088317] omap4_sham_probe: probe() done
- [ 2.095001] usbcore: registered new interface driver usbhid
- [ 2.100799] usbhid: USB HID core driver
- [ 2.105468] tiadc tiadc: attached adc driver
- [ 2.111968] ALSA device list:
- [ 2.115081] No soundcards found.
- [ 2.118652] oprofile: hardware counters not available
- [ 2.123901] oprofile: using timer interrupt.
- [ 2.128387] nf_conntrack version 0.5.0 (1916 buckets, 7664 max)
- [ 2.135009] ip_tables: (C) 2000-2006 Netfilter Core Team
- [ 2.140686] TCP cubic registered
- [ 2.144042] NET: Registered protocol family 17
- [ 2.148712] can: controller area network core (rev 20090105 abi 8)
- [ 2.155242] NET: Registered protocol family 29
- [ 2.159881] can: raw protocol (rev 20090105)
- [ 2.164337] can: broadcast manager protocol (rev 20090105 t)
- [ 2.170288] lib80211: common routines for IEEE802.11 drivers
- [ 2.176208] Registering the dns_resolver key type
- [ 2.181213] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
- [ 2.189208] ThumbEE CPU extension supported.
- [ 2.193725] mux: Failed to setup hwmod io irq -22
- [ 2.199249] Power Management for AM33XX family
- [ 2.204101] Trying to load am335x-pm-firmware.bin (60 secs timeout)
- [ 2.210784] Copied the M3 firmware to UMEM
- [ 2.215148] Cortex M3 Firmware Version = 0x181
- [ 2.220672] sr_init: platform driver register failed
- [ 2.230499] clock: disabling unused clocks to save power
- [ 2.248901] Detected MACID=bc:6a:29:db:8c:fa
- [ 2.254608] cpsw: Detected MACID = bc:6a:29:db:8c:fb
- [ 2.261566] input: gpio-keys as /devices/platform/gpio-keys/input/input1
- [ 2.269317] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
- [ 2.278656] Waiting for root device /dev/mmcblk0p2...
- [ 2.284088] mmc0: new high speed SDHC card at address aaaa
- [ 2.290405] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
- [ 2.296813] mmcblk0: p1 p2
- [ 2.386413] EXT3-fs (mmcblk0p2): recovery required on readonly filesystem
- [ 2.393493] EXT3-fs (mmcblk0p2): write access will be enabled during recovery
- [ 2.478424] kjournald starting. Commit interval 5 seconds
- [ 2.484252] EXT3-fs (mmcblk0p2): recovery complete
- [ 2.496429] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
- [ 2.503662] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.
- [ 2.511047] Freeing init memory: 240K
- INIT: version 2.88 booting
- Starting udev
- Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
- bootlogd.
- [ 5.021911] EXT3-fs (mmcblk0p2): using internal journal
- ALSA: Restoring mixer settings...
- /usr/sbin/alsactl: load_state:1686: No soundcards found...
- Configuring network interfaces... [ 5.432830] net eth0: CPSW phy found : id is : 0x221622
- udhcpc (v1.20.2) started
- Sending discover...
- Sending discover...
- Sending discover...
- No lease, failing
- done.
- Fri Apr 5 12:16:00 UTC 2013
- INIT: Entering runlevel: 5
- Starting system message bus: dbus.
- Starting telnet daemon.
- Starting syslogd/klogd: done
- Starting thttpd.
- Stopping Bootlog daemon: bootlogd.
- umount: can't umount /mnt/.psplash: Device or resource busy
- _____ _____ _ _
- | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
- | | _| .'| . | . | | __| _| . | | | -_| _| _|
- |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
- |___| |___|
- Arago Project http://arago-project.org am335x-evm ttyO0
- Arago 2013.02 am335x-evm ttyO0
- am335x-evm login:
复制代码 从打印log可以看出系统的一些基本配置情况,如网口设置为动态获取IP等。
4、登录系统
登录名为:root,无密码
5、查看系统信息
一、查看系统内核版本- root@am335x-evm:~# uname -a
- Linux am335x-evm 3.2.0 #59 Mon Nov 7 22:29:44 EST 2016 armv7l GNU/Linux
复制代码 二、查看系统内存使用情况
查看系统内存使用情况,使用#free 命令:
DRAM 为 128M,内存使用情况如下所示:- root@am335x-evm:~# free
- total used free shared buffers
- Mem: 122880 17428 105452 0 1000
- -/+ buffers: 16428 106452
- Swap: 0 0 0
复制代码 三、查看系统磁盘使用情况- root@am335x-evm:~# df
- Filesystem 1K-blocks Used Available Use% Mounted on
- /dev/root 7558400 191992 6982456 3% /
- tmpfs 40 0 40 0% /mnt/.psplash
- none 61440 148 61292 0% /dev
- tmpfs 16384 60 16324 0% /var/volatile
- tmpfs 61440 0 61440 0% /dev/shm
- tmpfs 16384 0 16384 0% /media/ram
复制代码 四、查看 CPU 信息- root@am335x-evm:~# cat /proc/cpuinfo
- Processor : ARMv7 Processor rev 2 (v7l)
- BogoMIPS : 718.02
- Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
- CPU implementer : 0x41
- CPU architecture: 7
- CPU variant : 0x3
- CPU part : 0xc08
- CPU revision : 2
- Hardware : am335xevm
- Revision : 0000
- Serial : 0000000000000000
复制代码 可以看到,A8处理器是ARMv7 内核
五、查看网卡信息- root@am335x-evm:~# ifconfig
- eth0 Link encap:Ethernet HWaddr BC:6A:29:DB:8C:FA
- UP BROADCAST ALLMULTI MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- UP LOOPBACK RUNNING MTU:16436 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
复制代码 要是想查看所有网卡信息,输入命令:- <blockquote>root@am335x-evm:~# ifconfig -a
复制代码 可以看出,开发板网口不只一个,但是can0还是有点不明白,据网友解疑应该是can总线
|
|