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

Otavio Salvador otavio at ossystems.com.br
Mon Jan 6 12:12:12 CET 2014


Hello Wolfgang,

On Fri, Jan 3, 2014 at 8:43 PM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Otavio Salvador,
>
> In message <1388771903-8730-3-git-send-email-otavio at ossystems.com.br> you wrote:
>>
>>                                                     ...  There is no
>> reason to continue using uImage for default environment.
>
> Sorry, but this "There is no reason to continue using uImage" is a
> phrase which challenges my protest.
>
> Actually switching from uImage to zImage is a serious deterioration.
> uImages have a number of properties that are extremely useful, and
> especially in embedded environments; none of these are available for
> zImages.  The only problem is that uImage support has never been
> correctly implemented in the ARM Linux kernel, and that fixes have
> never been accepted (for various [non-technical] reasons).
>
> Switching to zImage means to take the path of least resistance, and
> chose the worst of the possible solutions, technically.
>
> It would make much more sense to push forward and use FIT images,
> instead.

I understand FIT has many benefits against zImage but Wandboard
default should be as easy and trivial for use as possible; I can
rework the commit log one more time. See if below version is better:

   wandboard: Set default environment to use zImage

    Change the default environment to use zImage instead of uImage, this
    requires changes to the default environment to load a file named
    zImage instead of uImage, and to use the 'bootz' command instead of
    'bootm' when booting the kernel.

    The zImage works for FSL Linux's kernel fork versions 3.0.35, 3.10.9,
    and 3.10.17; this also works fine for mainline kernels.

Please reply and I send a new revision of the patch.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the U-Boot mailing list