QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2368|回复: 1

请教大侠skyeye-1.2.6+uboot 模拟pxa270问题

[复制链接]
发表于 2009-3-4 13:43:28 | 显示全部楼层 |阅读模式
小弟刚刚接触skyeye , 因工作需要在skyeye下模拟pxa270,但是在运行uboot的时候出现以下的错误:
[bb@localhost pxa27]$ skyeye -e u-boot
Your elf file is little endian.
arch: arm
cpu info: xscale, pxa27x, 69054110, fffffff0, 2
mach info: name pxa_mainstone, mach_init addr 0x806be40
lcd_mod:1
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use xscale mmu ops
exec file "u-boot"'s format is elf32-little.
load section .text: addr = 0xa3f80000  size = 0x000157ac.
load section .glue_7: addr = 0xa3f957ac  size = 0x00000000.
load section .glue_7t: addr = 0xa3f957ac  size = 0x00000000.
load section .rodata: addr = 0xa3f957ac  size = 0x00000500.
load section .rodata.str1.4: addr = 0xa3f95cac  size = 0x00003c11.
load section .data: addr = 0xa3f998c0  size = 0x00001ae4.
load section .u_boot_cmd: addr = 0xa3f9b3a4  size = 0x00000450.
not load section .bss: addr = 0xa3f9b7f4  size = 0x000049dc .
not load section .stab: addr = 0x00000000  size = 0x000012c0 .
not load section .stabstr: addr = 0x00000000  size = 0x00000093 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x0000741a .
not load section .debug_info: addr = 0x00000000  size = 0x000450f9 .
not load section .debug_line: addr = 0x00000000  size = 0x00009aa6 .
not load section .debug_frame: addr = 0x00000000  size = 0x00003150 .
not load section .debug_pubnames: addr = 0x00000000  size = 0x00001eaa .
not load section .debug_aranges: addr = 0x00000000  size = 0x00000660 .
not load section .debug_str: addr = 0x00000000  size = 0x00004541 .
not load section .comment: addr = 0x00000000  size = 0x00000372 .
not load section .debug_ranges: addr = 0x00000000  size = 0x000002b8 .
call ARMul_InitSymTable,kernel filename is u-boot.
start addr is set to 0xa3f80000 by exec file.

如果用u-boo.bin 出现如下信息:
[bb@localhost pxa27]$ 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.
***********************************************************************

Your elf file is little endian.
arch: arm
cpu info: xscale, pxa27x, 69054110, fffffff0, 2
mach info: name pxa_mainstone, mach_init addr 0x806be40
lcd_mod:1
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use xscale mmu ops
Loaded RAM   ./u-boot.bin

这两种方式都会意外终止,不知道什么原因,我的skyeye.conf 配置文件如下:
cpu: pxa27x
mach: pxa_mainstone
mem_bank: map=I, type=RW, addr=0x40000000, size=0x0c000000
mem_bank: map=M, type=RW, addr=0x00000000, size=0x02000000
mem_bank: map=M, type=RW, addr=0xa0000000, size=0x04000000


#log: logon=1, logfile=/tmp/sk2.log, start=500000, end=1500000
lcd:state=on,type=pxa,mod=gtk

#dbct:state=on

哪位大侠能帮忙看下,不胜感激啊。
发表于 2009-3-6 22:34:56 | 显示全部楼层
ksh@server:/opt/source/misc/u-boot-1.2.0> make lubbock_config
ksh@server:/opt/source/misc/u-boot-1.2.0> make
ksh@server:/opt/source/misc/u-boot-1.2.0> cat skyeye.conf
cpu: pxa25x
mach: pxa_lubbock
mem_bank: map=I, type=RW, addr=0x40000000, size=0x0c000000
mem_bank: map=M, type=RW, addr=0xa0000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0xa0800000, size=0x00800000
mem_bank: map=M, type=RW, addr=0xa1000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0xa1800000, size=0x02800000

#lcd:state=on,type=pxa,mod=gtk

#dbct:state=on
ksh@server:/opt/source/misc/u-boot-1.2.0>   

ksh@server:/opt/source/misc/u-boot-1.2.0> /home/ksh/cvs/skyeye/skyeye-v1/branches/skyeye-1.2.6/skyeye -e u-boot
Your elf file is little endian.
arch: arm
cpu info: xscale, pxa25x, 69052100, fffffff0, 2
mach info: name pxa_lubbock, mach_init addr 0x41f6b0
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use xscale mmu ops
exec file "u-boot"'s format is elf32-little.
load section .text: addr = 0xa3080000  size = 0x000167bc.
load section .glue_7: addr = 0xa30967bc  size = 0x00000000.
load section .glue_7t: addr = 0xa30967bc  size = 0x00000000.
load section .rodata: addr = 0xa30967c0  size = 0x000006f4.
load section .rodata.str1.8: addr = 0xa3096eb8  size = 0x00004753.
load section .data: addr = 0xa309b610  size = 0x00001ab8.
load section .u_boot_cmd: addr = 0xa309d0c8  size = 0x00000468.
not load section .bss: addr = 0xa309d530  size = 0x00035000 .
not load section .debug_line: addr = 0x00000000  size = 0x00006847 .
not load section .debug_info: addr = 0x00000000  size = 0x00015fd5 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x000055d7 .
not load section .debug_aranges: addr = 0x00000000  size = 0x000007a0 .
not load section .debug_frame: addr = 0x00000000  size = 0x00002be4 .
not load section .debug_pubnames: addr = 0x00000000  size = 0x00002086 .
not load section .debug_str: addr = 0x00000000  size = 0x000044d2 .
not load section .comment: addr = 0x00000000  size = 0x000003f0 .
not load section .debug_ranges: addr = 0x00000000  size = 0x000008e8 .
call ARMul_InitSymTable,kernel filename is u-boot.
start addr is set to 0xa3080000 by exec file.
SKYEYE: xscale_cp15_mcr wrote UNKNOWN - reg 14, reg15 0xa3080698
SKYEYE: xscale_cp15_mcr wrote UNKNOWN - reg 14, reg15 0xa308069c
SKYEYE: xscale_cp15_mcr wrote UNKNOWN - reg 14, reg15 0xa30806a0
SKYEYE: cp14_mcr unknown cp14 regs!!!!!!
SKYEYE:Error in mem_read_word, no bank found, NumInstrs 388226, mem_read_word addr = 40000 no bank


U-Boot 1.2.0 (Mar  6 2009 - 21:26:0

DRAM:  64 MB
SKYEYE:Error in mem_read_word, no bank found, NumInstrs 392756, mem_read_word addr = 0 no bank
SKYEYE:Error in mem_read_word, no bank found, NumInstrs 392809, mem_read_word addr = 4000000 no bank
Flash:  0 kB
*** Warning - bad CRC, using default environment

Hit any key to stop autoboot:  0
$ help
?       - alias for 'help'
autoscr - run script from memory
base    - print or set address offset
bdinfo  - print Board Info structure
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
cls     - clear screen
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
echo    - echo args to console
erase   - erase FLASH memory
exit    - exit script
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
flinfo  - print FLASH memory information
go      - start application at address 'addr'
help    - print online help
iminfo  - print header information for application image
imls    - list all images found in flash
itest   - return true/false on integer compare
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
md      - memory display
mm      - memory modify (auto-incrementing)
mmcinit - init mmc card
mtest   - simple RAM test
mw      - memory write (fill)
nfs     - boot image via network using NFS protocol
nm      - memory modify (constant address)
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv  - set environment variables
sleep   - delay execution for some time
test    - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
version - print monitor version
$ version

U-Boot 1.2.0 (Mar  6 2009 - 21:26:0
$
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-22 15:49 , Processed in 0.049043 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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