QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2338|回复: 8

uboot 在skyeye 1.2.7上移植的问题

[复制链接]
发表于 2009-3-25 13:45:53 | 显示全部楼层 |阅读模式
skyeye.conf内容如下:

#skyeye config file for uboot
cpu: arm920t
mach: s3c2410x
mem_bank: map=I,type=RW,addr=0x48000000,size=0x20000000
mem_bank: map=I, type=RW, addr=0x19000300, size=0x00000020

mem_bank: map=M,type=RW,addr=0x33f00000,size=0x01000000,file=u-boot.bin,boot=yes
mem_bank: map=M,type=RW,addr=0xc0000000,size=0x01000000
mem_bank: map=M,type=RW,addr=0xc1000000,size=0x01000000

运行skyeye后出现全是以下的问题:

Bus read error, can not find corresponding bank for addr 0x20f4a,pc=0x33f8da74
Bus read error, can not find corresponding bank for addr 0x20f4b,pc=0x33f8da88
Bus read error, can not find corresponding bank for addr 0x20f4c,pc=0x33f8d9fc
Bus read error, can not find corresponding bank for addr 0x20f4d,pc=0x33f8da10
Bus read error, can not find corresponding bank for addr 0x20f4e,pc=0x33f8da24
Bus read error, can not find corresponding bank for addr 0x20f4f,pc=0x33f8da38
Bus read error, can not find corresponding bank for addr 0x20f50,pc=0x33f8da4c

这是怎么回事?怎么办?
 楼主| 发表于 2009-3-25 15:14:06 | 显示全部楼层

求助啊!试了很多 都出现了这个问题

怎么没人响应啊
回复

使用道具 举报

发表于 2009-3-25 17:15:20 | 显示全部楼层
错误打印信息 ,屏蔽之
回复

使用道具 举报

发表于 2009-3-25 19:46:24 | 显示全部楼层
skyeye版本:skyeye-1.2.7_rc1
u-boot版本:u-boot-2009.03-rc1
运行如下命令:

ksh@server:/opt/source/u-boot/u-boot-2009.03-rc1> make smdk2410_config
ksh@server:/opt/source/u-boot/u-boot-2009.03-rc1> make
ksh@server:/opt/source/u-boot/u-boot-2009.03-rc1> cat skyeye.conf
# skyeye config file for S3C2410X

cpu: arm920t
mach: s3c2410x

# physical memory
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00100000
mem_bank: map=M, type=RW, addr=0x30000000, size=0x04000000
#mem_bank: map=M, type=RW, addr=0xC0000000, size=0x04000000,file=./vmlinux
#mem_bank: map=M, type=RW, addr=0x30000000, size=0x03F80000
#mem_bank: map=M, type=RW, addr=0x33F80000, size=0x00080000, file=./u-boot.bin,boot=yes
#mem_bank: map=M, type=RW, addr=0xc1000000, size=0x01000000

# 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=10.0.0.1
nandflash: type=s3c2410x,name=K9F1208U0B,dump=./nand.dump
#lcd: type=s3c2410x, mod=gtk
dbct:state=on

ksh@server:/opt/source/u-boot/u-boot-2009.03-rc1> /home/ksh/cvs/skyeye/release/skyeye-1.2.7_rc1/skyeye -e u-boot
Your elf file is little endian.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x420a80
ethmod num=1, mac addr=8:0:3e:26:a:5b, hostip=10.0.0.1
failed to setup_module (name:net, type:cs8900a)
nandflash: dump ./nand.dump
tapif_init: icotl TUNSETIFF errorfile size:69206016
dbct info: turn on dbct!
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
exec file "u-boot"'s format is elf32-little.
load section .text: addr = 0x33f80000  size = 0x00012dfc.
load section .glue_7: addr = 0x33f92dfc  size = 0x00000000.
load section .glue_7t: addr = 0x33f92dfc  size = 0x00000000.
load section .rodata: addr = 0x33f92dfc  size = 0x00000700.
load section .rodata.str1.4: addr = 0x33f934fc  size = 0x0000417f.
load section .data: addr = 0x33f9767c  size = 0x00000c28.
load section .u_boot_cmd: addr = 0x33f982a4  size = 0x00000450.
not load section .bss: addr = 0x33f986f4  size = 0x000048a8 .
not load section .debug_line: addr = 0x00000000  size = 0x0000652e .
not load section .debug_info: addr = 0x00000000  size = 0x00015180 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x00005818 .
not load section .debug_aranges: addr = 0x00000000  size = 0x000007c0 .
not load section .debug_frame: addr = 0x00000000  size = 0x00002b7c .
not load section .debug_pubnames: addr = 0x00000000  size = 0x0000216c .
not load section .debug_ranges: addr = 0x00000000  size = 0x000005f0 .
not load section .debug_str: addr = 0x00000000  size = 0x00003fa0 .
not load section .comment: addr = 0x00000000  size = 0x00000402 .
call ARMul_InitSymTable,kernel filename is u-boot.
start addr is set to 0x33f80000 by exec file.
ERROR: s3c2410x_io_write_word(0x4c000000) = 0x00ffffff
ERROR: s3c2410x_io_write_word(0x4c00000 = 0x00048032


%s

DRAM:  %2ld %cB%sFlash: %2ld %cB%s*** Warning - bad CRC, using default environment

In:    serial
Out:   %s
Err:   %s
ERROR: s3c2410x_io_write_word(0x1900030a) = 0x00000000
SMDK2410 # ksh@server:/opt/source/u-boot/u-boot-2009.03-rc1>
回复

使用道具 举报

 楼主| 发表于 2009-3-25 20:36:23 | 显示全部楼层

回复 3# ljl8381 的帖子

怎么屏蔽?
回复

使用道具 举报

 楼主| 发表于 2009-3-25 22:11:27 | 显示全部楼层

回复 4# ksh 的帖子

我若编译u-boot-2009.03-rc1这个版本会出现下面这个问题

In file included from mkimage.c:26:
/home/u-boot-2009.03-rc1/include/image.h:191: error: parse error before "ulong"
/home/u-boot-2009.03-rc1/include/image.h:193: error: parse error before "load"
/home/u-boot-2009.03-rc1/include/image.h:195: error: parse error before '}' token
/home/u-boot-2009.03-rc1/include/image.h:209: error: parse error before "ulong"
/home/u-boot-2009.03-rc1/include/image.h:262: error: parse error before '}' token
/home/u-boot-2009.03-rc1/include/image.h:380: error: parse error before "image_get_data"

编译1.1.6或以下的没问题
这怎么办?  还是没有出来。。。
回复

使用道具 举报

发表于 2009-3-26 09:17:43 | 显示全部楼层
skyeye源码里屏蔽啊。。
回复

使用道具 举报

 楼主| 发表于 2009-3-26 09:55:33 | 显示全部楼层

回复 7# ljl8381 的帖子

不会,还是不知道怎么做,你能不能详细点呢?麻烦你了,我不知道在哪里改
回复

使用道具 举报

发表于 2009-4-29 23:05:06 | 显示全部楼层

回复 4# ksh 的帖子

call ARMul_InitSymTable,kernel filename is u-boot.
start addr is set to 0x33f80000 by exec file.
ERROR: s3c2410x_io_write_word(0x4c000000) = 0x00ffffff
ERROR: s3c2410x_io_write_word(0x4c00000 = 0x00048032
到这里就显示下面:
Bus write error,can bot find...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 06:31 , Processed in 0.039478 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表