快乐虾<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
http://blog.csdn.net/lights_joy/
lights@hb165.com
本文适用于
ADI bf561 DSP
uclinux-2008r1-rc8 (移植到vdsp5)
Visual DSP++ 5.0
欢迎转载,但请保留作者信息
终于成功编译了第一个版本,庆祝一下:
Linux version <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />2.6.22.18-ADI-2008R1-svn (lights@hb165.com) (Visual DSP++ 5
.0) #5 Tue Apr 8 16:09:27 CST 2008
Hardware Trace Off and Disabled
Warning: limiting memory to 60MB due to hardware anomaly 05000263
Reset caused by Software reset
Blackfin support (C) 2004-2007 Analog Devices, Inc.
Compiled for ADSP-BF561 Rev 0.3
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 330 MHz core clock and 66 MHz System Clock
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
text = 0x00004000-0x0009fb90
rodata = 0x000d4000-0x000e2568
data = 0x000e4000-0x000ee000
stack = 0x000e4000-0x000e6000
init = 0x000f4000-0x006a339c
bss = 0x00774000-0x0077bc54
available = 0x0077bc54-0x03bff000
Instruction Cache Enabled
Data Cache Enabled
Built 1 zonelists. Total pages: 15210
Kernel command line:
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, Zd bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 53108k/65536k RAM, (5820k init code, 622k kernel code, 1205k d
ata, 0k dma, 4784k reserved)
Blackfin Scratchpad data SRAM: 4 KB
Blackfin Data A SRAM: 16 KB (16 KB free)
Blackfin Data B SRAM: 16 KB (16 KB free)
Blackfin Instruction SRAM: 16 KB (15 KB free)
Mount-cache hash table entries: 512
Blackfin DMA Controller
ezkit_init(): registering device resources
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 35) is a BFIN-UART
mount: mounting proc on /proc failed
mount: mounting devpts on /dev/pts failed
/dev/null: cannot create
/dev/null: cannot create
No usable address families found.
socket: Function not implemented
Unable to create socket
Unable to create socket
Unable to create socket
_____________________________________
a8888b. / Welcome to the uClinux distribution /
d888888b. / _ _ /
8P"YP"Y88 / | | |_| __ __ (TM) |
8|o||o|88 _____/ | | _ ____ _ _ / // / |
8' .88 / | | | | _ /| | | | / / |
8`._.' Y8. / | |__ | | | | | |_| | / / |
d/ `8b. / /____||_|_| |_|/____|/_//_/ |
dP . Y8b. / For embedded processors including |
d8:' " `::88b / the Analog Devices Blackfin /
d8" 'Y88b /___________________________________/
:8P ' :888
8a. : _a88P For further information, check out:
._/"Yaa_: .| 88P| - http://blackfin.uclinux.org/
/ YP" `| 8P `. - http://docs.blackfin.uclinux.org/
/ /.___.d| .' - http://www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - http://www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.4.1 (2008-04-08 16:04:10 CST) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:/>
哈哈,好可爱,比2007版的LOGO好看多了。
Have a lot of fun...
还没有加上驱动,不过这个问题应该算小case了。先加上做一个UP的版本发布!
目前只限于UP,路漫漫其修远兮,SMP的目标啊!
不过从目前对内核的理解来看,似乎先实现RT这个目标比较现实。毕竟有RT Linux可以学习,对BF561硬件的理解也更好些。
此前看到一篇论文,是在一个双核的CPU上实现一个准实时系统的,其思想是在一个核上跑非实时的系统,另一个核上进行实时的任务调度,这个思路似乎比RT Linux直接接管中断要简单些!
不懂,先学习一下!