watchdog and tcm-bf537
Hello!
I am trying to activate watchdog timer on my tcm-bf537 platform, but when I do this, I have a copmpiling error. And I really don't know what to do.
u-Boot: u-boot-2011.09
-----------
My steps are:
1. Add
#define CONFIG_WATCHDOG
to ./include/configs/tcm-bf537.h
2. make tcm-bf537
--------------
The errors are:
/opt/uClinux/u-boot-2011.09/arch/blackfin/lib/board.c:223: undefined reference to 'watchdog_init' /opt/uClinux/u-boot-2011.09/arch/blackfin/lib/board.c:223: relocation truncated to fit: R_BFIN_PCREL24 against undefined symbol 'watchdog_init' arc/blackfin/cpu/libblackfin.o: Infunction '_udelay':/opt/uClinux/u-boot-2011.09/arch/blcakfin/cpu/interrupts.c:74: undefined reference to 'watchdog_reset' /opt/uClinux/u-boot-2011.09/arch/blcakfin/cpu/interrupts.c:74: relocation truncated to fit: R_BFIN_PCREL24 against undefined symbol 'watchdog_reset'
and so on...
What can i do?
Thanks.
Signature · 1 line
Best wishes, Denis Konstantinov.
Dear Denis Konstantinov,
Quoted 2 lines · In message <[email protected]> you wrote:
I am trying to activate watchdog timer on my tcm-bf537 platform, but when I do this, I have a copmpiling error. And I really don't know what to do.
Did you read the error messages ?
Quoted 1 line
/opt/uClinux/u-boot-2011.09/arch/blackfin/lib/board.c:223: undefined reference to 'watchdog_init'
...
Quoted 1 line
/opt/uClinux/u-boot-2011.09/arch/blcakfin/cpu/interrupts.c:74: undefined reference to 'watchdog_reset'
"undefined reference" measn thatthere are calls to these functions, but these are not defined anywhere.
Quoted 1 line
What can i do?
Implement the missing functions?
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Hindsight is an exact science.