> > > > 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/ |