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


标题: skyeye 加载支持NAND FLSAH的UBOOT时出错
mars51
新手上路
Rank: 1



UID 212079
精华 0
积分 41
帖子 18
阅读权限 10
注册 2006-2-28
状态 离线
发表于 2008-5-3 18:09  资料  短消息  加为好友  QQ
skyeye 加载支持NAND FLSAH的UBOOT时出错

出错信息:
[root@localhost project]# skyeye

**************************** WARNING **********************************
If you want to run ELF image, you should use -e option to indicate
your elf-format image filename. Or you only want to run binary image,
you need to set the filename of the image and its entry in skyeye.conf.
***********************************************************************

big_endian is false.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x8080354
ethmod num=1, mac addr=8:0:3e:26:a:5b, hostip=192.168.139.3
sh: line 1: ifconfig: command not found
nandflash: dump ./nand.dump
file size:69206016
dbct info: turn on dbct!
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
Loaded RAM   ./u-boot.bin
dbct translate block use memory 0x03ff871a bytes.     ———— 一直卡在这不动了


skyeye.conf 内容

cpu: arm920t
mach: s3c2410x

# physical memory
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00800000, file=./u-boot.bin ,boot=yes
mem_bank: map=M, type=RW, addr=0x30000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0x30800000, size=0x00800000
mem_bank: map=M, type=RW, addr=0x31000000, size=0x03000000

# all peripherals I/O mapping area
mem_bank: map=I, type=RW, addr=0x48000000, size=0x20000000
mem_bank: map=I, type=RW, addr=0x19000300, size=0x00000020

net: type=cs8900a, base=0x19000300, size=0x20,int=9, mac=08:00:3E:26:0A:5B, ethmod=tuntap, hostip=192.168.139.3
nandflash: type=s3c2410x,name=K9F1208U0B,dump=./nand.dump #base=0x00000000,size=0x04000000,
#lcd: type=s3c2410x, mod=gtk
dbct:state=on





知耻而后勇
顶部
mars51
新手上路
Rank: 1



UID 212079
精华 0
积分 41
帖子 18
阅读权限 10
注册 2006-2-28
状态 离线
发表于 2008-5-3 18:18  资料  短消息  加为好友  QQ
回复 #1 mars51 的帖子

上面使用的UBOOT和NAND FLASH补丁下载于此:
http://www.hhcn.org/maindoc/nandboot-2410-luofuchong.rar

我的OS是红帽9 ,模拟的是SMDK2410的板子,skyeye的版本是1.2.4 。刚接触skyeye,希望大家指教





知耻而后勇
顶部
crook
新手上路
Rank: 1



UID 248465
精华 0
积分 19
帖子 37
阅读权限 10
注册 2008-4-2
状态 离线
发表于 2008-5-4 22:46  资料  短消息  加为好友 
没有生成dump文件

用skyeye 提供的mknandflashdump程序将 我们的u-boot.bin文件镜像到nand.dump 文件中

mknandflashdump u-boot.bin nand.dump 0

in http://skyeye.svn.sourceforge.ne ... ce/nandflash/tools/
, and use your native gcc to build it and use it.

顶部
 


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