[U-Boot] [PATCH 28/31] iMX28: Add image header generator tool

Marek Vasut
2011-09-09T11:51:26Z

On Friday, September 09, 2011 10:58:07 AM Stefano Babic wrote:
> On 09/08/2011 10:42 PM, Marek Vasut wrote:
> > This tool can now generate proper image for "BootStream" files.
> >
> > NOTE: This tool now works only for NAND.
>
> Hi Marek,
>
> I have not reviewed your patch. Before starting, I have a big remark.
>
> This is *not* the way we are implementing in u-boot to add SOC related
> images. Instead of having a special tool for each SOC, we are adding new
> functions to mkimage to support all SOCs we have. mkimage is able now to
> generate images for several SOCs.
>
> You have implemented a completely different one. Why ? Why cannot we add
> a new image type to mkimage ?

Because you run this thing only once, you don't run it every time you update
your uboot in NAND.

The path is ... compile u-boot.bin -> run external tool elftosb -> run mxsboot

Most of the time, you stop in step II, which is handled by uboot makefiles.

>
> Best regards,
> Stefano Babic