2010-04-01 10:51:02     uboot on bf537 custom board

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

2010-04-01 10:51:02     uboot on bf537 custom board

Muhammad Ali (PAKISTAN)

Message: 87981   

 

I had uboot latest trunk, ported on my board... things were working to some extent, i-e it occasionally halted with HW-dumps... but since yesterday, i've started to get the followng dump, and u-boot simply fails to boot. 2 days ago, i could make upto NAND detection where it failed.. but now its bak to cpu_init_f ... what might be wrong ?

 

the following msgs :

 

Early: rewriting EBIU_AMGCTL

 

 

Early: Hardware buffer ....

 

are put in to debug only

 

there is an early_puts in board_init_f where it shud jump to after displaying the msg "Early: Board init flash", but it never shows the debug msg , cause it fails to jump ... i dunno why. :S

 

 

 

any help ?

 

 

 

Early:start.S: Init Registers

Early:start.S: Find ourselves

Early:start.S: Lower to 15

Early: pareshan ni hote shabash

Early: rewriting EBIU_AMGCTL

Early: rewriting EBIU_AMGCTL

Early: Hardware buffer dump enable

Early: Board init flash

 

 

Ack! Something bad happened to the Blackfin!

 

SEQUENCER STATUS:

SEQSTAT: 0000c000 IPEND: 0032 SYSCFG: da4d7fff

HWERRCAUSE: 0x3: external memory addressing error

EXCAUSE : 0x RETE: <0x07f80000> { _start + 0x0 }

Š RETX: <0x3078303c> { ___ashrdi3 + 0x287dc174 }

RETS: <0x07f87f20> { _board_init_f + 0x7c }

RETI: <0x07f8786e> { _irq_init + 0x6e }

 

PROCESSOR STATE:

R0 : 0000003f R1 : 00000005 R2 : fffffffb R3 : 00000000

R4 : 07f80000 R5 : 07f80000 R6 : 3078303c R7 : 07f807f8

P0 : 00000020 P1 : 0000000e P2 : 07fbd070 P3 : 07f1ff80

P4 : 07f801f0 P5 : 07f1ffa4 FP : 00004000 SP : 00003ec4

LB0: 07fa6dcc LT0: 07fa6dc0 LC0: 00000000

LB1: 00000001 LT1: 07f86be0 LC1: 00000000

B0 : 65d35bdd L0 : 00000000 M0 : a97f1a58 I0 : 0000000f

B1 : e3827f78 L1 : 00000000 M1 : 231f7abd I1 : 00000000

B2 : 6b5fb3ee L2 : 00000000 M2 : 0b131374 I2 : 07fa7734

B3 : 559eeeeb L3 : 00000000 M3 : b10447b8 I3 : 0000001b

A0.w: 01144d49 A0.x: 00000008 A1.w: a9be55ed A1.x: ffffff84

USP : a1976af8 ASTAT: 00000020

 

Hardware Trace:

0 Target : <0x07f806ec> { _bfin_panic + 0x0 }

Source : <0x07f80bd0> { _evt_default + 0x60 }

1 Target : <0x07f80b70> { _evt_default + 0x0 }

Source : <0x07f8786c> { _irq_init + 0x6c }

2 Target : <0x07f87800> { _irq_init + 0x0 }

Source : <0x07f87f1c> { _board_init_f + 0x78 }

3 Target : <0x07f87f10> { _board_init_f + 0x6c }

Source : <0x07f8822e> { _get_sclk + 0x5a }

Š 4 Target : <0x07f88226> { _get_sclk + 0x52 }

 

 

Ack! Something bad happened to the Blackfin!

 

SEQUENCER STATUS:

SEQSTAT: 0006002a IPEND: 0032 SYSCFG: 0032

HWERRCAUSE: 0x18: raise 5 instruction

EXCAUSE : 0x2a: misaligned inst

RETE: <0x07f80000> { _start + 0x0 }

RETN: <0x00003dec> /* unknown address */

RETX: <0x07f80a88> { _exception_to_level5 + 0x0 }

RETS: <0x00000001> /* unknown address */

RETI: <0x(null)> /* Maybe null pointer? */

DCPLB_FAULT_ADDR: <0x00003de8> /* unknown address */

ICPLB_FAULT_ADDR: <0x07f80a88> { _exception_to_level5 + 0x0 }

 

PROCESSOR STATE:

R0 : 00000022 R1 : 00000022 R2 : 00003e1a R3 : 00003df8

R4 : 07f80000 R5 : 07f80000 R6 : 07f80cda R7 : 00000004

P0 : ffffffff P1 : 07fa7b1d P2 : 07fa7b1c P3 : 07f1ff80

P4 : 00003df8 P5 : ffe06100 FP : 00004000 SP : 00003d18

LB0: 07fa6dcc LT0: 07fa6dc0 LC0: 00000000

LB1: 07f86e88 LT1: 07f86e82 LC1: 00000000

B0 : 65d35bdd L0 : 00000000 M0 : a97f1a58 I0 : 0000000f

B1 : e3827f78 L1 : 00000000 M1 : 231f7abd I1 : 00000000

B2 : 6b5fb3ee L2 : 00000000 M2 : 0b131374 I2 : 07fa7734

B3 : 559eeeeb L3 : 00000000 M3 : b10447b8 I3 : 0000001b

A0.w: 01144d49 A0.x: 00000008 A1.w: a9be55ed A1.x: ffffff84

USP : a1976af8 ASTAT: 00003024

 

Š657400 Target : <0x07fa6db8> { ___udivsi3 + 0x0 }

Source : <0x07f88222> { _get_sclk + 0x4e }

657401 Target : <0x07f8821e> { _get_sclk + 0x4a }

Source : <0x07f88152> { _get_vco + 0x52 }

657402 Target : <0x07f88150> { _get_vco + 0x50 }

Source : <0x07f88124> { _get_vco + 0x24 }

657403 Target : <0x07f88100> { _get_vco + 0x0 }}

Source : <0x07f8821a> { _ge

t_sclk + 0x46 }

657404 Target : <0x07f88218> { _get_sclk + 0x44 }

Source : <0x07f88212> { _get_sclk + 0x3e }

657405 Target : <0x07f881f2> { _get_sclk + 0x1e }

Source : <0x07f881e6> { _get_sclk + 0x12 }

657406 Target : <0x07f881d4> { _get_sclk + 0x0 }

Source : <0x07f87f0c> { _board_init_f + 0x68 }

657407 Target : <0x07f87f0a> { _board_init_f + 0x66 }

Source : <0x07f881d2> { _get_cclk + 0x7e }

657408 Target : <0x07f881b6> { _get_cclk + 0x62 }

Source : <0x07f88152> { _get_vco + 0x52 }

657409 Target : <0x07f88150> { _get_vco + 0x50 }

Source : <0x07f88124> { _get_vco + 0x24 }

657410 Target : <0x07f88100> { _get_vco + 0x0 }

Source : <0x07f881b2> { _get_cclk + 0x5e }

ICPLB exception outside of memory map at 0xd0400000

 

 

Ack! Something bad happened to the Blackfin!

 

SEQUENCER STATUS:

SEQSTAT: 0006002c IPEND: 0032 SYSCFG: 0032

HWERRCAUSE: 0x18: raise 5 instruction

EXCAUSE : 0x2c: icplb miss

RETE: <0x07f80000> { _start + 0x0 }

RETN: <0x00003cbc> /* unknown address */

RETX: <0xd0540000> { ___ashrdi3 + 0xc8599138 }

RETS: <0xd0540000> { ___ashrdi3 + 0xc8599138 }

RETI: <0x07f8786e> { _irq_init + 0x6e }

DCPLB_FAULT_ADDR: <0x00003cb8> /* unknown address */

ICPLB_FAULT_ADDR: <0xd0540000> { ___ashrdi3 + 0xc8599138 }

 

PROCESSOR STATE:

R0 : 00000000 R1 : 0000001f R2 : 00003810 R3 : 000037e0

R4 : 07f80000 R5 : 07f80000 R6 : 000a07f8 R7 : 0cda0000

P0 : 00003c10 P1 : 000000a4 P2 : ffe06000 P3 : 07f1ff80

P4 : 0cda07f8 P5 : 3d1807f8 FP : 00003cec SP : ffb00f18

LB0: 07fa6dcc LT0: 07fa6dc0 LC0: 00000000

LB1: 07f86be2 LT1: 07f86be0 LC1: 00000000

B0 : 65d35bdd L0 : 00000000 M0 : a97f1a58 I0 : 0000000f

B1 : e3827f78 L1 : 00000000 M1 : 231f7abd I1 : 00000000

B2 : 6b5fb3ee L2 : 00000000 M2 : 0b131374 I2 : 07fa7734

B3 : 559eeeeb L3 : 00000000 M3 : b10447b8 I3 : 0000001b

A0.w: 00000349 A0.x: 00000000 A1.w: 00000349 A1.x: 00000000

USP : a1976af8 ASTAT: 00003025

 

Hardware Trace:

 

### ERROR ### Please RESET the board ###

QuoteReplyEditDelete

 

 

2010-04-01 11:06:56     Re: uboot on bf537 custom board

Robin Getz (UNITED STATES)

Message: 87985   

 

Muhammad:

 

Flakey external memory settings can cause what you are seeing.

 

How did you determine the settings?

QuoteReplyEditDelete

 

 

2010-04-01 14:42:57     Re: uboot on bf537 custom board

Muhammad Ali (PAKISTAN)

Message: 87995   

 

using the ms excel worksheet given on docs.blackfin for DRAM configuration, and for NAND i didnt change anything ,usng the same as was in STAMP bf537 board.  though my NAND is larger in size, but u-boot didnt make it to NAND init yet.

QuoteReplyEditDelete

 

 

2010-04-01 15:02:06     Re: uboot on bf537 custom board

Mike Frysinger (UNITED STATES)

Message: 87996   

 

"Board init flash" is parallel flash.  if you dont have any on your board, dont enable support for it in u-boot.

QuoteReplyEditDelete

Attachments

    Outcomes