[U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

Stefano Babic sbabic at denx.de
Fri Nov 14 09:02:52 CET 2014


Hi Fabio,

On 14/11/2014 00:24, Fabio Estevam wrote:
> On Thu, Nov 13, 2014 at 9:16 PM, Stefano Babic <sbabic at denx.de> wrote:
> 
>> mkimage is called with the .cfg file, and if it is removed, no imx image
>> file is generated. I think that then the i.MX cannot boot, because the
>> resulting image will miss the "magic number" in the headers as described
>> in manuals. So I think that a minimal .cfg is required (without DCD and
>> register setting) to let U-Boot build system to generate an imx image file.
> 
> Got it, so we can keep this minimal .cfg then. After this patch the
> spl .cfg it will only contain
> 
> IMAGE_VERSION 2
> BOOT_FROM sd
> 

Perfect ! I think that other boards can use this minimal setup as well.
What do you think to move it into imx-common ?

Best regards,
Stefano Babic



-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list