All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Error while booting Linux image
@ 2005-03-21 11:48 Vikrant_Basotra
  2005-03-21 13:50 ` Jerry Van Baren
  2005-03-21 15:41 ` Wolfgang Denk
  0 siblings, 2 replies; 11+ messages in thread
From: Vikrant_Basotra @ 2005-03-21 11:48 UTC (permalink / raw)
  To: u-boot

Hi All,
I am using U-Boot with a Linux kernel version 2.4.27-1.3.3-432 on mpc8248
based board, but the last message I see is "Uncompressing Kernel Image ...
OK" and Then the system hangs. I traced the code and realised that it stops
when it makes a call to "(*kernel) (kbd, initrd_start, initrd_end,
cmd_start, cmd_end);" (in file u-boot/common/cmd_bootm.c)

As i searched through the archive i found a similar problem and had comments
asking to verify the following:

1. bd_info 
2. IMAP_ADDR and CFG_IMMR should have the same value
3. clock speed saved in env

My bd_info is:

kbd->bi_memstart: 0
kbd->bi_memsize: 2000000 - 16MB
kbd->bi_flashstart: ff000000
kbd->bi_flashoffset: 0
kbd->bi_sramstart: 0
kbd->bi_sramsize: 0
kbd->bi_immr_base: 0f000000
kbd->bi_bootflags: 1
kbd->bi_ip_addr: c0a801de in HEX
kbd->bi_enetaddr: 7ffbd8  in HEX
kbd->bi_ethspeed: 2bd6    in HEX
kbd->bi_intfreq: 15a 	  in HEX
kbd->bi_busfreq: 63 	  in HEX
kbd->bi_cpmfreq: c6 	  in HEX
kbd->bi_brgfreq: 18 	  in HEX
kbd->bi_sccfreq: 63 	  in HEX
kbd->bi_vco: 18c 	  	  in HEX
kbd->bi_baudrate: 1c200   in HEX

which i believe is correct. The value of IMAP_ADDR in
linux/arch/ppc/platforms/boardname.h and u-boot/include/configs/boardname.h
is 0x0f000000 and i dont have the clock setting saved in my env. 

I could not figure out any more cracks because of which Linux would not
boot. Looking for your help on this.

Regards, 
Vikrant



************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [U-Boot-Users] Error while booting Linux image
@ 2005-03-21 16:05 Vikrant_Basotra
  2005-03-21 17:27 ` Wolfgang Denk
  0 siblings, 1 reply; 11+ messages in thread
From: Vikrant_Basotra @ 2005-03-21 16:05 UTC (permalink / raw)
  To: u-boot

Appreciate your quick responses on this.....BUT...............

Having already read your page (the link to which you provided) I double
checked on the bd_info structure in both linux and u-boot. I even worked out
the clocks_in_mhz....neither of them worked.

Somebody suggested I use gd->bd instead of kbd in common/cmd_bootm.c of
uboot when making the kernel call. That is use

(*kernel) (gd->bd, initrd_start, initrd_end, cmd_start, cmd_end);

				"INSTEAD OF"

(*kernel) (kbd, initrd_start, initrd_end, cmd_start, cmd_end); 

This didn't help either......!!!!!
Is there some thing else I am failing to pinpoint....

Just a reminder: the reference board is an Embedded Planet board (EP8248)
and the one I am trying to port is 8248 custom board. The linux image I am
using for my board works perfectly with the reference board (EP8248)....

Regards
Vikrant



-----Original Message-----
From: u-boot-users-admin@lists.sourceforge.net
[mailto:u-boot-users-admin at lists.sourceforge.net] On Behalf Of Wolfgang Denk
Sent: Monday, March 21, 2005 9:12 PM
To: Vikrant_Basotra
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] Error while booting Linux image 

In message <3D9FDCA910DD4445896A0BE5ECF009D4030DCDCD@bla.satyam.com> you
wrote:
> 
> I am using U-Boot with a Linux kernel version 2.4.27-1.3.3-432 on mpc8248
> based board, but the last message I see is "Uncompressing Kernel Image ...
> OK" and Then the system hangs. I traced the code and realised that it
stops
> when it makes a call to "(*kernel) (kbd, initrd_start, initrd_end,
> cmd_start, cmd_end);" (in file u-boot/common/cmd_bootm.c)
> 
> As i searched through the archive i found a similar problem and had
comments
> asking to verify the following:

Did you also read the FAQ:
http://www.denx.de/twiki/bin/view/DULG/LinuxHangsAfterUncompressingKernel

> 1. bd_info 
> 2. IMAP_ADDR and CFG_IMMR should have the same value
> 3. clock speed saved in env
> 
> My bd_info is:
...
> which i believe is correct. The value of IMAP_ADDR in

The question is not if it is correct, but if it is IDENTICAL  to  the
structure as used by the Linux kernel.

> I could not figure out any more cracks because of which Linux would not
> boot. Looking for your help on this.

Start reading the FAQ.

Best regards,

Wolfgang Denk

************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <20050321160637.BAAB8134A7@sc8-sf-spam2.sourceforge.net>]
* [U-Boot-Users] Error while booting Linux image
@ 2005-03-21 17:15 Vikrant_Basotra
  0 siblings, 0 replies; 11+ messages in thread
From: Vikrant_Basotra @ 2005-03-21 17:15 UTC (permalink / raw)
  To: u-boot

Hi All,

This what the log buffer has ...

=> md 0x00177e34 
00177e34: 3c363e4d 656d6f72 79204241 54206d61    <6>Memory BAT ma
00177e44: 7070696e 673a2042 7070696e 673a2042    pping: Bpping: B
00177e54: 622c2042 4154333d 33324d62 2c207265    b, BAT3=32Mb, re
00177e64: 73696475 616c3a20 304d620a 3c343e4f    sidual: 0Mb.<4>O
00177e74: 6f70733a 206b6572 6e656c20 61636365    ops: kernel acce
00177e84: 7373206f 66206261 64206172 65612c20    ss of bad area, 
00177e94: 7369673a 2031310a 3c343e4e 49503a20    sig: 11.<4>NIP: 
00177ea4: 30303030 30303030 20584552 3a203030    00000000 XER: 00
00177eb4: 30303030 3030204c 523a2030 30303030    000000 LR: 00000
00177ec4: 30303020 53503a20 30303030 30303030    000 SP: 00000000
00177ed4: 20524547 533a2063 30313530 30303020     REGS: c0150000 
00177ee4: 54524150 3a203030 30302020 20204e6f    TRAP: 0000    No
00177ef4: 74207461 696e7465 640a3c34 3e4d5352    t tainted.<4>MSR
00177f04: 3a203030 30303030 30302045 453a2030    : 00000000 EE: 0
00177f14: 2050523a 20302046 503a2030 204d453a     PR: 0 FP: 0 ME:
00177f24: 20302049 522f4452 3a203030 0a3c343e     0 IR/DR: 00.<4>

00177f34: 5441534b 203d2063 30313466 3437305b    TASK = c014f470[
00177f44: 305d2027 73776170 70657227 204c6173    0] 'swapper' Las
00177f54: 74207379 7363616c 6c3a2030 200a3c34    t syscall: 0 .<4
00177f64: 3e6c6173 74206d61 74682030 30303030    >last math 00000
00177f74: 30303020 6c617374 20616c74 69766563    000 last altivec
00177f84: 20303030 30303030 300a3c34 3e43616c     00000000.<4>Cal
00177f94: 6c206261 636b7472 6163653a 20303030    l backtrace: 000
00177fa4: 30303030 34200a3c 343e4f6f 70733a20    00004 .<4>Oops: 
00177fb4: 6b65726e 656c2061 63636573 73206f66    kernel access of
00177fc4: 20626164 20617265 612c2073 69673a20     bad area, sig: 
00177fd4: 31310a3c 343e4e49 503a2030 30303030    11.<4>NIP: 00000
00177fe4: 30303020 5845523a 20303030 30303030    000 XER: 0000000
00177ff4: 30204c52 3a203030 30303030 30302053    0 LR: 00000000 S
00178004: 503a2030 30303030 30303020 52454753    P: 00000000 REGS
00178014: 3a206330 31353030 30302054 5241503a    : c0150000 TRAP:
00178024: 20303030 30202020 204e6f74 20746169     0000    Not tai

00178034: 6e746564 0a3c343e 4d53523a 20303030    nted.<4>MSR: 000
00178044: 30303030 30204545 3a203020 50523a20    00000 EE: 0 PR: 
00178054: 30204650 3a203020 4d453a20 30204952    0 FP: 0 ME: 0 IR
00178064: 2f44523a 2030300a 3c343e54 41534b20    /DR: 00.<4>TASK 
00178074: 3d206330 31346634 37305b30 5d202773    = c014f470[0] 's
00178084: 77617070 65722720 4c617374 20737973    wapper' Last sys
00178094: 63616c6c 3a203020 0a3c343e 6c617374    call: 0 .<4>last
001780a4: 206d6174 68203030 30303030 3030206c     math 00000000 l
001780b4: 61737420 616c7469 76656320 30303030    ast altivec 0000
001780c4: 30303030 0a3c343e 43616c6c 20626163    0000.<4>Call bac
001780d4: 6b747261 63653a20 30303030 30303034    ktrace: 00000004
001780e4: 200a3c34 3e4f6f70 733a206b 65726e65     .<4>Oops: kerne
001780f4: 6c206163 63657373 206f6620 62616420    l access of bad 
00178104: 61726561 2c207369 673a2031 310a3c34    area, sig: 11.<4
00178114: 3e4e4950 3a203030 30303030 30312058    >NIP: 00000001 X
00178124: 45523a20 30303030 30303030 204c523a    ER: 00000000 LR:
00178134: 20433031 35303044 30205350 3a203030     C01500D0 SP: 00
00178144: 30303030 30302052 4547533a 20633031    000000 REGS: c01
00178154: 35303030 30205452 41503a20 31303332    50000 TRAP: 1032
00178164: 20202020 4e6f7420 7461696e 7465640a        Not tainted.
00178174: 3c343e4d 53523a20 66666666 66666666    <4>MSR: ffffffff
00178184: 2045453a 20312050 523a2031 2046503a     EE: 1 PR: 1 FP:
00178194: 2031204d 453a2031 2049522f 44523a20     1 ME: 1 IR/DR: 
001781a4: 31310a3c 343e5441 534b203d 20633031    11.<4>TASK = c01
001781b4: 34663437 305b305d 20277377 61707065    4f470[0] 'swappe
001781c4: 7227204c 61737420 73797363 616c6c3a    r' Last syscall:
001781d4: 2030200a 3c343e6c 61737420 6d617468     0 .<4>last math
001781e4: 20303030 30303030 30206c61 73742061     00000000 last a
001781f4: 6c746976 65632030 30303030 3030300a    ltivec 00000000.
00178204: 3c343eff ffffffc0 1502c0c0 15024361    <4>...........Ca
00178214: 6c6c2062 61636b74 72616365 3a203030    ll backtrace: 00
00178224: 30303030 3034200a 3c343e4f 6f70733a    000004 .<4>Oops:
00178234: 206b6572 6e656c20 61636365 7373206f     kernel access o
00178244: 66206261 64206172 65612c20 7369673a    f bad area, sig:
00178254: 2031310a 3c343e4e 49503a20 30303030     11.<4>NIP: 0000
00178264: 30303031 20584552 3a203030 30303030    0001 XER: 000000
00178274: 3030204c 523a2043 30313530 30443020    00 LR: C01500D0 
00178284: 53503a20 46464646 46434330 20524547    SP: FFFFFCC0 REG
00178294: 533a2063 30313530 30303020 54524150    S: c0150000 TRAP
001782a4: 3a203130 33322020 20204e6f 74207461    : 1032    Not ta
001782b4: 696e7465 640a3c34 3e4d5352 3a206666    inted.<4>MSR: ff
001782c4: 66666666 66662045 453a2031 2050523a    ffffff EE: 1 PR:
001782d4: 20312046 503a2031 204d453a 20312049     1 FP: 1 ME: 1 I
001782e4: 522f4452 3a203131 0a3c343e 5441534b    R/DR: 11.<4>TASK
001782f4: 203d2063 30313466 3437305b 305d2027     = c014f470[0] '
00178304: 73772720 4c617374 20737973 63616c6c    sw' Last syscall
00178314: 3a202d31 30373337 31383034 30200a3c    : -1073718040 .<
00178324: 343e6c61 7374206d 61746820 30303030    4>last math 0000
00178334: 30303030 206c6173 7420616c 74697665    0000 last altive
00178344: 63203030 30303030 30300a3c 343effff    c 00000000.<4>..
00178354: ffffc015 02c0c015 02000000 00000000    ................
00178364: 00000000 00000000 00000000 00000000    ................

Can u make out any thing , it doesn't make any sense to me

Regards, 
Vikrant

-----Original Message-----
From: Srivatsan [mailto:srivatsan at deccanetworld.com] 
Sent: Monday, March 21, 2005 9:56 PM
To: u-boot-users at lists.sourceforge.net
Cc: Vikrant_Basotra at Satyam.com
Subject: Re: [U-Boot-Users] Error while booting Linux image


Try this FAQ.

http://www.denx.de/twiki/bin/view/DULG/LinuxPostMortemAnalysis

What's the last message that is printed in the log_buf?

With Regards,
C.R.Srivatsan



************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [U-Boot-Users] Error while booting Linux image
@ 2005-03-22  5:17 Vikrant_Basotra
  2005-03-22  9:35 ` Wolfgang Denk
  0 siblings, 1 reply; 11+ messages in thread
From: Vikrant_Basotra @ 2005-03-22  5:17 UTC (permalink / raw)
  To: u-boot

Hi All,

I have changed the value of the IMMR register to 0xF0000000 in both the
u-boot (in HRCW) and the linux part, still its hanging after displaying the
message
Uncompressing kernel ... OK

The contents of the console memory buffer for your reference is pasted
below..

md 0x00177e34
00177e34: 3c363e4d 656d6f72 79204241 54206d61    <6>Memory BAT ma
00177e44: 7070696e 673a2042 7070696e 673a2042    pping: Bpping: B
00177e54: 622c2042 4154333d 33324d62 2c207265    b, BAT3=32Mb, re
00177e64: 73696475 616c3a20 304d620a 3c343e4f    sidual: 0Mb.<4>O
00177e74: 6f70733a 206b6572 6e656c20 61636365    ops: kernel acce
00177e84: 7373206f 66206261 64206172 65612c20    ss of bad area, 
00177e94: 7369673a 2031310a 3c343e4e 49503a20    sig: 11.<4>NIP: 
00177ea4: 30303030 30303030 20584552 3a203030    00000000 XER: 00
00177eb4: 30303030 3030204c 523a2030 30303030    000000 LR: 00000
00177ec4: 30303020 53503a20 30303030 30303030    000 SP: 00000000
00177ed4: 20524547 533a2063 30313530 30303020     REGS: c0150000 
00177ee4: 54524150 3a203030 30302020 20204e6f    TRAP: 0000    No
00177ef4: 74207461 696e7465 640a3c34 3e4d5352    t tainted.<4>MSR
00177f04: 3a203030 30303030 30302045 453a2030    : 00000000 EE: 0
00177f14: 2050523a 20302046 503a2030 204d453a     PR: 0 FP: 0 ME:
00177f24: 20302049 522f4452 3a203030 0a3c343e     0 IR/DR: 00.<4>

00177f34: 5441534b 203d2063 30313466 3437305b    TASK = c014f470[
00177f44: 305d2027 73776170 70657227 204c6173    0] 'swapper' Las
00177f54: 74207379 7363616c 6c3a2030 200a3c34    t syscall: 0 .<4
00177f64: 3e6c6173 74206d61 74682030 30303030    >last math 00000
00177f74: 30303020 6c617374 20616c74 69766563    000 last altivec
00177f84: 20303030 30303030 300a3c34 3e43616c     00000000.<4>Cal
00177f94: 6c206261 636b7472 6163653a 20303030    l backtrace: 000
00177fa4: 30303030 34200a3c 343e4f6f 70733a20    00004 .<4>Oops: 
00177fb4: 6b65726e 656c2061 63636573 73206f66    kernel access of
00177fc4: 20626164 20617265 612c2073 69673a20     bad area, sig: 
00177fd4: 31310a3c 343e4e49 503a2030 30303030    11.<4>NIP: 00000
00177fe4: 30303020 5845523a 20303030 30303030    000 XER: 0000000
00177ff4: 30204c52 3a203030 30303030 30302053    0 LR: 00000000 S
00178004: 503a2030 30303030 30303020 52454753    P: 00000000 REGS
00178014: 3a206330 31353030 30302054 5241503a    : c0150000 TRAP:
00178024: 20303030 30202020 204e6f74 20746169     0000    Not tai

00178034: 6e746564 0a3c343e 4d53523a 20303030    nted.<4>MSR: 000
00178044: 30303030 30204545 3a203020 50523a20    00000 EE: 0 PR: 
00178054: 30204650 3a203020 4d453a20 30204952    0 FP: 0 ME: 0 IR
00178064: 2f44523a 2030300a 3c343e54 41534b20    /DR: 00.<4>TASK 
00178074: 3d206330 31346634 37305b30 5d202773    = c014f470[0] 's
00178084: 77617070 65722720 4c617374 20737973    wapper' Last sys
00178094: 63616c6c 3a203020 0a3c343e 6c617374    call: 0 .<4>last
001780a4: 206d6174 68203030 30303030 3030206c     math 00000000 l
001780b4: 61737420 616c7469 76656320 30303030    ast altivec 0000
001780c4: 30303030 0a3c343e 43616c6c 20626163    0000.<4>Call bac
001780d4: 6b747261 63653a20 30303030 30303034    ktrace: 00000004
001780e4: 200a3c34 3e4f6f70 733a206b 65726e65     .<4>Oops: kerne
001780f4: 6c206163 63657373 206f6620 62616420    l access of bad 
00178104: 61726561 2c207369 673a2031 310a3c34    area, sig: 11.<4
00178114: 3e4e4950 3a203030 30303030 30312058    >NIP: 00000001 X
00178124: 45523a20 30303030 30303030 204c523a    ER: 00000000 LR:

00178134: 20433031 35303044 30205350 3a203030     C01500D0 SP: 00
00178144: 30303030 30302052 4547533a 20633031    000000 REGS: c01
00178154: 35303030 30205452 41503a20 31303332    50000 TRAP: 1032
00178164: 20202020 4e6f7420 7461696e 7465640a        Not tainted.
00178174: 3c343e4d 53523a20 66666666 66666666    <4>MSR: ffffffff
00178184: 2045453a 20312050 523a2031 2046503a     EE: 1 PR: 1 FP:
00178194: 2031204d 453a2031 2049522f 44523a20     1 ME: 1 IR/DR: 
001781a4: 31310a3c 343e5441 534b203d 20633031    11.<4>TASK = c01
001781b4: 34663437 305b305d 20277377 61707065    4f470[0] 'swappe
001781c4: 7227204c 61737420 73797363 616c6c3a    r' Last syscall:
001781d4: 2030200a 3c343e6c 61737420 6d617468     0 .<4>last math
001781e4: 20303030 30303030 30206c61 73742061     00000000 last a
001781f4: 6c746976 65632030 30303030 3030300a    ltivec 00000000.
00178204: 3c343eff ffffffc0 1502c0c0 15024361    <4>...........Ca
00178214: 6c6c2062 61636b74 72616365 3a203030    ll backtrace: 00
00178224: 30303030 3034200a 3c343e4f 6f70733a    000004 .<4>Oops:

00178234: 206b6572 6e656c20 61636365 7373206f     kernel access o
00178244: 66206261 64206172 65612c20 7369673a    f bad area, sig:
00178254: 2031310a 3c343e4e 49503a20 30303030     11.<4>NIP: 0000
00178264: 30303031 20584552 3a203030 30303030    0001 XER: 000000
00178274: 3030204c 523a2043 30313530 30443020    00 LR: C01500D0 
00178284: 53503a20 46464646 46434330 20524547    SP: FFFFFCC0 REG
00178294: 533a2063 30313530 30303020 54524150    S: c0150000 TRAP
001782a4: 3a203130 33322020 20204e6f 74207461    : 1032    Not ta
001782b4: 696e7465 640a3c34 3e4d5352 3a206666    inted.<4>MSR: ff
001782c4: 66666666 66662045 453a2031 2050523a    ffffff EE: 1 PR:
001782d4: 20312046 503a2031 204d453a 20312049     1 FP: 1 ME: 1 I
001782e4: 522f4452 3a203131 0a3c343e 5441534b    R/DR: 11.<4>TASK
001782f4: 203d2063 30313466 3437305b 305d2027     = c014f470[0] '
00178304: 73772720 4c617374 20737973 63616c6c    sw' Last syscall
00178314: 3a202d31 30373337 31383034 30200a3c    : -1073718040 .<
00178324: 343e6c61 7374206d 61746820 30303030    4>last math 0000

00178334: 30303030 206c6173 7420616c 74697665    0000 last altive
00178344: 63203030 30303030 30300a3c 343effff    c 00000000.<4>..
00178354: ffffc015 02c0c015 02000000 00000000    ................



Can u figure out any thing from this dump..
Regards ,
Vikrant
-----Original Message-----
From: Srivatsan [mailto:srivatsan at deccanetworld.com] 
Sent: Tuesday, March 22, 2005 10:32 AM
To: 'Vikrant_Basotra'
Subject: RE: [U-Boot-Users] Error while booting Linux image

As Wolfgang rightly pointed out, For Linux Kernel to boot properly IMMR
shouldn't be at 0x0f000000 but it should be above 0xc0000000. Try
setting 0xf0000000 for your IMMR, it should work.

With Regards,
C.R.Srivatsan

-----Original Message-----
From: Vikrant_Basotra [mailto:Vikrant_Basotra at Satyam.com] 
Sent: Monday, March 21, 2005 10:46 PM
To: Srivatsan; u-boot-users at lists.sourceforge.net
Cc: Vikrant_Basotra
Subject: RE: [U-Boot-Users] Error while booting Linux image

Hi All,

This what the log buffer has ...

=> md 0x00177e34 
00177e34: 3c363e4d 656d6f72 79204241 54206d61    <6>Memory BAT ma
00177e44: 7070696e 673a2042 7070696e 673a2042    pping: Bpping: B
00177e54: 622c2042 4154333d 33324d62 2c207265    b, BAT3=32Mb, re
00177e64: 73696475 616c3a20 304d620a 3c343e4f    sidual: 0Mb.<4>O
00177e74: 6f70733a 206b6572 6e656c20 61636365    ops: kernel acce
00177e84: 7373206f 66206261 64206172 65612c20    ss of bad area, 
00177e94: 7369673a 2031310a 3c343e4e 49503a20    sig: 11.<4>NIP: 
00177ea4: 30303030 30303030 20584552 3a203030    00000000 XER: 00
00177eb4: 30303030 3030204c 523a2030 30303030    000000 LR: 00000
00177ec4: 30303020 53503a20 30303030 30303030    000 SP: 00000000
00177ed4: 20524547 533a2063 30313530 30303020     REGS: c0150000 
00177ee4: 54524150 3a203030 30302020 20204e6f    TRAP: 0000    No
00177ef4: 74207461 696e7465 640a3c34 3e4d5352    t tainted.<4>MSR
00177f04: 3a203030 30303030 30302045 453a2030    : 00000000 EE: 0
00177f14: 2050523a 20302046 503a2030 204d453a     PR: 0 FP: 0 ME:
00177f24: 20302049 522f4452 3a203030 0a3c343e     0 IR/DR: 00.<4>

00177f34: 5441534b 203d2063 30313466 3437305b    TASK = c014f470[
00177f44: 305d2027 73776170 70657227 204c6173    0] 'swapper' Las
00177f54: 74207379 7363616c 6c3a2030 200a3c34    t syscall: 0 .<4
00177f64: 3e6c6173 74206d61 74682030 30303030    >last math 00000
00177f74: 30303020 6c617374 20616c74 69766563    000 last altivec
00177f84: 20303030 30303030 300a3c34 3e43616c     00000000.<4>Cal
00177f94: 6c206261 636b7472 6163653a 20303030    l backtrace: 000
00177fa4: 30303030 34200a3c 343e4f6f 70733a20    00004 .<4>Oops: 
00177fb4: 6b65726e 656c2061 63636573 73206f66    kernel access of
00177fc4: 20626164 20617265 612c2073 69673a20     bad area, sig: 
00177fd4: 31310a3c 343e4e49 503a2030 30303030    11.<4>NIP: 00000
00177fe4: 30303020 5845523a 20303030 30303030    000 XER: 0000000
00177ff4: 30204c52 3a203030 30303030 30302053    0 LR: 00000000 S
00178004: 503a2030 30303030 30303020 52454753    P: 00000000 REGS
00178014: 3a206330 31353030 30302054 5241503a    : c0150000 TRAP:
00178024: 20303030 30202020 204e6f74 20746169     0000    Not tai

00178034: 6e746564 0a3c343e 4d53523a 20303030    nted.<4>MSR: 000
00178044: 30303030 30204545 3a203020 50523a20    00000 EE: 0 PR: 
00178054: 30204650 3a203020 4d453a20 30204952    0 FP: 0 ME: 0 IR
00178064: 2f44523a 2030300a 3c343e54 41534b20    /DR: 00.<4>TASK 
00178074: 3d206330 31346634 37305b30 5d202773    = c014f470[0] 's
00178084: 77617070 65722720 4c617374 20737973    wapper' Last sys
00178094: 63616c6c 3a203020 0a3c343e 6c617374    call: 0 .<4>last
001780a4: 206d6174 68203030 30303030 3030206c     math 00000000 l
001780b4: 61737420 616c7469 76656320 30303030    ast altivec 0000
001780c4: 30303030 0a3c343e 43616c6c 20626163    0000.<4>Call bac
001780d4: 6b747261 63653a20 30303030 30303034    ktrace: 00000004
001780e4: 200a3c34 3e4f6f70 733a206b 65726e65     .<4>Oops: kerne
001780f4: 6c206163 63657373 206f6620 62616420    l access of bad 
00178104: 61726561 2c207369 673a2031 310a3c34    area, sig: 11.<4
00178114: 3e4e4950 3a203030 30303030 30312058    >NIP: 00000001 X
00178124: 45523a20 30303030 30303030 204c523a    ER: 00000000 LR:
00178134: 20433031 35303044 30205350 3a203030     C01500D0 SP: 00
00178144: 30303030 30302052 4547533a 20633031    000000 REGS: c01
00178154: 35303030 30205452 41503a20 31303332    50000 TRAP: 1032
00178164: 20202020 4e6f7420 7461696e 7465640a        Not tainted.
00178174: 3c343e4d 53523a20 66666666 66666666    <4>MSR: ffffffff
00178184: 2045453a 20312050 523a2031 2046503a     EE: 1 PR: 1 FP:
00178194: 2031204d 453a2031 2049522f 44523a20     1 ME: 1 IR/DR: 
001781a4: 31310a3c 343e5441 534b203d 20633031    11.<4>TASK = c01
001781b4: 34663437 305b305d 20277377 61707065    4f470[0] 'swappe
001781c4: 7227204c 61737420 73797363 616c6c3a    r' Last syscall:
001781d4: 2030200a 3c343e6c 61737420 6d617468     0 .<4>last math
001781e4: 20303030 30303030 30206c61 73742061     00000000 last a
001781f4: 6c746976 65632030 30303030 3030300a    ltivec 00000000.
00178204: 3c343eff ffffffc0 1502c0c0 15024361    <4>...........Ca
00178214: 6c6c2062 61636b74 72616365 3a203030    ll backtrace: 00
00178224: 30303030 3034200a 3c343e4f 6f70733a    000004 .<4>Oops:
00178234: 206b6572 6e656c20 61636365 7373206f     kernel access o
00178244: 66206261 64206172 65612c20 7369673a    f bad area, sig:
00178254: 2031310a 3c343e4e 49503a20 30303030     11.<4>NIP: 0000
00178264: 30303031 20584552 3a203030 30303030    0001 XER: 000000
00178274: 3030204c 523a2043 30313530 30443020    00 LR: C01500D0 
00178284: 53503a20 46464646 46434330 20524547    SP: FFFFFCC0 REG
00178294: 533a2063 30313530 30303020 54524150    S: c0150000 TRAP
001782a4: 3a203130 33322020 20204e6f 74207461    : 1032    Not ta
001782b4: 696e7465 640a3c34 3e4d5352 3a206666    inted.<4>MSR: ff
001782c4: 66666666 66662045 453a2031 2050523a    ffffff EE: 1 PR:
001782d4: 20312046 503a2031 204d453a 20312049     1 FP: 1 ME: 1 I
001782e4: 522f4452 3a203131 0a3c343e 5441534b    R/DR: 11.<4>TASK
001782f4: 203d2063 30313466 3437305b 305d2027     = c014f470[0] '
00178304: 73772720 4c617374 20737973 63616c6c    sw' Last syscall
00178314: 3a202d31 30373337 31383034 30200a3c    : -1073718040 .<
00178324: 343e6c61 7374206d 61746820 30303030    4>last math 0000
00178334: 30303030 206c6173 7420616c 74697665    0000 last altive
00178344: 63203030 30303030 30300a3c 343effff    c 00000000.<4>..
00178354: ffffc015 02c0c015 02000000 00000000    ................
00178364: 00000000 00000000 00000000 00000000    ................

Can u make out any thing , it doesn't make any sense to me

Regards, 
Vikrant

-----Original Message-----
From: Srivatsan [mailto:srivatsan at deccanetworld.com] 
Sent: Monday, March 21, 2005 9:56 PM
To: u-boot-users at lists.sourceforge.net
Cc: Vikrant_Basotra at Satyam.com
Subject: Re: [U-Boot-Users] Error while booting Linux image


Try this FAQ.

http://www.denx.de/twiki/bin/view/DULG/LinuxPostMortemAnalysis

What's the last message that is printed in the log_buf?

With Regards,
C.R.Srivatsan



************************************************************************
** 
This email (including any attachments) is intended for the sole use of
the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
distribution or forwarding of any or all of the contents in this message
is
STRICTLY PROHIBITED. If you are not the intended recipient, please
contact
the sender by email and delete all copies; your cooperation in this
regard
is appreciated.
************************************************************************
**

************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [U-Boot-Users] Error while booting Linux image
@ 2005-03-22 13:30 Vikrant_Basotra
  2005-03-22 14:13 ` Wolfgang Denk
  0 siblings, 1 reply; 11+ messages in thread
From: Vikrant_Basotra @ 2005-03-22 13:30 UTC (permalink / raw)
  To: u-boot



Hi All,
	SDRAM on the reference board is initialized properly now..
It has been verified. The dump value which I am getting now is ...

md 0x00177e34 
00177e34: 3c363e4d 656d6f72 79204241 54206d61    <6>Memory BAT ma
00177e44: 7070696e 673a2042 4154323d 33324d62    pping: BAT2=32Mb
00177e54: 2c204241 54333d30 4d622c20 72657369    , BAT3=0Mb, resi
00177e64: 6475616c 3a20304d 620a3c34 3e4f6f70    dual: 0Mb.<4>Oop
00177e74: 733a206b 65726e65 6c206163 63657373    s: kernel access
00177e84: 206f6620 62616420 61726561 2c207369     of bad area, si
00177e94: 673a2031 310a3c34 3e4e4950 3a203030    g: 11.<4>NIP: 00
00177ea4: 30303030 30302058 45523a20 30303030    000000 XER: 0000
00177eb4: 30303030 204c523a 20303030 30303030    0000 LR: 0000000
00177ec4: 30205350 3a203030 30303030 30302052    0 SP: 00000000 R
00177ed4: 4547533a 20633031 35303030 30205452    EGS: c0150000 TR
00177ee4: 41503a20 30303030 20202020 4e6f7420    AP: 0000    Not 
00177ef4: 7461696e 7465640a 3c343e4d 53523a20    tainted.<4>MSR: 
00177f04: 30303030 30303030 2045453a 20302050    00000000 EE: 0 P
00177f14: 523a2030 2046503a 2030204d 453a2030    R: 0 FP: 0 ME: 0
00177f24: 2049522f 44523a20 30300a3c 343e5441     IR/DR: 00.<4>TA

00177f34: 534b203d 20633031 34663437 305b305d    SK = c014f470[0]
00177f44: 20277377 61707065 7227204c 61737420     'swapper' Last 
00177f54: 73797363 616c6c3a 2030200a 3c343e6c    syscall: 0 .<4>l
00177f64: 61737420 6d617468 20303030 30303030    ast math 0000000
00177f74: 30206c61 73742061 6c746976 65632030    0 last altivec 0
00177f84: 30303030 3030300a 3c343e43 616c6c20    0000000.<4>Call 
00177f94: 6261636b 74726163 653a2030 30303030    backtrace: 00000
00177fa4: 30303420 0a3c343e 4f6f7073 3a206b65    004 .<4>Oops: ke
00177fb4: 726e656c 20616363 65737320 6f662062    rnel access of b
00177fc4: 61642061 7265612c 20736967 3a203131    ad area, sig: 11
00177fd4: 0a3c343e 4e49503a 20303030 30303030    .<4>NIP: 0000000
00177fe4: 30205845 523a2030 30303030 30303020    0 XER: 00000000 
00177ff4: 4c523a20 30303030 30303030 2053503a    LR: 00000000 SP:
00178004: 20303030 30303030 30205245 47533a20     00000000 REGS: 
00178014: 63303135 30303030 20545241 503a2030    c0150000 TRAP: 0
00178024: 30303020 2020204e 6f742074 61696e74    000    Not taint

00178034: 65640a3c 343e4d53 523a2030 30303030    ed.<4>MSR: 00000
00178044: 30303020 45453a20 30205052 3a203020    000 EE: 0 PR: 0 
00178054: 46503a20 30204d45 3a203020 49522f44    FP: 0 ME: 0 IR/D
00178064: 523a2030 300a3c34 3e544153 4b203d20    R: 00.<4>TASK = 
00178074: 63303134 66343730 5b305d20 27737761    c014f470[0] 'swa
00178084: 70706572 27204c61 73742073 79736361    pper' Last sysca
00178094: 6c6c3a20 30200a3c 343e6c61 7374206d    ll: 0 .<4>last m
001780a4: 61746820 30303030 30303030 206c6173    ath 00000000 las
001780b4: 7420616c 74697665 63203030 30303030    t altivec 000000
001780c4: 30300a3c 343e4361 6c6c2062 61636b74    00.<4>Call backt
001780d4: 72616365 3a203030 30303030 3034200a    race: 00000004 .
001780e4: 3c343e4f 6f70733a 206b6572 6e656c20    <4>Oops: kernel 
001780f4: 61636365 7373206f 66206261 64206172    access of bad ar
00178104: 65612c20 7369673a 2031310a 3c343e4e    ea, sig: 11.<4>N
00178114: 49503a20 30303030 30303031 20584552    IP: 00000001 XER
00178124: 3a203030 30303030 3030204c 523a2043    : 00000000 LR: C

00178134: 30313530 30443020 53503a20 30303030    01500D0 SP: 0000
00178144: 30303030 20524547 533a2063 30313530    0000 REGS: c0150
00178154: 30303020 54524150 3a203130 33322020    000 TRAP: 1032  
00178164: 20204e6f 74207461 696e7465 640a3c34      Not tainted.<4
00178174: 3e4d5352 3a206666 66666666 66662045    >MSR: ffffffff E
00178184: 453a2031 2050523a 20312046 503a2031    E: 1 PR: 1 FP: 1
00178194: 204d453a 20312049 522f4452 3a203131     ME: 1 IR/DR: 11
001781a4: 0a3c343e 5441534b 203d2063 30313466    .<4>TASK = c014f
001781b4: 3437305b 305d2027 73776170 70657227    470[0] 'swapper'
001781c4: 204c6173 74207379 7363616c 6c3a2030     Last syscall: 0
001781d4: 200a3c34 3e6c6173 74206d61 74682030     .<4>last math 0
001781e4: 30303030 30303020 6c617374 20616c74    0000000 last alt
001781f4: 69766563 20303030 30303030 300a3c34    ivec 00000000.<4
00178204: 3effffff ffc01502 c0c01502 43616c6c    >...........Call
00178214: 20626163 6b747261 63653a20 30303030     backtrace: 0000
00178224: 30303034 200a3c34 3e4f6f70 733a206b    0004 .<4>Oops: k

00178234: 65726e65 6c206163 63657373 206f6620    ernel access of 
00178244: 62616420 61726561 2c207369 673a2031    bad area, sig: 1
00178254: 310a3c34 3e4e4950 3a203030 30303030    1.<4>NIP: 000000
00178264: 30312058 45523a20 30303030 30303030    01 XER: 00000000
00178274: 204c523a 20433031 35303044 30205350     LR: C01500D0 SP
00178284: 3a204646 46464643 43322052 4547533a    : FFFFFCC2 REGS:
00178294: 20633031 35303030 30205452 41503a20     c0150000 TRAP: 
001782a4: 31303332 20202020 4e6f7420 7461696e    1032    Not tain
001782b4: 7465640a 3c343e4d 53523a20 66666666    ted.<4>MSR: ffff
001782c4: 66666666 2045453a 20312050 523a2031    ffff EE: 1 PR: 1
001782d4: 2046503a 2031204d 453a2031 2049522f     FP: 1 ME: 1 IR/
001782e4: 44523a20 31310a3c 343e5441 534b203d    DR: 11.<4>TASK =
001782f4: 20633031 34663437 305b305d 20277377     c014f470[0] 'sw
00178304: 27204c61 73742073 79736361 6c6c3a20    ' Last syscall: 
00178314: 2d313037 33373138 30343020 0a3c343e    -1073718040 .<4>
00178324: 6c617374 206d6174 68203030 30303030    last math 000000
00178334: 3030206c 61737420 616c7469 76656320    00 last altivec 
00178344: 30303030 30303030 0a3c343e ffffffff    00000000.<4>....

Any pointers....
Regards,
Vikrant

-----Original Message-----
From: wd@denx.de [mailto:wd at denx.de] 
Sent: Tuesday, March 22, 2005 3:05 PM
To: Vikrant_Basotra
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] Error while booting Linux image 

In message <3D9FDCA910DD4445896A0BE5ECF009D4030DD373@bla.satyam.com> you
wrote:
> 
> I have changed the value of the IMMR register to 0xF0000000 in both the
> u-boot (in HRCW) and the linux part, still its hanging after displaying
the
> message
> Uncompressing kernel ... OK

Are  you  absolutely  sure  that  your  SDRAM  has  been  initialized
correctly?

> The contents of the console memory buffer for your reference is pasted
> below..
> 
> md 0x00177e34
> 00177e34: 3c363e4d 656d6f72 79204241 54206d61    <6>Memory BAT ma
> 00177e44: 7070696e 673a2042 7070696e 673a2042    pping: Bpping: B
                                                          ^^^^^^^^^

This looks somewhat corrupted to me.

I speculate that your RAM fails in burst mode.  Try  disabling  burst
mode  (set BI bit in memory controller) and/or caches in Linux; if it
starts to work then you know where to look after.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Plan to throw one away. You will anyway."
                              - Fred Brooks, "The Mythical Man Month"
************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-03-22 14:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-21 11:48 [U-Boot-Users] Error while booting Linux image Vikrant_Basotra
2005-03-21 13:50 ` Jerry Van Baren
2005-03-21 15:41 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2005-03-21 16:05 Vikrant_Basotra
2005-03-21 17:27 ` Wolfgang Denk
     [not found] <20050321160637.BAAB8134A7@sc8-sf-spam2.sourceforge.net>
2005-03-21 16:26 ` Srivatsan
2005-03-21 17:15 Vikrant_Basotra
2005-03-22  5:17 Vikrant_Basotra
2005-03-22  9:35 ` Wolfgang Denk
2005-03-22 13:30 Vikrant_Basotra
2005-03-22 14:13 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.