Skip to contentSkip to conversation

Linux kernel startup

U-Boot-Users Tiju 2 participants 2 messages Apr 7, 2008

lore
Share & tools
lore

Tiju

author
#0 lore raw

Hi Harald,

Quoted 3 lines

Please see my other e-mail response about this. I still believe there might be some wrong memory / bus / core clock timing and or voltage issues.

We changed the memory clock to a lower frequency(90MHz to 67MHz) and the the "Bad Data CRC" error has gone. Thanks alot. Our settings are: EXTCLK = 12MHz

                                  FCLK = 271 MHz
                                  HCLK = 67.75 MHz
Quoted 2 lines

please try to use u-boot's built-in memory verification code to veryify your memory before trying to boot a kernel on it.

We will do this now.

We are writing the kernel image directly to the ram to 33000000. Therefore as for now it is not copied from the flash.

Quoted 2 lines

Is the hardware a prototype of a new board, or is it proven, verified hardware?

Yes, the hardware is a new prototype.

The output now is as follows:

U-Boot 1..3.2 (Apr 7 2008 - 17:25:31)

DRAM:  128 MB
Flash: 32 MB

Using default environment

In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
## Booting image at 33000000 ...
   Image Name:   Linux kernel
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    4278410 Bytes =  4.1 MB

Load Address: 30008000
Entry Point: 30008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK

Starting kernel ...

undefined instruction

pc : [<30008018>]          lr : [<310117bc>]

sp : 30fcfa78 ip : 30fcffb8 fp : 00000000
r10: 00000001 r9 : 30fcfe18 r8 : 30fcffdc
r7 : 31012ef4 r6 : 33000040 r5 : 31019514 r4 : 31019511
r3 : 30008000 r2 : 30000100 r1 : 0000016a r0 : 00000000
Flags: nzCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...

U-Boot 1.3.2 (Apr 7 2008 - 17:25:31)

DRAM:  128 MB
Flash: 32 MB

Using default environment

In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
## Booting image at 33000000 ...
   Image Name:   Linux kernel
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    4278410 Bytes =  4.1 MB

Load Address: 30008000
Entry Point: 30008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK

Starting kernel ...

undefined instruction

pc : [<30008018>]          lr : [<310117bc>]

sp : 30fcfa78 ip : 30fcffb8 fp : 00000000
r10: 00000001 r9 : 30fcfe18 r8 : 30fcffdc
r7 : 31012ef4 r6 : 33000040 r5 : 31019514 r4 : 31019511
r3 : 30008000 r2 : 30000100 r1 : 0000016a r0 : 00000000
Flags: nzCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...

and it keeps on resetting. We further reduced the SDRAM frequency to 45 Mhz, but still the problem persist. Is it still the problem with the u-boot frequency or with the linux kernel?

Thanks again.
Tiju

Save all your chat conversations.. Find them online at http://in.messenger.yahoo.com/webmessengerpromo.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080407/bff87b70/attachment.htm

#1 lore raw

[U-Boot-Users] Linux kernel startup (s3c24xx)

Hi Tiju,

Quoted 6 lines · Tiju
Quoted 3 lines

Please see my other e-mail response about this. I still believe there might be some wrong memory / bus / core clock timing and or voltage issues.

We changed the memory clock to a lower frequency(90MHz to 67MHz) and the the "Bad Data CRC" error has gone. Thanks alot.

ok, this most likely means that you have some problems with your hardware design, probably exceeding the maximum permitted capacitive bus load.

Quoted 2 lines

We are writing the kernel image directly to the ram to 33000000. Therefore as for now it is not copied from the flash.

well, how do you copy the image into ram? It doesn't really matter from where the image is copied. What matters is that apparently the source of the copy is not equal to the destination of the copy. Even if you
copy 'directly' via JTAG there is a source and a destination. and the
destination will suffer through corruption if SDRAM timing or bus clock are wrong.

Quoted 3 lines
Quoted 2 lines

Is the hardware a prototype of a new board, or is it proven, verified hardware?

Yes, the hardware is a new prototype.

Well, then I suppose most of your problems are not u-boot problems but problems related to your hardware. You should verify your u-boot version with a known-working hardware (such as a smdk development board). Only if it fails on the known-good hardware, I believe there is sufficient reason to assume that the problem is actually a u-boot problem.

Quoted 3 lines

and it keeps on resetting. We further reduced the SDRAM frequency to 45 Mhz, but still the problem persist. Is it still the problem with the u-boot frequency or with the linux kernel?

* there is no u-boot frequency
* the pll config done by u-boot is not the source of the problem, but rather some faulty hardware. lowering the clock is merely a workaround and not a fix.

I think any further debugging would be very specific to your hardware design.

Signature · 11 lines
- Harald Welte <[email protected]>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080407/dd1ed9f6/attachment.pgp