当前时区 GMT+8, 现在时间是 2008-7-6 08:51 游客: 注册 登录 仅登录论坛 | 搜索 帮助


标题: skyeye可以模拟flash了?
sonil
新手上路
Rank: 1



UID 247691
精华 0
积分 5
帖子 9
阅读权限 10
注册 2008-3-11
状态 离线
发表于 2008-3-15 21:59  资料  短消息  加为好友 
skyeye可以模拟flash了?

testsuite2\pxa\with_flash_net_lcd\skyeye.conf

其中一行

flash: type=28F128J3A,base=0x0,size=0x02000000

找不到相关的说明
有谁知道的能说说吗?
如果可以模拟的话,怎么写skyeye.conf????

顶部
sonil
新手上路
Rank: 1



UID 247691
精华 0
积分 5
帖子 9
阅读权限 10
注册 2008-3-11
状态 离线
发表于 2008-3-15 22:18  资料  短消息  加为好友 
#-----------------------------------------------------------------
# below is the touchscreen config info
touchscreen: type=skyeye, base=0xff00b000, size=0x20, int=17

#-----------------------------------------------------------------
# below is the sound config info
# It's recommended to turn on DBCT at the same time.
#
# example:
#        sound: type=s3c44b0x, mod=pcm, channels=2, bits_per_sample=16, samples_per_sec=22050

#-----------------------------------------------------------------
# below is the flash config info
# type: 28F128J3A, SST39LF160, SST39VF160, Am29LV160T-8, Am29LV160T-16,
#       Am29LV160B-8, Am29LV160B-16, Am29LV800T-8, Am29LV800T-16,
#       Am29LV800B-8, Am29LV800B-16
# dump: write to file when data written.
#
# example:
#        flash: type=Am29LV160T-16, base=0x00000000, size=0x02000000, dump=Am29.dump

顶部
AnthonyLee
注册会员
Rank: 2


UID 2903
精华 0
积分 222
帖子 96
阅读权限 20
注册 2002-9-28
状态 离线
发表于 2008-3-15 23:04  资料  短消息  加为好友 
SkyEye Flash 配置写法

注意:目前 Flash 设备模拟某些地方仍然未完善,只在下列环境测试过
1. pxa25x + 28F128J3A
2. s3c44b0x + SST39VF160
3. s3c2410x + Am29LV160T-16
4. s3c2410x + K9F1208U0B


有关 SkyEye 的 Flash 模拟在 skyeye.conf 配置中写法:

1. Flash 模拟配置

# 物理内存类型须为 F
mem_bank: map=F, type=RW,  addr=0x00000000, size=0x00200000, file=./u-boot.bin

# type 为模拟的型号,具体详 README
# base 为起始地址,同上面 addr
# size 为内存大小,下面为 2M
# dump 为写入数据时需保存的文件(可选),当 type=28F128J3A 时无效
flash: type=SST39VF160, base=0x00000000, size=0x00200000, dump=./flash.dump


2. NandFlash 模拟配置

# 物理内存类型须为 M
mem_bank: map=M, type=RW,  addr=0x00000000, size=0x00800000, file=./u-boot.bin

# type 为模拟应用 CPU 类型
# name 为模拟的型号
# dump 同上述
# 这里没有直接指定物理内存的起止,请参考相应文档或源码
nandflash: type=s3c2410x, name=K9F1208U0B, dump=./nand.dump

[ 本帖最后由 AnthonyLee 于 2008-3-15 23:09 编辑 ]

顶部
sonil
新手上路
Rank: 1



UID 247691
精华 0
积分 5
帖子 9
阅读权限 10
注册 2008-3-11
状态 离线
发表于 2008-3-16 00:03  资料  短消息  加为好友 
多谢楼上!!!!
还有更多的资料吗?
英文的也可以

顶部
 


Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
清除 Cookies - 联系我们 - 中国Linux公社 - WAP