[U-Boot] [PATCH V5] BOOT: Add "bootz" command to boot Linux zImage on ARM

Mike Frysinger vapier at gentoo.org
Wed Mar 14 19:35:32 CET 2012


On Wednesday 14 March 2012 01:38:45 Marek Vasut wrote:
> > On Tuesday 13 March 2012 23:47:56 Marek Vasut wrote:
> > > This command boots Linux zImage from where the zImage is loaded to.
> > > Passing initrd and fdt is supported.
> > 
> > i've got no opinion on the matter of supporting zImage directly
> > (although, i guess it'd be nice since some legacy platforms still use it
> > like netwinders)
> 
> Does anyone else but RMK have a working netwinder these days? >:-)

i've got 3, but only one is actively running

> > > +int do_bootz(cmd_tbl_t *cmdtp, int flag, int argc, char * const
> > > argv[])
> > 
> > static
> 
> NAK, compiler won't chew that

what are you talking about ?  you need to provide real details when making 
statements like this.  plenty of other cmd's in u-boot mark their do_xxx func 
static and they work just fine.  this do_bootz isn't used externally, so it 
makes no sense to have it be public.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120314/abc179b9/attachment.pgp>


More information about the U-Boot mailing list