mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Mike Frysinger" <vapier.adi@gmail.com>
To: "Josh Boyer" <jwboyer@linux.vnet.ibm.com>
Cc: sam@ravnborg.org, paulus@samba.org, linux-kernel@vger.kernel.org,
	wd@denx.de
Subject: Re: [PATCH 1/3] Merge mkubootimg tool for building U-Boot images
Date: Thu, 3 Jan 2008 17:33:20 -0500	[thread overview]
Message-ID: <8bd0f97a0801031433mdaff6d9j5ed4e3cb49ea2007@mail.gmail.com> (raw)
In-Reply-To: <20080103162613.09674907@zod.rchland.ibm.com>

On Jan 3, 2008 5:26 PM, Josh Boyer <jwboyer@linux.vnet.ibm.com> wrote:
> On Thu, 3 Jan 2008 17:15:48 -0500 "Mike Frysinger" <vapier.adi@gmail.com> wrote:
> > On Jan 3, 2008 5:02 PM, Josh Boyer <jwboyer@linux.vnet.ibm.com> wrote:
> > > Several platforms require the mkimage tool to generate a uImage file that is
> > > used with U-Boot.  This brings the mkimage tool in-kernel to enable building
> > > those platforms without having mkimage externally provided.  The tool is named
> > > mkubootimg for better clarity.
> > >
> > > This is currently based off of the version found in U-Boot 1.3.1.
> > >
> > > Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
> > >
> > > ---
> > >  scripts/Makefile             |    1
> > >  scripts/mkubootimg/Makefile  |    6
> > >  scripts/mkubootimg/crc32.c   |  199 +++++++++++
> > >  scripts/mkubootimg/mkimage.c |  728 +++++++++++++++++++++++++++++++++++++++++++
> > >  scripts/mkubootimg/sha1.c    |  413 ++++++++++++++++++++++++
> > >  scripts/mkubootimg/sha1.h    |  115 ++++++
> > >  scripts/mkubootimg/uimage.h  |  161 +++++++++
> > >  7 files changed, 1623 insertions(+)
> >
> > i'm fairly certain sha1 is not needed.  the u-boot makefile has a bug
> > in the 1.3.1 release where mkimage depends on sha1.o but doesnt
> > actually use sha1 functions.  i posted a patch to u-boot mailing list
> > to get this dropped.  regardless, no need for the kernel to import it.
>
> No need to yet anyway.  There are discussions on-going to make a new
> image format that can do sha1 sums instead of crc32.  Either way is
> fine with me, I just opted to include it now to keep it the same as
> U-Boot and avoid having to include it in the future.
>
> If you want an updated patch with the sha1 code removed, I can do
> that.  Sam, Wolfgang?

yes, but i think the next image format is going to require quite a bit
of changes in the build system anyways, especially since with the
kernel you will want the option to produce either format, so simply
dropping the sha1 makes sense to me.  but i dont really care either
way, just making sure you're aware of the issue (and it sounds like
you are).
-mike

  reply	other threads:[~2008-01-03 22:33 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-03 22:01 [PATCH 0/3] Merge mkimage tool Josh Boyer
2008-01-03 22:02 ` [PATCH 1/3] Merge mkubootimg tool for building U-Boot images Josh Boyer
2008-01-03 22:15   ` Mike Frysinger
2008-01-03 22:26     ` Josh Boyer
2008-01-03 22:33       ` Mike Frysinger [this message]
2008-01-03 22:35         ` Josh Boyer
2008-01-04 16:07           ` Sam Ravnborg
2008-01-04 16:13   ` Sam Ravnborg
2008-01-04 17:26     ` [PATCH 1/3 v2] " Josh Boyer
2008-01-05 19:51       ` Sam Ravnborg
2008-01-03 22:04 ` [PATCH 2/3] Rework arch specific Makefiles to use mkubootimg Josh Boyer
2008-01-03 22:41   ` Ben Dooks
2008-01-03 22:58     ` Josh Boyer
2008-01-04  4:01       ` Paul Mundt
2008-01-04  9:19         ` Russell King
2008-01-04 10:33           ` Paul Mundt
2008-01-04 11:48             ` Josh Boyer
2008-01-04 12:07               ` Haavard Skinnemoen
2008-01-04 16:04               ` Russell King
2008-01-04 16:29                 ` Josh Boyer
2008-01-04  4:07       ` Bryan Wu
2008-01-03 22:05 ` [PATCH 3/3] Remove mkuboot.sh script Josh Boyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8bd0f97a0801031433mdaff6d9j5ed4e3cb49ea2007@mail.gmail.com \
    --to=vapier.adi@gmail.com \
    --cc=jwboyer@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulus@samba.org \
    --cc=sam@ravnborg.org \
    --cc=wd@denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®