2010-08-16 16:52:13     What are the different u-boot images in the distribution?

Document created by Aaronwu Employee on Aug 22, 2013
Version 1Show Document
  • View in full screen mode

2010-08-16 16:52:13     What are the different u-boot images in the distribution?

Patrick Doyle (UNITED STATES)

Message: 92463   

 

I note that the tarball for the bf518 board contains 5 files:

 

u-boot-bf518f-ezbrd-2009R1.1-rc1.elf

u-boot-bf518f-ezbrd-init-2009R1.1-rc1.elf

u-boot-bf518f-ezbrd-para-2009R1.1-rc1.ldr

u-boot-bf518f-ezbrd-spi-2009R1.1-rc1.ldr

u-boot-bf518f-ezbrd-uart-2009R1.1-rc1.ldr

 

 

I got curious as to what the 5 files were.  I kinda guessed that the -para-, -spi-, and -uart- files have to do with the boot mode, although the boot modes page (docs.blackfin.uclinux.org/doku.php) referenced in the release notes doesn't discuss the different file formats.  (Perhaps I could update that, once I finish wrapping my head around this).  The JTAG Loading page (docs.blackfin.uclinux.org/doku.php) does discuss having an init file and a u-boot ELF file, so I guess that accounts for the other two files.

 

I thought I'd be able to figure all of this out by looking compiling u-boot myself and looking at how the 5 files were generated.  But when I did that, but when I did a

 

$ make bf518-ezbrd

 

all I got was a single u-boot.ldr file with no indication of what boot mode it supported.  (Looking in include/configs/bf518f-ezbrd.h, I see that it is most likely the -para- boot mode).

 

So (as frequently happens with me) now I'm curious.  How do you generate the 5 different files in the release?  Should I be able to generate them myself without manually editing the config file for each one?  Does the .elf file correspond to a bootmode of "Bypass"?

 

--wpd

QuoteReplyEditDelete

 

 

2010-08-16 16:57:06     Re: What are the different u-boot images in the distribution?

Mike Frysinger (UNITED STATES)

Message: 92464   

 

sure they do:

  docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:release-notes:2009r1.1#deliverables

 

you only get an image for your current board configuration.  if you select the default, then it is usually bypass/para-ldr, but you need to read the board config in question to find out.

 

as for generating u-boot releases, the BUILD-RELEASE script in the top level of the repo is used.

QuoteReplyEditDelete

 

 

2010-08-16 19:01:10     Re: What are the different u-boot images in the distribution?

Patrick Doyle (UNITED STATES)

Message: 92468   

 

errr, I'm not too sure what you mean by

 

"sure they do:

  docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:release-notes:2009r1.1#deliverables",

 

(I'm not sure what the "sure they do" part means, and the release notes document doesn't list the 5 files packaged in each tarball.)  But that doesn't matter, by the time I finished writing my previous post I think I had figured most of it out, but decided to finish the post anyway just to get some confirmation.

 

I didn't see BUILD-RELEASE in the distribution tarball, but I see it in the repository.  Thanks.

 

--wpd

QuoteReplyEditDelete

 

 

2010-08-16 20:34:27     Re: What are the different u-boot images in the distribution?

Mike Frysinger (UNITED STATES)

Message: 92469   

 

the very first line:

 

File names generally take the form u-boot-<board>-<boot mode>-<version>.filetype.

Attachments

    Outcomes