QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2731|回复: 10

KSH老大:请教1.3.0无法运行u-boot.bin

[复制链接]
发表于 2010-2-24 13:35:09 | 显示全部楼层 |阅读模式
使用1.3.0,用skyeye -e u-boot可执行elf,并运行起来u-boot,
但是我想运行u-boot.bin,使用如下两种conf都无法start
conf1:
# physical memory
mem_bank: map=F, type=RW, addr=0x00000000, size=0x01000000, file=./u-boot.bin,boot=yes
mem_bank: map=M, type=RW, addr=0xc0000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0xc0800000, size=0x00800000, file=./initrd.img
mem_bank: map=M, type=RW, addr=0xc1000000, size=0x03000000
显示的信息
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
In do_mach_option, mach info: name s3c2410x, mach_init addr 0xb526a0

ethmod num=1, mac addr=8:0:3e:26:a:5b, hostip=192.168.56.15
uart_mod:3, desc_in:, desc_out:, converter:
In create_uart_console
lcd_mod:1
Loaded FLASH ./u-boot.bin
Loaded RAM   ./initrd.img
SKYEYE: use arm920t mmu ops
In SIM_start, Set PC to the address 0x0

段错误 (core dumped)


conf2:# physical memory
mem_bank: map=M, type=RW, addr=0x00000000, size=0x01000000, file=./u-boot.bin,boot=yes
mem_bank: map=M, type=RW, addr=0xc0000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0xc0800000, size=0x00800000, file=./initrd.img
mem_bank: map=M, type=RW, addr=0xc1000000, size=0x03000000
显示的信息
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
In do_mach_option, mach info: name s3c2410x, mach_init addr 0xb526a0

ethmod num=1, mac addr=8:0:3e:26:a:5b, hostip=192.168.56.15
uart_mod:3, desc_in:, desc_out:, converter:
In create_uart_console
lcd_mod:1
Loaded RAM ./u-boot.bin
Loaded RAM   ./initrd.img
SKYEYE: use arm920t mmu ops
In SIM_start, Set PC to the address 0x0

段错误 (core dumped)
发表于 2010-4-19 12:56:37 | 显示全部楼层

同样的问题请教????

我也遇到里这样的问题,还望高手解答。
回复

使用道具 举报

发表于 2010-4-21 17:54:16 | 显示全部楼层
用u-boot 1.2 的版本试过了。下面这种是可以的。

mem_bank: map=M, type=RW, addr=0x00000000, size=0x01000000,file=./u-boot.bin,boot=yes
mem_bank: map=M, type=RW, addr=0x30000000, size=0x04000000
mem_bank: map=M, type=RW, addr=0xc0800000, size=0x00800000,file=./initrd.img
mem_bank: map=M, type=RW, addr=0xC0000000, size=0x04000000
mem_bank: map=M, type=RW, addr=0xc1000000, size=0x03000000


显示如下:
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
In do_mach_option, mach info: name s3c2410x, mach_init addr 0x7f6c384c2180

ethmod num=1, mac addr=8:0:3e:26:a:5b, hostip=192.168.56.15
uart_mod:3, desc_in:, desc_out:, converter:
In create_uart_console
Loaded RAM   ./u-boot.bin
Loaded RAM   ./initrd.img
SKYEYE: use arm920t mmu ops
In SIM_start, Set PC to the address 0x0

(skyeye)run
(running)ERROR: s3c2410x_io_write_word(0x4c000000) = 0x00ffffff
ERROR: s3c2410x_io_write_word(0x4c00000 = 0x00048032
......
回复

使用道具 举报

发表于 2010-4-22 11:02:32 | 显示全部楼层
KSH老大让我跟这个问题。 不知道你的环境有什么差别。
回复

使用道具 举报

发表于 2010-4-27 19:22:48 | 显示全部楼层

按您的配置无法运行成功哦(skyeye1.3 + u-boot 1.3)

还是"段错误",u-boot1.2 还没试
回复

使用道具 举报

发表于 2010-4-28 10:53:42 | 显示全部楼层

skyeye.cong

# skyeye config file for S3C2410X
arch:arm
cpu: arm920t
mach: s3c2410x

# physical memory
mem_bank: map=M, type=RW, addr=0x00000000, size=0x01000000,file=./u-boot.bin,boot=yes
mem_bank: map=M, type=RW, addr=0x30000000, size=0x04000000
mem_bank: map=M, type=RW, addr=0xc0800000, size=0x00800000,file=./initrd.img
mem_bank: map=M, type=RW, addr=0xC0000000, size=0x04000000
mem_bank: map=M, type=RW, addr=0xc1000000, 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=10.0.0.1
nandflash: type=s3c2410x,name=K9F1208U0B,dump=./nand.dump
uart:mod=term
#lcd: type=s3c2410x, mod=gtk
#dbct:state=on


(skyeye)start
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
In do_mach_option, mach info: name s3c2410x, mach_init addr 0x65b7970

ethmod num=1, mac addr=8:0:3e:26:a:5b, hostip=10.0.0.1
nandflash: dump ./nand.dump
file size:69206016
uart_mod:3, desc_in:, desc_out:, converter:
In create_uart_console
Loaded RAM   ./u-boot.bin
Loaded RAM   ./initrd.img
SKYEYE: use arm920t mmu ops
In SIM_start, Set PC to the address 0x0

段错误
回复

使用道具 举报

发表于 2010-4-28 17:15:46 | 显示全部楼层
编译了u-boot1.3   可以运行的。
下面是配置文件。

skyeye config file for S3C2410X
arch:arm
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=0x03F80000
mem_bank: map=M, type=RW, addr=0x33F80000, size=0x00080000, file=./u-boot.bin,boot=yes

# 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
nandflash: type=s3c2410x,name=K9F1208U0B,dump=./nand.dump
uart:mod=term
dbct:state=on
回复

使用道具 举报

发表于 2010-5-4 13:47:03 | 显示全部楼层

按您的配置还是失败!但u-boot elf格式执行正常

root@self-ubuntu:/home/u-boot# skyeye
SkyEye is an Open Source project under GPL. All rights of different parts or modules are reserved by their author. Any modification or redistributions of SkyEye should note remove or modify the annoucement of SkyEye copyright.
Get more information about it, please visit the homepage http://www.skyeye.org.
Type "help" to get command list.
(skyeye)start
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
In do_mach_option, mach info: name s3c2410x, mach_init addr 0x37b4970

nandflash: dump ./nand.dump
file size:69206016
uart_mod:3, desc_in:, desc_out:, converter:
In create_uart_console
Unkonw option: dbct
In skyeye_read_config, Config format is wrong.

Loaded RAM   ./u-boot.bin
SKYEYE: use arm920t mmu ops
In SIM_start, Set PC to the address 0x33f80000

段错误
回复

使用道具 举报

发表于 2010-5-4 14:33:31 | 显示全部楼层
可能是环境的问题,你的系统和版本以及硬件平台是什么?

Thanks
MK
回复

使用道具 举报

发表于 2010-5-5 19:13:17 | 显示全部楼层
vmserver+ubuntu 9.10

友善之臂提供:
交叉编译: gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72)
内核: linux-2.6.32.2
回复

使用道具 举报

发表于 2010-5-8 14:21:56 | 显示全部楼层
我的vmware + ubuntu9.10 + skyeye1.3.0 也出现了同样的问题,elf格式可以,但bin格式也是段错误。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-18 15:55 , Processed in 0.091540 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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