------------------------------------------------------------------------------------------------
1、信息说明
硬件平台(
开发板的型号):Marvell 88F6281
bootloader版本(如果是bootloader开发):u-boot1.1.4+marvell 3.6 patch
其他:eclipse 3.7,ubuntu 12.04
编译路径:$HOME/workspace/u-boot/u-boot-1.1.4
bin路径:$HOME/workspace/u-boot/images/DB-6281A-BP/LE/SPI/u-boot-db88f6281abp_400db_flash.bin
通过samba把$HOME映射到windows 7 sp1的Y:。
2、问题现象(最好是能贴出图片)
配置截图如下:
图1:main
图2:debugger
图3:commands
图4 path map
图5 openocd
uboot.init的内容如下:
/*************************************************************/
target remote 127.0.0.1:3333 #
ARM-elf-gdb登录到openocd
monitor halt # 停止单板
#monitor arm mcr 15 0 1 0 0 0 # 这两条命令是关MMU
monitor step
echo Configuring system...n
monitor load_image /home/vincent/workspace/u-boot/images/DB-6281A-BP/LE/SPI/u-boot-db88f6281abp_400db_flash.bin 0x800000 # 下载init.bin到片内内存,目的是初始化DDR
monitor resume 0x800000 # 运行
monitor halt # 停止
monitor wait_halt # 等待停止
/**********************************************************************************/
调试console输出如下:
###################################################
source Y:workspaceu-bootu-boot.init
0x00000000 in ?? ()
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x400000d3 pc: 0x0063d6a4
MMU: disabled, D-Cache: disabled, I-Cache: enabled
target state: halted
target halted in ARM state due to single-step, current mode: Supervisor
cpsr: 0x400000d3 pc: 0x0063d6a8
MMU: disabled, D-Cache: disabled, I-Cache: enabled
Configuring system...
couldn't open /home/vincent/workspace/u-boot/images/DB-6281A-BP/LE/SPI/u-boot-db88f6281abp_400db_flash.bin
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x60000013 pc: 0x0063d684
MMU: disabled, D-Cache: disabled, I-Cache: enabled
set subs
titute-path /home/vincent/workspace/u-boot Y:workspaceu-boot
load
Loading section .text, size 0x439a4 lma 0x600000
Loading section .dummy, size 0x10 lma 0x6439a4
Loading section .rodata, size 0xc91 lma 0x6439b4
Loading section .rodata.str1.1, size 0xd57a lma 0x644645
Loading section .reset_vector_sect, size 0x18c lma 0x670000
Loading section .data, size 0x1b37 lma 0x67018c
Loading section .u_boot_cmd, size 0x8f8 lma 0x671cc4
Start address 0x600000, load size 344442
Transfer rate: 26 KB/sec, 12757 bytes/write.
break start_armboot
Breakpoint 1 at 0x620778: file board.c, line 159.
c
Program received signal SIGINT, Interrupt.
0x00620778 in start_armboot () at board.c:159
in board.c
159 board.c: No such file or directory.
Function "main" not defined.
mi_cmd_var_create: unable to create variable object
###################################################
3、发表自己对问题的看法,并提问。
-----------------------------------------------------------------------------------------------
我觉得可能存在如下问题:
1)目录映射的问题。主要反映在第一段红色字体上;
2)uboot.init
存在语法错误;
3)telnet的端口可能不对,openocd设置为4444,但是uboot.init写的是3333,但我把uboot.init里的端口改成4444也照样出错;
麻烦韦老师帮我看看。另外还需要什么参数我都可以截图。