public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] u-boot ...bootup warning bad crc
@ 2003-04-04 13:23 Siddharth D Tiwari
  0 siblings, 0 replies; 7+ messages in thread
From: Siddharth D Tiwari @ 2003-04-04 13:23 UTC (permalink / raw)
  To: u-boot

Hi all,

I'm trying to boot motorola's FADS823 eval. board with U-boot 0.2.0.
I was successfully able to program the flash with U-boot configured for FADS823  but with the following problem:
As soon as i reset,  the output is as follows and it hangs.....plz. help me in this regards...

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 .

U-Boot 0.2.0 (Apr  4 2003 - 16:43:01)

CPU:   PPC823ZTnnA at 40 MHz: 2 kB I-Cache 1 kB D-Cache
         *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
Board: FADS with db MPC823 rev ENG or PILOT
I2C:   ready
DRAM:  (4 MB SDRAM)  8 MB
FLASH:  2 MB
*** Warning - bad CRC, using default environment


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

The output was as above.....
I have no idea where to look for, although i'm looking into the U-boot code.....
I'll be grateful for any help.

rgds,
Sid.

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <00028EEC.C22236@myw.ltindia.com>]
* [U-Boot-Users] u-boot ...bootup warning bad crc
@ 2003-04-04 15:46 Rune Torgersen
  0 siblings, 0 replies; 7+ messages in thread
From: Rune Torgersen @ 2003-04-04 15:46 UTC (permalink / raw)
  To: u-boot

When U-Boot hangs at this point (or later) it is usually a sign that the
memory map is incorrect and U-Boot is trying to access memory that doesn't
exist (be it Flash or RAM)

Make sure all memory sizes are correct, and on the correct chip-selects.

-----Original Message-----
From: Marius Groeger [mailto:mag at sysgo.de]
Sent: Friday, April 04, 2003 8:33 AM
To: Jerry Van Baren
Cc: siddharthdt at myw.ltindia.com; u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] u-boot ...bootup warning bad crc


On Fri, 4 Apr 2003, Jerry Van Baren wrote:

> The Keys to the Kingdom
> -----------------------
> Step 1:
>    less README
>
> Step 2:
>    find . -name "*.[ch]" -exec grep "Warning - bad CRC, using default
> environment" \{\} \; -print

You may find xargs(1) interesting in this context.

> Using the Keys, you will discover it is a warning caused by the fact that
> the environment variable space is invalid and the command "saveenv" will
> fix it.

I think the OP is not (yet) able to type in any input. According to
his problem report, the box just hangs. Unfortunately, I have no real
advice to dispense, either...

> >FADS823
> >but with the following problem:
> >As soon as i reset,  the output is as follows and it hangs.....plz. help
me in
> >this regards...

Regards,
Marius

----------------------------------------------------------------------------
-
Marius Groeger           SYSGO Real-Time Solutions AG
mgroeger at sysgo.de
Software Engineering     Embedded and Real-Time Software    www.sysgo.de
Voice: +49-6136-9948-0   Am Pfaffenstein 14                 www.osek.de
FAX:   +49-6136-9948-10  55270 Klein-Winternheim, Germany   www.elinos.com


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [U-Boot-Users] u-boot ...bootup warning bad crc
@ 2003-04-08  7:28 Siddharth
  2003-04-08  7:27 ` Wolfgang Denk
  0 siblings, 1 reply; 7+ messages in thread
From: Siddharth @ 2003-04-08  7:28 UTC (permalink / raw)
  To: u-boot

Hi All,

thanx all for ur kind help...the problem was neither due to Memory Mapping nor CRC check...
I tried the same old routine method of debugging, which is the best...
puts( )..
It was all due to the assignment statement in devices_init( ) in devices.c
"gd->flags |= ".....
which is declared using DECLARE_GLOBAL_DATA_PTR in asm/global_data.h

Well as of now i have commented that, and my board seems to boot fine...
But while loading Linux....phew!!! Have a look below...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

:>tftpboot
ARP broadcast 1
ARP broadcast 2
TFTP from server 192.168.6.200; our IP address is 192.168.6.221
Filename 'vmlinuz-2.4.4.n2'.
Load address: 0x100000
Loading: #################################################################
         #################################################################
         #
done
Bytes transferred = 666865 (a2cf1 hex)
:>bootm
## Booting image at 00100000 ...
   Image Name:   Linux 2.4.4 (allfs)
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    666801 Bytes = 651.2 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Now my system hangs.....Any guesses guys....?????
Again, i have already started looking into to Kernel using grep and xargs......thanx to Jerry and Marius ...
thanx again...

adios
Sid.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20030408/fcf366f8/attachment.htm 

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <se930b71.078@EMAIL>]

end of thread, other threads:[~2003-04-08 12:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-04 13:23 [U-Boot-Users] u-boot ...bootup warning bad crc Siddharth D Tiwari
     [not found] <00028EEC.C22236@myw.ltindia.com>
2003-04-04 13:36 ` Jerry Van Baren
2003-04-04 14:33   ` Marius Groeger
  -- strict thread matches above, loose matches on Subject: below --
2003-04-04 15:46 Rune Torgersen
2003-04-08  7:28 Siddharth
2003-04-08  7:27 ` Wolfgang Denk
     [not found] <se930b71.078@EMAIL>
2003-04-08 12:29 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox