lkml.org 
[lkml]   [2008]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] Merge mkubootimg tool for building U-Boot images
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.
-mike


\
 
 \ /
  Last update: 2008-01-03 23:19    [W:0.066 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site