Re: [PATCH] x86: add a crc32 checksum to the kernel image.
From: Randy Dunlap
Date: Tue Feb 05 2008 - 20:11:47 EST
On Fri, 01 Feb 2008 09:02:48 +0000 Ian Campbell wrote:
> ---
> >From 1c614383dc9cb0c7791ebab386dc012db336b28c Mon Sep 17 00:00:00 2001
> From: Ian Campbell <ijc@xxxxxxxxxxxxxx>
> Date: Fri, 1 Feb 2008 09:01:22 +0000
> Subject: [PATCH] x86: add a crc32 checksum to the kernel image.
>
> Signed-off-by: Ian Campbell <ijc@xxxxxxxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: H. Peter Anvin <hpa@xxxxxxxxx>
> ---
> Documentation/i386/boot.txt | 7 +++
> arch/x86/boot/tools/build.c | 88 ++++++++++++++++++++++++++++++++++++++++++-
> 2 files changed, 94 insertions(+), 1 deletions(-)
>
> diff --git a/Documentation/i386/boot.txt b/Documentation/i386/boot.txt
> index b5f5ba1..f853d49 100644
> --- a/Documentation/i386/boot.txt
> +++ b/Documentation/i386/boot.txt
> @@ -531,6 +531,13 @@ Protocol: 2.08+
>
> The length of the compressed payload.
>
> +**** THE IMAGE CHECKSUM
> +
> +The CRC-32 is calculated over the entire file using an initial
> +remainder of 0xffffffff. The checksum is appended to the file
Run-on sentences.
Use period (full stop) or semi-colon at end of above sentence.
If using a period, capitalize the next word. Thanks.
> +therefore the CRC of the file up to the limit specified in the syssize
> +field of the header is always 0.
> +
> **** THE KERNEL COMMAND LINE
>
> The kernel command line has become an important way for the boot
---
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/