[U-Boot] [PATCH] wandboard: Set default environment to use zImage

Wolfgang Denk wd at denx.de
Wed Jan 1 02:23:37 CET 2014


Dear Otavio Salvador,

happy new year...

In message <1388522649-5316-1-git-send-email-otavio at ossystems.com.br> you wrote:
> 
> Change the default environment to use zImage instead of uImage,
> because using zImage does not require a LOADADDR assignment when
> building the kernel to be consistent with the loadaddr environment
> variable in u-boot, decreasing the chance for error.  This requires

This statement makes no sense.  If you use the old legacy uImage
format (which is deprecated, and should be replaced by FIT images),
you specify the entry point address to the kernel, and the load
address (i. e. where in RAM the image should be placed).  These two
parameters to themkimage commansd are registered in the image, and
they are in no way related to any U-Boot environment variables, nor
can any environment variable settings influence these.

Of course you should make sure that memory area where you dowenload
the image does not overlap the area where it gets unpacked / copied
to, but the same issues exist with zImage files.


Please fix the commit message to describe correctly what you want to
acchieve.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"The net result is a system that is not only binary  compatible  with
4.3  BSD, but is even bug for bug compatible in almost all features."
- Avadit  Tevanian,  Jr.,  "Architecture-Independent  Virtual  Memory
Management  for  Parallel  and  Distributed  Environments:  The  Mach
Approach"


More information about the U-Boot mailing list