Skip to contentSkip to conversation

"Verifying Checksum ... Bad Data CRC" error with at91rm U-Boot on skyeye

U-Boot-Users Rohit 2 participants 5 messages Mar 31, 2006

lore
Share & tools
lore

Rohit

author
#0 lore raw

Hello all,

Thanks to Vijain for pointing out the patch for skyeye. I could now run at91rm u-boot successfully on skyeye.

I compiled a uImage from the vmlinux elf binary (take from the skyeye testsuite). When i try to expand this image i always get a checksum error. I didn't need to do a tftp or cp.b as i could directly load the image in memory using the emulator.

Can some please point out if there is an issue with this?

[root at localhost at91rm]# skyeye
SKYEYE: If you have ELF kernel file, please use -e option to indicate your ELF format kernel filename
SKYEYE: If you only have kernel binary image, you should put the filename of kernel binary image in skyeye.conf file
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name at91rm92, mach_init addr 0x8069c80
uart info: input device is /dev/stdin, fd is 4.
uart info: output device is /dev/stdout, fd is 5.
SKYEYE: use arm920t mmu ops

Loaded RAM   ./u-boot.bin
Loaded RAM   ./uImage
Loaded RAM   ./uImage

U-Boot 1.1.4 (Mar 31 2006 - 17:42:28)

U-Boot code: 21F00000 -> 21F16EEC BSS: -> 21F33E04 RAM Configuration:
Bank #0: 20000000 32 MB
Atmel: Flash: 0 kB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial

U-Boot> bootm 0x20000010
## Booting image at 20000010 ...
Image Name:
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 756397 Bytes = 738.7 kB
Load Address: 20000010
Entry Point: 20000010
Verifying Checksum ... Bad Data CRC
U-Boot>

skyeye.conf
cpu : arm920t
mach: at91rm92

mem_bank: map=M, type=RW, addr=0x00000000, size=0x40000, file=./u-boot.bin, boot=yes
mem_bank: map=M, type=RW, addr=0x10000000, size=0x1000000, file=./uImage
mem_bank: map=M, type=RW, addr=0x20000010, size=0x5000000, file=./uImage
mem_bank: map=I, type=RW, addr=0xfffa0000, size=0x00060000
uart: fd_in=/dev/stdin, fd_out=/dev/stdout
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060331/e0fe5a80/attachment.htm

#1 lore raw
Quoted 3 lines · In message <[email protected]> you…

I compiled a uImage from the vmlinux elf binary (take from the skyeye testsuite). When i try to expand this image i always get a checksum error.

...

Quoted 1 line

Can some please point out if there is an issue with this?

...

Quoted 5 lines

U-Boot code: 21F00000 -> 21F16EEC BSS: -> 21F33E04 RAM Configuration:
Bank #0: 20000000 32 MB
Atmel: Flash: 0 kB
*** Warning - bad CRC, using default environment

I think I rmember at least two messages on this list pointing out that this is a FAQ.

Will you please start reading the documentation now? Start with the FAQ section.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Life is a game. Money is how we keep score.              - Ted Turner
author
#2 lore raw
Quoted 8 lines

I think I rmember at least two messages on this list pointing out that this is a FAQ.

Will you please start reading the documentation now? Start with the FAQ section.

I did search in the archive and did read the FAQ, but to no avail (sorry i didn't wrote that before). I shall look more into it and get back if i succeed.

Thanks for your time.

Best Regards
rohit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060331/d4762e97/attachment.htm

author
#3 lore raw
In reply to Wolfgang Denk
Quoted 8 lines

I think I rmember at least two messages on this list pointing out that this is a FAQ.

Will you please start reading the documentation now? Start with the FAQ section.

And btw if this is what you are pointing to
http://www.denx.de/wiki/view/DULG/WarningBadCRCUsingDefaultEnvironment
then my exception is different ... on loading the image i am getting a CRC error not while loading u-boot.

Best Regards,
rohit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060331/42298f0b/attachment.htm

author
#4 lore raw
Quoted 10 lines · Rohit
Quoted 8 lines

I think I rmember at least two messages on this list pointing out that this is a FAQ.

Will you please start reading the documentation now? Start with the FAQ section.

Quoted 8 lines

And btw if this is what you are pointing to
http://www.denx.de/wiki/view/DULG/WarningBadCRCUsingDefaultEnvironment
then my exception is different ... on loading the image i am getting a CRC error not while loading u-boot.

Best Regards,
rohit

sorry for spamming the list ... this was a memory address issue ... i have sorted this out.

thanks
rohit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060331/d14fbe6b/attachment.htm