2009-04-20 04:41:11     bf527 load u-boot from JTAG

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

2009-04-20 04:41:11     bf527 load u-boot from JTAG

gh siregha (RUSSIAN FEDERATION)

Message: 72850   

 

I'm define

 

#define CONFIG_BFIN_BOOT_MODE       BFIN_BOOT_BYPASS

 

and compile u-boot and load as https://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:debugging

 

Result:

 

(gdb) tar rem:2000

Remote debugging using :2000

0xef000000 in ?? ()

(gdb) load  init.elf

Loading section .text, size 0x134 lma 0xffa00000

Start address 0xffa00000, load size 308

Transfer rate: 12137 bits/sec, 308 bytes/write.

(gdb) c

Continuing.

 

Program received signal SIGTRAP, Trace/breakpoint trap.

0xffa0000c in bfin_reset () at reset.c:39

39            bfin_write_SWRST(0x7);

(gdb) load u-boot

Loading section .text, size 0x1c604 lma 0x3f60000

Loading section .rodata, size 0x95c8 lma 0x3f7c604

Loading section .data, size 0xddbc lma 0x3f85bcc

Loading section .u_boot_cmd, size 0x818 lma 0x3f93988

Loading section .text_l1, size 0x28 lma 0x3f941a0

Start address 0x3f60000, load size 213448

Transfer rate: 87861 bits/sec, 12555 bytes/write.

(gdb) call memset(&_bss_start, 0, &_bss_end - &_bss_start)

 

Program received signal SIGTRAP, Trace/breakpoint trap.

0x03b625a0 in ?? ()

The program being debugged was signaled while in a function called from GDB.

GDB remains in the frame where the signal was received.

To change this behavior use "set unwindonsignal on"

Evaluation of the expression containing the function (memset) will be abandoned.

 

 

gdbproxy says:

 

info:      bfin: [0] a double fault has occured EMUPC [0x03B625A0]

error:     bfin: [0] CORE FAULT core cannot read register [14]

error:     bfin: [0] CORE FAULT core cannot read register [0]

error:     bfin: [0] CORE FAULT core cannot read register [1]

 

...

QuoteReplyEditDelete

 

 

2009-04-20 08:03:05     Re: bf527 load u-boot from JTAG

Robin Getz (UNITED STATES)

Message: 72867   

 

SL:

 

I don't think BFIN_BOOT_BYPASS is valid for every Blackfin part - which part are you using?

 

-Robin

QuoteReplyEditDelete

 

 

2009-04-20 08:39:53     Re: bf527 load u-boot from JTAG

gh siregha (RUSSIAN FEDERATION)

Message: 72872   

 

What is a 'part'? I'm using u-boot-2008.10 and custom board. How me config BFIN_BOOT_MODE for u-boot debuging?

QuoteReplyEditDelete

 

 

2009-04-20 10:04:13     Re: bf527 load u-boot from JTAG

Mike Frysinger (UNITED STATES)

Message: 72883   

 

fix your boot mode like Robin said

 

otherwise, what ICE are you using ?

QuoteReplyEditDelete

 

 

2009-04-20 10:40:55     Re: bf527 load u-boot from JTAG

Robin Getz (UNITED STATES)

Message: 72890   

 

SL:

 

What specific Blackfin (the "part") is on your custom board?

 

 

QuoteReplyEditDelete

 

 

2009-04-20 11:02:53     Re: bf527 load u-boot from JTAG

gh siregha (RUSSIAN FEDERATION)

Message: 72892   

 

Xilinx DLC5 JTAG Parallel Cable III clone

QuoteReplyEditDelete

 

 

2009-04-20 11:17:13     Re: bf527 load u-boot from JTAG

gh siregha (RUSSIAN FEDERATION)

Message: 72894   

 

ADSP-BF527 (see thread header, please) rev 0.1, сustom board is like the ezkit. Using bf527-ezkit_config make option for u-boot.

 

...or, again, I don't understand.

QuoteReplyEditDelete

Attachments

    Outcomes