mars51 发表于 2008-5-3 18:09:22

skyeye 加载支持NAND FLSAH的UBOOT时出错

出错信息:
# 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 发表于 2008-5-3 18:18:49

回复 #1 mars51 的帖子

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

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

crook 发表于 2008-5-4 22:46:08

没有生成dump文件

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

mknandflashdump u-boot.bin nand.dump 0

in http://skyeye.svn.sourceforge.net/viewvc/skyeye/skyeye-v1/trunk/device/nandflash/tools/
, and use your native gcc to build it and use it.
页: [1]
查看完整版本: skyeye 加载支持NAND FLSAH的UBOOT时出错