2009-04-14 04:02:37     BF527 Starting application at 0x00176000 ...

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

2009-04-14 04:02:37     BF527 Starting application at 0x00176000 ...

浩 何 (CHINA)

Message: 72626   

 

Hi.

 

my board is BF527,after make kernl and fs successfully,i am try to run linux on my board and get the following message:

 

bfin> tftp 1000000 linux

Using Blackfin EMAC device

TFTP from server 192.168.1.191; our IP address is 192.168.1.202

Filename 'linux'.

Load address: 0x1000000

Loading: #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         ######################

done

Bytes transferred = 4105181 (3ea3dd hex)

bfin> bootelf 0x1000000

Loading .text @ 0x00100000 (1082096 bytes)

Loading .rodata @ 0x00209000 (248704 bytes)

Loading __ksymtab @ 0x00245b80 (15600 bytes)

Loading __ksymtab_gpl @ 0x00249870 (3808 bytes)

Loading __ksymtab_gpl_future @ 0x0024a750 (24 bytes)

Loading __ksymtab_strings @ 0x0024a768 (46852 bytes)

Loading __param @ 0x00255e6c (520 bytes)

Loading .data @ 0x00257000 (77824 bytes)

Loading .init.text @ 0x0026a000 (64824 bytes)

Loading .init.data @ 0x00279d38 (5724 bytes)

Loading .init.setup @ 0x0027b394 (576 bytes)

Loading .initcall.init @ 0x0027b5d4 (408 bytes)

Loading .con_initcall.init @ 0x0027b76c (4 bytes)

Loading .init.ramfs @ 0x0027b770 (1964059 bytes)

Loading .text_l1 @ 0xffa00000 (7544 bytes)

sh_addr: FFA00000, p_paddr: 0045AF8B

Loading from: 0135C000 to 0045AF8B, size: 7544

Loading .data_l1 @ 0xff800000 (6432 bytes)

sh_addr: FF800000, p_paddr: 0045CD03

Loading from: 0135E000 to 0045CD03, size: 6432

Clearing .bss @ 0x0045f000 (60848 bytes)

## Starting application at 0x0026a000 ...

 

and there is no message print any more. ~.~

 

my sdram is 32M, any my flash is 4M,

 

and i am ensure when i make menuconfig

 

SDRAM choose size(32) width (9) is right....

 

my uclinux version is  uClinux-dist-2008R1.5-RC3

 

please help me how can i do ,thanks

 

Attach is my config.

 

 

 

 

 

 

 

config

TranslateQuoteReplyEditDelete

 

 

2009-04-14 04:05:21     Re: BF527 Starting application at 0x00176000 ...

Mike Frysinger (UNITED STATES)

Message: 72627   

 

do not boot ELF images.  use the uImage format.

QuoteReplyEditDelete

 

 

2009-04-14 04:18:53     Re: BF527 Starting application at 0x00176000 ...

浩 何 (CHINA)

Message: 72631   

 

thank you for you reply,

 

when i use uImage

 

the result is the same...

 

bfin> tftp 1000000 uImage

Using Blackfin EMAC device

TFTP from server 192.168.1.191; our IP address is 192.168.1.202

Filename 'uImage'.

Load address: 0x1000000

Loading: #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         ###################################

done

Bytes transferred = 2841260 (2b5aac hex)

bfin> bootelf

## No elf image at address 0x01000000

bfin> bootm 0x1000000

## Booting image at 01000000 ...

   Image Name:   Linux-2.6.22.19-ADI-2008R1.5-svn

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    2841196 Bytes =  2.7 MB

   Load Address: 00100000

   Entry Point:  0026a000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 26a000

 

why???

 

 

TranslateQuoteReplyEditDelete

 

 

2009-04-14 04:23:26     Re: BF527 Starting application at 0x00176000 ...

Mike Frysinger (UNITED STATES)

Message: 72632   

 

why dont you read the kernel log like the documentation shows:

  docs.blackfin.uclinux.org/doku.php?id=linux-kernel:debug:post_mortem

QuoteReplyEditDelete

 

 

2009-04-14 05:09:06     Re: BF527 Starting application at 0x00176000 ...

浩 何 (CHINA)

Message: 72634   

 

hi,according the guide ,i can get the following msg:

 

bfin> strings 0x005f1ca4

<5>Linux version 2.6.22.19-ADI-2008R1.5-svn2184 (hehao@svnhost.imagintech.cn) (gcc version 4.1.2 (ADI svn)) #48 Tue Apr 14 15:54:49 CST 2009

<6>Hardware Trace Active and Enabled

<6>Blackfin support (C) 2004-2007 Analog Devices, Inc.

<6>Compiled for ADSP-BF527 Rev 0.0

<3>Warning: Compiled for Rev 0, but running on Rev 1

<3>Warning: Unsupported Chip Revision ADSP-BF527 Rev 0.1 detected

<6>Blackfin Linux support by   blackfin.uclinux.org/

<6>Processor Speed: 500 MHz core clock and 100 MHz System Clock

<6>Board Memory: 32MB

<6>Kernel Managed Memory: 32MB

<6>Memory map:

<6>  text      = 0x00100000-0x002082f0

<6>  rodata    = 0x00209000-0x00256074

<6>  data      = 0x00257000-0x0026a000

<6>    stack   = 0x00258000-0x0025a000

<6>  init      = 0x0026a000-0x005ef000

<6>  bss       = 0x005ef000-0x005fddb0

<6>  available = 0x005fddb0-0x01eff000

<6>  DMA Zone  = 0x01f00000-0x02000000

<7>On node 0 totalpages: 7935

<7>  DMA zone: 61 pages used for memmap

<7>  DMA zone: 0 pages reserved

<7>  DMA zone: 7874 pages, LIFO batch:0

<7>  Normal zone: 0 pages used for memmap

<6>NOMPU: setting up cplb tables for global access

<6>Instruction Cache Enabled

<6>Data Cache Enabled (write-back)

<4>Built 1 zonelists.  Total pages: 7874

<5>Kernel comma

 

 

 

Ack! Something bad happened to the Blackfin!

 

SEQUENCER STATUS:

SEQSTAT: 0000002a  IPEND: 1f800aa  SYSCFG: 0032

  HWERRCAUSE: 0x0

  EXCAUSE   : 0x2a

  physical IVG7 asserted : <0x01f80268> { _evt_default + 0x0 }

RETE: <0x520a01d0> { ___smulsi3_highpart + 0x5010b6b8 }

RETN: <0x1808100a> { ___smulsi3_highpart + 0x160ec4f2 }

RETX: <0x01f8cd4e> { _printf + 0x42 }

RETS: <0x64656c69> { ___smulsi3_highpart + 0x626c2151 }

PC  : <0x01f800aa> { _start + 0xaa }

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

ICPLB_FAULT_ADDR: <0x01f8cd4e> { _printf + 0x42 }

 

PROCESSOR STATE:

R0 : 00000000    R1 : 0000000a    R2 : 01f19f4d    R3 : ffffffff

R4 : 00000000    R5 : 00000000    R6 : 00000000    R7 : 005f1ca4

P0 : 005f1ca4    P1 : 00000128    P2 : ffc00414    P3 : 01f19ecc

P4 : 726f6620    P5 : 01f1c000    FP : 01f19cde    SP : 01f19ac0

LB0: 01f94ae0    LT0: 01f94ad4    LC0: 00000000

LB1: 01f8faea    LT1: 01f8fae8    LC1: 00000000

B0 : 47f9982d    L0 : 00000000    M0 : 3fa9f27d    I0 : 005f1ca4

B1 : 77b5b130    L1 : 00000000    M1 : 395be23f    I1 : 01f963e4

B2 : 97abfa7d    L2 : 00000000    M2 : b7a9db36    I2 : 03b97727

B3 : 06ab426d    L3 : 00000000    M3 : 1e21f675    I3 : 37e9e424

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

USP : ffb00ffc  ASTAT: 00001025

 

Hardware Trace:

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

     Source : <0x01f808ac> { _trap_c + 0x13c }

   1 Target : <0x01f808a0> { _trap_c + 0x130 }

     Source : <0x01f8078c> { _trap_c + 0x1c }

   2 Target : <0x01f80770> { _trap_c + 0x0 }

     Source : <0x01f8020e> { _trap + 0x56 }

   3 Target : <0x01f801b8> { _trap + 0x0 }

     Source : <0x01f8cd4c> { _printf + 0x40 }

   4 Target : <0x01f8cd44> { _printf + 0x38 }

     Source : <0x01f91f70> { _serial_puts + 0x1c }

   5 Target : <0x01f91f64> { _serial_puts + 0x10 }

     Source : <0x01f91f40> { _serial_putc + 0x48 }

   6 Target : <0x01f91f2c> { _serial_putc + 0x34 }

     Source : <0x01f91f38> { _serial_putc + 0x40 }

   7 Target : <0x01f91f2c> { _serial_putc + 0x34 }

     Source : <0x01f91f38> { _serial_putc + 0x40 }

   8 Target : <0x01f91f2c> { _serial_putc + 0x34 }

     Source : <0x01f91f38> { _serial_putc + 0x40 }

   9 Target : <0x01f91f2c> { _serial_putc + 0x34 }

     Source : <0x01f91f38> { _serial_putc + 0x40 }

  10 Target : <0x01f91f2c> { _serial_putc + 0x34 }

     Source : <0x01f91f38> { _serial_putc + 0x40 }

  11 Target : <0x01f91f2c> { _serial_putc + 0x34 }

     Source : <0x01f91f38> { _serial_putc + 0x40 }

  12 Target : <0x01f91f2c> { _serial_putc + 0x34 }

     Source : <0x01f91f38> { _serial_putc + 0x40 }

  13 Target : <0x01f91f2c> { _serial_putc + 0x34 }

     Source : <0x01f91f38> { _serial_putc + 0x40 }

  14 Target : <0x01f91f2c> { _serial_putc + 0x34 }

     Source : <0x01f91f38> { _serial_putc + 0x40 }

  15 Target : <0x01f91f2c> { _serial_putc + 0x34 }

     Source : <0x01f91f38> { _serial_putc + 0x40 }

 

Please reset the board

 

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

 

my u-boot start addr is 0x1f80000,

 

is my u-boot wrong?

 

thanks!

 

 

 

 

TranslateQuoteReplyEditDelete

 

 

2009-04-14 05:50:24     Re: BF527 Starting application at 0x00176000 ...

浩 何 (CHINA)

Message: 72635   

 

thanks i make a easy and funny mistake

 

i have n't enable uart0

 

[]   Enable UART0 

 

thanks .......

Attachments

Outcomes