public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Kernel boot halts with "Verifying Checksum ... Bad Data CRC"
Date: Thu, 13 Sep 2012 00:34:54 +0200	[thread overview]
Message-ID: <201209130034.54238.marex@denx.de> (raw)
In-Reply-To: <1347032897.75075.YahooMailNeo@web133202.mail.ir2.yahoo.com>

Dear Ellis Andrew,

> Hi,
> 
> I'm not sure if this is specifically related to u boot.
> 
> I have compiled a linux kernel, which if I run on a system with flash
> memory with 256k sector size there are no problems, however if  I rebuild
> for a system using flash with 64k sector size the boot process halts with
> the following errors
> 
>  Booting image at 00060000 ...
> ## Copy image from flash 00060000 to ram 00200000 ...
>    Image Name:
>    Image Type:   ARM Linux Kernel Image (uncompressed)
>    Data Size:    1759300 Bytes =  1.7 MB
>    Load Address: 00008000
>    Entry Point:  00008000
>    Verifying Checksum ... Bad Data CRC
> 
> 
> The script I'm using to make my kernel image is:
> 
> SRC=$2/arch/arm/boot/uImage
>     if [ -f $SRC ]; then
>         printf "Kernel source in: %s\n" $SRC
>     else   
>         printf "Error: No kernel source in : %s\n" $SRC
>      exit 0
>     fi
>     mkimage -T kernel -C none -a 0x8000 -e 0x8000 -d $SRC scp_uimage
> 
> The above script is called with:
> 
>     echo "Destination: scp_zimage"create_flash_image kernel linux-2.6.24/

I'd say it's a programming error (you're writing your flash incorrectly or your 
uboot is configured for 256kb flash)? This is not autodetected.

Also not, make uImage in the kernel tree should do the job.

> What do I need to do differently with mkimage so that u boot is happy with
> the CRC?
> 
> Andrew

Best regards,
Marek Vasut

      reply	other threads:[~2012-09-12 22:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-07 15:48 [U-Boot] Kernel boot halts with "Verifying Checksum ... Bad Data CRC" Ellis Andrew
2012-09-12 22:34 ` Marek Vasut [this message]

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=201209130034.54238.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.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