[U-Boot-Users] [PATCH] Blackfin: implement go/boote wrappers

Mike Frysinger vapier at gentoo.org
Mon Apr 21 09:49:26 CEST 2008


On Monday 21 April 2008, Wolfgang Denk wrote:
> In message <200804210125.45077.vapier at gentoo.org> you wrote:
> > > Intended and documented behaviour is that "go" is used to start
> > > standalone applications, which are supposed to return.
> >
> > then how exactly are people supposed to execute their flat binaries ? 
> > none of
>
> I am not an expert for the Blackfin implementation. But "go"  is  for
> standalone applications. The "boot*" commands are intended to boot OS
> images.
>
> > the other boot methods allow for straight jumps that i'm aware of. 
> > otherwise i'm going to have to add even more bloat to add a slight
> > variation on the go command: one where the documentation doesnt require
> > it to return.
>
> That makes no sense to me. If you want to boot some OS, use a "boot*"
> commands, not "go" or the like.

i'm not talking about operating system code, i'm talking about flat binary 
applications that run bare metal.  something like "u-boot.bin" where it's 
just a binary blob that gets loaded and u-boot jumps to it and never returns.

since "go" isnt appropriate according to you (and seeing as how none of the 
boot commands are appropriate), then the only next step is to implement 
a "jump" command that is exactly like "go" except it doesnt return.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080421/ac20f856/attachment.pgp 


More information about the U-Boot mailing list