Chinaunix首页 | 论坛 | 博客
  • 博客访问: 34668
  • 博文数量: 24
  • 博客积分: 975
  • 博客等级: 准尉
  • 技术积分: 205
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-04 18:47
文章分类

全部博文(24)

文章存档

2010年(18)

2009年(5)

2008年(1)

我的朋友
最近访客

分类:

2010-03-28 15:42:00

u-boot
Compiled ELF image

u-boot.bin
u-boot
converted to a raw binary

u-boot.hex
u-boot.bin
converted to Intel Hex format

u-boot.srec
u-boot.bin converted to Motorola S-records format

u-boot.ldr
u-boot
converted to Blackfin Loader format

u-boot.ldr.hex
u-boot.ldr
converted to Intel Hex format

u-boot.ldr.srec
u-boot.ldr
converted to Motorola S-records format

Which file format you need depends on how you're booting the processor and what tool you're using to do the programming. The u-boot ELF file is never used to boot, only for reference/debugging with the standard toolchain.

If you're booting the processor in “Bypass” mode, then you will need the u-boot.bin file (or one of its derivatives). For every other boot mode, you need the u-boot.ldr file (or one of its derivatives). The u-boot.bin file is also used regardless of boot mode for a quick runtime test (executing via the go command).

If you're using U-Boot to do the programming, then you want the u-boot.bin or u-boot.ldr file. You do not want the hex or srec formats.

If you're using VDSP to do the programming, then you probably want the u-boot.hex or u-boot.ldr.hex file. VDSP can program the raw binary file as well, but many people feel more comfortable with the hex file. Other JTAG programming tools may also require the hex format.

If you want the srec format, you probably don't know what you're doing. Please rethink what you're attempting, read some documentation, or ask for help. If you're 100% sure you need the srec files, they are provided in the rare off-chance.


文章摘自:
阅读(583) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~