2011-09-30 03:00:19     disable KGDB

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

2011-09-30 03:00:19     disable KGDB

Michal Koziel (NORWAY)

Message: 103632   

 

How to disable KGDB support in u-boot?

QuoteReplyEditDelete

 

 

2011-09-30 03:11:01     Re: disable KGDB

Aaron Wu (CHINA)

Message: 103633   

 

Try to disable it in this file: include/configs/bfin_adi_common.h

QuoteReplyEditDelete

 

 

2011-09-30 03:30:35     Re: disable KGDB

Michal Koziel (NORWAY)

Message: 103650   

 

Try to disable it in this file: include/configs/bfin_adi_common.h

 

---

 

Can this be done in the board specific config file?

QuoteReplyEditDelete

 

 

2011-09-30 04:42:18     Re: disable KGDB

Michal Koziel (NORWAY)

Message: 103652   

 

SOLVED! Disabling in include/configs/bfin_adi_common.h worked

QuoteReplyEditDelete

 

 

2011-10-01 01:15:07     Re: disable KGDB

Mike Frysinger (UNITED STATES)

Message: 103663   

 

you should be undef-ing it in your board-specific config header

QuoteReplyEditDelete

 

 

2011-10-03 06:37:48     Re: disable KGDB

Michal Koziel (NORWAY)

Message: 103693   

 

you should be undef-ing it in your board-specific config header

 

---

 

 

 

If you mean include/configs/board-specific.h  then it does not work. Looks like CONFIG_CMD_KGDB is not defined when board specific header file is compiled.

QuoteReplyEditDelete

 

 

2011-10-03 20:37:03     Re: disable KGDB

Mike Frysinger (UNITED STATES)

Message: 103701   

 

then you put the #undef in the wrong location.  it has to come after the point where it was defined.

QuoteReplyEditDelete

 

 

2011-10-04 03:09:24     Re: disable KGDB

Michal Koziel (NORWAY)

Message: 103704   

 

then you put the #undef in the wrong location.  it has to come after the point where it was defined.

 

---

 

Stupid me :-)

 

 

include/configs/bfin_adi_common.h  is included at the very last line in the board config file. Have to undef it after that.

Attachments

    Outcomes