Shall 'bmp' uncompress automagically?

Wolfram Sang w.sang at pengutronix.de
Fri Mar 23 05:46:49 EDT 2012


> > > > Is something like this wanted? Or shall this be done entirely via scripts?
> > > > 
> > > > if [ $file is somehow detected as compressed ]
> > > > 	uncompress $file /bmp
> > > > 	bmp /bmp
> > > > 	rm /bmp
> > > > else
> > > > 	bmp $file
> > > > fi
> > > I prefer the second one
> > 
> > Care to explain why?
> I the image could be embedeed in other format (uImage, android etc..)

A BMP in a uImage??? But even if, there is no difference if bmp command
calls 'uncompress' or a script?

> And I'm using such command to boot a kernel via DFU too

Which command? What does it have to do wtih BMP?

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20120323/4e68ec0d/attachment.sig>


More information about the barebox mailing list