首页 | 主题 | 图库 | 问答 | 文摘 | 原创 | 百科

历史 | 地理 | 人物 | 艺术 | 体育 | 科学 | 音乐 | 电影 | 信息技术 | 世界遗产

 开放、中立,源自维基百科

个人工具


用搜狗搜索相关网站  Google Search

BSP

维库,知识与思想的自由文库

跳转到: 导航, 搜索

在嵌入式系統中,BSP(Board Support Package),中譯板支持包。是實作特定的支援代碼讓所給的板來符合所給的作業系統。通常會與 bootloader 一起建置,bootloader包含最小的裝置驅動來載入作業系統與 所有在板上的裝置的驱动程序

一些供應商也提供一個根檔案系統,使用toolchain讓程式可以在嵌入式系统上執行(toolchain可能是架構支援套件的其中一部分),與裝置配置器。

[编辑] 歷史

大約從1988年開始出現這個詞。這詞的來源最常被歸於 Wind River Systems 給它的 VxWorks 嵌入式作業系統,不過現在已經廣泛的在業界使用。如 QNX Software Systems 也提供 BSPs,Microsoft也是(自家的 Windows CE 作業系統)。

[编辑] 範例

The Wind River board support package for the ARM Integrator 920T board contains, among other things, the following elements:

- A config.h file, which defines constants such as ROM_SIZE and RAM_HIGH_ADRS.
- A Makefile, which defines binary versions of VxWorks ROM images for programming into flash memory.
- A bootrom file, which defines the boot line parameters for the board.
- A target.ref file, which describes board-specific information such as switch and jumper settings, interrupt levels, and offset bias.
- A VxWorks image.
- Various C files, including:

flashMem.c -- the device driver for the board's flash memory
pciIomapShow.c -- mapping file for the PCI bus
primeCellSio.c -- TTY driver
sysLib.c -- system-dependent routines specific to this board
romInit.s -- ROM initialization module for the board; contains entry code for images that start running from ROM
其它语言
AD Links