From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 9 Sep 2011 13:51:26 +0200 Subject: [U-Boot] [PATCH 28/31] iMX28: Add image header generator tool In-Reply-To: <4E69D51F.6070700@denx.de> References: <1315514579-19215-1-git-send-email-marek.vasut@gmail.com> <1315514579-19215-29-git-send-email-marek.vasut@gmail.com> <4E69D51F.6070700@denx.de> Message-ID: <201109091351.26612.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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