资料下载在https://pan.baidu.com/s/1lDeA_1__hmx-umVLxoEs9A#list/path=%2F密码是1s6w,内容大概如下
我用的 操作环境是64位的WIN7。按照资料的doc中的Getting_Started_EVB335X.pdf操作,先验证串口好用,加电打开开关,听到一声蜂鸣声并有两个灯亮,等待一会后,主板上有一个灯闪烁。 WIN7没有超级终端了,参考下面实现了超级终端,设置为152000,8N1无流控,https://jingyan.baidu.com/article/414eccf6716fa06b431f0a1c.html,运行后终端显示如下:
U-Boot SPL 2014.04-rc2 (Jun 04 2014 - 17:30:10)
U-Boot 2014.04-rc2 (Jun 04 2014 - 17:30:10)
I2C: ready
DRAM: 256MiB
NAND: 512MiB
MMC: OMAPSD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment
Net: cpsw(一个CPU口两个NET口)
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x280000, size 0x300000
3145728 bytes read: OK
NAND read: device 0 offset 0x580000, size 0x400000
4194304 bytes read: OK
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-3.2.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2961496 Bytes = 2.8 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version3.2.0 (ronggang@axcor-RD001) (gcc version 4.7.3 201
30226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313- Linaro GCC
2013.03) ) #59 Fri Jun 609:41:48 CST 2014
[ 0.000000] CPU: ARMv7Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT /VIPT nonaliasing data cache, VIPT aliasing instructio
n cache
[ 0.000000] Machine:com335x
[ 0.000000] Memory policy:ECC disabled, Data cache writeback
[ 0.000000] AM335X ES2.1(neon )
[ 0.000000] Built 1zonelists in Zone order, mobility grouping on. Total pag
es: 65024
[ 0.000000] Kernel commandline: console=ttyO0,115200n8 root=ubi0:rootfs ubi.
mtd=8,2048 rootfstype=ubifs rw rootwait=1 lcdtype=AUO_AT070TN94consoleblank=0
[ 0.000000] PID hash tableentries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cachehash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cachehash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 256MB =256MB total
[ 0.000000] Memory:253756k/253756k available, 8388k reserved, 0K highmem
[ 0.000000] Virtual kernelmemory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896kB)
[ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16MB)
[ 0.000000] .text : 0xc0008000 - 0xc0534000 (5296 kB)
[ 0.000000] .init : 0xc0534000 - 0xc056e000 ( 232 kB)
[ 0.000000] .data : 0xc056e000 - 0xc05c5320 ( 349 kB)
[ 0.000000] .bss : 0xc05c5344 - 0xc05f42e4 ( 188 kB)
[ 0.000000] NR_IRQS:396
[ 0.000000] IRQ: Found anINTC at 0xfa200000 (revision 5.0) with 128 interrup
ts
[ 0.000000] Total of 128interrupts on 1 active controller
[ 0.000000] OMAP clockeventsource: GPTIMER2 at 24000000 Hz
[ 0.000000]omap_dm_timer_switch_src: Switching to HW default clocksource(sys
_clkin_ck) for timer1, this may impact timekeeping in low powerstate
[ 0.000000] OMAPclocksource: GPTIMER1 at 24000000 Hz
[ 0.000000] sched_clock: 32bits at 24MHz, resolution 41ns, wraps every 17895
6ms
[ 0.000000] Console: colourdummy device 80x30
[ 0.000181] Calibratingdelay loop... 795.44 BogoMIPS (lpj=3977216)
[ 0.087387] pid_max:default: 32768 minimum: 301
[ 0.087495] SecurityFramework initialized
[ 0.087588] Mount-cachehash table entries: 512
[ 0.087945] CPU: Testingwrite buffer coherency: ok
[ 0.088664] devtmpfs:initialized
[ 0.107985] omap_hwmod:gfx: failed to hardreset
[ 0.123856] omap_hwmod:pruss: failed to hardreset
[ 0.124884]print_constraints: dummy:
[ 0.125235] NET: Registeredprotocol family 16
[ 0.127272] OMAP GPIOhardware version 0.1
[ 0.129503] omap_mux_init:Add partition: #1: core, flags: 0
[ 0.131552] omap_i2c.1: alias fck already exists
[ 0.132196] omap-gpmcomap-gpmc: GPMC revision 6.0
[ 0.132213] RegisteringNAND on CS0
[ 0.132802] omap_hsmmc.0: alias fck already exists
[ 0.134203] omap_i2c.2: alias fck already exists
[ 0.134622] [ext_uartplatform init]: gpmc mem base is 0x01000000
[ 0.134648] gpmc_cssp_initfor ST16C554 device succeeded
[ 0.134840] com335x: mcasp1init
[ 0.134923] davinci-mcasp.1: alias fck already exists
[ 0.135365] da8xx_lcdc.0: alias fck already exists
[ 0.135839] omap_i2c.3: alias fck already exists
[ 0.136714] edma.0: alias fck already exists
[ 0.136735] edma.0: alias fck already exists
[ 0.136751] edma.0: alias fck already exists
[ 0.154954] bio: createslab <bio-0> at 0
[ 0.156914] SCSI subsysteminitialized
[ 0.157648] usbcore:registered new interface driver usbfs
[ 0.157937] usbcore:registered new interface driver hub
[ 0.158120] usbcore:registered new device driver usb
[ 0.158439] registerdcppi-dma Intr @ IRQ 17
[ 0.158452] Cppi41 InitDone Qmgr-base(d087a000) dma-base(d0878000)
[ 0.158460] Cppi41 InitDone
[ 0.158487] musb-ti81xxmusb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[ 0.158777] musb-ti81xxmusb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[ 0.159853] omap_i2comap_i2c.1: bus 1 rev2.4.0 at 400 kHz
[ 0.160778] pca953x 1-0074:interrupt support not compiled in
[ 0.318208] tps652171-0024: TPS65217 ID 0xe version 1.2
[ 0.319102]print_constraints: DCDC1: 900 <--> 1800 mV at 1500 mV
[ 0.320014]print_constraints: DCDC2: 900 <--> 3300 mV at 1275 mV
[ 0.320933]print_constraints: DCDC3: 900 <--> 1500 mV at 1125 mV
[ 0.321835]print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV
[ 0.322732]print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV
[ 0.323622]print_constraints: LDO3: 1800 <--> 3300 mV at 1800 mV
[ 0.324533]print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV
[ 0.337413] omap_i2comap_i2c.2: bus 2 rev2.4.0 at 400 kHz
[ 0.357393] omap_i2comap_i2c.3: bus 3 rev2.4.0 at 400 kHz
[ 0.359046] Advanced LinuxSound Architecture Driver Version 1.0.24.
[ 0.360208] Switching toclocksource gp timer
[ 0.376692] musb-hdrc:version 6.0, ?dma?, otg (peripheral+host)
[ 0.376883] musb-hdrcmusb-hdrc.0: dma type: dma-cppi41
[ 0.377199] MUSB0controller's USBSS revision = 4ea20800
[ 0.377228] musb0: EnabledSW babble control
[ 0.378095] musb-hdrcmusb-hdrc.0: USB OTG mode controller at d084a000 using
DMA, IRQ 18
[ 0.378254] musb-hdrcmusb-hdrc.1: dma type: dma-cppi41
[ 0.378551] MUSB1controller's USBSS revision = 4ea20800
[ 0.378575] musb1: EnabledSW babble control
[ 0.378988] musb-hdrcmusb-hdrc.1: MUSB HDRC host driver
[ 0.379086] musb-hdrcmusb-hdrc.1: new USB bus registered, assigned bus numbe
r 1
[ 0.379215] usb usb1: NewUSB device found, idVendor=1d6b, idProduct=0002
[ 0.379229] usb usb1: NewUSB device strings: Mfr=3, Product=2, SerialNumber=
1
[ 0.379241] usb usb1
roduct: MUSB HDRC host driver
[ 0.379250] usb usb1:Manufacturer: Linux 3.2.0 musb-hcd
[ 0.379260] usb usb1:SerialNumber: musb-hdrc.1
[ 0.380142] hub 1-0:1.0:USB hub found
[ 0.380172] hub 1-0:1.0: 1port detected
[ 0.380813] musb-hdrcmusb-hdrc.1: USB Host mode controller at d084c800 using
DMA, IRQ 19
[ 0.381231] NET: Registeredprotocol family 2
[ 0.381419] IP route cachehash table entries: 2048 (order: 1, 8192 bytes)
[ 0.381695] TCP establishedhash table entries: 8192 (order: 4, 65536 bytes)
[ 0.381839] TCP bind hashtable entries: 8192 (order: 3, 32768 bytes)
[ 0.381924] TCP: Hashtables configured (established 8192 bind 8192)
[ 0.381935] TCP renoregistered
[ 0.381947] UDP hash tableentries: 256 (order: 0, 4096 bytes)
[ 0.381967] UDP-Lite hashtable entries: 256 (order: 0, 4096 bytes)
[ 0.382146] NET: Registeredprotocol family 1
[ 0.382394] RPC: Registerednamed UNIX socket transport module.
[ 0.382404] RPC: Registeredudp transport module.
[ 0.382412] RPC: Registeredtcp transport module.
[ 0.382420] RPC: Registeredtcp NFSv4.1 backchannel transport module.
[ 0.382629] NetWinderFloating Point Emulator V0.97 (double precision)
[ 0.382653] Error: Driver'omap-gpmc' is already registered, aborting...
[ 0.393530] VFS: Diskquotas dquot_6.5.2
[ 0.393595] Dquot-cachehash table entries: 1024 (order 0, 4096 bytes)
[ 0.394099] msgmni has beenset to 495
[ 0.394773] io schedulernoop registered
[ 0.394785] io schedulerdeadline registered
[ 0.394844] io schedulercfq registered (default)
[ 0.396290] da8xx_lcdcda8xx_lcdc.0: GLCD: Found AUO_AT070TN94 panel
[ 0.407137] Console:switching to colour frame buffer device 100x30
[ 0.413684] Serial:8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.435557] serial8250.0:ttyS0 at MMIO 0x1000000 (irq = 216) is a 16550A
[ 0.456165] serial8250.0:ttyS1 at MMIO 0x1000008 (irq = 217) is a 16550A
[ 0.476656] serial8250.0:ttyS2 at MMIO 0x1000010 (irq = 218) is a 16550A
[ 0.497259] serial8250.0:ttyS3 at MMIO 0x1000018 (irq = 219) is a 16550A
[ 0.497580] serial8250serial8250.0: unable to register port at index 4 (IO0
MEM3c IRQ0): -28
[ 0.497964] omap_uart.0:ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 1.261142] console [ttyO0]enabled
[ 1.265457] omap_uart.1:ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 1.273335] omap_uart.2:ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 1.281191] omap_uart.3:ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 1.288998] omap_uart.4:ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 1.296853] omap_uart.5:ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 1.314291] brd: moduleloaded
[ 1.322318] loop: moduleloaded
[ 1.326375] at24 1-0050:1024 byte 24c08 EEPROM, writable, 16 bytes/write
[ 1.335827] mtdoops: mtddevice (mtddev=name/number) must be supplied
[ 1.343019] omap2-nanddriver initializing
[ 1.347622] ONFI flashdetected
[ 1.351063] ONFI param page0 valid
[ 1.354718] NAND device:Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron MT29F4G
08ABADAWP)
[ 1.363324] Creating 9 MTDpartitions on "omap2-nand.0":
[ 1.368902] 0x000000000000-0x000000020000: "SPL"
[ 1.375363]0x000000020000-0x000000040000 : "SPL.backup1"
[ 1.382457]0x000000040000-0x000000060000 : "SPL.backup2"
[ 1.389338]0x000000060000-0x000000080000 : "SPL.backup3"
[ 1.396306]0x000000080000-0x000000260000 : "U-Boot"
[ 1.403517]0x000000260000-0x000000280000 : "U-Boot Env"
[ 1.410402]0x000000280000-0x000000580000 : "logo"
[ 1.417920]0x000000580000-0x000000a80000 : "Kernel"
[ 1.426573]0x000000a80000-0x000020000000 : "File System"
[ 1.640355] OneNAND driverinitializing
[ 1.645112] UBI: attachingmtd8 to ubi0
[ 1.649132] UBI: physicaleraseblock size: 131072 bytes (128 KiB)
[ 1.655723] UBI: logicaleraseblock size: 126976 bytes
[ 1.661388] UBI: smallestflash I/O unit: 2048
[ 1.666306] UBI: VID headeroffset: 2048 (aligned 2048)
[ 1.672598] UBI: dataoffset: 4096
[ 1.690501] usb 1-1: newhigh-speed USB device number 2 using musb-hdrc
[ 1.861228] usb 1-1: NewUSB device found, idVendor=0424, idProduct=2514
[ 1.868245] usb 1-1: NewUSB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.891639] hub 1-1:1.0:USB hub found
[ 1.896732] hub 1-1:1.0: 4ports detected
[ 5.964617] UBI: max.sequence number: 169
[ 5.987308] UBI: attachedmtd8 to ubi0
[ 5.991313] UBI: MTD devicename: "File System"
[ 5.997053] UBI: MTD devicesize: 501 MiB
[ 6.002254] UBI: number ofgood PEBs: 4012
[ 6.007175] UBI: number ofbad PEBs: 0
[ 6.011827] UBI: number ofcorrupted PEBs: 0
[ 6.016472] UBI: max.allowed volumes: 128
[ 6.021307] UBI:wear-leveling threshold: 4096
[ 6.026225] UBI: number ofinternal volumes: 1
[ 6.030877] UBI: number ofuser volumes: 1
[ 6.035524] UBI: availablePEBs: 0
[ 6.040168] UBI: totalnumber of reserved PEBs: 4012
[ 6.045371] UBI: number ofPEBs reserved for bad PEB handling: 40
[ 6.051755] UBI: max/meanerase counter: 2/0
[ 6.056217] UBI: imagesequence number: 155871075
[ 6.061550] UBI: backgroundthread "ubi_bgt0d" started, PID 547
[ 6.068399] CAN devicedriver interface
[ 6.072438] CAN bus driverfor Bosch D_CAN controller 1.0
[ 6.120268] davinci_mdiodavinci_mdio.0: davinci mdio revision 1.6
[ 6.126746] davinci_mdiodavinci_mdio.0: detected phy mask ffffffef
[ 6.134175] davinci_mdio.0:probed
[ 6.137745] davinci_mdiodavinci_mdio.0: phy[4]: device 0:04, driver unknown
[ 6.145298] PPP genericdriver version 2.4.2
[ 6.150220] PPP BSDCompression module registered
[ 6.155164] PPP DeflateCompression module registered
[ 6.160654] usbcore:registered new interface driver zd1201
[ 6.166664] usbcore:registered new interface driver cdc_ether
[ 6.172927] usbcore:registered new interface driver cdc_eem
[ 6.178990] usbcore:registered new interface driver dm9601
[ 6.184879] cdc_ncm:04-Aug-2011
[ 6.188405] usbcore:registered new interface driver cdc_ncm
[ 6.194526] usbcore:registered new interface driver cdc_acm
[ 6.200464] cdc_acm: USBAbstract Control Model driver for USB modems and ISD
N adapters
[ 6.208841] InitializingUSB Mass Storage driver...
[ 6.214168] usbcore:registered new interface driver usb-storage
[ 6.220470] USB MassStorage support registered.
[ 6.225633] usbcore:registered new interface driver usbserial
[ 6.231896] USB Serialsupport registered for generic
[ 6.237334] usbcore:registered new interface driver usbserial_generic
[ 6.244180] usbserial: USBSerial Driver core
[ 6.248857] USB Serialsupport registered for GSM modem (1-port)
[ 6.255434] usbcore:registered new interface driver option
[ 6.261288] option:v0.7.2:USB Driver for GSM modems
[ 6.267075] mousedev: PS/2mouse device common for all mice
[ 6.274227] input:gpio-keys-polled as /devices/platform/gpio-keys-polled.0/i
nput/input0
[ 6.284865] input:ft5x06_ts as /devices/virtual/input/input1
[ 6.351762] rtc-ds13071-0068: rtc core: registered ds1339 as rtc0
[ 6.358389] i2c /deventries driver
[ 6.365704] cpuidle: usinggovernor ladder
[ 6.370487] cpuidle: usinggovernor menu
[ 6.379534] usbcore:registered new interface driver usbhid
[ 6.385422] usbhid: USB HIDcore driver
[ 6.390106] tiadc tiadc:attached adc driver
[ 6.396892] _regulator_get:1-001b supply IOVDD not found, using dummy regula
tor
[ 6.404736] _regulator_get:1-001b supply DVDD not found, using dummy regulat
or
[ 6.412448] _regulator_get:1-001b supply AVDD not found, using dummy regulat
or
[ 6.420125] _regulator_get:1-001b supply DRVDD not found, using dummy regula
tor
[ 6.430472] asoc:tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
[ 6.441243] ALSA devicelist:
[ 6.444356] #0: COM335X EVM
[ 6.447456] oprofile:hardware counters not available
[ 6.452757] oprofile: usingtimer interrupt.
[ 6.457249] nf_conntrackversion 0.5.0 (3964 buckets, 15856 max)
[ 6.464019] ip_tables: (C)2000-2006 Netfilter Core Team
[ 6.469703] TCP cubicregistered
[ 6.473115] NET: Registeredprotocol family 17
[ 6.477787] can: controllerarea network core (rev 20090105 abi 8)
[ 6.484351] NET: Registeredprotocol family 29
[ 6.489001] can: rawprotocol (rev 20090105)
[ 6.493478] can: broadcastmanager protocol (rev 20090105 t)
[ 6.499439] Registering thedns_resolver key type
[ 6.504447] VFP supportv0.3: implementor 41 architecture 3 part 30 variant c
rev 3
[ 6.512486] ThumbEE CPUextension supported.
[ 6.517016] mux: Failed tosetup hwmod io irq -22
[ 6.522589] Power Managementfor AM33XX family
[ 6.527249] pm: Err (-22)setting core voltage setting
[ 6.532855] Trying to loadam335x-pm-firmware.bin (60 secs timeout)
[ 6.539533] Copied the M3firmware to UMEM
[ 6.543889] Cortex M3Firmware Version = 0x184
[ 6.551838] clock:disabling unused clocks to save power
[ 6.559481] DetectedMACID=b0:d5:cc:8:45:7
[ 6.565665] rtc-ds13071-0068: setting system clock to 2017-05-31 03:37:00 UT
C (1496201820)
[ 6.640023] UBIFS: recoveryneeded
[ 6.818370] UBIFS: recoverycompleted
[ 6.822258] UBIFS: mountedUBI device 0, volume 0, name "rootfs"
[ 6.828548] UBIFS: filesystem size: 247857152 bytes (242048KiB, 236 MiB,
1952 LEBs)
[ 6.836934] UBIFS: journalsize: 9023488 bytes (8812 KiB, 8MiB, 72 LEB
s)
[ 6.844591] UBIFS: mediaformat: w4/r0 (latest is w4/r0)
[ 6.850699] UBIFS: defaultcompressor: lzo
[ 6.854980] UBIFS: reservedfor root: 0 bytes (0 KiB)
[ 6.861541] VFS: Mountedroot (ubifs filesystem) on device 0:14.
[ 6.869947] devtmpfs:mounted
[ 6.873462] Freeing initmemory: 232K
Starting logging: OK
Populating /dev using udev: [ 7.613122] udevd[664]: starting version 182
done
Initializing random number generator... done.
Starting network...
[ 8.521386] net eth0: CPSWphy found : id is : 0x4dd072
[ 8.527612] PHY 0:01 notfound
Starting sshd: OK
Starting vsftpd: OK
[root@EVB335X /]#
上述LINUX
启动信息很丰富,都弄透彻了就。看到#
表示进入linux
的终端命令状态了。
参考文档《EVB-335X接口功能测试手册.pdf》可以做多种功能测试啊