終於成功編譯了第一個版本,慶祝一下:
Linux version 2.6.22.18-ADI-2008R1-svn ([email protected]) (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直接接管中斷要簡單些!
不懂,先學習一下!