Chinaunix首页 | 论坛 | 博客
  • 博客访问: 974441
  • 博文数量: 238
  • 博客积分: 2842
  • 博客等级: 少校
  • 技术积分: 2765
  • 用 户 组: 普通用户
  • 注册时间: 2009-04-16 00:20
个人简介

stdlf

文章分类

全部博文(238)

文章存档

2013年(6)

2012年(13)

2011年(82)

2010年(89)

2009年(48)

我的朋友

分类:

2009-09-06 16:01:41

sh arm-elf-tools-20040427.sh

If you get the error message 'tail: cannot open `+43' for reading: No such file or directory' when installing, change line 39 from:

              vim -b ./arm-elf-tools-20030314.sh

tail +${SKIP} ${SCRIPT} | gunzip | tar xvf -
to:

tail -n+${SKIP} ${SCRIPT} | gunzip | tar xvf -

make[1]: *** No rule to make target `hello_world.srec', needed by `all'. Stop.
make[1]: Leaving directory `/home/mort/src/targa/u-boot/u-boot-TOT/examples'
make: *** [examples] Error 2
还是参考了博客“senglen.cublog.cn ”,有如下的解决方法:
打开 examples/Makefile  
    119 $(LIB): .depend $(LIBOBJS)
    120         $(AR) crv $@ $(LIBOBJS)
    121
    122 %:      %.o $(LIB)
    123         $(LD) -g $(EX_LDFLAGS) -Ttext $(LOAD_ADDR) \
    124                 -o $@ -e $(<:.o=) $< $(LIB) \
    125                 -L$(gcclibdir) -lgcc
    126 %.srec: %
    127         $(OBJCOPY) -O srec $< $@ 2>/dev/null
    128
    129 %.bin: %
    130         $(OBJCOPY) -O binary $< $@ 2>/dev/null
把126行和129行改为:
     %.srec: %.o
     %.bin: %.o
继续make,顺利make出u-boot.bin

C:\Program Files\Macraigor Systems\Flash Programmer 烧写软件只认s19
C:\Program Files\Macraigor Systems\Flash Programmer目录下有BinToS19.exe可以转bintos19
target RAM starts at 0xc000000,意思是先把文件写入ram,然后再从ram烧到flash中去

阅读(922) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~