Analog.com Analog Dialogue Wiki 简体中文
EngineerZone
EngineerZone
  • Log In
  • Site
  • Search
  • User
  • Support

    Popular Forums

    • RF and Microwave
    • Power Management
    • Video
    • FPGA Reference Designs
    • Precision ADCs
    • Linux Software Drivers
    • SigmaDSP Processors & SigmaStudio Dev. Tool

    Product Forums

    • A2B
    • Amplifiers
    • Analog Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing
    • Optical Sensing
    • Precision Technology Signal Chains
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools and Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Recent Discussions

    • Pluto + GNURADIO frequency change
    • Pluto SDR
    • pluto sdr pyadi-iio continous iq recording
    • attribute error
    • gps-sdr-sim is not working with my ADALM-PLUTO

    Places

    • ADI Education Home
    • ADI Education China
    • ADI Education India
    • ADI Education Philippines
    • StudentZone (Analog Dialogue)
    • Virtual Classroom

    Latest Webinars

    • Webinar Biasing Circuits for GaN and GaAs RF Amplifiers
    • Webinar Improving Switch-Mode Power Supplies Using Noise Cancelling Technology
    • Webinar Accelerate Your Design With a 2 to 24 GHz Wideband Transceiver Reference Design
    • How to Design an Optimized Motion Control System for Intelligent Edge Based Surveillance Camera
    • How to Enhance High Precision Current Sensing Systems
    View All
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes: Buffers and Fan Out
    View All

    Places

    • Community Help
    • Logic Lounge

    Resources

    • EZ Code of Conduct
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

     

    How To Design Fieldbus Agnostic Smart Factory Sensors

     

    You Passed EMC Testing… But Wait, Is There More?

    Latest Blogs

    • The 5 Things You Need to Know about RF Matching Networks
    • Does Reliability Prediction Uncertainty Justify Mandating Two Channel Safety?
    • An Inside Look at 2022
    • Meet the Person Behind the Quizzes
    • Updates Required: Why Newer is Better
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • Partners

    Electronic Design Services - PartnerZone

    • Boston Engineering
    • Calian, Advanced Technologies
    • Colorado Engineering Inc. (DBA CAES AT&E)
    • Clockworks Signal Processing
    • Epiq Solutions
    • Fidus
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.
    • VadaTech
    • Vanteon
    • X-Microwave
    View All
Linux Distribution for Blackfin
  • Processors and DSP
  • Software and Development Tools
  • Linux Distribution for Blackfin
  • Cancel
Linux Distribution for Blackfin
Documents [#6804] 561 u-boot fails to run save after update now
  • Forums
  • Docs/FAQs
  • Members
  • Tags
  • More
  • Cancel
  • +Documents
  • +2013R1 Linux release for Blackfin: FAQ
  • +2013R1: FAQ
  • +AD5700: FAQ
  • +ADI test script: FAQ
  • +bf537 SPI Bus: FAQ
  • +BF609: FAQ
  • +BF70x processor: FAQ
  • +bfin-elf-libstdc++-4.3: FAQ
  • +bfin-elf: FAQ
  • +bfin-uclinux-libstdc++-4.3: FAQ
  • +Blackfin Linux Projects: FAQ
  • +Blackinfin Linux: FAQ
  • +build toolchain: FAQ
  • +CPLB fault or SIGABRT: FAQ
  • +DAS U-BOOT FOR BLACKFIN: FAQ
  • +Default ADI release: FAQ
  • +Flash the uImage into Flash: FAQ
  • +gas test: FAQ
  • +gcc-4.3 ICEs: FAQ
  • +gcc.c-torture/execute/memset-2.c: FAQ
  • +gcc.dg/trampoline-1.c test: FAQ
  • +gcc/g++ test: FAQ
  • +gcc/g++ testcase: FAQ
  • +GDB commands: FAQ
  • +gdb.base/sigall.exp: FAQ
  • +gdb.cp/userdef.exp: FAQ
  • +gdb.gdbtk/c_variable.exp: FAQ
  • +GDB: FAQ
  • +gdb: symbol: FAQ
  • +gdbproxy: FAQ
  • +GNU TOOLCHAIN: FAQ
  • +How to load Linux: FAQ
  • +ldr-utils: FAQ
  • +libstdc++-4.3 21_strings/basic_string/capacity/char/18654.cc test: FAQ
  • +LOOP: FAQ
  • +mcpu: FAQ
  • -Parent Document for U-Boot Bug Archive: FAQ
    • [#5797] usb fails to work in latest u-boot 2009.11
    • [#6262] Default SPI flash device NO. is wrong in u-boot trunk for bf518-ezbrd
    • [#6285] MMC/SD can't work on bf537-stamp when either icache or dcache is off
    • [#6286] characters is not shown correctly in u-boot jtag console test
    • [#6302] reduse U-boot time
    • [#6303] reduse U-boot time
    • [#6804] 561 u-boot fails to run save after update now
    • [#6693] u-boot tools build fail
    • [#6809] build uboot tools fails when running toolchain buildscript now
    • [#7733] fatls show two lines of the same file
  • +Parent Document for U-Boot Bug Forum Archive: FAQ
  • +Parent for all content moved from GNU Archive: FAQ
  • +prepare_target_solibs: FAQ
  • +SDP-B: FAQ
  • +signal 11: FAQ
  • +sim binutils: FAQ
  • +SPI eeprom: FAQ
  • +svn head u-boot build: FAQ
  • +test libmudflap: FAQ
  • +toolchain-regtest -r: FAQ
  • +toolchain-regtest: FAQ
  • +trunk head gdbproxy: FAQ
  • +trunk toolchain: FAQ
  • +u-boot with UART: FAQ
  • +u-boot: FAQ
  • +uClinux kernel: FAQ
  • +uClinux: FAQ
  • +Upgrade from 3801 to 3852: FAQ
  • +VDSP: FAQ

[#6804] 561 u-boot fails to run save after update now

[#6804] 561 u-boot fails to run save after update now

Submitted By: Mingquan Pan

Open Date

2011-09-29 22:58:17     Close Date

2013-05-16 01:13:59

Priority:

Medium     Assignee:

Bob Liu

Category:

N/A     Fixed In Release:

N/A

Found In Release:

2011R1     Status:

Closed

Board:

N/A     Processor:

BF561

Silicon Revision:

    Resolution:

Assigned (Not Start)

Is the bug repeatable?:

N/A     

Summary: 561 u-boot fails to run save after update now

Details:

561 u-boot fails to run save after update now.

U-Boot 2011.06-svn2714 (ADI-2011R1-pre) (Sep 22 2011 - 09:59:27)

CPU:   ADSP bf561-0.3 (Detected Rev: 0.5) (bypass boot)

Board: ADI BF561 EZ-Kit Lite board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 600 MHz, Core: 600 MHz, System: 100 MHz

RAM:   64 MiB

Flash: 8 MiB

*** Warning - bad CRC, using default environment

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   SMC91111-0

Hit any key to stop autoboot:  0

SMC91111: MAC 00:e0:22:fe:b1:3b

Using SMC91111-0 device

TFTP from server 192.168.0.2; our IP address is 192.168.0.15

Filename 'uImage'.

Load address: 0x1000000

Loading: T T

Abort

bfin> set ipaddr 10.100.4.50

bfin> set serverip 10.100.4.174

bfin> ping 10.100.4.174

SMC91111: MAC 00:e0:22:fe:b1:3b

Using SMC91111-0 device

host 10.100.4.174 is alive

bfin> run update

SMC91111: MAC 00:e0:22:fe:b1:3b

Using SMC91111-0 device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'u-boot.bin'.

Load address: 0x1000000

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

done

Bytes transferred = 155740 (2605c hex)

Ack! Something bad happened to the Blackfin!

SEQUENCER STATUS:

SEQSTAT: 00000021  IPEND: 0032  SYSCFG: b31fd1b

  HWERRCAUSE: 0x0: undef

  EXCAUSE   : 0x21: undef inst

RETE: <0xbb85140d> { ___umulsi3_highpart + 0xb7877399 }

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

RETX: <0x03fc441c> { _do_protect + 0x0 }

RETS: <0x03fcadb8> { _run_command + 0x27c }

RETI: <0x03fc00e2> { _start + 0xe2 }

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

ICPLB_FAULT_ADDR: <0x03fc441c> { _do_protect + 0x0 }

PROCESSOR STATE:

R0 : 03fe5b98    R1 : 00000000    R2 : 00000004    R3 : b6db6db7

R4 : 00000000    R5 : 00000000    R6 : 000003e3    R7 : 00000004

P0 : 03f9f1c0    P1 : 03f9f1b0    P2 : 03fc441c    P3 : 03f9ffb0

P4 : 03f9e9cd    P5 : 03fe5b98    FP : 03f9ede8    SP : ffb00f18

LB0: 03fd9ffc    LT0: 03fd9ffc    LC0: 00000000

LB1: 03fd15c4    LT1: 03fd15be    LC1: 00000000

B0 : 03ff349c    L0 : 00000000    M0 : b7e42bdc    I0 : 03fdaa7c

B1 : f6d887af    L1 : 00000000    M1 : e0cfa498    I1 : 00000000

B2 : fede6399    L2 : 00000000    M2 : dee1e5ad    I2 : 0000000f

B3 : f6fcc06a    L3 : 00000000    M3 : b626a8e0    I3 : 0000001b

A0.w: 000000c7   A0.x: 00000000   A1.w: 000000c7   A1.x: 00000000

USP : d4117988  ASTAT: 02001045

Hardware Trace:

   0 Target : <0x03fc162c> { _trap_c + 0x0 }

     Source : <0x03fc0330> { _trap + 0x6c }

   1 Target : <0x03fc02c4> { _trap + 0x0 }

     Source : <0x03fcadb6> { _run_command + 0x27a }

   2 Target : <0x03fcada6> { _run_command + 0x26a }

     Source : <0x03fcad84> { _run_command + 0x248 }

   3 Target : <0x03fcad78> { _run_command + 0x23c }

     Source : <0x03fcad6c> { _run_command + 0x230 }

   4 Target : <0x03fcad66> { _run_command + 0x22a }                                                                

     Source : <0x03fcad52> { _run_command + 0x216 }                                                                

   5 Target : <0x03fcad4e> { _run_command + 0x212 }                                                                

     Source : <0x03fc82c2> { _find_cmd_tbl + 0x6a }                                                                

   6 Target : <0x03fc82ba> { _find_cmd_tbl + 0x62 }

     Source : <0x03fc82a4> { _find_cmd_tbl + 0x4c }

   7 Target : <0x03fc82a2> { _find_cmd_tbl + 0x4a }

     Source : <0x03fd1ca0> { _strlen + 0x18 }

   8 Target : <0x03fd1c94> { _strlen + 0xc }

     Source : <0x03fd1c9a> { _strlen + 0x12 }

   9 Target : <0x03fd1c94> { _strlen + 0xc }

     Source : <0x03fd1c9a> { _strlen + 0x12 }

  10 Target : <0x03fd1c94> { _strlen + 0xc }

     Source : <0x03fd1c9a> { _strlen + 0x12 }

  11 Target : <0x03fd1c94> { _strlen + 0xc }

     Source : <0x03fd1c9a> { _strlen + 0x12 }

  12 Target : <0x03fd1c94> { _strlen + 0xc }

     Source : <0x03fd1c9a> { _strlen + 0x12 }

  13 Target : <0x03fd1c94> { _strlen + 0xc }

     Source : <0x03fd1c9a> { _strlen + 0x12 }

  14 Target : <0x03fd1c88> { _strlen + 0x0 }

     Source : <0x03fc829e> { _find_cmd_tbl + 0x46 }

  15 Target : <0x03fc8298> { _find_cmd_tbl + 0x40 }

     Source : <0x03fc28d6> { _strncmp + 0x26 }

kgdb: handle_exception; trap [0x4]

$T0435:1c44fc03;0e:c4e4f903;#f9$T0435:1c44fc03;0e:c4e4f903;#f9

U-Boot 2011.06-svn2714 (ADI-2011R1-pre) (Sep 22 2011 - 09:59:27)

CPU:   ADSP bf561-0.3 (Detected Rev: 0.5) (bypass boot)

Board: ADI BF561 EZ-Kit Lite board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 600 MHz, Core: 600 MHz, System: 100 MHz

RAM:   64 MiB

Flash: 8 MiB

*** Warning - bad CRC, using default environment

while uboot revision  2710 is still good.

U-Boot 2011.06-svn2710 (ADI-2011R1-pre) (Sep 03 2011 - 15:55:34)

CPU:   ADSP bf561-0.3 (Detected Rev: 0.5) (bypass boot)

Board: ADI BF561 EZ-Kit Lite board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 600 MHz, Core: 600 MHz, System: 100 MHz

RAM:   64 MiB

Flash: 8 MiB

*** Warning - bad CRC, using default environment

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   SMC91111-0

Hit any key to stop autoboot:  0

bfin> print

addip=set bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

autoload=no

baudrate=57600

bootargs=root=/dev/mtdblock0 rw clkin_hz=30000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600

bootcmd=run ramboot

bootdelay=5

ethact=SMC91111-0

flashboot=bootm 0x20100000

gatewayip=192.168.0.1

hostname=bf561-ezkit

ipaddr=192.168.0.15

loadaddr=0x1000000

loads_echo=1

netmask=255.255.255.0

nfsargs=set bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) $(nfsfile);run nfsargs;run addip;bootm

nfsfile=vmImage

ramargs=set bootargs root=/dev/mtdblock0 rw clkin_hz=30000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600

ramboot=tftp $(loadaddr) $(ramfile);run ramargs;run addip;bootm

ramfile=uImage

rootpath=/romfs

serverip=192.168.0.2

stderr=serial

stdin=serial

stdout=serial

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 +$(filesize);erase 0x20000000 +$(filesize);cp.b $(loadaddr) 0x20000000 $(filesize)

Environment size: 1078/8188 bytes

bfin> set ipaddr 10.100.4.50

bfin> set serverip 10.100.4.174

bfin> save

Saving Environment to Flash...

Un-Protected 1 sectors

Erasing Flash...

. done

Erased 1 sectors

Writing to Flash... 9....8....7....6....5....4....3....2....1....done

Protected 1 sectors

bfin> print

Follow-ups

--- Mingquan Pan                                             2011-09-29 23:15:40

It looks this issue doesn't happen always and may due to previous checkins.

--- Mingquan Pan                                             2011-10-14 02:22:27

It turns out that uboot on bf561 fails to remember things after reset. it would

have Warning - bad CRC, using default environment.

U-Boot 2011.06-svn2704 (ADI-2011R1-pre) (Jul 11 2011 - 18:45:13)

CPU:   ADSP bf561-0.5 (Detected Rev: 0.5) (bypass boot)

Board: ADI BF561 EZ-Kit Lite board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 600 MHz, Core: 600 MHz, System: 100 MHz

RAM:   64 MiB

Flash: 8 MiB

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   SMC91111-0

Hit any key to stop autoboot:  0

bfin> set bootargs root=/dev/mtdblock2 rw rootfstype=jffs2

earlyprintk=serial,uart0,57600 console=ttyBF0,57600

bfin> save

Saving Environment to Flash...

Un-Protected 1 sectors

Erasing Flash...

. done

Erased 1 sectors

Writing to Flash... 9....8....7....6....5....4....3....2....1....done

Protected 1 sectors

bfin>

************** STEP 3: Flash images.

bfin> tftp 0x1000000 vmImage

SMC91111: MAC 00:e0:22:fe:b1:3c

Using SMC91111-0 device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'vmImage'.

Load address: 0x1000000

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

     ####

done

Image size is f5370 1004400 (f5370 hex)

bfin> protect off 20040000 201fffff

Un-Protected 28 sectors

bfin> erase 20040000 201fffff

............................ done

Erased 2 erase success

8 sectors

bfin> cp.b 0x1000000 20040000  0xf5370

Copy to Flash... 9....8....7....6....5....4....3....2....1....0done

b cp success

Case 1 ...PASS

Case 1 ...PASS

fin> tftp 0x1000000 rootfs.jffs2

SMC91111: MAC 00:e0:22:fe:b1:3c

Using SMC91111-0 device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'rootfs.jffs2'.

Load address: 0x1000000

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

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

done

Bytes transferred = 1376256 (150000 hex)Image size is 150000

bfin> protect off 20200000 207fffff

Un-Protected 103 sectors

bfin> erase 20200000 207fffff

.......................................................................................................

done

Erased 103 secto erase success

rs

bfin> cp.b 0x1000000 20200000 0x150000

Copy to Flash... 9....8....7....6....5....4....3....2....1....done

bf cp success

Case 1 ...PASS

Case 1 ...PASS

in> resetþ

U-Boot 2011.06-svn2704 (ADI-2011R1-pre) (Jul 11 2011 - 18:45:13)

CPU:   ADSP bf561-0.5 (Detected Rev: 0.5) (bypass boot)

Board: ADI BF561 EZ-Kit Lite board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 600 MHz, Core: 600 MHz, System: 100 MHz

RAM:   64 MiB

Flash: 8 MiB

*** Warning - bad CRC, using default environment

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   SMC91111-0

Hit any key to stop autoboot:  0

bfin> successful reset attempt

--- Mike Frysinger                                           2011-10-14 17:45:08

your test code is out of date.  that last step is erasing the env sector:

    erase 20200000 207fffff

please see:

http://thread.gmane.org/gmane.linux.hardware.blackfin.kernel.devel/5462

--- Mingquan Pan                                             2011-10-17 02:51:31

yes, after adjust the operating address, the env saving issue can be fixed now.

-Boot 2011.06-svn2704 (ADI-2011R1-pre) (Jul 11 2011 - 18:45:13)

CPU:   ADSP bf561-0.5 (Detected Rev: 0.5) (bypass boot)

Board: ADI BF561 EZ-Kit Lite board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 600 MHz, Core: 600 MHz, System: 100 MHz

RAM:   64 MiB

Flash: 8 MiB

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   SMC91111-0

Hit any key to stop autoboot:  0

bfin> set bootargs root=/dev/mtdblock2 rw rootfstype=jffs2

earlyprintk=serial,uart0,57600 console=ttyBF0,57600

bfin> save

Saving Environment to Flash...

Un-Protected 1 sectors

Erasing Flash...

. done

Erased 1 sectors

Writing to Flash... 9....8....7....6....5....4....3....2....1....done

Protected 1 sectors

bfin>

************** STEP 3: Flash images.

bfin> tftp 0x1000000 vmImage

SMC91111: MAC 00:e0:22:fe:b1:3c

Using SMC91111-0 device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'vmImage'.

Load address: 0x1000000

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

     ####

done

Image size is f5370 1004400 (f5370 hex)

bfin> protect off 20040000 201fffff

Un-Protected 28 sectors

bfin> erase 20040000 201fffff

............................ done

Erased 2 erase success

8 sectors

bfin> cp.b 0x1000000 20040000  0xf5370

Copy to Flash... 9....8....7....6....5....4....3....2....1....0done

b cp success

Case 1 ...PASS

Case 1 ...PASS

fin> tftp 0x1000000 rootfs.jffs2

SMC91111: MAC 00:e0:22:fe:b1:3c

Using SMC91111-0 device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'rootfs.jffs2'.

Load address: 0x1000000

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

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

done

Bytes transferred = 1376256 (150000 hex)

bfin> Image size is 150000

protect off 20200000 207effff

Un-Protected 95 sectors

bfin> erase 20200000 207effff

...............................................................................................

done

Erased 9 erase success

5 sectors

bfin> cp.b 0x1000000 20200000 0x150000

Copy to Flash... 9....8....7....6....5....4....3....2....1....done

bf cp success

Case 1 ...PASS

Case 1 ...PASS

in> resetþ

U-Boot 2011.06-svn2704 (ADI-2011R1-pre) (Jul 11 2011 - 18:45:13)

CPU:   ADSP bf561-0.5 (Detected Rev: 0.5) (bypass boot)

Board: ADI BF561 EZ-Kit Lite board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 600 MHz, Core: 600 MHz, System: 100 MHz

RAM:   64 MiB

Flash: 8 MiB

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   SMC91111-0

Hit any key to stop autoboot:  0

bfin> successful reset attempt

As to the original issue, we can leave it open till it doesn't show up again.

--- Sonic Zhang                                              2011-10-17 04:38:09

The crash when run update on bf561-ezkit can't be replicated each time.

Grace prefer to keep this open.

--- Mingquan Pan                                             2011-10-19 02:15:30

I just see another dump info during uboot reset on bf527-ezkit with low sclk and

cclk.

U-Boot 2011.09-svn2725 (ADI-2011R1-pre) (Oct 18 2011 - 21:01:35)^M

^M

CPU:   ADSP bf527-0.0 (Detected Rev: 0.2) (parallel flash boot)^M

Board: ADI BF527 EZ-Kit board^M

       Support: http://blackfin.uclinux.org/^M

Clock: VCO: 400 MHz, Core: 200 MHz, System: 100 MHz^M

RAM:   64 MiB^M

Flash: ^M

^M

^M

Ack! Something bad happened to the Blackfin!^M

^M

SEQUENCER STATUS:^M

SEQSTAT: 00002024  IPEND: 0032  SYSCFG: af2cf4e5^M

  HWERRCAUSE: 0x0: undef^M

  EXCAUSE   : 0x24: misaligned data^M

RETE: <0x(null)> /* Maybe null pointer? */^M

RETN: <0x03e9fdd4> /* unknown address */^M

RETX: <0x03f51cee> { _flash_write_cmd + 0x12 }^M

RETS: <0x03f51d62> { _flash_unlock_seq + 0x1a }^M

RETI: <0x03f400e2> { _start + 0xe2 }^M

DCPLB_FAULT_ADDR: <0x000000b4> /* unknown address */^M

ICPLB_FAULT_ADDR: <0x03f51cee> { _flash_write_cmd + 0x12 }^M

^M

PROCESSOR STATE:^M

R0 : 00020fdf    R1 : 00000000    R2 : 00000555    R3 : 00000003^M

R4 : 00000052    R5 : 00000051    R6 : 00000002    R7 : 00000000^M

P0 : 00000086    P1 : 00000001    P2 : 000000aa    P3 : 03e9ffb0^M

P4 : 03fbbc04    P5 : 000000aa    FP : 03f64414    SP : ffb00f18^M

LB0: 03f41a0c    LT0: 03f41a0c    LC0: 00000000^M

LB1: 03f5202c    LT1: 03f52012    LC1: 00000000^M

B0 : ffb00400    L0 : 00000000    M0 : 00000005    I0 : 04000000^M

B1 : 00000000    L1 : 00000000    M1 : 03edeba8    I1 : 00000000^M

B2 : 00000000    L2 : 00000000    M2 : 00008000    I2 : 0000000f^M

B3 : 00000000    L3 : 00000000    M3 : 03fb673f    I3 : 0000001b^M

A0.w: 00000020   A0.x: 00000000   A1.w: 00000020   A1.x: 00000000^M

USP : ffb00ffc  ASTAT: 00001025^M 

^M

Hardware Trace:^M

   0 Target : <0x03f416c8> { _trap_c + 0x0 }^M

     Source : <0x03f402a8> { _trap + 0x6c }^M

   1 Target : <0x03f4023c> { _trap + 0x0 }^M

     Source : <0x03f51cec> { _flash_write_cmd + 0x10 }^M

   2 Target : <0x03f51cdc> { _flash_write_cmd + 0x0 }^M

     Source : <0x03f51d5e> { _flash_unlock_seq + 0x16 }^M

   3 Target : <0x03f51d48> { _flash_unlock_seq + 0x0 }^M

     Source : <0x03f5221c> { _flash_get_size + 0x2d4 }^M

   4 Target : <0x03f52218> { _flash_get_size + 0x2d0 }^M

     Source : <0x03f51d44> { _flash_write_cmd + 0x68 }^M

   5 Target : <0x03f51d3c> { _flash_write_cmd + 0x60 }^M

     Source : <0x03f51d2c> { _flash_write_cmd + 0x50 }^M

   6 Target : <0x03f51d28> { _flash_write_cmd + 0x4c }^M

     Source : <0x03f51d06> { _flash_write_cmd + 0x2a }^M

   7 Target : <0x03f51d00> { _flash_write_cmd + 0x24 }^M

     Source : <0x03f51cda> { _flash_make_cmd + 0x4a }^M

   8 Target : <0x03f51cbc> { _flash_make_cmd + 0x2c }^M

     Source : <0x03f637f4> { ___modsi3 + 0x14 }^M

   9 Target : <0x03f637ea> { ___modsi3 + 0xa }^M

     Source : <0x03f6372a> { ___divsi3 + 0xa6 }^M

  10 Target : <0x03f63720> { ___divsi3 + 0x9c }^M

     Source : <0x03f63698> { ___divsi3 + 0x14 }^M

  11 Target : <0x03f63684> { ___divsi3 + 0x0 }^M

     Source : <0x03f637e6> { ___modsi3 + 0x6 }^M

  12 Target : <0x03f637e0> { ___modsi3 + 0x0 }^M

     Source : <0x03f51cb8> { _flash_make_cmd + 0x28 }^M

  13 Target : <0x03f51caa> { _flash_make_cmd + 0x1a }^M

     Source : <0x03f51cd0> { _flash_make_cmd + 0x40 }^M

  14 Target : <0x03f51cbc> { _flash_make_cmd + 0x2c }^M

     Source : <0x03f637f4> { ___modsi3 + 0x14 }^M

  15 Target : <0x03f637ea> { ___modsi3 + 0xa }^M

     Source : <0x03f6372a> { ___divsi3 + 0xa6 }^M

^M

^M

^M

^M

Ack! Something bad happened to the Blackfin!^M

^M

--- Mingquan Pan                                             2013-05-16 02:21:16

It doesn't show now.Close this.

U-Boot 2013.04 (ADI-2013R1-pre)-00353-g5a20eb3-dirty (May 14 2013 - 10:09:42),

Build: jenkins-label=UBOOT_BF561-EZKIT-23

CPU:   ADSP bf561-0.3 (Detected Rev: 0.5) (bypass boot)

Board: ADI BF561 EZ-Kit Lite board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 390 MHz, Core: 195 MHz, System: 97.500 MHz

RAM:   64 MiB

Flash: 8 MiB

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   SMC91111-0

Hit any key to stop autoboot:  0

bfin>

bfin> run update

SMC91111: MAC 00:11:22:33:44:55

Using SMC91111-0 device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'u-boot.bin'.

Load address: 0x1000000

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

         3 MiB/s

done

Bytes transferred = 167604 (28eb4 hex)

Un-Protected 3 sectors

... done

Erased 3 sectors

Copy to Flash... 9....8....7....6....5....4....3....2....1....done

bfin> save

Saving Environment to Flash...

Un-Protected 1 sectors

Erasing Flash...

. done

Erased 1 sectors

Writing to Flash... 9....8....7....6....5....4....3....2....1....done

Protected 1 sectors

bfin> reset�

U-Boot 2013.04 (ADI-2013R1-pre)-00353-g5a20eb3-dirty (May 13 2013 - 20:17:06),

Build: jenkins-label=UBOOT_BF561-EZKIT-23

CPU:   ADSP bf561-0.3 (Detected Rev: 0.5) (bypass boot)

Board: ADI BF561 EZ-Kit Lite board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 600 MHz, Core: 600 MHz, System: 100 MHz

RAM:   64 MiB

Flash: 8 MiB

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   SMC91111-0

Hit any key to stop autoboot:  0

bfin> print

addip=set bootargs $(bootargs)

ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

autoload=no

baudrate=57600

bootargs=root=/dev/mtdblock0 rw clkin_hz=30000000

earlyprintk=serial,uart0,57600 console=ttyBF0,57600

bootcmd=bootm 0x20100000

bootdelay=9

date_tested=Tue May 14 13:34:44 GMT 2013

ethact=SMC91111-0

ethaddr=00:11:22:33:44:55

fileaddr=1000000

filesize=28eb4

flashboot=bootm 0x20100000

gatewayip=10.100.4.174

hostname=bf561-ezkit

ipaddr=10.100.4.50

loadaddr=0x1000000

loads_echo=1

netmask=255.255.255.0

nfsargs=set bootargs root=/dev/nfs rw

nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) $(nfsfile);run nfsargs;run addip;bootm

nfsfile=vmImage

ramargs=set bootargs root=/dev/mtdblock0 rw clkin_hz=30000000

earlyprintk=serial,uart0,57600 console=ttyBF0,57600

ramboot=tftp $(loadaddr) $(ramfile);run ramargs;run addip;bootm

ramfile=uImage

rootpath=/romfs

serveraddr=e0:05:c5:f2:02:c6

serverip=10.100.4.174

stderr=serial

stdin=serial

stdout=serial

tftp_boot=tftp 0x1000000 linux.dxe;boote 0x1000000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 +$(filesize);erase

0x20000000 +$(filesize);cp.b $(loadaddr) 0x20000000 $(filesize)

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

File Name     File Type     File Size     Posted By

No Files Were Found

  • Share
  • History
  • More
  • Cancel
Related
Recommended
 
Social
Quick Links
  • About ADI
  • Partners
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Analog Garage
Languages
  • English
  • 简体中文
  • 日本語
  • Руccкий
Newsletters

Interested in the latest news and articles about ADI products, design tools, training and events? Choose from one of our 12 newsletters that match your product area of interest, delivered monthly or quarterly to your inbox.

Sign Up
Switch to mobile view
Analog Logo
© 1995 - 2023 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号-1
  • ©
  • 1995 - 2023 Analog Devices, Inc. All Rights Reserved
  • 沪ICP备09046653号-1
  • Sitemap
  • Privacy & Security
  • Privacy Settings
  • Terms of use
EngineerZone Uses cookies to ensure you get the best experience in our community. For more information on cookies, please read our Privacy & Security Statement.