$(make uImage) is stupid [Was: Re: Early kernel hang with big DTB appended]
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Mon Jan 14 19:45:24 EST 2013
Hello,
unrelated to the original problem ...
On Fri, Jan 04, 2013 at 11:18:56AM +0100, Tomasz Figa wrote:
> We are using uImages built with same parameters as those used in simple
> 'make uImage', just with a DTB appended to zImage before running mkimage
> on it.
note that the parameters used for $(make uImage) are not optimal, only
safe. They use (letting the MMU aside) the link address of the final
image as load address. That means as U-Boot probably didn't choose the
right address when reading the image it has to move it to the link
address and then jumps into it. Then the decompressor notices that the
compressed image is located where the decompressed image should go to
and so has to move the image again.
So you could save quite some time during boot if you'd teach U-Boot that
it can just use the image where it was loaded to.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
More information about the devicetree-discuss
mailing list