使用bootloader启动,8548平台vxworks6.6 bsp源码,
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2012-08-07 22:09 BSP6.6
文件 1726 2010-11-15 16:24 BSP6.620bsp.cdf
文件 3996 2010-11-15 16:24 BSP6.620comp_tipcsm.cdf
文件 1194 2010-11-15 16:24 BSP6.620comp_tipc_hend.cdf
文件 27392 2010-11-15 16:24 BSP6.6am29lv64xdMtd.c
文件 16817 2010-11-15 16:24 BSP6.6nc8548.h
文件 258048 2010-11-15 16:24 BSP6.6BNC8548_66.IAB
文件 2848 2010-11-15 16:24 BSP6.6BNC8548_66.IAD
文件 69632 2010-11-15 16:24 BSP6.6BNC8548_66.IMB
文件 1008 2010-11-15 16:24 BSP6.6BNC8548_66.IMD
文件 148 2010-11-15 16:24 BSP6.6BNC8548_66.PFI
文件 776 2010-11-15 16:24 BSP6.6BNC8548_66.PO
文件 13928 2010-11-15 16:24 BSP6.6BNC8548_66.PR
文件 87544 2010-11-15 16:24 BSP6.6BNC8548_66.PRI
文件 500000 2010-11-15 16:24 BSP6.6BNC8548_66.PS
文件 133 2010-11-15 16:24 BSP6.6BNC8548_66.SearchResults
文件 72451 2010-11-15 16:24 BSP6.6BNC8548_66.WK3
文件 1480 2010-11-15 16:24 BSP6.6ootInit.o
文件 1212 2010-11-15 16:24 BSP6.6ootInit_uncmp.o
文件 1137904 2010-11-15 16:24 BSP6.6ootrom_uncmp
文件 1048576 2010-11-15 16:24 BSP6.6ootrom_uncmp.bin
文件 181089 2010-11-15 16:24 BSP6.6cds8548.vsh
文件 23354 2010-11-15 16:24 BSP6.6config.h
文件 3089 2010-11-15 16:24 BSP6.6configNet.h
文件 584 2010-11-15 16:24 BSP6.6ctdt.c
文件 544 2010-11-15 16:24 BSP6.6ctdt.o
文件 90101 2010-11-15 16:24 BSP6.6depend.bnc8548_66
文件 77761 2010-11-15 16:24 BSP6.6depend.cds8548
文件 24541 2010-11-15 16:24 BSP6.6hwconf.c
文件 31950 2010-11-15 16:24 BSP6.6m85xxTimer.c
文件 2059 2010-11-15 16:24 BSP6.6Makefile
............此处省略37个文件信息
/* am29lv64xdMtd.c - MTD for Am29Lv64Xd */
/*
* Copyright (c) 2003-2005 Wind River Systems Inc.
*
* The right to copy distribute or otherwise make use of this software
* may be licensed only pursuant to the terms of an applicable Wind River
* license agreement. No license to Wind River intellectual property rights
* is granted herein. All rights not licensed by Wind River are reserved
* by Wind River.
*/
#include “copyright_wrs.h“
/* FAT-FTL Lite Software Development Kit
* Copyright (C) M-Systems Ltd. 1995-2001 */
/*
modification history
--------------------
01d24mar05mdo Documentation changes for apigen
01c22mar05dtr Typo fixes.
01b18nov04jln fix compiler warning
01a22oct04jln modified from 01l/cfiamd.c
*/
/*
DEscriptION
This library provides a MTD for Am29Lv641D on cds8541/cds8555 reference boards.
It only supports 16 bit bus access to flash chips.
INCLUDE FILES:
NOMANUAL
*/
#include
#include “tffs/flflash.h“
#include “tffs/backgrnd.h“
#define MAXSECTORS 128 /* should work with any value */
typedef enum
{
BOOTBLOCK_NONE
BOOTBLOCK_TOP
BOOTBLOCK_BOTTOM
}BOOTBLOCK;
typedef union
{
UCHAR uchar[4];
UINT32 uint32;
} CFI_DWORD;
typedef union
{
UCHAR uchar[2];
USHORT ushort;
} CFI_WORD;
/* Instance specific CFI data so that a system may have more than one CFI
* device. */
typedef struct
{
unsigned commandSetId; /* id of a specific command set. */
unsigned altCommandSetId; /* id of alternate command set. */
FLBoolean wordMode; /* TRUE - word mode. */
/* FALSE - byte mode. */
int multiplier; /* the number of bytes between */
/* 1st Q and 1st R in query */
int interleaveWidth; /* 1 - byte 2 - word interleaved */
unsigned maxBytesWrite; /* maximum number of bytes */
/* in multi-byte write. */
FLBoolean vpp; /* if = TRUE need vpp. */
long optionalCommands; /* optional commands supported */
/* (1 = yes 0 = no): */
/* bit 0 - chip erase. */
/* bit 1 - suspend erase. */
/* bit 2 - suspend write */
/* bit 3 - lock/unlock. */
/* bit 4 - queued erase. */
unsigned afterSuspend; /* functions supported after */
/* suspend (1 = yes 0 = no): */
/* bit 0 - write after erase */
/* suspend. */
int sectorDefs; /* Number of sector definitions */
struct
{ /* sector descriptions as found */
long secSize; /* in CFI query. */
int numSecs; /* */
}secDesc[8]; /* assume 8 is enough */
struct
{ /*
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2012-08-07 22:09 BSP6.6
文件 1726 2010-11-15 16:24 BSP6.620bsp.cdf
文件 3996 2010-11-15 16:24 BSP6.620comp_tipcsm.cdf
文件 1194 2010-11-15 16:24 BSP6.620comp_tipc_hend.cdf
文件 27392 2010-11-15 16:24 BSP6.6am29lv64xdMtd.c
文件 16817 2010-11-15 16:24 BSP6.6nc8548.h
文件 258048 2010-11-15 16:24 BSP6.6BNC8548_66.IAB
文件 2848 2010-11-15 16:24 BSP6.6BNC8548_66.IAD
文件 69632 2010-11-15 16:24 BSP6.6BNC8548_66.IMB
文件 1008 2010-11-15 16:24 BSP6.6BNC8548_66.IMD
文件 148 2010-11-15 16:24 BSP6.6BNC8548_66.PFI
文件 776 2010-11-15 16:24 BSP6.6BNC8548_66.PO
文件 13928 2010-11-15 16:24 BSP6.6BNC8548_66.PR
文件 87544 2010-11-15 16:24 BSP6.6BNC8548_66.PRI
文件 500000 2010-11-15 16:24 BSP6.6BNC8548_66.PS
文件 133 2010-11-15 16:24 BSP6.6BNC8548_66.SearchResults
文件 72451 2010-11-15 16:24 BSP6.6BNC8548_66.WK3
文件 1480 2010-11-15 16:24 BSP6.6ootInit.o
文件 1212 2010-11-15 16:24 BSP6.6ootInit_uncmp.o
文件 1137904 2010-11-15 16:24 BSP6.6ootrom_uncmp
文件 1048576 2010-11-15 16:24 BSP6.6ootrom_uncmp.bin
文件 181089 2010-11-15 16:24 BSP6.6cds8548.vsh
文件 23354 2010-11-15 16:24 BSP6.6config.h
文件 3089 2010-11-15 16:24 BSP6.6configNet.h
文件 584 2010-11-15 16:24 BSP6.6ctdt.c
文件 544 2010-11-15 16:24 BSP6.6ctdt.o
文件 90101 2010-11-15 16:24 BSP6.6depend.bnc8548_66
文件 77761 2010-11-15 16:24 BSP6.6depend.cds8548
文件 24541 2010-11-15 16:24 BSP6.6hwconf.c
文件 31950 2010-11-15 16:24 BSP6.6m85xxTimer.c
文件 2059 2010-11-15 16:24 BSP6.6Makefile
............此处省略37个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)