初试BV561EVB开发板

来源:互联网 发布:unity3d 网页插件 编辑:程序博客网 时间:2024/06/09 18:55
 
今天拿到了合肥优视科技的一款开发板-BV561EVB。由一块基本板和一块电源板组成,非常的小巧精致,大概只有10cm x 7cm的样子。
接上12V的电源线,接上串口,打开超级终端,配置为115200 8-N-1,再接上网线,万事俱备!
打开电源,板上已经写好的系统启动,从超级终端上可以看到如下信息:
 
U-Boot-1.1.3-ADI-2006R1 (May 21 2007 - 11:22:42)
ADI BF533/561 U-Boot support by BESOVIDEO Co.Ltd
Serial Port initialized with Baud rate = 115200
CPU:    ADSP BF561 Rev 0.3
Board: BESOVIDEO BF561 board (http://www.besovideo.com)
Clock: VCO: 330 MHz, Core: 330 MHz, System: 66 MHz
SDRAM Memory Map: 0x00000000 - 0x03FFFFFF (64 MiB)
       tRCD: 3, tRP: 3, tRAS: 6, tWR: 2, CAS Latency: 3 (SCLK cycles)
Flash: 0x20000000 - 0x207FFFFF (16 MiB)
       Device ID: 0x18 (type `flinfo' for information on sectors)
In:    serial
Out:   serial
Err:   serial
I2C:   ready
Autobooting in 2 seconds, press " " to stop
## Booting image at 20040000 ...
   Image Name:   Bfin uClinux Kernel
   Created:      2007-05-16 11:14:41 UTC
   Image Type:   Blackfin Linux Kernel Image (gzip compressed)
   Data Size:    1770801 Bytes = 1.7 MB
   Load Address: 00001000
   Entry Point: 00001000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... Linux version 2.6.18-ADI-2007R1-hhbf (huangning@bvwork00)
        (gcc 鐗堟湰 3.4.6 (ADI cvs))#252 Tue May 15 16:32:24 CST 2007
Blackfin support (C) 2004-2006 Analog Devices, Inc.
Compiled for ADSP-BF561 Rev. 0.3
Warning: Unsupported Chip Revision ADSP-BF561 Rev. 0.3 detected
Blackfin uClinux support by http://www.hhcn.org/
Processor Speed: 495 MHz CCLK and 99 Mhz SCLK
Board Memory: 64MB
Kernel Managed Memory: 32MB
Memory map:
 text      = 0x00001000-0x00135b44
 init      = 0x00136000-0x00140648
 data      = 0x00140b40-0x00179624
 stack     = 0x00142000-0x00144000
 bss       = 0x00179630-0x0018d3ec
 available = 0x0018d3ec-0x01b00000
 rootfs    = 0x01b00000-0x01f00000
 DMA Zone = 0x01f00000-0x02000000
Instruction Cache Enabled
Data Cache Enabled (write-through)
Hardware Trace Enabled
Built 1 zonelists. Total pages: 6912
Kernel command line: root=/dev/mtdblock4 rw mem=32m max_mem=64m console=ttyS0,115200n8 lpj=1974272 hdb=noprobe ide0=noprobe
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 128 (order: 7, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Physical pages: 1b00
Memory available: 4096k romfs + 25760k/31485k RAM
       (41k init code, 1234k kernel code, 79k data, 1024k dma)
Blackfin Scratchpad data SRAM: 4 KB
Blackfin DATA_A SRAM: 16 KB
Blackfin DATA_B SRAM: 16 KB
Blackfin Instruction SRAM: 16 KB
Calibrating delay loop (skipped)... 987.13 BogoMIPS preset
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
hhbf_init(): registering device resources
NET: Registered protocol family 2
IP route cache hash table entries: 256 (order: -2, 1024 bytes)
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 1024 bind 512)
TCP reno registered
io scheduler noop registered (default)
pfx: pfbits driver for bf53x
Serial: 8250/16550 driver $Revision: 1.6 $ 2 ports, IRQ sharing enabled
serial8250: ttyS10 at I/O 0x24000000 (irq = 76) is a PORT_ST16C2552
serial8250: ttyS11 at I/O 0x26000000 (irq = 77) is a PORT_ST16C2552
Serial: Blackfin serial driver
bfin-uart.1: ttyS0 at MMIO 0xffc00400 (irq = 35) is a BFIN-UART
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
CSLIP: code copyright 1989 Regents of the University of California.
SLIP linefill/keepalive option.
ezkit561 map: mapping 8 MiB flash at 0x20000000
BF561 EZKIT Map: Found 1 x16 devices at 0x0 in 16-bit bank
NOR chip too large to fit in mapping. Attempting to cope...
 Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
Reducing visibility of 16384KiB chip to 8192KiB
Creating 4 MTD partitions on "BF561 EZKIT Map":
0x00000000-0x00040000 : "Das U-Boot"
0x00040000-0x00200000 : "Factory Linux kernel"
0x00200000-0x003c0000 : "User Linux kernel"
0x00400000-0x00440000 : "CoreB image"
uclinux[mtd]: RAM probe address=0x1b00000 size=0x400000
Creating 1 MTD partitions on "RAM":
0x00000000-0x00400000 : "EXT2fs"
uclinux[mtd]: set EXT2fs to be root filesystem
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 40k freed (0x136000 - 0x13f000)
dma_alloc_init: dma_page @ 0x01a55000 - 256 pages at 0x01f00000
 
init started: BusyBox v1.4.0.svn (2007-05-12 17:53:21 CST) multi-call binary
cat: /etc/issue: No such file or directory
cat: /etc/version: No such file or directory
hhbf-i2c: SCL-PF0, SDA-PF1; 166 KHz; v0.2.4
SAA7113H: video decoder chip attached, rev 0x11 at 0x4a
modprobe: module bfin_pflags not found
modprobe: failed to load module bfin_pflags
<DM9KS> I/O: 2c000300, VID: 90000a46
BF-COREB Proc-FS: v0.2.0
isl12027: detected and attatched
RTC Driver based on I2C v0.10 (10:08:35, May 13 2007)
 
Welcome to:
       ____ _ _                  
      / __| ||_|             _ _
 _   _| | | | _ ____ _   _ / // /
| | | | | | || | _ /| | | | / /
| |_| | |__| || | | | | |_| | / /
| ___/____|_||_|_| |_|/____|/_//_/
|_|                                  
 
For further information see:
http://www.uclinux.org/
http://blackfin.uclinux.org/
http://www.besovideo.com/
 
BV561-CDMA>-#
可以看到,系统由u-boot引导,直接进入uclinux,很简单。
按空格键在u-boot未引导系统前中断下来,敲help,看到了一堆指令,呵呵:
?       - alias for 'help'
askenv - get environment variables from stdin
autoscr - run script from memory
base    - print or set address offset
bdinfo - print Board Info structure
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm  - boot application image from memory
bootp      - boot image via network using BootP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
date    - get/set/reset date & time
dcache - enable or disable data cache
echo    - echo args to console
eeprom - EEPROM sub-system
erase   - erase FLASH memory
fl      - flush a file to FLASH memory
flinfo - print FLASH memory information
fsinfo      - print information about filesystems
fsload      - load binary file from a filesystem image
go      - start application at address 'addr'
help    - print online help
icache - enable or disable instruction cache
icrc32 - checksum calculation
iloop   - infinite loop on address range
imd     - i2c memory display
iminfo - print header information for application image
imls    - list all images found in flash
imm     - i2c memory modify (auto-incrementing)
imw     - memory write (fill)
inm     - memory modify (constant address)
iprobe - probe to discover valid I2C chip addresses
isdram - print SDRAM configuration information
itest - return true/false on integer compare
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loop    - infinite loop on address range
ls     - list files in a directory (default /)
md      - memory display
mm      - memory modify (auto-incrementing)
mtest   - simple RAM test
mw      - memory write (fill)
nfs   - boot image via network using NFS protocol
nm      - memory modify (constant address)
oc      - over clocking
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sleep   - delay execution for some time
tftpboot- boot image via network using TFTP protocol
version - print monitor version
再试试VDSP5下用u-boot。接上仿真器,打开原来编译好的u-boot-2008r1,修改时钟配置,运行:
U-Boot 1.1.6 (ADI-2008R1) (Jun 27 2008 - 00:04:51)
 
CPU:   ADSP bf561-0.3 (Detected Rev: 0.3)
Board: ADI BF561 EZ-Kit Lite board
       Support: http://blackfin.uclinux.org/
Clock: VCO: 330 MHz, Core: 330 MHz, System: 66 MHz
RAM:   64 MB
Flash: 16 MB
*** Warning - bad CRC, using default environment
 
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot: 0
bfin>
呵呵,有新板子用了,庆祝一下。在此也感谢一下优视科技的支持!
原创粉丝点击