+ -
当前位置:首页 → 问答吧 → u-boot移植问题!!!

u-boot移植问题!!!

时间:2007-08-03

来源:互联网

我在编译完u-boot后(板子配置按系统默认的配置),新建一个文件夹,将u-boot.bin及skyeye.conf复制进去,执行skyeye命令,结果如下:

[root@localhost board1]# skyeye -e u-boot
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x80751d8
uart_mod:0, desc_in:, desc_out:
SKYEYE: use arm7100 mmu ops
exec file "u-boot"'s format is elf32-little.
load section .text: addr = 0x33f80000 size = 0x0001416c.
load section .glue_7: addr = 0x33f9416c size = 0x00000000.
load section .glue_7t: addr = 0x33f9416c size = 0x00000000.
load section .rodata: addr = 0x33f9416c size = 0x000046b8.
load section .data: addr = 0x33f98824 size = 0x00000b48.
load section .u_boot_cmd: addr = 0x33f9936c size = 0x00000438.
not load section .bss: addr = 0x33f997a4 size = 0x00004514 .
not load section .stab: addr = 0x00000000 size = 0x0000090c .
not load section .stabstr: addr = 0x00000000 size = 0x000000bf .
not load section .debug_abbrev: addr = 0x00000000 size = 0x00006fe1 .
not load section .debug_info: addr = 0x00000000 size = 0x00076081 .
not load section .debug_line: addr = 0x00000000 size = 0x0001a6fb .
not load section .debug_pubnames: addr = 0x00000000 size = 0x00001d37 .
not load section .debug_aranges: addr = 0x00000000 size = 0x000006a0 .
start addr is set to 0x33f80000 by exec file.

skyeye.conf文件如下:
cpu: arm7tdmi
mach: at91
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000
mem_bank: map=M, type=R, addr=0x01400000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02000000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02400000, size=0x00008000
mem_bank: map=M, type=RW, addr=0x04000000, size=0x00400000
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000

之后就没反应了。不知道是为什么。


若将skyeye.conf文件修改如下:
cpu: arm7tdmi
mach: at91
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000
mem_bank: map=M, type=R, addr=0x01400000, size=0x00400000,file=u-boot,boot=yes
mem_bank: map=M, type=RW, addr=0x02000000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02400000, size=0x00008000
mem_bank: map=M, type=RW, addr=0x04000000, size=0x00400000
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000

结果如下:
[root@localhost board1]# skyeye -e u-boot
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x80751d8
uart_mod:0, desc_in:, desc_out:
SKYEYE: use arm7100 mmu ops
exec file "u-boot"'s format is elf32-little.
load section .text: addr = 0x33f80000 size = 0x0001416c.
load section .glue_7: addr = 0x33f9416c size = 0x00000000.
load section .glue_7t: addr = 0x33f9416c size = 0x00000000.
load section .rodata: addr = 0x33f9416c size = 0x000046b8.
load section .data: addr = 0x33f98824 size = 0x00000b48.
load section .u_boot_cmd: addr = 0x33f9936c size = 0x00000438.
not load section .bss: addr = 0x33f997a4 size = 0x00004514 .
not load section .stab: addr = 0x00000000 size = 0x0000090c .
not load section .stabstr: addr = 0x00000000 size = 0x000000bf .
not load section .debug_abbrev: addr = 0x00000000 size = 0x00006fe1 .
not load section .debug_info: addr = 0x00000000 size = 0x00076081 .
not load section .debug_line: addr = 0x00000000 size = 0x0001a6fb .
not load section .debug_pubnames: addr = 0x00000000 size = 0x00001d37 .
not load section .debug_aranges: addr = 0x00000000 size = 0x000006a0 .
start addr is set to 0x33f80000 by exec file.
mmu_mcr wrote UNKNOWN - reg 8

请各位大侠指点!!
谢谢      

作者: seagull017   发布时间: 2007-08-03

再往下是内核引导?      

作者: flag   发布时间: 2007-08-03

不是内核引导。正常启动u-boot不是应该看到版本信息的么?
为什么我这里什么都没显示啊?      

作者: seagull017   发布时间: 2007-08-04

好象微架构不是蛮符合你平台的      

作者: AIKO_sex   发布时间: 2007-08-06