问题1:
在tornado2.2里make生成bootrom_uncmp,应该是elf格式的吧?我现在想用AXD+JTAG
调试,在AXD里load这个image的时候提示没有entry point,如何解决这个问题啊?
我现在直接set pc到我的image开始地址.
问题2:
在RAM里调试的时候不能对c代码调试,不能进行源码调试,而且也看不到符号表.我在makefile里添加:ADDED_CFLAGS = -gdwarf-2,但还是没用 ADDED_CFLAGS = -g也没用,是不是还有其他方法呢?
是不是AXD只认axf格式?
这个问题困扰很多天了!
我得makefile文件如下:
CPU = ARMARCH4_T
TOOL = gnu
EXTRA_DEFINE = -Wcomment -DCPU_7TDMI_T -DARMMMU=ARMMMU_NONE -DARMCACHE=ARMCACHE_NONE
TGT_DIR = $(WIND_BASE)/target
include $(TGT_DIR)/h/make/defs.bsp
#include $(TGT_DIR)/h/make/make.$(CPU)$(TOOL)
#include $(TGT_DIR)/h/make/defs.$(WIND_HOST_TYPE)
## Only redefine make definitions below this point, or your definitions will
## be overwritten by the makefile stubs above.
TARGET_DIR = ypSbcArm7_tbsp
VENDOR = ZLG
BOARD = ZLG
#CONFIG_ALL = $(TGT_DIR)\config\ypSbcArm7All
# The constants ROM_TEXT_ADRS, ROM_SIZE, and RAM_HIGH_ADRS are defined
# in config.h and Makefile.
# All definitions for these constants must be identical.
ROM_TEXT_ADRS = 80000000 # ROM entry address(_romInit)
ROM_WARM_ADRS = 80000004 # ROM warm entry address according to rominit.s,4bytes beyond ROM_TEXT_ADRS(_romInit).
ROM_SIZE = 00040000 # number of bytes of ROM space 256KB
RAM_LOW_ADRS = 80041000 # cs0 + 0x1000
RAM_HIGH_ADRS = 80000000 #
ADDED_CFLAGS = -g
## Only redefine make definitions above this point, or the expansion of
## makefile target dependencies may be incorrect.
include $(TGT_DIR)/h/make/rules.bsp
#include $(TGT_DIR)/h/make/rules.$(WIND_HOST_TYPE)
谢谢